Controlling Toon via Domoticz
Moderators: marcelr, TheHogNL, Toonz
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Controlling Toon via Domoticz
Hi guys,
As requested by a few users around here i've created a how-to manual to control Toon via Domoticz.
It's pretty much a step-by-step guide and should be enough to get it working within 20-30minutes.
The complete manual is based off information and scripts found on: https://www.domoticz.com/forum/viewtopic.php?t=11421
Please ask for support in the topic/url mention above. The scripts are made by users on that forum, not by me.
I will not take credit for the scripts.
I will however create a new version of the manual when there are errors or improvements possible in the current manual.
I wil not support this manual or the content of it!
There's are seperate manuals for Dutch and English.
Please do NOT distribute this document or the content in any kind. It is for personal use only.
Version 2 available now:
- Fixes typo's
- Added LUA/DzVents option enabling
Dutch: Download v2
English: Download v2
As requested by a few users around here i've created a how-to manual to control Toon via Domoticz.
It's pretty much a step-by-step guide and should be enough to get it working within 20-30minutes.
The complete manual is based off information and scripts found on: https://www.domoticz.com/forum/viewtopic.php?t=11421
Please ask for support in the topic/url mention above. The scripts are made by users on that forum, not by me.
I will not take credit for the scripts.
I will however create a new version of the manual when there are errors or improvements possible in the current manual.
I wil not support this manual or the content of it!
There's are seperate manuals for Dutch and English.
Please do NOT distribute this document or the content in any kind. It is for personal use only.
Version 2 available now:
- Fixes typo's
- Added LUA/DzVents option enabling
Dutch: Download v2
English: Download v2
Last edited by TerrorSource on Tue Oct 02, 2018 10:48 am, edited 1 time in total.
Re: Controlling Toon via Domoticz
Wow this is really nice.
I have one question.
I'd like the Toonautoprogram to go to yes after x time when it is set to Temporary.
So when i set the temp outside the normal programming i don't want it to stay on that until the next program starts, i want it to go back to the program after 30-60 minutes.
I tried some blocky and some lua but i couldn't get it fixed.
Do you have any ideas?
I have one question.
I'd like the Toonautoprogram to go to yes after x time when it is set to Temporary.
So when i set the temp outside the normal programming i don't want it to stay on that until the next program starts, i want it to go back to the program after 30-60 minutes.
I tried some blocky and some lua but i couldn't get it fixed.
Do you have any ideas?
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Controlling Toon via Domoticz
Yes i have actually, isn't this what you mean:gielie wrote:Wow this is really nice.
I have one question.
I'd like the Toonautoprogram to go to yes after x time when it is set to Temporary.
So when i set the temp outside the normal programming i don't want it to stay on that until the next program starts, i want it to go back to the program after 30-60 minutes.
I tried some blocky and some lua but i couldn't get it fixed.
Do you have any ideas?
IF ToonAutoProgram = Temporary AND Time = xx.xx
THEN SET ToonAutoProgram = Yes
If this isn't what you need, check out DzVents scripts, there's a pretty complete wiki for it.
Re: Controlling Toon via Domoticz
I have something like that on Domoticz with lua. Tomorrow I will post the script.
It's too hot for me to turn on my PC now
It's too hot for me to turn on my PC now

Member of the Toon Software Collective
Re: Controlling Toon via Domoticz
Have test you're instructions @TerrorSource. Nice one!
Miss what in it, Switch smart plugs via Domoticz, so you can switch on time or as you wish.
Create a Dummy switch, give it a name you want. Switch Type: On/Off
Go to: http://TOON IP/hdrv_zwave?action=getDevices.json
Find youre smart plug uuid, you need that one.
Go to youre dummy light on Domoticz, click on Edit.
On Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=1
Off Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=0
Miss what in it, Switch smart plugs via Domoticz, so you can switch on time or as you wish.
Create a Dummy switch, give it a name you want. Switch Type: On/Off
Go to: http://TOON IP/hdrv_zwave?action=getDevices.json
Find youre smart plug uuid, you need that one.
Go to youre dummy light on Domoticz, click on Edit.
On Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=1
Off Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=0
Member of the Toon Software Collective
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Controlling Toon via Domoticz
That one is not missing, it is not the purpose of this manual. This manual has only purpose to connect/control the thermostat functions of the Toon via Domoticz.mAiden wrote:Have test you're instructions @TerrorSource. Nice one!
Miss what in it, Switch smart plugs via Domoticz, so you can switch on time or as you wish.
Create a Dummy switch, give it a name you want. Switch Type: On/Off
Go to: http://TOON IP/hdrv_zwave?action=getDevices.json
Find youre smart plug uuid, you need that one.
Go to youre dummy light on Domoticz, click on Edit.
On Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=1
Off Action fill in: http://ToonIP/hdrv_zwave?action=basicCo ... ID&state=0
But good that you've mentioned it, maybe someone picks it up from this topic when needed.
Re: Controlling Toon via Domoticz
I should have this one year earlier
it took me 1 week to get it running smoothly.

it took me 1 week to get it running smoothly.
Re: Controlling Toon via Domoticz



Got a 403 - Forbidden on http://%s/happ_thermstat?action=getThermostatInfo
iptable are ok:
Member of the Toon Software Collective
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Controlling Toon via Domoticz
As explained in the OP, i will not support the scripts or errors regarding the scripts. i did not create themmAiden wrote:![]()
![]()
![]()
Got a 403 - Forbidden on http://%s/happ_thermstat?action=getThermostatInfo
iptable are ok:
I will only support the manual itself.
Ps. There are a few typo's in the manuals. Will replace the current manual with one without typo's soon.
Re: Controlling Toon via Domoticz
mAiden wrote:![]()
![]()
![]()
Got a 403 - Forbidden on http://%s/happ_thermstat?action=getThermostatInfo
iptable are ok:
Where do you receive this error?
On you web browser? when you go to your Toon : http://toonIP/happ_thermstat?action=getThermostatInfo
Re: Controlling Toon via Domoticz
Yes.michel30 wrote:mAiden wrote:![]()
![]()
![]()
Got a 403 - Forbidden on http://%s/happ_thermstat?action=getThermostatInfo
iptable are ok:
Where do you receive this error?
On you web browser? when you go to your Toon : http://toonIP/happ_thermstat?action=getThermostatInfo
Domoticz give me this error on the log files.
Have try the fix for 403 forbidden, but can’t find the files hcb or qmf project
Member of the Toon Software Collective
Re: Controlling Toon via Domoticz
I have fixed already. Thanks for you're reply.
Member of the Toon Software Collective
Re: Controlling Toon via Domoticz
Thanks. I was looking for something like this. Toon is now at the Quby HQ in Amsterdam to get root-access, and once returned I will be using this guide to get it to work. A;ready removed Toon from my Domoticz settings.TerrorSource wrote:Hi guys,
As requested by a few users around here i've created a how-to manual to control Toon via Domoticz.
It's pretty much a step-by-step guide and should be enough to get it working within 20-30minutes.
Toon® (rooted) | Hue bulbs | TRÅDFRI bulbs | Smart Plugs | some TUYA stuff |
I'm not a programmer, just wish things work MY way
I'm not a programmer, just wish things work MY way
Re: Controlling Toon via Domoticz
For the people with smart plugs, here a detailed explanation, how to connect them to Domoticz.
This way you can also switch your plugs on time, and you are totally independent of Olisto or a Service Center.
English version comes as soon as possible .. Here the Dutch version ..
This way you can also switch your plugs on time, and you are totally independent of Olisto or a Service Center.

English version comes as soon as possible .. Here the Dutch version ..
Member of the Toon Software Collective