Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

wundie
Posts: 5
Joined: Sunday 19 April 2020 1:57
Target OS: NAS (Synology & others)
Domoticz version: 2020.01
Contact:

Re: Dashticz - Module - Garbage collector

Post by wundie »

Unfortunately there is no other. The only option for now is to make a calendar. Maby twentemilieu will get the data on there site later.

Thanks for the help anyway!
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

Lokonli wrote: Thursday 11 February 2021 13:11 @RuudP1981 and @stephanvdplas

I guess you are encountering the same issue. It can be PHP8 related, but I can't reproduce the problem at the moment.
Try the following:
First switch to latest beta:
(there are some recent changes on top of 3.7.3 beta)

Code: Select all

git checkout beta
git pull
Check that git doesn't report any error.

You followed the automatic install? Then recreate the docker image. It will switch back to PHP7 in the Dashticz Docker container:

Code: Select all

make stop
make start
Then retry Dashticz garbage.

If it still isn't working, open DevTools with F12 in Chrome. Refresh Dashticz.
Which errors are reported on the console tab?
And which user messages?

Then switch to the network tab. Try to find the garbage network request, for instance by filtering on the text 'service'

Please copy the exact url here (right click on the network request)
as well as the response to the network request (click on the network request, and a tab labeled 'response' becomes visible)
When I try avalex with te zipcode and housenumber as stated in one of the posts in this thread it is working. So it must be something with the rova api that is not working.
As stated before: I have a rova script in domoticz that is working fine, maybe we can fix it together? Just PB me for the information you need.
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
ikkezelf
Posts: 5
Joined: Thursday 01 October 2020 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz - Module - Garbage collector .trashtoday .trashthisweek

Post by ikkezelf »

Hi,

I'm loving the garbage addon/plugin.
Due to the fact that in my town at some days two garbage types are collected I have implemented three of these blocks.
Each block looks at a different garbage type.

I'm also using the custom.css with the .trash opacity.

now comes the question:
I would like to be able to set that opacity with a not(.trashthisweek) or any other time frame.
In that way the garbage type will become clearly visible when due to be picked up in a week.

I tried looking in the garbage.js file but I'm not sure where to start.

any help in achiving this?
thanks in advance
cornesch
Posts: 19
Joined: Sunday 10 November 2019 19:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Dashticz - Module - Garbage collector

Post by cornesch »

Hi,

I get the following error with the garbage module: Error loading garbage data undefined.

The waste company I use is: Rova

Even after an update of Dashticz, this error continues to appear.

Has anything changed at Rova?
>>Raspberry Pi 4<<>>Raspberry Pi 3 + 7-inch Touchscreen<<>>Ikea Tradfri<<>>Nefit Easy<<>>ESP-Easy<<>>Netatmo<<>>Sonos<<
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

Since 25th of may 23:00 no updates.
In my case the same issue with ROVA.
I am also monitoring in Domoticz with dzVents script. Let you know tomorrow if that is still working.
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
cornesch
Posts: 19
Joined: Sunday 10 November 2019 19:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Dashticz - Module - Garbage collector

Post by cornesch »

cornesch wrote: Thursday 27 May 2021 19:32 Hi,

I get the following error with the garbage module: Error loading garbage data undefined.

The waste company I use is: Rova

Even after an update of Dashticz, this error continues to appear.

Has anything changed at Rova?
Do more people have problems with the garbage module in Dashticz?
At the moment it still doesn't work.

Thanks in advance for the correct solution :)
>>Raspberry Pi 4<<>>Raspberry Pi 3 + 7-inch Touchscreen<<>>Ikea Tradfri<<>>Nefit Easy<<>>ESP-Easy<<>>Netatmo<<>>Sonos<<
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by madpatrick »

cornesch wrote: Thursday 27 May 2021 19:32 Do more people have problems with the garbage module in Dashticz?
At the moment it still doesn't work.

Thanks in advance for the correct solution :)
No problems over here.
Using 'mijnafvalwijzer'
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

It seems there are indeed some issues with Rova. I'll do some checks later today.

Verstuurd vanaf mijn AC2003 met Tapatalk

stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

stephanvdplas wrote: Thursday 27 May 2021 22:32 Since 25th of may 23:00 no updates.
In my case the same issue with ROVA.
I am also monitoring in Domoticz with dzVents script. Let you know tomorrow if that is still working.
Also in Domoticz itself, the garbage collecting stopped working.
Must have been changed something in the Rova website....
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

The API has changed (and became a lot less difficult to obtain). Just do an http get to https://www.rova.nl/api/waste-calendar/ ... seNumber=1

Mo domticz script is working again. Hope you can get your dashticz module working too!

-----


De API lijkt helemaal veranderd (en een stuk makkelijker geworden. Hier krijg je nu je JSON vandaan, zonder cookies, gewoon een http get naar https://www.rova.nl/api/waste-calendar/ ... seNumber=1

JSON output looks like this: De geretourneerde json ziet er als volgt uit:

[{"garbageTypeCode":"GFT","garbageType":"GFT","date":"2021-06-10T00:00:00Z","regular":true},{"garbageTypeCode":"PMD","garbageType":"PMD","date":"2021-06-17T00:00:00Z","regular":true},{"garbageTypeCode":"GFT","garbageType":"GFT","date":"2021-06-24T00:00:00Z","regular":true}]

Mind the change: camelCase now (no capitalized first letter!)
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
cornesch
Posts: 19
Joined: Sunday 10 November 2019 19:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Dashticz - Module - Garbage collector

Post by cornesch »

Stephan, thanks for looking.
Is this easy to adjust to get it working again in Dashticz?
>>Raspberry Pi 4<<>>Raspberry Pi 3 + 7-inch Touchscreen<<>>Ikea Tradfri<<>>Nefit Easy<<>>ESP-Easy<<>>Netatmo<<>>Sonos<<
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

It's relatively easy. The PHP script needs to be updated. Unfortunately I can't free up the time to work on it in the coming week.


Verstuurd vanaf mijn AC2003 met Tapatalk

cornesch
Posts: 19
Joined: Sunday 10 November 2019 19:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Dashticz - Module - Garbage collector

Post by cornesch »

Hello Lokonli,

Will you soon have time to change the PHP script for the Rova?

Just send the bill to me ;)
>>Raspberry Pi 4<<>>Raspberry Pi 3 + 7-inch Touchscreen<<>>Ikea Tradfri<<>>Nefit Easy<<>>ESP-Easy<<>>Netatmo<<>>Sonos<<
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Pretty busy lately :(

I'll try to fix it in the coming week.
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

cornesch wrote: Sunday 04 July 2021 9:14 Hello Lokonli,

Will you soon have time to change the PHP script for the Rova?

Just send the bill to me ;)
Fixed in latest beta. I did not increase the version number yet. Could you test?
Update dashticz with 'git pull'
cornesch
Posts: 19
Joined: Sunday 10 November 2019 19:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Dashticz - Module - Garbage collector

Post by cornesch »

Thanks for your help Lokonli.

It works again, we are very happy with it.
>>Raspberry Pi 4<<>>Raspberry Pi 3 + 7-inch Touchscreen<<>>Ikea Tradfri<<>>Nefit Easy<<>>ESP-Easy<<>>Netatmo<<>>Sonos<<
Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Hallo Lokonli,

Sedert een 2-3-tal dagen werkt de afvalkalender voor de gemeente Venlo niet meer. Zag dat de Gemeente de website had aangepast en mogelijk is dat de oorzaak
Voorheen werkte het perfect. kun jij zien of er iets aangepast moet worden?
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Lando wrote: Thursday 29 July 2021 21:46 Hallo Lokonli,

Sedert een 2-3-tal dagen werkt de afvalkalender voor de gemeente Venlo niet meer. Zag dat de Gemeente de website had aangepast en mogelijk is dat de oorzaak
Voorheen werkte het perfect. kun jij zien of er iets aangepast moet worden?
Please use English on this forum.

I'll try to fix the Venlo garbage collection calendar.
Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Lokonli,

bedankt voor je reactie. Ik wacht met spanning af
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Lando wrote: Friday 13 August 2021 16:09 Lokonli,

bedankt voor je reactie. Ik wacht met spanning af
Fixed in latest beta.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests