Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, robgeerts
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
1st try without garbage settings and see if it works. You can later add the mappings and renaming parts.
You can change config['garbage_use_names'] = false to disable mappings
You can change config['garbage_use_names'] = false to disable mappings
Blah blah blah
Re: Dashticz - Module - Garbage collector
ok it works now without the garbage settings.
now put in the right config garbage settings?
can you help me with the right ones?
now put in the right config garbage settings?
can you help me with the right ones?
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
- Spoiler: show
Code: Select all
config['garbage_mapping'] = {
rest: ['sortibak'],
gft: ['biobak'],
papier: ['papier', 'karton'],
};
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.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'},
};
Blah blah blah
Re: Dashticz - Module - Garbage collector
it is working but only now i can not read the text, i need a another color now.
can i change that?
can i change that?
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
You have to change the code #x123abc in the config['garbage'] to an other hex color code. For hex color codes there are a lot of websites with examples.
Blah blah blah
Re: Dashticz - Module - Garbage collector
thnx a lot for the help
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Since today (at least I noticed it today) the garbage info isn't displayed anymore.
This is what the console tells me:
This is what the console tells me:
js/garbage.js:139 Uncaught TypeError: Cannot read property 'UniqueId' of undefined
at Object.success (js/garbage.js:139)
at fire (bundle.js?t=5:305)
at Object.fireWith [as resolveWith] (bundle.js?t=5:305)
at done (bundle.js?t=5:305)
at XMLHttpRequest.<anonymous> (bundle.js?t=5:305)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Can you send me your zipcode, housenumber and garbage provider? (You can do it by PM)EdwinK wrote: ↑Thursday 24 September 2020 12:22 Since today (at least I noticed it today) the garbage info isn't displayed anymore.
This is what the console tells me:
js/garbage.js:139 Uncaught TypeError: Cannot read property 'UniqueId' of undefined
at Object.success (js/garbage.js:139)
at fire (bundle.js?t=5:305)
at Object.fireWith [as resolveWith] (bundle.js?t=5:305)
at done (bundle.js?t=5:305)
at XMLHttpRequest.<anonymous> (bundle.js?t=5:305)
Then I'll check.
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
I guess you are using bar-afvalbeheer. Their site (https://www.bar-afvalbeheer.nl/afvalkalender) seems to provide no calendar data at all at the moment. Do you maybe have a working url?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Your guess was correct , but no, I don't have a working url. When enter my zipcode and housenumber, I get a calendar. In developertools it shows this:
I hope they will fix it soon.
Refused to load the script 'data:application/javascript;base64,KGZ1bmN0aW9uKCkgewoJLy8gaHR0cHM6Ly9kZXZlbG9wZXJzLmdvb2dsZS5jb20vYW5hbHl0aWNzL2Rldmd1aWRlcy9jb2xsZWN0aW9uL2FuYWx5dGljc2pzLwoJdmFyIG5vb3BmbiA9IGZ1bmN0aW9uKCkgewoJCTsKCX07Cgl2YXIgbm9vcG51bGxmbiA9IGZ1bmN0aW9uKCkgewoJCXJldHVybiBudWxsOwoJfTsKCS8vCgl2YXIgVHJhY2tlciA9IGZ1bmN0aW9uKCkgewoJCTsKCX07Cgl2YXIgcCA9IFRyYWNrZXIucHJvdG90eXBlOwoJcC5nZXQgPSBub29wZm47CglwLnNldCA9IG5vb3BmbjsKCXAuc2VuZCA9IG5vb3BmbjsKCS8vCgl2YXIgdyA9IHdpbmRvdywKCQlnYU5hbWUgPSB3Lkdvb2dsZUFuYWx5dGljc09iamVjdCB8fCAn...sKCWdhLmdldEJ5TmFtZSA9IG5vb3BudWxsZm47CglnYS5nZXRBbGwgPSBmdW5jdGlvbigpIHsKCQlyZXR1cm4gW107Cgl9OwoJZ2EucmVtb3ZlID0gbm9vcGZuOwoJLy8gaHR0cHM6Ly9naXRodWIuY29tL3VCbG9ja09yaWdpbi91QXNzZXRzL2lzc3Vlcy8yMTA3CglnYS5sb2FkZWQgPSB0cnVlOwoJd1tnYU5hbWVdID0gZ2E7CgkvLyBodHRwczovL2dpdGh1Yi5jb20vZ29yaGlsbC91QmxvY2svaXNzdWVzLzMwNzUKCXZhciBkbCA9IHcuZGF0YUxheWVyOwoJaWYgKCBkbCBpbnN0YW5jZW9mIE9iamVjdCAmJiBkbC5oaWRlIGluc3RhbmNlb2YgT2JqZWN0ICYmIHR5cGVvZiBkbC5oaWRlLmVuZCA9PT0gJ2Z1bmN0aW9uJyApIHsKCQlkbC5oaWRlLmVuZCgpOwoJfQp9KSgpOw==' because it violates the following Content Security Policy directive: "script-src * 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I hope they will fix it soon.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 8
- Joined: Wednesday 22 January 2020 22:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
My garbage collector has stopped working. It only mentions loading. I have no idea why.
Someone who has an idea how to get it working again?
See attachments for more info.
Someone who has an idea how to get it working again?
See attachments for more info.
- Attachments
-
- a1.jpg (67.87 KiB) Viewed 1123 times
-
- a2.jpg (80.59 KiB) Viewed 1123 times
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Did you already try Dashticz 3.6?
Afvalwijzer changed it's interface a few weeks ago. A fix has been implemented already.
If it's not working, please send me your zipcode and housenumber (you can do that by PM) and I'll test.
-
- Posts: 8
- Joined: Wednesday 22 January 2020 22:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Thanks for the tip. I have updated to 3.6 but the problem remains.
My zip is **** and housenumber *** (unfortunatly I can''t send PM)
My zip is **** and housenumber *** (unfortunatly I can''t send PM)
Last edited by herbod on Sunday 27 September 2020 22:08, edited 1 time in total.
- 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
What is the option "calendar_parse_locally"
i don't have this in my config.
Maybe this is something to look at
i don't have this in my config.
Maybe this is something to look at
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
You have to remove the setting config['garbage_use_cors_prefix'] or set it to true.
You also must have PHP enabled.
Garbage for your address is working on my system.
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
This is an old setting and not used anymore.madpatrick wrote: ↑Sunday 27 September 2020 10:16 What is the option "calendar_parse_locally"
i don't have this in my config.
Maybe this is something to look at
Blah blah blah
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
bar_afvalbeheer seems to be working again.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 8
- Joined: Wednesday 22 January 2020 22:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Thank you! it is working again. I have sett ['garbage_use_cors_prefix'] to true but wat does it do? I am trying to understand what i did.
What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Thanks again!
What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Thanks again!
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@herbod
Thank you! it is working again. I have sett ['garbage_use_cors_prefix'] to true but wat does it do? I am trying to understand what i did.
Answer: You can find a description here: https://dashticz.readthedocs.io/en/mast ... cors-proxy
What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
Answer: Yes
The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Answer: try adding to your config.js
Thank you! it is working again. I have sett ['garbage_use_cors_prefix'] to true but wat does it do? I am trying to understand what i did.
Answer: You can find a description here: https://dashticz.readthedocs.io/en/mast ... cors-proxy
What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
Answer: Yes
The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Answer: try adding
Code: Select all
config['calendarlanguage'] = 'nl_NL';
Blah blah blah
-
- Posts: 8
- Joined: Wednesday 22 January 2020 22:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
HansieNL wrote: ↑Sunday 27 September 2020 21:48 @herbod
Thank you! it is working again. I have sett ['garbage_use_cors_prefix'] to true but wat does it do? I am trying to understand what i did.
Answer: You can find a description here: https://dashticz.readthedocs.io/en/mast ... cors-proxy
What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
Answer: Yes
The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Answer: try addingto your config.jsCode: Select all
config['calendarlanguage'] = 'nl_NL';
Thanks!! Sometimes it can be so simple. Was looking for this for a while.
Can I change the date 06-10-2020 in the garbage collector dinsdag (tuesday) 06-10-2020, so adding the day?
Who is online
Users browsing this forum: No registered users and 1 guest