Rooted Toon plugin
Moderator: leecollings
-
- Posts: 21
- Joined: Friday 28 December 2018 20:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Contact:
Re: Rooted Toon plugin
After installing this plugin for the third time, I do still have the same problem.
All my devices seemed to be lost. Although everything works fine.
This happens after installing the Rootd Toon Plugin, start "accept new devices for 5 minutes, and than set the Hardware RootedToon on active.
What to do?
Other suggestion :
What would be nice is to have the humidity sensor of the Toon 2 in Domoticz.
Thank you!
All my devices seemed to be lost. Although everything works fine.
This happens after installing the Rootd Toon Plugin, start "accept new devices for 5 minutes, and than set the Hardware RootedToon on active.
What to do?
Other suggestion :
What would be nice is to have the humidity sensor of the Toon 2 in Domoticz.
Thank you!
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
Don’t believe this accesable.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 6
- Joined: Wednesday 03 March 2021 11:38
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Rooted Toon plugin
Magical: I removed the hard,- and software; Performed a new install; The devices were for 2 minutes complete; including the gasmeter!madpatrick wrote: ↑Wednesday 03 March 2021 19:20You can try to remove the hardware and reinstall the plugin.rick083 wrote: ↑Wednesday 03 March 2021 12:09 After installing the Plugin (v 1.09) looks like there's one device missing in my device list ( IDX 114 ). After IDX 113 the list is showing IDX 115, 116 etc.
My Logfile Shows:
Looks like the Gas counter is not present; Any way to correct this ? Thanks...Code: Select all
2021-03-03 11:30:00.839 Error: UpdateMeter: Error converting sValue/sUsage! (IDX: 114, sValue: '', sUsage: '0', dType: 251, sType: 2) 2021-03-03 11:33:13.485 Error: Gas - invalid value: '' 2021-03-03 11:35:00.491 Error: UpdateMeter: Error converting sValue/sUsage! (IDX: 114, sValue: '', sUsage: '0', dType: 251, sType: 2) 2021-03-03 11:40:00.108 Error: UpdateMeter: Error converting sValue/sUsage! (IDX: 114, sValue: '', sUsage: '0', dType: 251, sType: 2) 2021-03-03 11:42:05.540 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connected. 2021-03-03 11:42:13.500 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connected. 2021-03-03 11:45:00.660 Error: UpdateMeter: Error converting sValue/sUsage! (IDX: 114, sValue: '', sUsage: '0', dType: 251, sType: 2)
After installing of the plugin, the hardware will be created
After that the Gasmeter again dispeared out of the devicelist...Now it's IDX 106..Strange
Code: Select all
2021-03-03 20:34:06.670 Error: Gas - invalid value: ''
2021-03-03 20:35:00.896 Error: UpdateMeter: Error converting sValue/sUsage! (IDX: 106, sValue: '', sUsage: '0', dType: 251, sType: 2)
-
- Posts: 6
- Joined: Wednesday 03 March 2021 11:38
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Rooted Toon plugin
Looks like something has been changed for unit 7...
Butt.. my knowledge is to limited; Someone having the same problem ?
Code: Select all
if 6 not in Devices:
Domoticz.Device(Name="Program info", Unit=6, TypeName="Text").Create()
if 7 not in Devices:
Domoticz.Device(Name="Gas", Unit=7, TypeName="Gas").Create()
#Domoticz.Device(Name="Gas", Unit=7, Type=243, Subtype=33, Switchtype=1).Create()
if 8 not in Devices:
#Domoticz.Device(Name="Electricity", Unit=8, TypeName="Usage").Create()
Domoticz.Device(Name="Electricity", Unit=8, TypeName="kWh").Create()
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
What have set as value in your config of the plugin.
The error says “ Gas - invalid value: ‘’ “
The error says “ Gas - invalid value: ‘’ “
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
Is your version number a type ? 1.09 ?
Latest i see is v1.07
Can you check your Toon JSON output and look for "CurrentGasFlow"
http://IP_TOON/hdrv_zwave?action=getDevices.json
This is my output
Code: Select all
"dev_2.1": {
"uuid": "d9c5dbad-517f-4107-8c07-3be0596e42b3",
"name": "HAE_METER_v3_1",
"internalAddress": "2.1",
"type": "HAE_METER_v3_1",
"supportsCrc": "0",
"ccList": "5e 59 85 8e 3c 3d 3e",
"supportedCC": "5e 59 85 8e 3c 3d 3e",
"nodeFlags": [
],
"CurrentGasFlow": "68.00",
"CurrentGasQuantity": "6767969.00",
"DeviceName": "HAE_METER_v3_1",
"CurrentSensorStatus": "OPERATIONAL"
},
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 6
- Joined: Wednesday 03 March 2021 11:38
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Rooted Toon plugin
Correct: its version 1.07.
OK; There was no device name stated in JSON for the gasmeter; I Update the name to HAE_METER_v3_1; Than it was clear the device / internal adress is in an other range 3.1 / 3.2 etc. I corrected the adress nr in Domoticz Hardware; Is that enough, or is it better to change the internaladress nr to the 2.* range ? Is the devicename related to the internetadres ?
So after several restart the gasmeter showed up..and kept present ! This is the JSON reading after correction:
My logfile changed from red error lines to statuslines:
Ok, step by step getting there: elektricity was ok, but by now stil on "zero", Wait if they will come back again.
BTW; Is it possible to import the CurrentGasFlow into Domoticz ?
OK; There was no device name stated in JSON for the gasmeter; I Update the name to HAE_METER_v3_1; Than it was clear the device / internal adress is in an other range 3.1 / 3.2 etc. I corrected the adress nr in Domoticz Hardware; Is that enough, or is it better to change the internaladress nr to the 2.* range ? Is the devicename related to the internetadres ?
So after several restart the gasmeter showed up..and kept present ! This is the JSON reading after correction:
Code: Select all
"dev_3.1": {"uuid": "6f4c1571-18d8-4eb5-8d11-6f1441205494",
"name": "HAE_METER_v3_1",
"internalAddress": "3.1",
"type": "gas",
"supportsCrc": "0",
"nodeFlags": [],
"CurrentGasFlow": "37.00",
"CurrentGasQuantity": "1653385.00",
"DeviceName": "HAE_METER_v3_1"},
Code: Select all
2021-03-04 21:41:09.261 (Toon Thermostaat) One or more Zwave internal address not configured correctly?
2021-03-04 21:41:19.482 (Toon Thermostaat) One or more Zwave internal address not configured correctly?
2021-03-04 21:41:29.810 (Toon Thermostaat) One or more Zwave internal address not configured correctly?
BTW; Is it possible to import the CurrentGasFlow into Domoticz ?
-
- Posts: 30
- Joined: Sunday 31 May 2015 11:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands, Veenendaal
- Contact:
Re: Rooted Toon plugin
I used the python script from this thread and it is working. I also saw the output, like rick083, and had to change the predefined Gas and Elec parameters. For somehow the log was filled with an error.
Ended up it has something to do with the boiler pressure. I saw in the script this can only be red if you have an Opentherm connection with your CV installation, which I don't have. I use my rooted toon only as an "On/Off" device.
So I commented out all of the "boiler" status syntax in the "plugin.py" and no more log messages of the JSON format.
@hansaplast31
Thank you for this Plugin.
Code: Select all
onMessage aborted, response format not JSON
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
So I commented out all of the "boiler" status syntax in the "plugin.py" and no more log messages of the JSON format.
@hansaplast31
Thank you for this Plugin.
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
What do you exactly want.
Do wnt the values from an old sensor to the new sensor ?
This is easy when press at the switch : change (aanpassen) and then replace (vervang)
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 6
- Joined: Wednesday 03 March 2021 11:38
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Rooted Toon plugin
By now the plugin is almost working stable; Only the electricity readings are starting the day with "0".
After changing some device settings its giving readings again: Can't find the exact problem yet..
All the other features are working fine, without Errors in the logfiles; Thanks for the plugin, and the assistance !
After changing some device settings its giving readings again: Can't find the exact problem yet..
All the other features are working fine, without Errors in the logfiles; Thanks for the plugin, and the assistance !
-
- Posts: 6
- Joined: Wednesday 03 March 2021 11:38
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Rooted Toon plugin
Since this evening the logfile is full with red errorline; even after a restart no changes:
Except the temperatuur reading everything looks to be working...Any sugestions ?
Code: Select all
2021-03-07 19:57:18.388 (Toon Thermostaat) onStart called
2021-03-07 19:57:18.416 (Toon Thermostaat) {"HardwareID": 8, "HomeFolder": "/usr/local/domoticz/var/plugins/domoticz-rooted-toon/", "StartupFolder": "/usr/local/domoticz/", "UserDataFolder": "/usr/local/domoticz/var/", "WebRoot": "", "Database": "/usr/local/domoticz/var/domoticz.db", "Language": "en", "Version": "1.0.7", "Author": "Hansaplast31", "Name": "Toon Thermostaat", "Address": "192.168.1.###", "Port": "10080", "SerialPort": "", "Username": "", "Password": "", "Key": "RootedToonPlug", "Mode1": "3.1", "Mode2": "2.4", "Mode3": "2.6", "Mode4": "3.4", "Mode5": "3.6", "Mode6": "", "DomoticzVersion": "2020.2 (build 12731)", "DomoticzHash": "7933f659d-modified", "DomoticzBuildTime": "2020-12-06 10:22:02"}
2021-03-07 19:57:18.126 Status: (Toon Thermostaat) Started.
2021-03-07 19:57:18.381 Status: (Toon Thermostaat) Entering work loop.
2021-03-07 19:57:18.382 Status: (Toon Thermostaat) Initialized version 1.0.7, author 'Hansaplast31'
2021-03-07 19:57:33.726 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
2021-03-07 19:57:33.736 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
2021-03-07 19:57:33.746 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
2021-03-07 19:57:38.856 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
2021-03-07 19:57:38.866 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
2021-03-07 19:57:38.876 Error: CConnection_connect, connect request from 'Toon Thermostaat' ignored. Transport is connecting.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
Trying this plugin again.
Now I get the following in the error-log:
\
\
Toon (Test) 0036000A 10 Toon (Test) - P1 Electricity P1 Smart Meter Energy Invalid!:
Would this because I don't have any solarpanels?
Now I get the following in the error-log:
\
\
Also in the devices tab:2021-03-08 11:00:14.036 Error: dzVents: Error: (3.1.5) Discarding device. No last update info found: {["rawData"]={"18.5"}, ["switchType"]="On/Off", ["subType"]="SetPoint", ["lastLevel"]=255, ["lastUpdate"]="", ["image"]="", ["deviceID"]="", ["data"]={["hardwareName"]="Toon (Test)", ["customImage"]=0, ["icon"]="override_mini", ["hardwareType"]="Rooted Toon", ["hardwareTypeValue"]=94, ["setPoint"]=18.5, ["hardwareID"]=58, ["_state"]="18.5", ["_nValue"]=0, ["protected"]=false, ["unit"]=2}, ["description"]="", ["name"]="Toon (Test) - Setpoint Temperature", ["switchTypeValue"]=0, ["id"]=1054, ["batteryLevel"]=1958209912, ["signalLevel"]=2, ["deviceType"]="Thermostat", ["baseType"]="device", ["changed"]=true, ["timedOut"]=false, ["protected"]=false, ["iconNumber"]=91}
Toon (Test) 0036000A 10 Toon (Test) - P1 Electricity P1 Smart Meter Energy Invalid!:
Would this because I don't have any solarpanels?
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
No one?
additional error message:
2021-03-23 22:05:32.430 Python Plugin System: (Toon) One or more Zwave internal address not configured correctly?
i'm using a Toon 1, and entered the numbers that were listed on the plugin page.
additional error message:
2021-03-23 22:05:32.430 Python Plugin System: (Toon) One or more Zwave internal address not configured correctly?
i'm using a Toon 1, and entered the numbers that were listed on the plugin page.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
Did you get this fixed?rick083 wrote: ↑Sunday 07 March 2021 20:06 Since this evening the logfile is full with red errorline; even after a restart no changes:
Except the temperatuur reading everything looks to be working...Any sugestions ?Code: Select all
2021-03-07 19:57:18.388 (Toon Thermostaat) onStart called 2021-03-07 19:57:18.416 (Toon Thermostaat) {"HardwareID": 8, "HomeFolder": "/usr/local/domoticz/var/plugins/domoticz-rooted-toon/", "StartupFolder": "/usr/local/domoticz/", "UserDataFolder": "/usr/local/domoticz/var/", "WebRoot": "", "Database": "/usr/local/domoticz/var/domoticz.db", "Language": "en", "Version": "1.0.7", "Author": "Hansaplast31", "Name": "Toon Thermostaat", "Address": "192.168.1.###", "Port": "10080", "SerialPort": "", "Username": "", "Password": "", "Key": "RootedToonPlug", "Mode1": "3.1", "Mode2": "2.4", "Mode3": "2.6", "Mode4": "3.4", "Mode5": "3.6", "Mode6": "", "DomoticzVersion": "2020.2 (build 12731)", "DomoticzHash": "7933f659d-modified", "DomoticzBuildTime": "2020-12-06 10:22:02"} 2021-03-07 19:57:18.126 Status: (Toon Thermostaat) Started. 2021-03-07 19:57:18.381 Status: (Toon Thermostaat) Entering work loop. 2021-03-07 19:57:18.382 Status: (Toon Thermostaat) Initialized version 1.0.7, author 'Hansaplast31'
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
Edwin,
Unfortunately is the writer of the plugin not responding
The plugin is in the base a good plugin, but not yet completed.
I'm not in to depth of programming, but trying to help
I've tested the plugin and it was working fine. Still thinking whether to switch to the plugin or stay with my script.....
Now your problem
Did you check your devices. The number can be differenent per Toon. Also on a Toon1 can the something be different device numbers
Can you check the output of
Code: Select all
http://xxx.xxx.x.x./hdrv_zwave?action=getDevices.json
Code: Select all
"internalAddress": "x.x",
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Rooted Toon plugin
Looks good.
In fact the plugin should work with your setting.
Did you try to remove all hardware created by the plugin and re-installation which will recreated the devices again ?
In fact the plugin should work with your setting.
Did you try to remove all hardware created by the plugin and re-installation which will recreated the devices again ?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
Nope, did not. Might as well try that later tomorrow
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Rooted Toon plugin
Well, back to the script it is.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: Rooted Toon plugin
Hello all,
after my domotica raspi crashed i had to do a fres install.
I installed the "Rooted Toon" plugin and activated it.
My devices disapear when i enable the plugin.
This is what the log says:
2021-03-29 18:13:11.862 (Toon) {"HardwareID": 5, "HomeFolder": "/home/pi/domoticz/plugins/domoticz-rooted-toon-master/", "StartupFolder": "/home/pi/domoticz/", "UserDataFolder": "/home/pi/domoticz/", "WebRoot": "", "Database": "/home/pi/domoticz/domoticz.db", "Language": "en", "Version": "1.0.7", "Author": "Hansaplast31", "Name": "Toon", "Address": "xxxxxxxxxx", "Port": "80", "SerialPort": "", "Username": "", "Password": "", "Key": "RootedToonPlug", "Mode1": "2.1", "Mode2": "2.3", "Mode3": "2.5", "Mode4": "2.4", "Mode5": "2.6", "Mode6": "", "DomoticzVersion": "2020.2", "DomoticzHash": "b63341bc0", "DomoticzBuildTime": "2020-04-26 12:47:55"}
What am i missing?
PS. i ghosted my IP adress
after my domotica raspi crashed i had to do a fres install.
I installed the "Rooted Toon" plugin and activated it.
My devices disapear when i enable the plugin.
This is what the log says:
2021-03-29 18:13:11.862 (Toon) {"HardwareID": 5, "HomeFolder": "/home/pi/domoticz/plugins/domoticz-rooted-toon-master/", "StartupFolder": "/home/pi/domoticz/", "UserDataFolder": "/home/pi/domoticz/", "WebRoot": "", "Database": "/home/pi/domoticz/domoticz.db", "Language": "en", "Version": "1.0.7", "Author": "Hansaplast31", "Name": "Toon", "Address": "xxxxxxxxxx", "Port": "80", "SerialPort": "", "Username": "", "Password": "", "Key": "RootedToonPlug", "Mode1": "2.1", "Mode2": "2.3", "Mode3": "2.5", "Mode4": "2.4", "Mode5": "2.6", "Mode6": "", "DomoticzVersion": "2020.2", "DomoticzHash": "b63341bc0", "DomoticzBuildTime": "2020-04-26 12:47:55"}
What am i missing?
PS. i ghosted my IP adress
Who is online
Users browsing this forum: No registered users and 1 guest