Page 11 of 48
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:05
by Trigun
robgeerts wrote:"De door u opgegeven postcode valt niet in het werkgebied van Twente Milieu."
Sorry, gues you need my housenumber as Well.
Its 100
On the site of twentemilieu it works.
Thnx in advance!
Sent from my iPhone using Tapatalk
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:09
by robgeerts
Sorry no source I could use.
Unless you add the data to a public ical (if you have some spare time.
In the meantime:
Added Best,Vianen and Waalre (NL)
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:16
by robgeerts
Hold on, maybe I've found one...
Edit: Found! I'l fix it immediately!
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:33
by robgeerts
Trigun wrote:robgeerts wrote:"De door u opgegeven postcode valt niet in het werkgebied van Twente Milieu."
Sorry, gues you need my housenumber as Well.
Its 100
On the site of twentemilieu it works.
Thnx in advance!
Sent from my iPhone using Tapatalk
Fixed TwenteMilieu!
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:34
by Trigun
Nice!!! Great work Rob, thnx a lot!
Sent from my iPhone using Tapatalk
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 21:41
by robgeerts
Added Goes and Uden (NL)
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 23:10
by HansieNL
Hello Rob,
I get the text undefined in the garbage block after update.
Is there something changed in the configuration?
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 23:12
by robgeerts
Could you send me your config.js? I'll fix this tomorrow morning!
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 23:39
by HansieNL
robgeerts wrote:Could you send me your config.js? I'll fix this tomorrow morning!
PM sent.
Thx in advance.
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Wednesday 02 August 2017 23:57
by HansieNL
HansieNL wrote:robgeerts wrote:Could you send me your config.js? I'll fix this tomorrow morning!
PM sent.
Thx in advance.
FIXED. Missed the new config setting

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Posted: Thursday 03 August 2017 7:02
by kurniawan77
kurniawan77 wrote:robgeerts wrote:
Do you have an example zipcode for me?
Sure...
8431TG
Sent from my Nexus 6P using Tapatalk
Any luck?
Sent from my Nexus 6P using Tapatalk
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Thursday 03 August 2017 10:54
by robgeerts
Sorry, tried different ways but no luck..
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Thursday 03 August 2017 18:36
by avantwist
Guys,
what am I doing wrong.
Added all the right info in the config.js but nothinh appears..
//Trash options
var trashcan = {}
trashcan.hvc = { trashapp: 'hvc', width:12, zipcode:'3319wc', housenumber:'2' }
var trashcolors = {}
trashcolors['Gft'] = 'Green';
trashcolors['Pmd'] = 'Orange';
columns[1]['blocks'] = [trashcan.hvc]
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Thursday 03 August 2017 19:03
by robgeerts
Are you using the beta version or the master version?
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Thursday 03 August 2017 22:44
by avantwist
robgeerts wrote:Are you using the beta version or the master version?
I think the master:
Version: 3.8153
Build Hash: 494fff7
Compile Date: 2017-07-30 12:19:41
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Friday 04 August 2017 12:28
by robgeerts
First, you have to define the var 'columns', try this:
Replace:
Code: Select all
columns[1]['blocks'] = [trashcan.hvc]
With:
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [trashcan.hvc]
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Friday 04 August 2017 17:29
by avantwist
Got it working Rob, thanks.
Only problem now is that with adding this to my config I only see the gabrage in my screen and nothing else
/Trash options
var trashcan = {}
trashcan.hvc = { maxitems: 4, trashapp: 'hvc', width:6, zipcode:'3319wc', housenumber:'2' }
var trashnames = {}
trashnames['Rest'] = 'Grijze bak';
trashnames['Gft'] = 'Groene bak';
trashnames['Pmd'] = 'Plastic';
trashnames['Papier'] = 'Blauwe bak';
var trashcolors = {}
trashcolors['Rest'] = 'Grey';
trashcolors['Gft'] = 'Green';
trashcolors['Pmd'] = 'Orange';
trashcolors['Papier'] = 'Blue';
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [trashcan.hvc]
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Friday 04 August 2017 18:23
by EdwinK
Can you post your complete config.js (minus the API-keys)
Use [ code ] and [/ code ] tags (remove spaces)
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Friday 04 August 2017 18:39
by avantwist
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: de_DE, en_US, fr_FR, hu_HU, it_IT, pt_PT, sv_SE
var _HOST_DOMOTICZ = 'http://192.168.1.101:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
var _APP_TITLE = 'Dashticz';
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = '';
var _WEATHER_CITY = 'Dordrecht';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _HIDE_TOPBAR = false; //hide topbar with appname, clock and settings-icon
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = true; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _IDXmoonpicture = 1; //index of the uservariabele MoonPicture
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
// buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
// buttons.moon= {width:12, isimage:true, refreshimage:60000, image: 'moon'}
//Trash options
var trashcan = {}
trashcan.hvc = { maxitems: 4, trashapp: 'hvc', width:6, zipcode:'3319wc', housenumber:'2' }
var trashnames = {}
trashnames['Rest'] = 'Grijze bak';
trashnames['Gft'] = 'Groene bak';
trashnames['Pmd'] = 'Plastic';
trashnames['Papier'] = 'Blauwe bak';
var trashcolors = {}
trashcolors['Rest'] = 'Grey';
trashcolors['Gft'] = 'Green';
trashcolors['Pmd'] = 'Orange';
trashcolors['Papier'] = 'Blue';
// var columns = {}
// columns[1] = {}
// columns[1]['blocks'] = [trashcan.hvc]
Re: Dashticz - [BETA] Module - Garbage collector
Posted: Saturday 05 August 2017 17:29
by Phantom
I have updated to the latest Beta, but now the trashcan gives and undefined message.
Here is what i got in the config.js
Code: Select all
var trashnames = {}
trashnames['Rest'] = 'Grijze bak';
trashnames['Gft'] = 'Groene bak';
trashnames['Pmd'] = 'Plastic';
trashnames['Papier'] = 'Blauwe bak';
var trashcolors = {}
trashcolors['Rest'] = 'Grey';
trashcolors['Gft'] = 'Green';
trashcolors['Pmd'] = 'Orange';
trashcolors['Papier'] = 'Blue';
var trashcan = {}
trashcan.afvalapp = { key:'afvalapp', maxitems: 5, trashapp: 'meerlanden', width:12,zipcode:'xxxxxx', housenumber:'xx', country:'NL' }
columns[3] = {}
columns[3]['blocks'] = ['clock','sunrise','currentweather_big',buttons.buienradar,trashcan.afvalapp]
What am i doing wrong? it was working with the beta that i had running on from 4 days ago.