Update README.md

This commit is contained in:
Administrator 2021-08-13 13:36:44 +00:00
parent 646947df31
commit 788b8d51a5
1 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,19 @@
# raspberrypi-temp-sensors
run the script with "/usr/bin/python /home/pi/mqtt/mqtt_publish_temp.py <roomName> <mqtt.username> <mqtt.password>
to execute the scripts to read the data from the temp sensors add the following lines to the crontab
crontab -e
*/1 * * * * /usr/bin/python /home/pi/raspberrypi-temp-sensors/mqtt_publish_temp.py familyroom >> ~/tempFamilyroom.log 2>&1
*/1 * * * * sudo /usr/bin/python2 /home/pi/raspberrypi-temp-sensors/readBresserTempSensor.py >> ~/readBresserTempSensor.log 2>&1
*/2 * * * * /usr/bin/python3 /home/pi/raspberrypi-temp-sensors/readHomematicIP.py >> ~/readHomematicIP.log 2>&1
# build the inkbird docker container
to build the inkbird docker container you need to clone the repo and execute the following command:
git clone https://github.com/hertzg/rtl_433_docker.git
cd rtl_433_docker/images/alpine/build-context/
sudo docker build --build-arg rtl433GitRevision=feat-inkbird-ith20r -t rtl_433:inkbird .