Merge branch 'master' of http://diskstation:30000/robert/raspberrypi-temp-sensors
This commit is contained in:
commit
1c0e6a2126
@ -23,16 +23,13 @@ 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')
|
||||
|
||||
processData = process.read().split('\n')
|
||||
|
||||
|
||||
print("processData: ")
|
||||
print(processData)
|
||||
|
||||
|
||||
for i in processData:
|
||||
print("i: ")
|
||||
print(len(i))
|
||||
|
@ -82,4 +82,4 @@ def main():
|
||||
write_wallmountedthermostatpro(group.label,device)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
Loading…
Reference in New Issue
Block a user