Skip to content

Some Python Sensor Scripts for raspberry pi. Including Homie MQTT and MQTT publishing

License

Notifications You must be signed in to change notification settings

alaub81/rpi_sensor_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b662a58 · Jan 4, 2024

History

57 Commits
Jan 26, 2021
Nov 15, 2021
Feb 11, 2021
Jan 28, 2021
Jan 4, 2024
Jan 4, 2024
Jan 28, 2021
Mar 14, 2021
Jan 30, 2021
Jan 30, 2021
Jan 28, 2021
Jan 28, 2021
Jan 28, 2021
Nov 3, 2021
Jan 28, 2021
Sep 23, 2022
Sep 23, 2022
Jan 28, 2021
Nov 15, 2021
Nov 15, 2021
Feb 27, 2021
Jan 28, 2021
Jan 28, 2021
Jan 28, 2021
Nov 2, 2021
Nov 10, 2021
Aug 10, 2023
Nov 14, 2021
Feb 10, 2021
Feb 10, 2021

Repository files navigation

rpi_sensor_scripts

This is just a repository with all my scripts belonging to the raspberry pi and some sensors, I used. These Scripts could be used as standalone or with a systemd service or even with cronjob.

I put in some systemd service files, too.

Usage

just download the file you need. *-mqtt are able to publish the sensor data to a MQTT Broker. The *-homie files are publishing the sensor as an Homie MQTT Device. *.service files are the systemd service files. You have to copy them to /etc/systemd/system/. To activate them just:

systemd deamon-reload
# to enable it on systemboot
systemctl enable dht22_homie.service
# Start/Stop/Restart Service
systemctl start dht22_homie.service
systemctl stop dht22_homie.service
systemctl restart dht22_homie.service

more details