garbage collector HVC into sensors with dzVents?

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

garbage collector HVC into sensors with dzVents?

Post by remb0 »

My garbage collector is HVC. And I wanted that info into my domoticz.

A sample adress: Venuslaan 85 zipcode: 3318 JZ city: Dordrecht.

Info about the address: http://inzamelkalender.hvcgroep.nl/push ... snummer=85
Collecting days: http://inzamelkalender.hvcgroep.nl/push ... snummer=85

it returned JSON and I can read it. But now I need to know how to transform that info into sensors?
Is dzventz capable of doing that or is there a better way? And maybe someone with that knowledge can point me in a right direction or has a sample.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by waaren »

remb0 wrote: Tuesday 24 July 2018 22:09 My garbage collector is HVC. And I wanted that info into my domoticz.

A sample adress: Venuslaan 85 zipcode: 3318 JZ city: Dordrecht.

Info about the address: http://inzamelkalender.hvcgroep.nl/push ... snummer=85
Collecting days: http://inzamelkalender.hvcgroep.nl/push ... snummer=85

it returned JSON and I can read it. But now I need to know how to transform that info into sensors?
Is dzventz capable of doing that or is there a better way? And maybe someone with that knowledge can point me in a right direction or has a sample.
@Rembo, if I look at the JSON return, I see 4 different collection types (Plastic, Green, Other and Paper) with each 5 dates. Some of the dates are double so effective unique dates are 2 or 3 per collection type.
dzVents is capable of collecting this information and put it into sensors. If you tell me how you want this information presented I want to give this a try.
So do you want this information in a text Sensor or an alert Sensor or a separate sensor for each collection type or something else ? And do you want all unique dates or only the next one ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
jake
Posts: 751
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by jake »

I use also Dashticz and there they have defined options to display data for many different garbage companies, including hvc. I wouldn't know how to transform that for use in domoticz directly.
https://www.domoticz.com/wiki/Dashticz_ ... _Collector
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by remb0 »

I don't think it's handy to have a sensor for different collections. 1 text sensor with the next collecting looks good to me.
or maybe one per collection (and one that combines them with the next collecting?)

do you have suggestions what kind of sensor is handy? I think a text, then I make a notification at 7 pm the day before)

waaren wrote: Tuesday 24 July 2018 22:43 @Rembo, if I look at the JSON return, I see 4 different collection types (Plastic, Green, Other and Paper) with each 5 dates. Some of the dates are double so effective unique dates are 2 or 3 per collection type.
dzVents is capable of collecting this information and put it into sensors. If you tell me how you want this information presented I want to give this a try.
So do you want this information in a text Sensor or an alert Sensor or a separate sensor for each collection type or something else ? And do you want all unique dates or only the next one ?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by waaren »

remb0 wrote: Wednesday 25 July 2018 17:38 I don't think it's handy to have a sensor for different collections. 1 text sensor with the next collecting looks good to me.
or maybe one per collection (and one that combines them with the next collecting?)

do you have suggestions what kind of sensor is handy? I think a text, then I make a notification at 7 pm the day before)
Ok, let me play a little bit with the idea.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by remb0 »

very nice waaren. I'm happy that you wanna help :)
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by waaren »

remb0 wrote: Wednesday 25 July 2018 19:30 very nice waaren. I'm happy that you wanna help :)
@remb0 ,

please have a look [url =http://www.domoticz.com/forum/viewtopic ... 72&t=24273] here [/url] . Hope this will be of some help.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: garbage collector HVC into sensors with dzVents?

Post by remb0 »

thank you very much!!! this is really great gonna test it right now!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest