Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by jvdz »

I can confirm that things changed as my test setup also fails for this website: recycleapp.be with error:301 Moved Permanently
I only had to change the website name from https://recycleapp.be/ to https://www.recycleapp.be/ to make it work again. :shock:
Maybe you could try the same in the Dashticz module?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by Renber »

Great, works for me thanks
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

jvdz wrote: Saturday 08 April 2023 17:38 I can confirm that things changed as my test setup also fails for this website: recycleapp.be with error:301 Moved Permanently
I only had to change the website name from https://recycleapp.be/ to https://www.recycleapp.be/ to make it work again. :shock:
Maybe you could try the same in the Dashticz module?
Thanks!

I've fixed this in the latest Dashticz beta version by applying the same change.
User avatar
madpatrick
Posts: 636
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 »

Does anybody expriencing some connection or update problems with afvalwijzer.nl ?
Since a few days i don't get any proper updates anymore.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

I got "Geen gegevens gevonden" message now. I'm using latest beta version of Dashticz.
EDIT1: Looks like it's working again.
EDIT2: "Geen gegevens gevonden" message again.
EDIT3: Working again... :P
Blah blah blah
RabbitM
Posts: 1
Joined: Friday 01 March 2024 8:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by RabbitM »

madpatrick wrote: Wednesday 28 February 2024 19:35 Does anybody expriencing some connection or update problems with afvalwijzer.nl ?
Since a few days i don't get any proper updates anymore.
You could try to use the Afvalinfo option within Dashticz, check if your region is available through this api: https://github.com/heyajohnny/afvalinfo ... er/Version

or try it with your zipcode and housenumber by pasting this in to your browser:
https://trashapi.azurewebsites.net/tras ... useLetter=
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz - Module - Garbage collector

Post by JuanUil »

Hi,
Since a couple of week I found this in my log:

Code: Select all

2024-04-24 14:00:00.080 Status: LUA: 14:00:00 MainScript: #!# Warning: These records are missing in your garbagecalendarconfig.lua file, so no notifications will be send!
2024-04-24 14:00:00.080 Status: LUA: 14:00:00 MainScript: #!# -- start -- Add these records into the garbagetype_cfg table and adapt the schedule and text info to your needs :
2024-04-24 14:00:00.080 Status: LUA: ["restafval- mini containers"] ={hour=19,min=02,daysbefore=1,reminder=0,text="restafval- mini containers"},
2024-04-24 14:00:00.080 ["papier en karton."] ={hour=19,min=02,daysbefore=1,reminder=0,text="papier en karton."},
2024-04-24 14:00:00.080
2024-04-24 14:00:00.080 Status: LUA: 14:00:00 MainScript: ==> found schedule:restafval- mini containers: 26 apr ; GFT Bak: 3 mei ; PMD Zak: 3 mei ;
Where do I find the carbage_cfg table?

many thnx in advance
Juan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by jvdz »

JuanUil wrote: Wednesday 24 April 2024 16:53 Hi,
Since a couple of week I found this in my log:
-snip-
Where do I find the carbage_cfg table?
many thnx in advance
Juan
Pretty sure you are in the wrong thread here! ;)
https://github.com/jvanderzande/Garbage ... evice-icon
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by Renber »

Hello,
recycleapp has not been working for a few days.

THANKS
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

The recycleapp API changed. I'll try to fix it.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Renber wrote: Friday 13 September 2024 16:44 Hello,
recycleapp has not been working for a few days.

THANKS
Fixed in latest beta
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by Renber »

Hello, thanks for the correction but I am getting an error.

Error loading garbage data Undefined
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by Renber »

This log:

Code: Select all

Request URL:
http://192.168.1.8/dashticz/vendor/dashticz/garbage/index.php?service=recycleapp&street=xxx&sub=xxx&zipcode=xxx&nr=xx&t=
Request Method:
GET
Status Code:
500 Internal Server Error
Remote Address:
192.168.1.8:80
Referrer Policy:
strict-origin-when-cross-origin
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by Renber »

It is possible that this no longer works since a PHP update on my system... (Debian 12 amd64 php8.2.20)
I ended up finding (With help from ChatGPT :D ) by modifying line 132 in vendor/dashticz/garbage/index.php it works.

new: "function curlWebJson($url, $headers=[])"
old: "function curlWebJson($url, $headers=0)"

Is there an incompatibility with my php8.2 ?

I also have a similar problem with owm weather block, I'm still looking...

Code: Select all

jQuery.Deferred exception: Cannot read properties of undefined (reading '0') TypeError: Cannot read properties of undefined (reading '0')
Thanks for your help.
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

Some things at MijnAfvalwijzer seems to be changed.
The message I got now is: Geen gegevens gevonden.
The apps for IOS an Android are gonna be absolete and are replaced with a Saver app.
Hope this can be fixed.
Blah blah blah
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by jvdz »

Saver moved to OPZET as provider.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
floris1974
Posts: 3
Joined: Sunday 15 December 2024 12:10
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by floris1974 »

Hi, i've got the same problem with 'hvc' . is there somebody else with the same problem? and how can i solve this?
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by jvdz »

HVC is also using OPZET. I am not a user of the Dashticz module as I have my own.... just sharing info. :-)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
floris1974
Posts: 3
Joined: Sunday 15 December 2024 12:10
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by floris1974 »

Thanks.
i saw that the 'afvalinfo' works for me too. i just needed to change plastic/pmd to pbd and now it works again.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

I switched to 'afvalinfo' too for now. I hope there's gonna be a solution for using the Saver info directly one day.
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest