Page 1 of 1

Toon and Vera

PostPosted: Sun Dec 31, 2017 11:59 am
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

PostPosted: Wed Jan 24, 2018 8: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

PostPosted: Thu Jan 25, 2018 7:21 pm
by Screamhouse

just create a Scene for 19,5 degrees

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

Or to set a state Home:

luup.inet.wget( 'http://XXXX:10080/happ_thermstat?action=changeSchemeState&state=2&temperatureState=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

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

Re: Toon and Vera

PostPosted: Mon Jan 29, 2018 3: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.