add readBresserTempSensor and readHomaticIP

This commit is contained in:
robert 2021-02-05 16:51:53 +01:00
parent 710eaa90e6
commit d72fa874bd
2 changed files with 1 additions and 4 deletions

View File

@ -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))

View File

@ -82,4 +82,4 @@ def main():
write_wallmountedthermostatpro(group.label,device)
if __name__ == "__main__":
main()
main()