Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Module - Garbage collector
You dont have to share it permanently..
In the calendar settings you can get a private-address... (this is a unique address wich u can use, but this way it is not discoverable by other users).
See screenshot below (the second option u have to use)
In the calendar settings you can get a private-address... (this is a unique address wich u can use, but this way it is not discoverable by other users).
See screenshot below (the second option u have to use)
-
- Posts: 39
- Joined: Monday 19 January 2015 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Dashticz - Module - Garbage collector
I found out how to get the JSON output from http://www.rova.nl. I use the following to get the info:
The output looks like this:
Can you integrate this into the code?
Code: Select all
curl -v --cookie "RovaLc_inwoners={\"Id\":160266,\"ZipCode\":\"7731ZT\",\"HouseNumber\":\"84\",\"HouseAddition\":null,\"Municipality\":\"Ommen\",\"Province\":null,\"Firstname\":null,\"Lastname\":null,\"UserAgent\":\"\",\"School\":null,\"Street\":null,\"Country\":null,\"Portal\":null,\"AreaLevel\":5,\"City\":\"Ommen\",\"Ip\":null}" https://www.rova.nl/api/TrashCalendar/GetCalendarItems?portal=inwoners
Code: Select all
* Trying 141.138.194.225...
* Connected to www.rova.nl (141.138.194.225) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 696 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: www.rova.nl (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: CN=www.rova.nl
* start date: Tue, 23 May 2017 06:01:00 GMT
* expire date: Mon, 21 Aug 2017 06:01:00 GMT
* issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /api/TrashCalendar/GetCalendarItems?portal=inwoners HTTP/1.1
> Host: www.rova.nl
> User-Agent: curl/7.47.0
> Accept: */*
> Cookie: RovaLc_inwoners={"Id":160266,"ZipCode":"7731ZT","HouseNumber":"84","HouseAddition":null,"Municipality":"Ommen","Province":null,"Firstname":null,"Lastname":null,"UserAgent":"","School":null,"Street":null,"Country":null,"Portal":null,"AreaLevel":5,"City":"Ommen","Ip":null}
>
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/8.5
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< Date: Mon, 31 Jul 2017 06:20:40 GMT
< Content-Length: 279
<
* Connection #0 to host www.rova.nl left intact
[{"GarbageTypeCode":"GFT","GarbageType":"GFT","Date":"2017-08-04T00:00:00","Regular":true},{"GarbageTypeCode":"GFT","GarbageType":"GFT","Date":"2017-08-18T00:00:00","Regular":true},{"GarbageTypeCode":"PLASTICPLUS","GarbageType":"PMD","Date":"2017-08-25T00:00:00","Regular":true}]
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Module - Garbage collector
Will look into this.
Meanwhile, I've added Arnhem to latest beta:
Meanwhile, I've added Arnhem to latest beta:
Code: Select all
trashcan.afvalwijzerarnhem = { key:'afvalwijzerarnhem', maxitems: 5, trashapp: 'afvalwijzerarnhem', width:5,zipcode:'6832HP', housenumber:'1' }
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Module - Garbage collector
This is the solution that works:benbammens wrote:Does not work I'm afraid. I can generate an ical url from my google calendar but since it is not a shared calendar dashticz can not see it. And I can not share it so it seems since it is an external calendar...robgeerts wrote:Try something like:
(Add your own ical url)
Code: Select all
Var trashcan = {} trashcan.ical = { width:6, maxitems: 10, trashapp:'ical', icalurl: 'https://calendar.google.com/calendar/basic.ics' }
Code: Select all
var trashcan = {}
trashcan.ical = { width:6, maxitems: 10, trashapp:'ical', icalurl: 'http://www.limburg.net/ics/afvalkalender/71011/9744/119/0' }
-
- Posts: 22
- Joined: Monday 31 July 2017 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
pkrabben wrote:Hi All
The recycle manager is working only I can't get the block wider then 4.
I tried
but for some reason it stays width 4 do you have any clue?Code: Select all
blocks['trashcan.recyclemanager'] = {} blocks['trashcan.recyclemanager']['width'] = 12;
pkrabben, hoe heb jij deze werkend gekregen in Almere?
Hij zegt bij mij continu "undefined"
welke gebruik jij?
- 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
I believe you set the width in the block it self, not in a 'var'
See this example:
Change the width to anything you want (between 4 and 12)
See this example:
Code: Select all
trashcan.afvalwijzerarnhem = { key:'afvalwijzerarnhem', maxitems: 5, trashapp: 'afvalwijzerarnhem', width:5,zipcode:'6832HP', housenumber:'1' }
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - Module - Garbage collector
ik heb je een pm gestuurd
wmmudde wrote:pkrabben wrote:Hi All
The recycle manager is working only I can't get the block wider then 4.
I tried
but for some reason it stays width 4 do you have any clue?Code: Select all
blocks['trashcan.recyclemanager'] = {} blocks['trashcan.recyclemanager']['width'] = 12;
pkrabben, hoe heb jij deze werkend gekregen in Almere?
Hij zegt bij mij continu "undefined"
welke gebruik jij?
-
- 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
WARNING:
In latest Beta, setting the block is done via the Settings-popup!
In this version, var trashcan = {} is not used anymore.
And define them in a columns like:
In latest Beta, setting the block is done via the Settings-popup!
In this version, var trashcan = {} is not used anymore.
And define them in a columns like:
Code: Select all
columns[1] = {}
columns[1]['width'] = 2;
columns[1]['blocks'] = ['garbage']
-
- 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
Added garbage collector for Gemert-Bakel (NL)
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
robgeerts wrote:WARNING:
In latest Beta, setting the block is done via the Settings-popup!
In this version, var trashcan = {} is not used anymore.
Now just a black screen.
edit: placed the var trashcan = {} thingy back and Dashticz works again, without the trash info. 'Undefined'.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
is it possible to inculde http://www.omrin.nl/bij-mij-thuis/servi ... alkalender too?
-
- 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
Do you have an example zipcode for me?kurniawan77 wrote:is it possible to inculde http://www.omrin.nl/bij-mij-thuis/servi ... alkalender too?
I forgot to mention, in the blocks, you dont add things like: trashcan.cure but just 'garbage' with the single quotes.EdKo66 wrote:robgeerts wrote:WARNING:
In latest Beta, setting the block is done via the Settings-popup!
In this version, var trashcan = {} is not used anymore.
Now just a black screen.
edit: placed the var trashcan = {} thingy back and Dashticz works again, without the trash info. 'Undefined'.
-
- 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
Sure...robgeerts wrote:Do you have an example zipcode for me?kurniawan77 wrote:is it possible to inculde http://www.omrin.nl/bij-mij-thuis/servi ... alkalender too?
I forgot to mention, in the blocks, you dont add things like: trashcan.cure but just 'garbage' with the single quotes.EdKo66 wrote:robgeerts wrote:WARNING:
In latest Beta, setting the block is done via the Settings-popup!
In this version, var trashcan = {} is not used anymore.
Now just a black screen.
edit: placed the var trashcan = {} thingy back and Dashticz works again, without the trash info. 'Undefined'.
8431TG
Sent from my Nexus 6P using Tapatalk
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
robgeerts wrote:I forgot to mention, in the blocks, you dont add things like: trashcan.cure but just 'garbage' with the single quotes.edko66 wrote:
edit: placed the var trashcan = {} thingy back and Dashticz works again, without the trash info. 'Undefined'.
That was indeed the problem.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Whatever I put in as 'width' it still remains small.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
Fixed in latest beta!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - [CHANGED IN BETA] Module - Garbage collector
Thanks
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Dashticz - [CHANGED IN BETA] Module - Garbage collector
Hi rob, is there already a possibility to use the folowing postalcode: 7622HG?
Sorry, Living in the outskirts.
Sent from my iPhone using Tapatalk
Sorry, Living in the outskirts.
Sent from my iPhone using Tapatalk
-
- 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
"De door u opgegeven postcode valt niet in het werkgebied van Twente Milieu."
Who is online
Users browsing this forum: Google [Bot] and 1 guest