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

astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by astrapowerrr »

How far is the progress to get it installed on the stable version?
Or is the beta stable enough for daily use with wife and kids?


Verzonden vanaf mijn iPhone met Tapatalk
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 »

I use the beta already for 9 months without any problems.

Support is perfect when something gives a problem after an update...



Verstuurd vanaf mijn SM-G950F met Tapatalk

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 |
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by astrapowerrr »

So it’s worth considering to switch to the beta...


Verzonden vanaf mijn iPhone met Tapatalk
Maxx
Posts: 58
Joined: Saturday 27 January 2018 20:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Error ToonThermostat

Post by Maxx »

Hello All

I have installed the plugin succesfully but I have one remark, I am using the device "Toon - Heating active" to trigger an event but it seems that this device receives 'Off" commands every other minute. I do not have other scripts using this device

Code: Select all

2019-03-06 20:57:20	Off
2019-03-06 20:55:20	Off
2019-03-06 20:53:20	Off
2019-03-06 20:51:20	Off
2019-03-06 20:49:19	Off
2019-03-06 20:47:19	Off
2019-03-06 20:45:18	Off
2019-03-06 20:43:18	Off
2019-03-06 20:41:18	Off
2019-03-06 20:39:18	Off
2019-03-06 20:37:18	Off
2019-03-06 20:35:18	Off
2019-03-06 20:33:18	Off
2019-03-06 20:31:18	Off
2019-03-06 20:29:17	Off
2019-03-06 20:27:17	On

On this 'Off' command my event is triggered eventhough the actual status of Toon is not changed. Is this something native with this plugin or is it a bug?
Thanks
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 »

toonapi_updates_switches.PNG
toonapi_updates_switches.PNG (83.05 KiB) Viewed 2407 times
Every 2 minutes the statusses are updated.

But is also updates a state when the state is already the right state.
See the attached image. My scene-selector is updating its status every 2 minutes to the same state.
This causes a very long log. The bigger problem is that it triggers scripts which are set to react on 'device changed'.

Is it posible to check the actual status of the switches before updating it?
Only update it when its another status?

Update:
User 'Maxx' is having the same problem 8-)
* 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)
waspy
Posts: 52
Joined: Friday 22 February 2019 0:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10430
Contact:

Re: Error ToonThermostat

Post by waspy »

Seems a valid request.
I will have a look. Preparing a new release that supports modulation level and program state.
Also includes intelligent creation of devices.

Verstuurd vanaf mijn SM-G935F met Tapatalk

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 »

astrapowerrr wrote: Tuesday 05 March 2019 22:22 So it’s worth considering to switch to the beta...Image


Verzonden vanaf mijn iPhone met Tapatalk
If you don't have any special settings BETA will work great for you !, make a backup of you're database and give it a try !
Raspberry 3+ / 4
P1 smartcable / RFXtrx433 FW 182 / Several 1 wire Temp Sensors /DHT12/Conbee2 (zigbee)
Several Kaku switches/ Weather Underground / Hue
waspy
Posts: 52
Joined: Friday 22 February 2019 0:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10430
Contact:

Re: Error ToonThermostat

Post by waspy »

Released plugin version 1.0.14 :D

* Intelligent creation of domoticz devices
* Added modulation level
* Add program state (note: update to latest toonapi lib to set the program)
* Added update rate setting (in hardware)
* Refactoring

In order to use the program state you need to update to the latest toonapilib:

Code: Select all

pip3 install toonapilib -U
Feedback is appreciated. Bug reports can be filed using the github repository (https://github.com/JohnvandeVrugt/toonapilib4domoticz).
Ritchie
Posts: 12
Joined: Wednesday 13 February 2019 15:07
Target OS: -
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by Ritchie »

waspy wrote: Wednesday 06 March 2019 23:23 Released plugin version 1.0.14 :D

* Intelligent creation of domoticz devices
* Added modulation level
* Add program state (note: update to latest toonapi lib to set the program)
* Added update rate setting (in hardware)
* Refactoring

In order to use the program state you need to update to the latest toonapilib:

Code: Select all

pip3 install toonapilib -U
Feedback is appreciated. Bug reports can be filed using the github repository (https://github.com/JohnvandeVrugt/toonapilib4domoticz).
Thnx, setting the update rate setting to 1 minute gives a more smooth graphic.
vrouwantje
Posts: 1
Joined: Tuesday 20 October 2015 16:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Error ToonThermostat

Post by vrouwantje »

waspy wrote: Wednesday 06 March 2019 23:23 Released plugin version 1.0.14 :D

* Intelligent creation of domoticz devices
* Added modulation level
* Add program state (note: update to latest toonapi lib to set the program)
* Added update rate setting (in hardware)
* Refactoring

In order to use the program state you need to update to the latest toonapilib:

Code: Select all

pip3 install toonapilib -U
Feedback is appreciated. Bug reports can be filed using the github repository (https://github.com/JohnvandeVrugt/toonapilib4domoticz).
Many thanks for your great job. Program State! Nice to have. And its working :)
MJVR
Posts: 7
Joined: Friday 08 March 2019 10:55
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by MJVR »

You are a real hero! :D

Got it working on a Synology. Only the toonapilib version > 3.0.9 gives errors when updating the library.

Now running the plugin version 1.0.14, tooapilib 3.0.9 and the latest beta of Domoticz.

Everything is working as it should be with a 1 minute refresh rate.

Next step is switching to Raspberry with Domoticz. Too many work arounds installing python plugins and libraries on a Synology.
competer
Posts: 14
Joined: Wednesday 28 December 2016 7:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Nederland
Contact:

Re: Error ToonThermostat

Post by competer »

MJVR wrote: Friday 08 March 2019 11:03 You are a real hero! :D

Got it working on a Synology. Only the toonapilib version > 3.0.9 gives errors when updating the library.

Now running the plugin version 1.0.14, tooapilib 3.0.9 and the latest beta of Domoticz.

Everything is working as it should be with a 1 minute refresh rate.

Next step is switching to Raspberry with Domoticz. Too many work arounds installing python plugins and libraries on a Synology.
MJVR,

Kan you please make a small intruction how to install in on Synology
there are 10 types of people in this world, those who understand binary and those who dont
MJVR
Posts: 7
Joined: Friday 08 March 2019 10:55
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by MJVR »

competer wrote: Friday 08 March 2019 11:55 MJVR,

Kan you please make a small intruction how to install in on Synology
Sure. Here we go!

I'm asuming you have root access by SSH and have the latest beta of Domoticz with python installed (jadahl.com) and Python 3 (DSM).

First install pip on your Synology

Putty (root or use sudo -i first):

Code: Select all

cd /volume1/@appstore/py3k/usr/local/bin
 
wget https://bootstrap.pypa.io/get-pip.py

python3 get-pip.py
Now install the toonapi library. As said for Synology the latest working version = 3.09

Code: Select all

python3 pip install toonapilib==3.0.9
Now go to: https://github.com/JohnvandeVrugt/toonapilib4domoticz and copy plugin.py in folder: /volume1/@appstore/domoticz/var/plugins/toonapilib4domoticz by using Winscp on your Synology. Remember to change plugin.py to excutable.

Restart Domoticz and add ToonApiLib in settings-Hardware. Fill in your credentials and it should be working. If you can't see the devices you probably have the option 'Accept new devices' turned off in settings.

Good luck!
tonio
Posts: 3
Joined: Saturday 09 March 2019 12:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Error ToonThermostat

Post by tonio »

Everything is working well now.
No errors.

Thank you
Last edited by tonio on Wednesday 13 March 2019 9:11, edited 1 time in total.
unclekoen
Posts: 21
Joined: Saturday 27 October 2018 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by unclekoen »

I am following this thread since the Toon problems. And not sure what to choose for solution.
  • With the toonapilib, do i still need an Eneco subscription (€3,50) a month???
  • Other option, rooting Toon.
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 »

unclekoen wrote: Wednesday 13 March 2019 8:41 I am following this thread since the Toon problems. And not sure what to choose for solution.
  • With the toonapilib, do i still need an Eneco subscription (€3,50) a month???
  • Other option, rooting Toon.
Yes, you still need a subscription. If you root, you'll gain local control.
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by OedzesG »

Thank you all for your messages! works perfectly again !!

Perhaps handy to mention that you have to create a new app for: Consumer key and Consumer secret within Toon API.
arjanw
Posts: 9
Joined: Monday 16 November 2015 9:41
Target OS: OS X
Domoticz version:
Contact:

Re: Error ToonThermostat

Post by arjanw »

I created a patch and pull request to prevent the burner state changes to generate unnecessary switch updates in Domoticz. My version is at https://github.com/arjanwaard/toonapilib4domoticz for you to test.
competer
Posts: 14
Joined: Wednesday 28 December 2016 7:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Nederland
Contact:

Re: Error ToonThermostat

Post by competer »

MJVR wrote: Friday 08 March 2019 12:33
Now go to: https://github.com/JohnvandeVrugt/toonapilib4domoticz and copy plugin.py in folder: /volume1/@appstore/domoticz/var/plugins/toonapilib4domoticz by using Winscp on your Synology. Remember to change plugin.py to excutable.

I did all the steps you provided,

Many many thanx, but one issue

I do not have the toonapilib4domoticz folder in /volume1/@appstore/domoticz/var/plugins/
And i can not create folder manualy, insufficient rights to do so
there are 10 types of people in this world, those who understand binary and those who dont
MJVR
Posts: 7
Joined: Friday 08 March 2019 10:55
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error ToonThermostat

Post by MJVR »

competer wrote: Wednesday 13 March 2019 13:22
I did all the steps you provided,

Many many thanx, but one issue

I do not have the toonapilib4domoticz folder in /volume1/@appstore/domoticz/var/plugins/
And i can not create folder manualy, insufficient rights to do so
Did you use Winscp with root acces to create the folder?

Go to: https://www.twoenter.nl/blog/synology/r ... m-6-0-6-1/

It is in Dutch but if you need English Google is your friend ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests