Dashticz - Module - 112 Meldingen (Dutch) Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 20
- Joined: Monday 16 March 2020 15:51
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Change
columns[1]['blocks'] = ['alarmmeldingen']
To
columns[1]['blocks'] = [alarmmeldingen]
columns[1]['blocks'] = ['alarmmeldingen']
To
columns[1]['blocks'] = [alarmmeldingen]
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Define your block as follows:
(or as what PietjePuck is proposing)
city has been renamed to filter
Code: Select all
blocks['alarmmeldingen'] = {
rss: 'https://www.alarmeringen.nl/feeds/region/rotterdam-rijnmond.rss',
filter: 'Poortugaal,Rhoon,Hoogvliet,Traumaheli,Pernis',
show_lastupdate:true,
width:12,
interval: 180,
results: 5}
city has been renamed to filter
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Don't know what changed, but in the latest beta it's working
Blah blah blah
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
That's what I like to hear
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Just found out that you can change the icon to your own image :Lokonli wrote: ↑Thursday 19 March 2020 19:49 If you want to remove the icon, add the following to your block definition:Code: Select all
icon: '', //This are two tick-marks
Code: Select all
image: '../custom/img/siren.png',
Blah blah blah
-
- Posts: 26
- Joined: Sunday 09 February 2020 15:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Leeuwarden
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Thanks PietjePuk and Lokonli. Running nice over here
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Is it possible to remove the seconds from the time? Or can I do that with css?
Blah blah blah
-
- Posts: 20
- Joined: Monday 16 March 2020 15:51
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
I need to change the code for this
-
- Posts: 20
- Joined: Monday 16 March 2020 15:51
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
I am a very punctual guy
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
I’m punctual on the minute
All other blocks are using hh:mm. Than they’ll be in line with the rest then.
Maybe show seconds optional?
All other blocks are using hh:mm. Than they’ll be in line with the rest then.
Maybe show seconds optional?
Blah blah blah
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
Hi, I am running dashticz of a synology webserveer. php 7.3 and apache 2.4 ( tried all combinations (php 5.6, 7.2 and apache 2.2)
I copies the same block as you provide
blocks['alarmmeldingen'] = {
rss: 'http://www.alarmeringen.nl/feeds/region ... jnmond.rss',
filter: 'Poortugaal,Rhoon,Hoogvliet,Traumaheli,Pernis',
show_lastupdate: true,
width:12,
icon: 'fas fa-bullhorn',
interval: 180,
results: 5,
}
this is my line
columns[3]['blocks'] = [buttons.buienradar,maps.a50,'garbage',buttons.webcamoprit,buttons.webcamtuin,buttons.webcamterras,'alarmmeldingen'];
In a browser the rss url works on the webserver. so no resolving issues orso.
on my dashticz web I only get:
and the error:
please advice
I copies the same block as you provide
blocks['alarmmeldingen'] = {
rss: 'http://www.alarmeringen.nl/feeds/region ... jnmond.rss',
filter: 'Poortugaal,Rhoon,Hoogvliet,Traumaheli,Pernis',
show_lastupdate: true,
width:12,
icon: 'fas fa-bullhorn',
interval: 180,
results: 5,
}
this is my line
columns[3]['blocks'] = [buttons.buienradar,maps.a50,'garbage',buttons.webcamoprit,buttons.webcamtuin,buttons.webcamterras,'alarmmeldingen'];
In a browser the rss url works on the webserver. so no resolving issues orso.
on my dashticz web I only get:
and the error:
please advice
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
In your blocks, change
to
Remove the '
Code: Select all
columns[3]['blocks'] = [buttons.buienradar,maps.a50,'garbage',buttons.webcamoprit,buttons.webcamtuin,buttons.webcamterras,'alarmmeldingen'];
Code: Select all
columns[3]['blocks'] = [buttons.buienradar,maps.a50,'garbage',buttons.webcamoprit,buttons.webcamtuin,buttons.webcamterras,alarmmeldingen];
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
When I remove both the '
The whole column disappears.
When using var instead of blocks you are correct.
I tried both the var and the blocks option.
it has to be something stupid.
I added the alarmmeldingen.js
I added the line in dashticz.js
The whole column disappears.
When using var instead of blocks you are correct.
I tried both the var and the blocks option.
it has to be something stupid.
I added the alarmmeldingen.js
I added the line in dashticz.js
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
I would advice to update to the latest beta, and follow the instructions in the manual:
https://dashticz.readthedocs.io/en/beta ... ingen.html
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
@lokonli I used "git fetch" but that does not update to the latests.
I removed dashticz, did a "git clone" beta. And copied my CONFIG.js
same error.
I installed dashticz on my domoticz server. and alarmmeldingen works !!!! ( I now have other issues)
So the problem is with my synology webserver.
I will search there
I removed dashticz, did a "git clone" beta. And copied my CONFIG.js
same error.
I installed dashticz on my domoticz server. and alarmmeldingen works !!!! ( I now have other issues)
So the problem is with my synology webserver.
I will search there
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
git fetch doesn't update. Try git pull.qwerk wrote: ↑Sunday 22 March 2020 11:31 @lokonli I used "git fetch" but that does not update to the latests.
I removed dashticz, did a "git clone" beta. And copied my CONFIG.js
same error.
I installed dashticz on my domoticz server. and alarmmeldingen works !!!! ( I now have other issues)
So the problem is with my synology webserver.
I will search there
alarmeringen requires a working CORS proxy.
Did you configure PHP for Dashticz on your Synology correctly?
You can try using a public CORS server:
Code: Select all
config['default_cors_url'] = 'https://cors-anywhere.herokuapp.com/';
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
I found my issue. In the php settings openssl was not activated.
I have a working alarmmeldingen.
thanks for your help and the git explanation
I have a working alarmmeldingen.
thanks for your help and the git explanation
-
- Posts: 20
- Joined: Monday 16 March 2020 15:51
- Target OS: -
- Domoticz version:
- Contact:
-
- Posts: 47
- Joined: Wednesday 09 August 2017 23:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - 112 Meldingen (Dutch)
This is realy great, I like it a lot.
Thank you very much PietjePuck. And Lokonli for adding it to the beta.
Just a small request though. Is it possible to add the day in front of the time?
If you live in a town where not every day alerts are given, it is a little bit hard to track what happend when.
It is just a simple addition, I made it for myself. But would be nice to get this implemented in the release.
And realy great would be if it is possible to show it in the locale language.
As this only works in the Netherlands, that would be in Dutch
I did it like this (just a snippit):
Thank you very much PietjePuck. And Lokonli for adding it to the beta.
Just a small request though. Is it possible to add the day in front of the time?
If you live in a town where not every day alerts are given, it is a little bit hard to track what happend when.
It is just a simple addition, I made it for myself. But would be nice to get this implemented in the release.
And realy great would be if it is possible to show it in the locale language.
As this only works in the Netherlands, that would be in Dutch
I did it like this (just a snippit):
- Spoiler: show
Who is online
Users browsing this forum: No registered users and 0 guests