Page 4 of 4

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 12:56
by FinalX
ik looks like the block is not reading the config file at all.

config file:

blocks['alarmmeldingen'] = {
title: 'Alarm meldingen',
rss: 'https://alarmeringen.nl/feeds/city/hoeven.rss',
filter: 'Hoeven', //filter the messages for your town and if you want the cities around you
show_lastupdate: true,
width: 12,
refresh: 300, //refresh rate in seconds
results: 5 //number of recent results to show
}
2020-12-30_12-55-15.jpg
2020-12-30_12-55-15.jpg (27.4 KiB) Viewed 691 times

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 13:20
by Lokonli
That indeed seems to be the default block.

Do you maybe redefine the alarmmeldingen block a second time?
If you post your complete CONFIG.js I'll have a look.

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 13:31
by FinalX
found it :D

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 13:42
by Lokonli
On line 86 you redefine blocks={}.
The alarmmeldingen definition is then lost.

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 13:43
by Lokonli
Lokonli wrote: Wednesday 30 December 2020 13:42 On line 86 you redefine blocks={}.
The alarmmeldingen definition is then lost.
and line 483 as well. You can remove it.

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Wednesday 30 December 2020 13:49
by FinalX
NVM found it i moved alarm meldingen to my blocks section now it works.

Re: Dashticz - Module - 112 Meldingen (Dutch)

Posted: Friday 01 January 2021 21:41
by hsvt
Is it possible to play a sound when there is a new notification?