update to docker version
This commit is contained in:
parent
4398da4a63
commit
d56a0afcf6
@ -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.connect(mqtt_broker, 1883, 60) # MQTT server address
|
||||||
|
|
||||||
#client.loop_start()
|
#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')
|
processData = process.read().split('\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user