Hi all,
After last update the NEWS FEED doesn't work anymore. Or i see a full list of all topics, but not anymore the topic and after 7000ms scroll to next.
Can someone help me with this?
Code: Select all
var _LANGUAGE = 'nl_NL';
var _HOST_DOMOTICZ = 'http://192.168.100.3:8081';
var _DOMOTICZ_REFRESH = 5;
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = '';
var _WEATHER_CITY = 'Amsterdam';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = false;
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 6000; //milliseconds, so 7000 is 7 seconds
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', ur$
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
{"track":5,"name":"StuBru","file":"http://mp3.streampower.be/stubru-high.mp3"},
];
//
// SWITCH DENENITIES
//
var blocks = {}
blocks[1] = {} // NEST
blocks[1]['width'] = 12;
blocks[25] = {} // RAAM
blocks[25]['width'] = 6;
blocks[26] = {} // MUUR
blocks[26]['width'] = 6;
blocks[19] = {} // EETTAFEL
blocks[19]['width'] = 6;
blocks[22] = {} // DRESSOIR
blocks[22]['width'] = 6;
blocks[24] = {} // BUITEN
blocks[24]['width'] = 6;
blocks[73] = {} // SLAAPKAMER
blocks[73]['width'] = 6;
blocks[33] = {} // BADKAMER
blocks[33]['width'] = 6;
blocks[27] = {} // HAL
blocks[27]['width'] = 6;
//
// RASPBERRY INFO
//
blocks[17] = {}
blocks[17]['width'] = 3;
blocks[17]['title'] = 'RPi Temp'
blocks[17]['icon'] = 'fa-percent';
blocks[17]['switch'] = true;
blocks[14] = {}
blocks[14]['width'] = 3;
blocks[14]['title'] = 'RPi Mem'
blocks[14]['icon'] = 'fa-percent';
blocks[15] = {}
blocks[15]['width'] = 3;
blocks[15]['title'] = 'RPi SD'
blocks[15]['icon'] = 'fa-percent';
blocks[16] = {}
blocks[16]['width'] = 3;
blocks[16]['title'] = 'RPi USB'
blocks[16]['icon'] = 'fa-percent';
//
// LOGITECH BUTTONS
//
blocks[86] = {}
blocks[86]['width'] = 3;
blocks[86]['title'] = 'All Off'
blocks[86]['icon'] = 'fa-power-off';
blocks[87] = {}
blocks[87]['width'] = 3;
blocks[87]['icon'] = 'fa-tv';
blocks[88] = {}
blocks[88]['width'] = 3;
blocks[88]['icon'] = 'fa-tv';
blocks[89] = {}
blocks[89]['width'] = 3;
blocks[89]['icon'] = 'fa-music';
blocks[90] = {}
blocks[90]['width'] = 3;
blocks[90]['icon'] = 'fa-file-movie-o';
//
// NEWS FEED
//
blocks['news_1'] = {}
blocks['news_1']['width'] = 12;
blocks['news_1']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss';
blocks['news_2'] = {}
blocks['news_2']['width'] = 12;
blocks['news_2']['feed'] = 'https://crossorigin.me/https://www.appletips.nl/rss';
//
// TITLE BLOKKEN
//
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Rapberry Pi';
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Logitech';
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Weerverwachting';
blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['title'] = 'NEST Thermostaat';
blocks['blocktitle_6'] = {}
blocks['blocktitle_6']['type'] = 'blocktitle';
blocks['blocktitle_6']['title'] = 'Nieuws Feed';
//
// COLUMNS DEFENITIES
//
var columns = {}
columns[3] = {} // SCHAKELAARS
columns[3]['blocks'] = ['blocktitle_1',25,26,19,22,24,73,33,27]
columns[3]['width'] = 6;
columns[4] = {} // WEERVERWACHTING
columns[4]['blocks'] = ['blocktitle_4','currentweather_big','weather']
columns[4]['width'] = 6;
columns[5] = {}
columns[5]['blocks'] = ['clock','sunrise',buttons.buienradar,buttons.calendar]
columns[5]['width'] = 2;
columns[2] = {} // RASPBERRY PI
columns[2]['blocks'] = ['blocktitle_2',17,14,15,16]
columns[2]['width'] = 6;
columns[1] = {} // LOGITECH
columns[1]['blocks'] = ['blocktitle_3',86,88,89,90]
columns[1]['width'] = 6;
columns[6] = {}
columns[6]['blocks'] = ['streamplayer']
columns[6]['width'] = 10;
columns[7] = {} // NIEUWS FEED
columns[7]['blocks'] = ['news_1']
columns[7]['width'] = 10;
columns[8] = {}
columns[8]['blocks'] = ['news_2']
columns[8]['width'] = 10;
columns[9] = {}
columns[9]['blocks'] = ['news_3']
columns[9]['width'] = 10;
columns[10] = {}
columns[10]['blocks'] = ['blocktitle_5',1]
columns[10]['width'] = 6;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['background_morning'] = 'bg_morning.jpg';
screens[1]['background_noon'] = 'bg_noon.jpg';
screens[1]['background_afternoon'] = 'bg_afternoon.jpg';
screens[1]['background_night'] = 'bg_night.jpg';
screens[1]['columns'] = [1,2,3,4,10]
screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['background_morning'] = 'bg_morning.jpg';
screens[2]['background_noon'] = 'bg_noon.jpg';
screens[2]['background_afternoon'] = 'bg_afternoon.jpg';
screens[2]['background_night'] = 'bg_night.jpg';
screens[2]['columns'] = [5,7,8,9]