raspberrypi-temp-sensor/README.md

20 lines
864 B
Markdown
Raw Normal View History

2021-01-19 06:37:07 +00:00
# raspberrypi-temp-sensors
2021-08-13 13:36:44 +00:00
to execute the scripts to read the data from the temp sensors add the following lines to the crontab
crontab -e
2021-10-19 14:39:25 +00:00
*/1 * * * * /usr/bin/python2 /home/pi/raspberrypi-temp-sensors/mqtt_publish_temp.py familyroom >> ~/tempFamilyroom.log 2>&1
2021-08-13 13:39:34 +00:00
*/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
2021-08-13 13:36:44 +00:00
# build the inkbird docker container
to build the inkbird docker container you need to clone the repo and execute the following command:
2021-08-13 13:39:34 +00:00
git clone https://github.com/hertzg/rtl_433_docker.git
2021-08-13 13:36:44 +00:00
2021-08-13 13:39:34 +00:00
cd rtl_433_docker/images/alpine/build-context/
2021-08-13 13:36:44 +00:00
2021-08-13 13:39:34 +00:00
sudo docker build --build-arg rtl433GitRevision=feat-inkbird-ith20r -t rtl_433:inkbird .