Controlling Toon [HACKED] from Domoticz
Moderator: leecollings
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
I bought my Toon second hand
I am missing the sensor cables. I only have a p1 cable but no smart p1 meter
does any one know where to buy them?
I am missing the sensor cables. I only have a p1 cable but no smart p1 meter
does any one know where to buy them?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Contact your energy transporter (Stedin. Alliander) and check with them if you can get a smart meter. Maybe you are already in the planning to get one.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Thank you for pointing out this option
I am not on the schedule yet, so it will take at least two years.
Or I have to pay € 75.--.
So I rather buy the cables/sensors
I am not on the schedule yet, so it will take at least two years.
Or I have to pay € 75.--.
So I rather buy the cables/sensors
-
- Posts: 2
- Joined: Monday 21 August 2017 20:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
i have the sensors for you
ik heb ze wel de sensors voor toon
kan iemand mij in het nederlands uitleggen hoe ik de geroote Toon aansluit op domoticz
dankje
ik heb ze wel de sensors voor toon
kan iemand mij in het nederlands uitleggen hoe ik de geroote Toon aansluit op domoticz
dankje
Toon, zon op toon ,Raspberry pi met Domoticz ,Solaredge PV 4050 3900kw per jaar
-
- Posts: 2
- Joined: Monday 21 August 2017 20:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
is there a way to use the Toon P1 electric and gas usage to my domoticz
Toon, zon op toon ,Raspberry pi met Domoticz ,Solaredge PV 4050 3900kw per jaar
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
How do you make these sensors (toon temperature, toon scenes etc) and where do you put the script code?
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
How do you call this script?
Where do you put this script?
How do you start this script?
Where do you put this script?
How do you start this script?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Last edited by EdwinK on Tuesday 19 September 2017 16:20, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Nope, i have started to read from 1st message from Maes, start with creating variables (7 rows) start to create the first device Toon Thermostaat > dummy Sensor type selector switch Toon scenes, switch type selector fill in levels and the switch on the screen works, but of course nothing happened.
Read the other 47 messages but none gives names of the scripts and where to put them (? more options events but there is already a lua script of 51 rows).
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Yes but even this wiki don't tell me where to put the script (and the script is different from the scripts from Maes)
There is already a script on Setup > More Options > Events see picture. So how to put the new scripts in it?
There is already a script on Setup > More Options > Events see picture. So how to put the new scripts in it?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
That is just an example. Remove it and paste the script from the wiki in it.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Nothing changed. Toon scripts and Toon auto program should dial functions with http.... directly in Toon but too bad nothing happens.
Sensors like Toon Temperature and utils like toon thermostat should use script, but i can not call any script from these dummies.
Sensors like Toon Temperature and utils like toon thermostat should use script, but i can not call any script from these dummies.
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
I have domoticz on Synology. I had saved my script as ToonGetInfo, Too bad i can not find it back on:
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua# dir
total 68
drwxr-xr-x 2 domoticz root 4096 Nov 10 2016 .
drwxr-xr-x 7 domoticz root 4096 Nov 10 2016 ..
-rw-r--r-- 1 domoticz root 50533 Nov 10 2016 JSON.lua
-rw-r--r-- 1 domoticz root 1870 Nov 10 2016 script_device_demo.lua
-rw-r--r-- 1 domoticz root 1932 Nov 10 2016 script_time_demo.lua
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua#
Also i found the log of domoticz:
2017-09-20 14:23:00.014 Error: EventSystem: in ToonGetInfo: [string "-- Time script runs every minute, intended to..."]:18: cannot open C:\Program Files (x86)\Domoticz\scripts\lua\json.lua: No such file or directory
of course as i have no drive letters. This is a script for Windows So first i changed some rows until there is no error
ToonIP = uservariables['192.168.178.70']
DomoticzIP = uservariables['192.168.178.28:8084']
json = assert(loadfile "/volume1/@appstore/domoticz/var/scripts/lua/json.lua")
change json.lua to JSON.lua also on row 24
And every time start over synology. Is there a way to restart only domoticz?
There is just one error left for this script:
2017-09-20 15:09:00.648 Error: EventSystem: in ToonGetInfo: [string "-- Time script runs every minute, intended to..."]:24: attempt to index global 'JSON' (a nil value)
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua# dir
total 68
drwxr-xr-x 2 domoticz root 4096 Nov 10 2016 .
drwxr-xr-x 7 domoticz root 4096 Nov 10 2016 ..
-rw-r--r-- 1 domoticz root 50533 Nov 10 2016 JSON.lua
-rw-r--r-- 1 domoticz root 1870 Nov 10 2016 script_device_demo.lua
-rw-r--r-- 1 domoticz root 1932 Nov 10 2016 script_time_demo.lua
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua#
Also i found the log of domoticz:
2017-09-20 14:23:00.014 Error: EventSystem: in ToonGetInfo: [string "-- Time script runs every minute, intended to..."]:18: cannot open C:\Program Files (x86)\Domoticz\scripts\lua\json.lua: No such file or directory
of course as i have no drive letters. This is a script for Windows So first i changed some rows until there is no error
ToonIP = uservariables['192.168.178.70']
DomoticzIP = uservariables['192.168.178.28:8084']
json = assert(loadfile "/volume1/@appstore/domoticz/var/scripts/lua/json.lua")
change json.lua to JSON.lua also on row 24
And every time start over synology. Is there a way to restart only domoticz?
There is just one error left for this script:
2017-09-20 15:09:00.648 Error: EventSystem: in ToonGetInfo: [string "-- Time script runs every minute, intended to..."]:24: attempt to index global 'JSON' (a nil value)
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
walberg wrote: ↑Wednesday 20 September 2017 14:54 I have domoticz on Synology. I had saved my script as ToonGetInfo, Too bad i can not find it back on:
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua# dir
total 68
drwxr-xr-x 2 domoticz root 4096 Nov 10 2016 .
drwxr-xr-x 7 domoticz root 4096 Nov 10 2016 ..
-rw-r--r-- 1 domoticz root 50533 Nov 10 2016 JSON.lua
-rw-r--r-- 1 domoticz root 1870 Nov 10 2016 script_device_demo.lua
-rw-r--r-- 1 domoticz root 1932 Nov 10 2016 script_time_demo.lua
root@walsyno:/volume1/@appstore/domoticz/var/scripts/lua#
Also i found the log of domoticz:
2017-09-20 14:23:00.014 Error: EventSystem: in ToonGetInfo: [string "-- Time script runs every minute, intended to..."]:18: cannot open C:\Program Files (x86)\Domoticz\scripts\lua\json.lua: No such file or directory
of course as i have no drive letters. This is a script for Windows So first i changed some rows until there is no error
json = assert(loadfile "/volume1/@appstore/domoticz/var/scripts/lua/json.lua")
change json.lua to JSON.lua also on row 24
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
Now i got a temperature on Toon temperature also no error But when i go to Toon Scenes and change the setting from home (thats the setting on de day normal so now) to by example away or sleep, it change after a few seconds to home.
Also on the ToonThermostaat script
Error: EventSystem: in ToonThermostaat: [string "-- Script used for Toon Thermostaat utility d..."]:8: bad argument #1 to 'pairs' (table expected, got nil)
And when i push on the flame at dummy Toon Thermostat, i got 2 arrows but after a few seconds after changing setpoint the setpoint is back on the original temperature.
So finally only the temperature sensor is really working the event switches and the thermostat ar reset after a few seconds.
Also on the ToonThermostaat script
Error: EventSystem: in ToonThermostaat: [string "-- Script used for Toon Thermostaat utility d..."]:8: bad argument #1 to 'pairs' (table expected, got nil)
And when i push on the flame at dummy Toon Thermostat, i got 2 arrows but after a few seconds after changing setpoint the setpoint is back on the original temperature.
So finally only the temperature sensor is really working the event switches and the thermostat ar reset after a few seconds.
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
walberg wrote: ↑Wednesday 20 September 2017 16:05 Now i got a temperature on Toon temperature also no error But when i go to Toon Scenes and change the setting from home (thats the setting on de day normal so now) to by example away or sleep, it change after a few seconds to home.
Also on the ToonThermostaat script
Error: EventSystem: in ToonThermostaat: [string "-- Script used for Toon Thermostaat utility d..."]:8: bad argument #1 to 'pairs' (table expected, got nil)
And when i push on the flame at dummy Toon Thermostat, i got 2 arrows but after a few seconds after changing setpoint the setpoint is back on the original temperature.
So finally only the temperature sensor is really working the event switches and the thermostat ar reset after a few seconds.
-
- Posts: 46
- Joined: Thursday 28 May 2015 18:41
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Diemen Netherlands
- Contact:
Re: Controlling Toon [HACKED] from Domoticz
[/quote]
I have installed this too, but when i change the temperature on Toon Thermostaat the temperature stays the same. Also when i change one of the events, after a few seconds the setting is reset the the original state Only Toon Temperature is working but of course it is a one way from Toon to Domoticz.
All the other reads Toon but from Domoticz you can not change anything.
I have installed this too, but when i change the temperature on Toon Thermostaat the temperature stays the same. Also when i change one of the events, after a few seconds the setting is reset the the original state Only Toon Temperature is working but of course it is a one way from Toon to Domoticz.
All the other reads Toon but from Domoticz you can not change anything.
Who is online
Users browsing this forum: Google [Bot] and 0 guests