jwillmer / IndependentIoT

The scripts are collecting data from IoT sensors and storing, displaying and sending it to a remote monitoring system.

Home Page:https://jwillmer.de/blog/projects/independent-iot-system-part-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Independent IoT

The scripts are collecting data from IoT sensors and storing, displaying and sending it to a remote monitoring system. A detailed project description can be found at https://jwillmer.de/blog/projects/independent-iot-system-part-1

Electronics Pin Layout

Sensors

  • WeMos SHT30 Temp & Humidity Sensor
  • 4-ch Current/Voltage/Power Monitor HAT

Output

  • CSV file
  • 2.9inch E-Ink display
  • Thinger.io

Environment Configuration

Copy the .env.bak file in the scripts folder and call it .env. Set the environment variables before running the scripts.

ePaper Service

Displays latest sensor data on ePaper. Is triggered by button press. Check that the path in the epaper.service is correct!

sudo cp epaper.service /etc/systemd/system/epaper.service

sudo systemctl start epaper.service
sudo systemctl status epaper.service
sudo systemctl stop epaper.service

sudo systemctl enable epaper.service

Sensor Collection Service

Collects sensor data and saves it to CSV and thinger.io. Check that the path is correct!

crontab -e
*/15 * * * * /usr/bin/python3 -u /home/pi/IndependentPi/scripts/collectData.py

About

The scripts are collecting data from IoT sensors and storing, displaying and sending it to a remote monitoring system.

https://jwillmer.de/blog/projects/independent-iot-system-part-1

License:GNU General Public License v3.0


Languages

Language:Python 100.0%