Giter VIP home page Giter VIP logo

ricou_iot's Introduction

ricou_iot

Putting sensors in my home

FIXME

plant_logger does not handle network down/up

Installation

Dependencies

sudo apt install python3-influxdb sudo apt install python3-paho-mqtt

Startup

  • sudo cp system/plant_logger.service /etc/systemd/system/

  • sudo chmod 644 /etc/systemd/system/plant_logger.service

  • sudo systemctl daemon-reload

  • sudo systemctl status plant_logger.service

  • sudo systemctl start plant_logger.service

  • sudo systemctl enable plant_logger.service

  • journalctl -u plant_logger.service

  • systemctl list-units --type=service

  • sudo systemctl status grafana-server

Building Firmware

  • start arduino IDE /home/poine/work/arduino-1.8.12/arduino

Details

influxdb

migrate: on new server (after enabling bind-address on old one, see https://docs.influxdata.com/influxdb/v1.8/administration/backup_and_restore/): influxd backup -portable -database ricou_plants -host nhop:8088 /tmp/ricou_plants-snapshot influxd restore -portable /tmp/ricou_plants-snapshot

mosquito

mosquitto_sub -h nhop -p 1883 -t ricou/# -v ricou/plant/4 ���@���A�A�?���E ricou/plant/4 ���@�̸A�@�?��E ricou/plant/4 ���@�A�@�?��E ricou/plant/4 ���@�A�@�?y��E ricou/plant/4 ���@ff�A�@�?���E ricou/plant/4 ���@�̸A�@�?��E

Grafana

https://grafana.com/docs/grafana/latest/installation/debian/ https://grafana.com/docs/grafana/latest/dashboards/export-import/

ricou_iot's People

Contributors

poine avatar

Watchers

James Cloos 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.