Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post 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.
Image

Thnx in advance!


Sent from my iPhone using Tapatalk
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post 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)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post by robgeerts »

Hold on, maybe I've found one...
Edit: Found! I'l fix it immediately!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post 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.
Image

Thnx in advance!


Sent from my iPhone using Tapatalk
Fixed TwenteMilieu!
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post by Trigun »

Nice!!! Great work Rob, thnx a lot!


Sent from my iPhone using Tapatalk
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post by robgeerts »

Added Goes and Uden (NL)
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by HansieNL »

Hello Rob,
I get the text undefined in the garbage block after update.
Is there something changed in the configuration?
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by robgeerts »

Could you send me your config.js? I'll fix this tomorrow morning!
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by HansieNL »

robgeerts wrote:Could you send me your config.js? I'll fix this tomorrow morning!
PM sent.
Thx in advance.
Blah blah blah
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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 :?
Blah blah blah
kurniawan77
Posts: 46
Joined: Wednesday 21 January 2015 20:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector

Post by kurniawan77 »

kurniawan77 wrote:is it possible to inculde http://www.omrin.nl/bij-mij-thuis/servi ... alkalender too?

kurniawan77 wrote:
robgeerts wrote:
kurniawan77 wrote:is it possible to inculde http://www.omrin.nl/bij-mij-thuis/servi ... alkalender too?
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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by robgeerts »

Sorry, tried different ways but no luck..
avantwist
Posts: 12
Joined: Wednesday 21 September 2016 21:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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]
Attachments
CONFIG.js
(2.67 KiB) Downloaded 163 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by robgeerts »

Are you using the beta version or the master version?
avantwist
Posts: 12
Joined: Wednesday 21 September 2016 21:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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]
avantwist
Posts: 12
Joined: Wednesday 21 September 2016 21:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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]
Attachments
screen garbage.png
screen garbage.png (303.45 KiB) Viewed 2384 times
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post by EdwinK »

Can you post your complete config.js (minus the API-keys)

Use [ code ] and [/ code ] tags (remove spaces)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
avantwist
Posts: 12
Joined: Wednesday 21 September 2016 21:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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]
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Dashticz - [BETA] Module - Garbage collector

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest