change topic to cozir
This commit is contained in:
parent
590ed26d7f
commit
2cf4c5283d
1 changed files with 4 additions and 4 deletions
|
@ -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]))
|
Loading…
Reference in a new issue