Page 13 of 13
Re: TOON died within Domoticz
Posted: Sunday 14 January 2018 10:33
by EdwinK
astrapowerrr wrote: ↑Sunday 07 January 2018 23:36
Does anyone here has the issue that in the log the toon is set to 6 degrees. At every Sunday morning about 00:02...
I see this constantly coming back only at that moment.
That is a known bug within Toon. Since not everyone is having that problem, it seems hard to fix. If you go to forum.toon.nl I believe it has been discussed there.
Re: TOON died within Domoticz
Posted: Thursday 18 January 2018 22:04
by astrapowerrr
Correct!! Its a bug. Thanks for the tip!
Verzonden vanaf mijn iPhone met Tapatalk
Re: TOON died within Domoticz
Posted: Friday 09 February 2018 15:17
by rjblake
astrapowerrr wrote: ↑Thursday 18 January 2018 22:04
Correct!! Its a bug. Thanks for the tip!
Verzonden vanaf mijn iPhone met Tapatalk
Good luck getting this resolved. I filed a bug report with Eneco about this bug over 6 months ago and it has never been fixed to date.
Re: TOON died within Domoticz
Posted: Tuesday 27 February 2018 13:55
by michaelm86
Hi GUys,
hope that you can help me.
i added Toon to domoticz. but i cannot get the scenes working. when i select comfort it keeps flipping back to weg (away). But when i perform the json call bij hand in the browser it just works...does anybody know how to slove this?
i configured the following:
Setpoint:

- toon2.png (2.46 KiB) Viewed 3503 times
Toon Scens:
see attachement and picture bellow:

- toon4.jpg (131.37 KiB) Viewed 3503 times
error:
2018-02-27 13:40:40.147 Error: Error opening url:
http://xx.xx.xx.xx:8080/json.htm?type=c ... =5&state=0
(i replaces the ip bi xx.xx.xx.xx)
lua script
Code: Select all
-- script_time_toonselector.lua
-- Reads the Toon Thermostat Setpoint Temperature and updates the
-- selector in Domoticz to represent the current Active State.
-- Off scene is an option, leave it out if not needed.
-- Action commands will not be executed.
commandArray = {}
-- Settings: Configure as desired
-- Name of the switch with the temperature setpoint.
ThermostatSetPointName = 'Thermostaatinstelling' --Must match the name of you SetPoint device
-- Temperature SetPoints.
OffSetPoint = '6.00' --optional
AwaySetPoint = '16.50'
SleepSetPoint = '17.00'
HomeSetPoint = '19.00'
ComfortSetPoint = '20.00'
-- Name of the selector for Toon
ToonSelector = 'Thermostaat' --Must match (including case) the name of your Selector Switch
-- Name of the levels in the selector
OffLevel = 'Off' --optional
AwayLevel = 'Weg'
SleepLevel = 'Slapen'
HomeLevel = 'Thuis'
ComfortLevel = 'Comfort'
-- Values from each level name
OffLevelValue = '0' --optional
AwayLevelValue = '10'
SleepLevelValue = '20'
HomeLevelValue = '30'
ComfortLevelValue = '40'
-- End of settings
-- Toon Thermostat SetPoint:
ThermostatSetPoint = otherdevices_svalues[ThermostatSetPointName]
if (ThermostatSetPoint == HomeSetPoint) then
--print("SetPoint equals to Home");
if (otherdevices[ToonSelector] ~= HomeLevel) then
print("Updating '" .. ToonSelector .. "' selector to '" .. HomeLevel .. "'")
commandArray['UpdateDevice'] = otherdevices_idx[ToonSelector]..'|1|'..HomeLevelValue
end
elseif (ThermostatSetPoint == ComfortSetPoint) then
--print("SetPoint equals to Comfort");
if (otherdevices[ToonSelector] ~= ComfortLevel) then
print("Updating '" .. ToonSelector .. "' selector to '" .. ComfortLevel .. "'")
commandArray['UpdateDevice'] = otherdevices_idx[ToonSelector]..'|1|'..ComfortLevelValue
end
elseif (ThermostatSetPoint == SleepSetPoint) then
--print("SetPoint equals to Sleep");
if (otherdevices[ToonSelector] ~= SleepLevel) then
print("Updating '" .. ToonSelector .. "' selector to '" .. SleepLevel .. "'")
commandArray['UpdateDevice'] = otherdevices_idx[ToonSelector]..'|1|'..SleepLevelValue
end
elseif (ThermostatSetPoint == AwaySetPoint) then
--print("SetPoint equals to Away");
if (otherdevices[ToonSelector] ~= AwayLevel) then
print("Updating '" .. ToonSelector .. "' selector to '" .. AwayLevel .. "'")
commandArray['UpdateDevice'] = otherdevices_idx[ToonSelector]..'|1|'..AwayLevelValue
end
-- Optional
elseif (ThermostatSetPoint == OffSetPoint) then
--print("SetPoint equals to Off");
if (otherdevices[ToonSelector] ~= OffLevel) then
print("Updating '" .. ToonSelector .. "' selector to '" .. OffLevel .. "'")
commandArray['UpdateDevice'] = otherdevices_idx[ToonSelector]..'|1|'..OffLevelValue
end
end
return commandArray
Re: TOON died within Domoticz
Posted: Tuesday 27 February 2018 15:06
by Plantje
I didn't know it was possible to connect the programm settings of Toon to Domoticz. Can you also read and write the programm itself?
I will see if I can try this as well and if I can reproduce the issue.
Re: TOON died within Domoticz
Posted: Wednesday 28 February 2018 17:41
by michaelm86
does anybody have an idea?
Re: TOON died within Domoticz
Posted: Wednesday 28 February 2018 19:24
by HansieNL
I stopped sending state commands long ago and use temp commands. No problems at all:
http://192.168.x.xx.8080/json.htm?type= ... value=20.5
Re: TOON died within Domoticz
Posted: Wednesday 28 February 2018 22:39
by michaelm86
Can you explain what you did for configuration and setup? because ik i repaced the command in the toon scenes switch and i have the same issues..
Error: Error opening url:
http://192.168.116.98:8080/json.htm?par ... =5&state=2
when i push the button on the switch is does not work and when i open a new tab in the browser it works:
http://192.168.116.98:8080/json.htm?typ ... value=20.5
Code: Select all
{
"status" : "OK",
"title" : "Update Device"
}
Re: TOON died within Domoticz
Posted: Wednesday 28 February 2018 23:08
by michaelm86
I found the issue! now i have to find a solution...
i configured a username and password for domoticz for the portal. when i remove this the scens work..
when i activate the pw and username again an di change the url to:
http://username:[email protected] ... =5&state=2
it does not work... any ideas?
Re: TOON died within Domoticz
Posted: Wednesday 28 February 2018 23:41
by HansieNL
Have you included your local network in the Domoticz settings: Local Networks (no username/password)?
Re: TOON died within Domoticz
Posted: Thursday 01 March 2018 11:52
by michaelm86
HansieNL wrote: ↑Wednesday 28 February 2018 23:41
Have you included your local network in the Domoticz settings: Local Networks (no username/password)?
Yes. the localhost, ip of the machine itself and the subnet.
Re: TOON died within Domoticz
Posted: Wednesday 06 June 2018 9:12
by EdwinK
And since about a day now, Toon, and the smart plug's connected to it, are again not working with Domoticz

Re: TOON died within Domoticz
Posted: Thursday 06 December 2018 10:08
by EdwinK
deleted
Re: TOON died within Domoticz
Posted: Thursday 06 December 2018 19:41
by madpatrick
There is no link between Toon or Domoticz and the forum.
Re: TOON died within Domoticz
Posted: Thursday 06 December 2018 19:44
by madpatrick
EdwinK wrote: ↑Wednesday 06 June 2018 9:12
And since about a day now, Toon, and the smart plug's connected to it, are again not working with Domoticz
Have you checked the log ?
Re: TOON died within Domoticz
Posted: Thursday 06 December 2018 21:11
by EdwinK
madpatrick wrote: ↑Thursday 06 December 2018 19:44
EdwinK wrote: ↑Wednesday 06 June 2018 9:12
And since about a day now, Toon, and the smart plug's connected to it, are again not working with Domoticz
Have you checked the log ?
This is from about 6 months ago.
Re: TOON died within Domoticz
Posted: Thursday 06 December 2018 23:09
by Plantje
EdwinK wrote: ↑Thursday 06 December 2018 21:11
madpatrick wrote: ↑Thursday 06 December 2018 19:44
EdwinK wrote: ↑Wednesday 06 June 2018 9:12
And since about a day now, Toon, and the smart plug's connected to it, are again not working with Domoticz
Have you checked the log ?
This is from about 6 months ago.
And did you check the log?

Re: TOON died within Domoticz
Posted: Friday 22 February 2019 8:25
by bierlaagh
Since 12th of February toon isn’t working anymore
Log says:
Code: Select all
Error: ToonThermostat: Invalid data received, or invalid username/password!
Already did a password reset, but still same line in my log
Re: TOON died within Domoticz
Posted: Friday 22 February 2019 9:29
by EdwinK
Eneco stopped there service
https://toonopafstand.eneco.nl/.
It was a long time coming, and it seems they finally pulled the plug on the mentioned site. Eneco/Quby long time ago mentioned they didn't like the way Domoticz polled their service.
Re: TOON died within Domoticz
Posted: Friday 22 February 2019 9:33
by waspy