Thanks to visit codestin.com
Credit goes to github.com

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

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Sponsor this project

Packages

No packages published