RSS feed doesn't work

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
bkluivingh
Posts: 4
Joined: Tuesday 28 August 2018 23:05
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: nl-NL
Contact:

RSS feed doesn't work

Post by bkluivingh »

Hi all,

I'm happy with Dashticz. I managed to make the connection with Domoticz. For the most part, I also understand what I have to do. Compliments for the clear explanations and examples.

I am now about to add practical items. I want to use some RSS feeds, but that doesn't seem to work.
For example, I get an empty box under 'traffic', 'news', 'garbage'. Because these are pre-programmed items, I don't see what I'm doing wrong.
If I add an RSS feed myself, I will not succeed either.

I use the Dasticz V3 master on a Synology NAS.

Someone who recognizes it and knows what goes wrong?

Thank you for reading and thinking along.

// Dutch tekst

Ik ben blij met Dashticz. Het is mij gelukt om de connectie te maken met Domoticz. Voor het grootste gedeelte snap ik ook wat ik moet doen. Complimenten voor de duidelijke uitleggen en voorbeelden.

Ik ben nu op het punt om practische items toe te voegen. Ik wil wat RSS feeds toepassen, maar dat lijkt niet te lukken.
Ik krijg bijvoorbeeld een leeg vak bij 'traffic', 'news', 'garbage'. Omdat dit voorgeprogrammeerde items zijn, zie ik niet goed wat ik verkeerd doe.
Als ik zelf een RSS feed toevoeg, lukt het mij ook niet.

Ik gebruik de Dasticz V3 master op een Synology NAS.

Iemand die het herkent en weet wat er mis gaat?

Bedankt voor het lezen en meedenken.
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RSS feed doesn't work

Post by Lokonli »

Those modules need PHP support. Did you configure PHP correctly?
You can check by clicking on the settings icon (top right) and then on the info-tab: What is the PHP version that is reported?
bkluivingh
Posts: 4
Joined: Tuesday 28 August 2018 23:05
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: nl-NL
Contact:

Re: RSS feed doesn't work

Post by bkluivingh »

Thnx for the quick response... Indeed, it says no Python is running. Now I installed en started Python. After installing Python on my NAS the info tells me Python is not installed

Domoticz version: 4.10717
dzVents version: 2.4.19
Python version: none
PHP version: 7.0.33

I installed Python3 version 3.5.1-0108

If anyone has a clue, thnx :)
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RSS feed doesn't work

Post by Lokonli »

For Dashticz Python is not needed, so that's no problem.
(Python needs to be installed for several Domoticz plugins)

Can you post your CONFIG.js? I'll have a look.
bkluivingh
Posts: 4
Joined: Tuesday 28 August 2018 23:05
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: nl-NL
Contact:

Re: RSS feed doesn't work

Post by bkluivingh »

Hi Lokonli, thanx for your offer...
Spoiler: show
var config = {}
config['domoticz_ip'] = 'http://192.xxx.xxx.xxx:8084';
config['user_name'] = '';
config['pass_word'] = '';
config['app_title'] = 'xxx';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://www.ad.nl/rss.xml';
config['news_scroll_after'] = '7';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default';
config['background_image'] = 'img/bg11.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '30';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['blink_color'] = '255, 255, 255, 1';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl_NL';
config['wu_api'] = '';
config['wu_city'] = 'Delft';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_api'] = '';
config['owm_city'] = 'Delft';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '';
config['longfonds_housenumber'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'avalex';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '26xxXX';
config['garbage_street'] = '';
config['garbage_housenumber'] = 'Z';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['setpoint_min'] = '5';
config['setpoint_max'] = '40';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 1;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;


// Definition buttons
buttons = {}
buttons.moon = {
width:6,
isimage:true,
refreshimage:60000,
image: 'moon'
}

buttons.buienradar = {
width:12,
isimage:true,
image: 'https://image.buienradar.nl/2.0/image/a ... t=3&skip=1'
}

buttons.verwachting = {
width: 12,
isimage : true,
image: 'https://w.bookcdn.com/weather/picture/4 ... nc_id=5458'
}

//Definition of blocks
blocks = {}

blocks['BlockBenedenVerlichting'] = {
type: 'blocktitle',
title: 'Benedenverdieping'
}

blocks['myblocktitle2'] = {
type: 'blocktitle',
title: 'Huis'
}

blocks['myblocktitle3'] = {
type: 'blocktitle',
title: ''
}

// Verlichting WOONKAMER
blocks[48] = {
title: 'Naast TV',
width: 6,
last_update : false
}

blocks[50] = {
title: 'Kast',
width: 6,
last_update : false
}

blocks[260] = {
title : 'Keuken',
width: 6,
last_update : false
}

blocks[500] = {
title: 'Hal',
width: 6,
last_update : false
}

blocks[622] = {
title: 'LED voor',
width : 6,
last_update: false
}
blocks[623] = {
title: 'LED achter',
width: 6,
last_update: false
}

// Deuren
blocks[538] = {
title: 'Voordeur',
width: 6,
last_update : false
}

blocks[545] = {
title: 'Achterdeur',
width: 6,
last_update : false
}

// Weer
blocks['graph_776'] = {
title : 'Neerslag',
graph : 'line',
graphTypes : ['mm'],
width : 12
}

blocks[771] = {
title : 'Wind',
width : 6,
last_update : false
}

blocks[797] = {
title: 'Buitentemp.',
width : 6,
last_update : false
}

blocks[766] = {
title: 'Neerslag',
width : 6,
last_update : false
}

blocks[770] = {
title: 'luchtdruk',
width: 6,
last_update: false
}

// Thermometers
blocks[247] = {
title: 'Slaapkamer',
width: 6,
last_update : false
}

blocks[248] = {
title: 'Woonkamer',
width: 6,
last_update : false
}

// Solaredge
blocks['graph_1'] = { // Solaredge grafisch (niet in gebruik)
title: 'Zonnepanelen',
width: 12,
last_update: false,
ymin : [0],
graph : 'line'
}

blocks[1] = { // Solaredge
title: 'Zonnepanelen',
width : 6,
last_update : false
}

// RSS Feeds
blocks['news_delft'] = {
feed: 'https://www.alarmeringdroid.nl/rss/029d89bd',
title : 'P2000'
}


//Definition of FRAMES
var frames = {}
frames.weather = {
frameurl:"//forecast.io/embed/#lat=49.2624&lon=-123.1155&name=Delft&color=#00aaff&font=Helvetica&fontColor=#ffffff&units=si&text-color=#fff&",
height: 250 //height of the block in pixels
}

var publictransport = {}
publictransport.ovinfo= {
station: 'delft/bushalte-hoflandendreef',
title:'OV Info',
show_lastupdate:true,
provider: '9292',
icon: 'bus',
results: 4
};
var tvguide = {}
tvguide.dutch = {
key:'dutch',
title: 'TV',
icon: 'fas fa-tv',
width:12,
channels: [1,2,3,4,31,46,466],
maxitems: 10 }

//Definition of columns PC screen
columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {
blocks : ['BlockBenedenVerlichting',1, , 622, 48, 623, 50, 500, 260],
width: 4
}

columns[2] = {
blocks : ['myblocktitle2', 771, 797, 766,770, 247, 248, 538, 545],
width: 3
}

columns[3] = {
blocks : ['clock','sunrise','train','garbage', publictransport.ovinfo, tvguide.dutch],
width: 2
}

columns[4] = {
blocks : [buttons.buienradar, buttons.verwachting],
title : 'test',
width : 4
}

columns[5] = {
blocks : [buttons.moon,buttons.buienradar],
width : 1
}

// Definition of columns tablet

columns [101] = {
blocks : ['BlockBenedenVerlichting',1, , 622, 48, 623, 50, 500, 260],
width : 5
}

columns[102] = {
blocks : ['myblocktitle2', 771, 797, 766,770, 247, 248, 538, 545],
width: 5
}

columns[103] = {
blocks : ['clock','sunrise','train','traffic', publictransport.ovinfo, tvguide.dutch],
width: 4
}

columns[104] = {
blocks : [buttons.buienradar, buttons.verwachting],
title : 'test',
width : 4
}

columns[105] = {
blocks : ['clock', 'sunrise', buttons.moon],
width : 2
}

//Definition of screens

screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;

screens['default'][1] = {}
screens['default'][1]['background'] = 'bg11.jpg';
screens['default'][1]['columns'] = [1,2,3,5]

screens['default'][2] = {}
screens['default'][2]['background'] = 'bg11.jpg';
screens['default'][2]['columns'] = [5,6,7]

screens['tablet'] = {}
screens['tablet']['maxwidth'] = 1280;
screens['tablet']['maxheight'] = 800;
screens['tablet'][1] = {}
screens['tablet'][1]['background'] = 'bg11.jpg';
screens['tablet'][1]['columns'] = [101,102,105]

screens['tablet'][2] = {}
screens['tablet'][2]['background'] = 'bg11.jpg';
screens['tablet'][2]['columns'] = [103,104]
/*
screens = {}

screens[1] = {
columns: [1, 2, 3]
}

screens[2] = {
columns: [4]
}
*/
I know that I have to place the 'news-delft' in one of the columns, but because it doensn't work I left it out.
I don't understand why the pre installed 'traffic' and 'garbage' does not work, while OV and other items do work.

Kind regards, Bart
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RSS feed doesn't work

Post by Lokonli »

For the news:
Can you first test the default news block?
You do this by adding 'news' to a column.

Your feed https://www.alarmeringdroid.nl/rss/029d89bd seems not to give valid rss data.
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RSS feed doesn't work

Post by Lokonli »

For the garbage:
Can you test with the following settings:

Code: Select all

config['garbage_zipcode'] = '2612HH';
config['garbage_housenumber'] = '123';
This works on my system.
You have an incorrect housenumber in your config.
bkluivingh
Posts: 4
Joined: Tuesday 28 August 2018 23:05
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: nl-NL
Contact:

Re: RSS feed doesn't work

Post by bkluivingh »

Thanx for the repley,

unfortunatly both the RSS and the garbage don't work.

For the rss, I see a field with an icon, but no text,
for the garbage I see a trashbin with the text geen gegeven gevonden. I've tried it with several exististing PC+nr combinations
Post Reply

Who is online

Users browsing this forum: Lokonli and 1 guest