update to docker version

This commit is contained in:
Administrator 2021-08-11 09:33:36 +00:00
parent 4398da4a63
commit d56a0afcf6
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ client = paho.Client(protocol=paho.MQTTv31) # * set a random string (max 23 cha
client.connect(mqtt_broker, 1883, 60) # MQTT server address
#client.loop_start()
process = os.popen('/usr/local/bin/rtl_433 -R 42 -R 03 -F json -T 65 -M time:utc:usec')
# -R 42 HIDEKI TS04 Temperature, Humidity, Wind and Rain Sensor (garden sensor)
# -R 187 Inkbird ITH-20R temperature humidity sensor (pool sensor)
process = os.popen('docker run --device /dev/bus/usb/001/004 rtl_433:inkbird -R 42 -R 187 -F json -T 65 -M time:utc:usec')
processData = process.read().split('\n')