robgeerts wrote: ↑Friday 25 August 2017 14:02
gielie wrote: ↑Friday 25 August 2017 12:44
Something strange is going on with my temp sensors, they all have the code 'switch' and this is the result, it was fine before.
whats your config.js?
This is my code for the 4 temp sensors.
Code: Select all
blocks[304] = {} //Toon huiskamer temp
blocks[304]['switch'] = true
blocks[304]['width'] = 3
blocks[47] = {} //badkamer temp/hum
blocks[47]['switch'] = true
blocks[47]['width'] = 3
blocks[383] = {} //Temp buiten
blocks[383]['switch'] = true
blocks[383]['width'] = 3
blocks[605] = {} //Washok
blocks[605]['switch'] = true
blocks[605]['title'] = 'Washok'
blocks[605]['width'] = 3
When i remove the switch command at huiskamer and buiten it works, but the other 2 doesn't, it did work some time ago.
I think it has something to do with the type of sensor, the 2 with the reversed data/text also have a hum sensor, so in my config i put '47_1' and 47_2 for temp and hum, but i don't use the hum data. I tried to change the blocks info to blocks[47_1]['switch'] = true but this doesn't work.
The thing i never got to work is my Toon thermostaat to switch title/data, how can i do this, the simple [blocks]['switch'] = true doesn't work