change topic to cozir

This commit is contained in:
Philipp Kramer 2022-05-19 10:00:28 +02:00
parent 590ed26d7f
commit 2cf4c5283d

View file

@ -26,7 +26,7 @@ while True:
data=datastring.split(' ') data=datastring.split(' ')
print(data) print(data)
client.send_message('data/humidity', int(data[2])) client.send_message('cozir/humidity', int(data[2]))
client.send_message('data/temperature', int(data[4])) client.send_message('cozir/temperature', int(data[4]))
client.send_message('data/co2filtered', int(data[6])) client.send_message('cozir/co2filtered', int(data[6]))
client.send_message('data/co2raw', int(data[8])) client.send_message('cozir/co2raw', int(data[8]))