Could you send me the json-output of the devices that arent working?gielie wrote: ↑Tuesday 29 August 2017 13:14This is my code for the 4 temp sensors.When i remove the switch command at huiskamer and buiten it works, but the other 2 doesn't, it did work some time ago.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
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
This works for my Toon:'
Code: Select all
blocks['144_2'] = {};
blocks['144_2']['switch'] = true;
This works for me:gielie wrote: ↑Tuesday 29 August 2017 13:27For tweakers it works but for nu.nl it doesn't and i figured how it does work.robgeerts wrote: ↑Friday 25 August 2017 14:01 try :
Code: Select all
blocks['news_2']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/tweakers/nieuws'
For nu.nl i took out the feeds.feedburner and it works, i don't know why.
Code: Select all
blocks['news_1'] = {};
blocks['news_1']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/Algemeen';
blocks['news_1']['maxheight'] = 113;