Error ToonThermostat

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

zodracom
Posts: 11
Joined: Monday 11 February 2019 21:20
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.7900
Location: Roosendaal, Netherlands
Contact:

Re: Error ToonThermostat

Post by zodracom »

My answer was different:
Dank voor je privébericht hoor. Ik heb het betreffende topic inmiddels gelezen. Mijn collega's van het Toon gedeelte op het Eneco Forum zijn een onderzoek gestart m.b.t. het issue waar jij en andere tegenaan lopen.

Ik stel voor dat we de communicatie hierover centraal houden. Dat betekent dat ik ook niet op eigen gelegenheid in onderzoek ga maar dit overlaat aan mijn collega's op het forum.

Zo te lezen heeft het namelijk meer voeten in aarde dan ik aanvankelijk dacht. Wil je het antwoord op onze community afwachten? Ik zal ook een reminder sturen naar één van de moderators.
English(ish):
thanks for the message. i did read the topic. My colleague @ Eneco Forum is searching for the solution.

I suggest to keep it central. It means we are not doing research by ourself, but let it to my colleague @ the forum.

So i can read it has more in mind than thought. please wait for an answer. I will remind one of the moderators.
unclekoen
Posts: 21
Joined: Saturday 27 October 2018 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by unclekoen »

Same here.

So i thought my password is not changed. Let's try if i can log into https://www.eneco.nl/mijn-eneco/
I can log in. But when i try to see my Overzicht or Verbruik, i get an error page. So i was thinking problems at TOON.

[attachment]2019-02-13 21_14_43-Pagina kan niet weergegeven worden..png[/attachment]
Attachments
2019-02-13 21_14_43-Pagina kan niet weergegeven worden..png
2019-02-13 21_14_43-Pagina kan niet weergegeven worden..png (162.64 KiB) Viewed 2084 times
rinyheuvelman
Posts: 15
Joined: Wednesday 19 December 2018 14:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10427
Contact:

Re: Error ToonThermostat

Post by rinyheuvelman »

Homeassistant already makes use of toonapi, see the link above. No idea how to implement something similar into domoticz
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by stephanvdplas »

https://github.com/costastf/toonapilib/ : This is the API library used in HA. Let's see if we can implement this in Domoticz
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
eenernl
Posts: 21
Joined: Sunday 09 August 2015 12:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Error ToonThermostat

Post by eenernl »

stephanvdplas wrote: Thursday 14 February 2019 8:32 https://github.com/costastf/toonapilib/ : This is the API library used in HA. Let's see if we can implement this in Domoticz
Looks good! Want this!
* Raspberry Pi B rev2 (with latest Beta of Domoticz)
* 1x RFXtrx433E
* 4x TX320 Temperature/humidity sensors
* 6x KaKu ACD-3500 | Kaku ALED-2709 | KaKu ACM-100 | 2x KaKu AMU-500 | KaKu AWMR-300
* 1x Toon Thermostat (via ToonApiLib)
zodracom
Posts: 11
Joined: Monday 11 February 2019 21:20
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.7900
Location: Roosendaal, Netherlands
Contact:

Re: Error ToonThermostat

Post by zodracom »

just ordered another thermostat and Z-wave module. And cancelled my Toon account :-) can make it simple, by myself, without toon :lol:
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Error ToonThermostat

Post by EdwinK »

As far as I know you can only do a 1000 calls on the API, and then need to renew. Things might have changed though.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by astrapowerrr »

Same problems here.
Toon stoppped after some years.
Following this thread for some solutions.
dressie
Posts: 156
Joined: Monday 25 May 2015 22:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.2
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by dressie »

Same here! Worked for years, looks like they finally pulled the plug. What a shame, hopefully someone is able to come up with a solution.
tne7laa
Posts: 30
Joined: Sunday 05 March 2017 10:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by tne7laa »

Does someone know How, Where (path) the ToonThermostat device is implemented in Domoticz?
In that program Language?
And Who has initially programmed this?
Maybe the 'plugin' can be changed or maybe a "ToonThermostat 2.0" can be written.

(Myself I'm a .NET C# and Xcode Objective C programmer)
Plantje
Posts: 451
Joined: Friday 16 October 2015 7:58
Target OS: Windows
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by Plantje »

Same issue here. To be honest: it has been quite a while ago the Toon API was presented, right?

I think I will investigate switching to Home Assistant.
tne7laa
Posts: 30
Joined: Sunday 05 March 2017 10:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by tne7laa »

Plantje wrote: Friday 15 February 2019 14:42
I think I will investigate switching to Home Assistant.
Can this be installed on the raspberry and works with Siri (HomeKit)?
Plantje
Posts: 451
Joined: Friday 16 October 2015 7:58
Target OS: Windows
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by Plantje »

I have no idea!

I think Domoticz is nice and all, but I have the impression that the developer(s ) do not have enough time and or resources to work on it. But to be honest, that is a completely unrelated topic.
Pandabeer
Posts: 35
Joined: Monday 18 December 2017 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 10265
Location: Zwolle
Contact:

Re: Error ToonThermostat

Post by Pandabeer »

tne7laa wrote:Does someone know How, Where (path) the ToonThermostat device is implemented in Domoticz?
In that program Language?
And Who has initially programmed this?
Maybe the 'plugin' can be changed or maybe a "ToonThermostat 2.0" can be written.

(Myself I'm a .NET C# and Xcode Objective C programmer)
It's possible to see the information on Github. I try to find the info I received some weeks ago

Verstuurd vanaf mijn SM-G950F met Tapatalk


I know Gizmocuz, one of the developers, can give you the needed information. See at Github also for more details
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
janz1961
Posts: 12
Joined: Sunday 18 March 2018 20:58
Target OS: Windows
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by janz1961 »

Just for the statistics: same here. No Toon controlled lights auto on and of anymore :-(
littlebou
Posts: 1
Joined: Friday 15 February 2019 21:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by littlebou »

unfortunately same problem for me hope for a quick fix
barryknobel
Posts: 3
Joined: Sunday 13 December 2015 20:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by barryknobel »

Following, hope there will be an update soon.
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by stephanvdplas »

Pandabeer wrote: Friday 15 February 2019 17:10 Maybe the 'plugin' can be changed or maybe a "ToonThermostat 2.0" can be written.
(Myself I'm a .NET C# and Xcode Objective C programmer)
It's possible to see the information on Github. I try to find the info I received some weeks ago
I found this in hardware.js:

Code: Select all

		OnAuthenticateToon = function () {
			var pwidth = 800;
			var pheight = 600;

			var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left;
			var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top;

			var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
			var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;

			var left = ((width / 2) - (pwidth / 2)) + dualScreenLeft;
			var top = ((height / 2) - (pheight / 2)) + dualScreenTop;

			var REDIRECT = 'http://127.0.0.1/domoticiz_toon';
			var CLIENT_ID = '7gQMPclYzm8haCHAgdvjq1yILLwa';
			var _url = 'https://api.toonapi.com/authorize?response_type=code&redirect_uri=' + REDIRECT + '&client_id=' + CLIENT_ID;
			//_url = "http://127.0.0.1:8081/11";
			var win = window.open(_url, "windowtoonaith", 'scrollbars=yes, width=' + pwidth + ', height=' + pheight + ', left=' + left + ', top=' + top);
			if (window.focus) {
				win.focus();
			}
			var pollTimer = window.setInterval(function () {
				if (win.closed !== false) { // !== is required for compatibility with Opera
					window.clearInterval(pollTimer);
				}
				else if (win.document.URL.indexOf(REDIRECT) != -1) {
					window.clearInterval(pollTimer);
					console.log(win.document.URL);
					var url = win.document.URL;
					var code = gup(url, 'code');
					win.close();
					validateToonToken(code);
				}
			}, 200);
		}
I think we should be updating this part of the code.
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
User avatar
a3vd
Posts: 22
Joined: Tuesday 25 February 2014 14:02
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Noordwijk, The Netherlands
Contact:

Re: Error ToonThermostat

Post by a3vd »

I think we need to update the source which you can find here :

https://github.com/domoticz/domoticz/bl ... mostat.cpp

https://github.com/domoticz/domoticz/bl ... ermostat.h

I have got the api working with source code from : https://toonapilib.readthedocs.io/en/latest/readme.html
Now i need some time to implement it in the source code. :shock:
Raspberry 3+ / 4
P1 smartcable / RFXtrx433 FW 182 / Several 1 wire Temp Sensors /DHT12/Conbee2 (zigbee)
Several Kaku switches/ Weather Underground / Hue
kevinvantuyl
Posts: 3
Joined: Sunday 17 February 2019 11:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands
Contact:

Re: Error ToonThermostat

Post by kevinvantuyl »

same here. i decided to switch from a normal (unrooted) Toon to a Rooted Toon. so much better... bye bye Eneco
1x RPi 3 b+
6x KaKu switches
1x rooted Toon
1x P1 cable
4x Wifi Lights
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest