Page 32 of 48

Re: Dashticz - Module - Garbage collector

Posted: Sunday 19 April 2020 13:44
by Lokonli
The json output looks fine.

Your zipcode and housenumber are working on my system, so it's difficult for me to reproduce.

Did you maybe define your own garbage_mapping and/or your own garbage type?
If yes, can you post them here.

Re: Dashticz - Module - Garbage collector

Posted: Sunday 19 April 2020 14:15
by peerkersezuuker
Hi Lokonli,
I had no garbage mapping configured.......
So i put the one from the https://dashticz.readthedocs.io/en/mast ... rbage.html in my CONFIG.js and it is working now.

So resume : cure changed to mijnafvalwijzer and put the garbage mapping in the CONFIG.js

Thanks for the support.

Regards
Peer

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 22:17
by Kencirot
I started using Dashticz today and I really love the customization of it.

Currently having some issues with the garbage collection module but after a good 7 hours I need to give up on getting this too work.

Major things I did:
Upgrade to latest Beta today (
Apache2 up and running on a Raspberry 3B
Added ical from waste company (blink) to google calendar and trying to share (public share and private share of ical file)
Reverse engineering garbage.js file (gemertbakeldinsdag calendar is outdated by 2 year)
When I picked some random company (best) and a random address in Best it was the only time I saw an actual date popping up.
Tried mapping with capitals and without.


Over the 1000th refreshs I have seen 999 times "loading...." in the block.

I will copy the config I currently have which I know can't work because of outdated calender.

Code: Select all

config['garbage_company'] = 'gemertbakeldinsdag';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '5421GS;
config['garbage_street'] = 'heijtsveld';
config['garbage_housenumber'] = '1';
config['garbage_maxitems'] = '6';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 1;
config['garbage_use_names'] = 1;
config['garbage_use_cors_prefix'] = 1;

config['garbage_mapping'] = {
	rest: ['Restafval'],
    pmd: ['Plastic, Metaal en Drankkartons'],
    gft: ['GFT - Gemert-Bakel'],
    Papier: ['Papier']
  }

config['garbage'] = {
    gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
    pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
    rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
    papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'}
};
Anybody have an idea how I get this module to work?
There is a ical available for the upcoming 50 days for my area (https://www.mijnblink.nl/ical/1652200000006949) but no luck getting the info in Dashticz (neither with added and sharing google).

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 22:38
by HansieNL
Can you try with the following settings:

Code: Select all

config['garbage_company'] = 'ical';
config['garbage_icalurl'] = 'https://www.mijnblink.nl/ical/1652200000006949';

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 22:53
by Kencirot
This give me "loading..." with no end.

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 22:59
by HansieNL
Kencirot wrote: Sunday 24 May 2020 22:53 This give me "loading..." with no end.
Can you check if PHP is enabled?
For more info see: https://dashticz.readthedocs.io/en/beta ... stall.html

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 23:15
by Kencirot
Yes, it is.
Index.php with

Code: Select all

<?php echo "hello world"; ?>
on apache working perfect when I visit with a browser.

Re: Dashticz - Module - Garbage collector

Posted: Sunday 24 May 2020 23:58
by HansieNL
I just tried with only these settings without a problem:

Code: Select all

config['garbage_company'] = 'ical';
config['garbage_icalurl'] = 'https://www.mijnblink.nl/ical/1652200000006949';
Can you remove/comment out all garbage settings in your config.js and just use these two lines to see if it will load the calendar.

Re: Dashticz - Module - Garbage collector

Posted: Monday 25 May 2020 0:11
by Kencirot
It is finally working now with using only those lines.

I want to all the config settings and found this in my list to be the problem:

Code: Select all

config['default_cors_url'] = '0';
Thanks

Re: Dashticz - Module - Garbage collector

Posted: Monday 25 May 2020 0:21
by HansieNL
Glad it’s working.

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 03 June 2020 9:34
by jdenotter
Hi,

I have been playing with dashticz for about 5 weeks now and I'm very happy with the possibilities!
I already introduced it to the family with a tablet which is always on in the living-room with home automation control and info like public-transport, family agenda, links to school information pages etc...

But 1 thing I really want to get up and running is the garbage calendar.
The issue is specific to Meerlanden and my adres. If I use i.e. omrin and an address in Leeuwarden It works.
My address is 1432PC 49...
For testing I use the latest beta version (3.4.9.1).
For the family page I have the master version running.

I hope someone can help me out.

Rgrds,
Jacco.

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 03 June 2020 10:16
by jvdz
Hi Jacco,

Your Afvalkalendar for Meerlanden has been moved from provider OPZET to XIMMIO. I am not familiar with this garbage collector solution as I have written a separate GarbageCalendar solution, but though I mentioning it so you can investigate how to make this work with this Garbage Collector.
Here are the recent discussion about this change: https://www.domoticz.com/forum/search.p ... sf=msgonly

Jos

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 03 June 2020 11:49
by Lokonli
Dashticz is not using XIMMIO yet, so that will requiring some recoding/testing.

It doesn't look too complex...

Any volunteers from the Meerlanden region?

Re: Dashticz - Module - Garbage collector

Posted: Thursday 18 June 2020 14:31
by nitro
I have added the garbage collector to my Dashticz, only the only thing it does is loading??
Filled all the fields with my home address but it's still loading.
Also tried with the ICS to add is as well but the same result.

Dashticz V3.0.6 master
Domoticz version: 2020.2
dzVents version: 3.0.2
Python version: 3.6.9
PHP version: 7.3.10

Hopefully you can help me.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 18 June 2020 14:52
by Lokonli
nitro wrote: Thursday 18 June 2020 14:31 I have added the garbage collector to my Dashticz, only the only thing it does is loading??
Filled all the fields with my home address but it's still loading.
Also tried with the ICS to add is as well but the same result.

Dashticz V3.0.6 master
Domoticz version: 2020.2
dzVents version: 3.0.2
Python version: 3.6.9
PHP version: 7.3.10

Hopefully you can help me.
Your Dashticz version is pretty old. First try the latest master:
https://github.com/Dashticz/dashticz

What's your garbage company and postal code?

Re: Dashticz - Module - Garbage collector

Posted: Thursday 18 June 2020 15:00
by nitro
Maybe a dumb question, but how can i update Dashticz?
If i check the docs the only thing i see is:
Update from a previous version
If the default page is working then you can copy your previous CONFIG.js, custom.css, custom.js from your previous installation to dashticz/custom.

Just refresh your browser, and your new dashboard is shown. No need to rebuild the docker container.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 18 June 2020 15:47
by HansieNL
nitro wrote: Thursday 18 June 2020 15:00 Maybe a dumb question, but how can i update Dashticz?
If i check the docs the only thing i see is:
Update from a previous version
If the default page is working then you can copy your previous CONFIG.js, custom.css, custom.js from your previous installation to dashticz/custom.

Just refresh your browser, and your new dashboard is shown. No need to rebuild the docker container.
Option 1. From terminal you can add the following command in Dashticz folder:

Code: Select all

git pull
Option 2. Download zip file from GitHub and copy in your Dashticz folder. Create backup of your custom folder(s) first.

Re: Dashticz - Module - Garbage collector

Posted: Friday 19 June 2020 11:03
by nitro
Thx for the update.
I have updated to the last version V3.5 Master.
But the garbage collector is still loading.

Re: Dashticz - Module - Garbage collector

Posted: Friday 19 June 2020 15:52
by nitro
Lokonli wrote: Thursday 18 June 2020 14:52
nitro wrote: Thursday 18 June 2020 14:31 I have added the garbage collector to my Dashticz, only the only thing it does is loading??
Filled all the fields with my home address but it's still loading.
Also tried with the ICS to add is as well but the same result.

Dashticz V3.0.6 master
Domoticz version: 2020.2
dzVents version: 3.0.2
Python version: 3.6.9
PHP version: 7.3.10

Hopefully you can help me.
Your Dashticz version is pretty old. First try the latest master:
https://github.com/Dashticz/dashticz

What's your garbage company and postal code?
Garbage company = uden
postal code = 5402

Edit:
It is working now, in the command i had a space between the numbers and the characters. That was the problem.
config['garbage_zipcode'] = '5402 XX';

So it need to be:
config['garbage_zipcode'] = '5402XX';

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 23 June 2020 11:06
by GilbertvH
Hi all,

Thanks to this forum I was able to create my own Dashticz dashboard with all kind of plugins. One of them is the garbage collector.
Works like a charm (De Afval App) but the prefix is in English format while every setting is in 'nl_NL'. Can someone tell me how to change this in Dutch date prefix?
Opera Snapshot_2020-06-23_110418_192.168.178.24.png
Opera Snapshot_2020-06-23_110418_192.168.178.24.png (188.82 KiB) Viewed 1295 times
EDIT: Nevermind. Got it fixed!