Page 1 of 1

Toon and Vera

Posted: Sun Dec 31, 2017 12:59 pm
by Screamhouse
I just got my Toon rooted and I am curious if anyone integrated his Toon into Vera? I know it is possible in Domoticz, but I am not ready top switch.
Technically I know it can be done in Vera as well, I just lack the skills and was hoping someone already has done it :)

I can set the temp and state via my Vera, but I also want to display the values of Toon. Via http://toon:10080/happ_thermstat?action ... mostatInfo I know I can ghet the values, but displaying these is another story, since I lack the programming skills to retrieve the Current temp values from the results. Is there maybe a URL you can call displaying only the currentTemp?

Re: Toon and Vera

Posted: Wed Jan 24, 2018 9:32 pm
by Marijn
I would like to have the same :D
How do you set the temperature? Did you create a device for Toon?

Re: Toon and Vera

Posted: Thu Jan 25, 2018 8:21 pm
by Screamhouse
Hi,

just create a Scene for 19,5 degrees

luup.inet.wget( 'http://XXXX:10080/happ_thermstat?action ... point=1950')

Or to set a state Home:

luup.inet.wget( 'http://XXXX:10080/happ_thermstat?action ... ureState=1')

STATE_RELAX = 0 [Comfort]
STATE_ACTIVE = 1 [Home/Thuis]
STATE_SLEEP = 2 [Sleep/Slapen]
STATE_AWAY = 3 [Away/Weg]
STATE_HOLIDAY = 4 [Holiday/Vakantie]

Re: Toon and Vera

Posted: Sat Jan 27, 2018 3:32 pm
by Marijn
Thanks, i’m going to make Some scenes.

Re: Toon and Vera

Posted: Mon Jan 29, 2018 4:54 pm
by TerrorSource
It should be possible to do this with LUA-script, which some Vera's has.
you should check out the domoticz forum for the LUA-scripts used for domoticz. LUA-script itself is universal but maybe you need to edit the switches.