Aiii... that was easy... It was my first custom.css

Thanks for helping!
Moderators: leecollings, htilburgs, robgeerts
Aiii... that was easy... It was my first custom.css
Which exact Dashticz version are you using?madradrakie wrote: ↑Wednesday 11 December 2019 22:07 can you maybe take a look if something changed in the data feed coming from the garbage company in Almere. Monday it was still working but today suddenly not anymore. Thanks in advance.
i am using the latest beta version (did a gitt pull yesterday). Is there an easy way to switch to the master version?Lokonli wrote: ↑Wednesday 11 December 2019 22:25Which exact Dashticz version are you using?madradrakie wrote: ↑Wednesday 11 December 2019 22:07 can you maybe take a look if something changed in the data feed coming from the garbage company in Almere. Monday it was still working but today suddenly not anymore. Thanks in advance.
Can you test with master or an earlier beta version?
I had to update the jQuery version, what might have some unwanted side effects.
madradrakie wrote: ↑Thursday 12 December 2019 21:20i am using the latest beta version (did a gitt pull yesterday). Is there an easy way to switch to the master version?Lokonli wrote: ↑Wednesday 11 December 2019 22:25Which exact Dashticz version are you using?madradrakie wrote: ↑Wednesday 11 December 2019 22:07 can you maybe take a look if something changed in the data feed coming from the garbage company in Almere. Monday it was still working but today suddenly not anymore. Thanks in advance.
Can you test with master or an earlier beta version?
I had to update the jQuery version, what might have some unwanted side effects.
Code: Select all
git checkout master
Code: Select all
config['garbage_company'] = 'almere';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_maxitems'] = '3';
config['garbage_width'] = '12';
config['garbage_mapping'] = {
rest: ['grof', 'grey', 'rest', 'grijs','grijze'],
gft: ['GFT & Rest','gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei'],
pmd: ['Verpakkingen','plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
papier: ['Papier','blauw', 'blue', 'recycling bin collection'],
kca: ['chemisch', 'kca','kga'],
brown: ['brown', 'verre'],
black: ['black', 'zwart'],
milieu: ['milieu'],
kerstboom: ['kerst'],
};
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'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},
};
Code: Select all
{"userMessage":{"type":null,"messageCode":0,"description":null},"ExtraOption":
The calendar responses look ok.madradrakie wrote: ↑Thursday 12 December 2019 22:06 yes i filled in my zipcode and housenumber in the config.js and you are more then welcome at my home so i can show you my system, but to invite everybody.
in the console tab i see the following error:
VM1415:417 Uncaught TypeError: Cannot read property 'charAt' of undefined
at getTrashRow (<anonymous>:417:68)
at <anonymous>:446:49
at Array.forEach (<anonymous>)
at addToContainer (<anonymous>:445:17)
at Object.success (<anonymous>:159:13)
at fire (bundle.js:48)
at Object.fireWith [as resolveWith] (bundle.js:48)
at done (bundle.js:48)
at XMLHttpRequest.<anonymous> (bundle.js:48)
see row number 2 and 5.....could that be the error?
My responde code is:
{"userMessage":{"type":null,"messageCode":0,"description":null},"ExtraOption":
At calander the responde code is:
{"userMessage":{"type":null,"messageCode":0,"description":null},"ExtraOption":{"$type":"System.Dynamic.ExpandoObject, System.Core"},"dataList":[{"pickupDates":["2019-12-20T00:00:00","2020-01-03T00:00:00"],"pickupType":18,"_pickupType":18,"_pickupTypeText":"GREENGREY","description":"Route Duo 3 Rest"},{"pickupDates":["2019-12-13T00:00:00","2019-12-27T00:00:00","2020-01-10T00:00:00"],"pickupType":10,"_pickupType":10,"_pickupTypeText":"PACKAGES","description":"Route Duo 3 Kunststof"},{"pickupDates":["2019-12-24T00:00:00","2020-01-07T00:00:00"],"pickupType":2,"_pickupType":2,"_pickupTypeText":"PAPER","description":"Papier 06 Wijk 10,12,54 & 55"}],"intDataList":null,"data":null,"status":true,"messageCode":107,"pdfResponse":null,"token":null,"ID":null,"invalidParameters":null,"total":0,"messageToString":null}
Code: Select all
config['garbage_use_names'] = 1;
Code: Select all
config['garbage_use_names'] = 1;
config['garbage_mapping'] = {
rest: ['grof', 'grey', 'rest', 'grijs','grijze'],
gft: ['GFT & Rest','gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei'],
pmd: ['Verpakkingen','plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
papier: ['Papier','blauw', 'blue', 'recycling bin collection'],
kca: ['chemisch', 'kca','kga'],
brown: ['brown', 'verre'],
black: ['black', 'zwart'],
milieu: ['milieu'],
kerstboom: ['kerst'],
};
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'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},
};
Code: Select all
/*Vuilnis Module */
config['dashticz_php_path']='./vendor/dashticz/';
config['garbage_company'] = 'twentemilieu';
config['garbage_icalurl'] = '0';
config['garbage_zipcode'] = '7483BH';
config['garbage_street'] = 'Vingerhoedskruid';
config['garbage_housenumber'] = '1';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_use_cors_prefix'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#FF8C00', name: 'GFT', icon: 'img/garbage/kliko_brown.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#7CFC00', name: 'Restafval', icon: 'img/garbage/kliko_green.png'},
papier: {kliko: 'blue', code: '#00BFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},}
i live in Barendrecht with the same problem...EdwinK wrote: ↑Thursday 02 January 2020 19:41 O. great, my town changed to another system to display the garbage data. From 'afvalwijzer' to an app of their own. Can't find if it uses json or something else.
Site is https://bar-afvalbeheer.nl/
It's somewhat of a challenge I read on domotica forum
Do you have a link for that forum?EdwinK wrote:O. great, my town changed to another system to display the garbage data. From 'afvalwijzer' to an app of their own. Can't find if it uses json or something else.
Site is https://bar-afvalbeheer.nl/
It's somewhat of a challenge I read on domotica forum
Did you get it to work?
Code: Select all
config['garbage_company'] = 'twentemilieu'; //https://dashticz.readthedocs.io/en/beta/blocks/specials/garbage.html
config['garbage_icalurl'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'the-correct-zipcode';
config['garbage_street'] = 'the-correct-address';
config['garbage_housenumber'] = 'the-correct-number';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = true;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;
config['garbage'] = {
gft: {kliko: 'green', code: '#00bf00', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#ffa500', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#bfbfbf', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#0742e5', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
};
Users browsing this forum: No registered users and 1 guest