GithubHelp home page GithubHelp logo

smart_meter's Introduction

Installation

Setup

  1. Create ssd image with Raspberry Pi Imager
  2. put ssd file into boot partition
  3. put wpa_supplicant.conf from this project into boot partition

Connect

  1. Boot up PI
  2. Connect as pi@ip and raspberry as password
  3. Create app folder:
sudo mkdir /opt/smart_meter
sudo chown pi /opt/smart_meter
  1. Copy code from this folder to the remote folder, e.g. via VS code ssh

  2. make python3 default:

see https://raspberry-valley.azurewebsites.net/Python-Default-Version/

sudo update-alternatives --list python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
python --version
  1. install poetry

  2. poetry install

  3. setup ravendb

For RavenDb:

  1. explain dbs to build (debug and readings), expirs!

  2. setup service

sudo cp smartmeter.service /etc/systemd/system/smartmeter.service
sudo systemctl start smartmeter.service
sudo systemctl enable smartmeter.service

smart_meter's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.