add readBresserTempSensor and readHomaticIP
This commit is contained in:
parent
710eaa90e6
commit
d72fa874bd
@ -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