Error ToonThermostat
Moderators: leecollings, remb0
-
- Posts: 14
- Joined: Thursday 11 April 2019 13:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 16182
- Contact:
Re: Error ToonThermostat
Installed domoticz on an different system, and got the exact same result. I am starting to think my username of password are not correctly saved in the config or something. Is there an .ini file where the username and password are saved in plain text, so i can check if it is correct?
-
- Posts: 14
- Joined: Thursday 11 April 2019 13:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 16182
- Contact:
Re: Error ToonThermostat
Ok, the password i had was the problem. I had an PW with special characters. I changed it in a password with just text, lower and upper case and numbers. Now it works. strange.Hiu80 wrote: ↑Monday 15 April 2019 11:23 Installed domoticz on an different system, and got the exact same result. I am starting to think my username of password are not correctly saved in the config or something. Is there an .ini file where the username and password are saved in plain text, so i can check if it is correct?
Thanks for your help and your work!
-
- Posts: 3
- Joined: Tuesday 16 April 2019 20:59
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Error ToonThermostat
Hi all,
I`m waching with great intrest to this forum part.
I`m having the same problem with toon since feb. I`m existed that there is a solution (I believe done by Wasp).
Many credits for him. Making a lot of people happy.
During the installation i came across some error with version problems of "pip3" But with some googleling i soleved the installation (upgrading/downgrading pip). But finally everything is installed.
I`f created an account on https://developer.toon.eu/ and i configured all the required fields.
When I start the ToonApiLib with the correct values i`m getting this error:
I saw that astrapowerr had the same problem, i was wondering if he solved the problem!?
May be someone had the same error and is willing to help!?
I you need more info please let me know.
Thanks in avance
Greetings
Palermo
I`m waching with great intrest to this forum part.
I`m having the same problem with toon since feb. I`m existed that there is a solution (I believe done by Wasp).
Many credits for him. Making a lot of people happy.
During the installation i came across some error with version problems of "pip3" But with some googleling i soleved the installation (upgrading/downgrading pip). But finally everything is installed.
I`f created an account on https://developer.toon.eu/ and i configured all the required fields.
When I start the ToonApiLib with the correct values i`m getting this error:
Code: Select all
2019-04-16 21:01:42.608 Error: Eneco_new hardware (12) thread seems to have ended unexpectedly
2019-04-16 21:01:42.795 Error: (ToonApiLib) failed to load 'plugin.py', Python Path used was '/domoticz/plugins/toonapilib4domoticz/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-04-16 21:01:42.795 Error: (Eneco_new) Module Import failed, exception: 'ImportError'
2019-04-16 21:01:42.795 Error: (Eneco_new) Module Import failed: ' Name: toonapilib'
2019-04-16 21:01:42.795 Error: (Eneco_new) Error Line details not available.
May be someone had the same error and is willing to help!?
I you need more info please let me know.
Thanks in avance
Greetings
Palermo
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
Not fixed the problem.Palermo2019 wrote:Hi all,
I`m waching with great intrest to this forum part.
I`m having the same problem with toon since feb. I`m existed that there is a solution (I believe done by Wasp).
Many credits for him. Making a lot of people happy.
During the installation i came across some error with version problems of "pip3" But with some googleling i soleved the installation (upgrading/downgrading pip). But finally everything is installed.
I`f created an account on https://developer.toon.eu/ and i configured all the required fields.
When I start the ToonApiLib with the correct values i`m getting this error:
I saw that astrapowerr had the same problem, i was wondering if he solved the problem!?Code: Select all
2019-04-16 21:01:42.608 Error: Eneco_new hardware (12) thread seems to have ended unexpectedly 2019-04-16 21:01:42.795 Error: (ToonApiLib) failed to load 'plugin.py', Python Path used was '/domoticz/plugins/toonapilib4domoticz/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'. 2019-04-16 21:01:42.795 Error: (Eneco_new) Module Import failed, exception: 'ImportError' 2019-04-16 21:01:42.795 Error: (Eneco_new) Module Import failed: ' Name: toonapilib' 2019-04-16 21:01:42.795 Error: (Eneco_new) Error Line details not available.
May be someone had the same error and is willing to help!?
I you need more info please let me know.
Thanks in avance
Greetings
Palermo
Have been scratching my head for a whole week. Full days.
I had a week off.
But with no solution and nobody to ask anymore.
Last evenings busy to setup a whole new os(stretch) and making clean install and then I will see if that worked...
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 3
- Joined: Tuesday 16 April 2019 20:59
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Error ToonThermostat
Hi Astrapowerr,
Unfortunate to hear the the problem is not solved.
It looks like that pyton is failed to execute the "plugin.py" file. it could be a missmatch of the pyton version or, it is expecting a specific path to pyton home directory. But with the different version it could be installed on a different path location.
Witch Pyton version do you use?
Does anyone with a working version able to check what pyton version you use?
Thanks in advance
Greetings
Palermo
Unfortunate to hear the the problem is not solved.
It looks like that pyton is failed to execute the "plugin.py" file. it could be a missmatch of the pyton version or, it is expecting a specific path to pyton home directory. But with the different version it could be installed on a different path location.
Witch Pyton version do you use?
Does anyone with a working version able to check what pyton version you use?
Thanks in advance
Greetings
Palermo
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
When starting Domoticz is saw in the log that it was using 3.4.2.Palermo2019 wrote:Hi Astrapowerr,
Unfortunate to hear the the problem is not solved.
It looks like that pyton is failed to execute the "plugin.py" file. it could be a missmatch of the pyton version or, it is expecting a specific path to pyton home directory. But with the different version it could be installed on a different path location.
Witch Pyton version do you use?
Does anyone with a working version able to check what pyton version you use?
Thanks in advance
Greetings
Palermo
And I was told before that that should be ok?? But he. It’s not working for me.
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 20
- Joined: Saturday 17 October 2015 22:23
- Target OS: Linux
- Domoticz version: 4.10659
- Contact:
Re: Error ToonThermostat
Feels like a user rights issue I had with running a pyhton file before. At least worth checking out to see if that is not the problem.Palermo2019 wrote: ↑Wednesday 17 April 2019 8:45 It looks like that pyton is failed to execute the "plugin.py" file. it could be a missmatch of the pyton version or, it is expecting a specific path to pyton home directory. But with the different version it could be installed on a different path location.
I had a similar case where I made bash file to run python scripts, and I specifically had to run the command as another user, like so:
Code: Select all
#!/bin/bash
runuser -l pi -c 'python3 /home/pi/domoticz/scripts/python/pythonfile.py'
exit 0
-
- Posts: 3
- Joined: Tuesday 16 April 2019 20:59
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Error ToonThermostat
@jbr79
That is also a very good point. Let me see if i can look at that two.
Now you are using a Pi for Domoticz is guess, I have a clean version of Debian running.
So you commando will not work on debian. But i can still look at the rights suggestion.
I`m not an Linux expert. But may be i can find something.
I hope to have some time this weekend to look at that.
Thank for help/thinking
Greetings
Palermo
That is also a very good point. Let me see if i can look at that two.
Now you are using a Pi for Domoticz is guess, I have a clean version of Debian running.
So you commando will not work on debian. But i can still look at the rights suggestion.
I`m not an Linux expert. But may be i can find something.
I hope to have some time this weekend to look at that.
Thank for help/thinking
Greetings
Palermo
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
well i did do a new install.waspy wrote: ↑Friday 12 April 2019 22:11 I see, but don't understand
The previous error that the toonapilib could not be found seems to be fixed, so that's good news.
My plugin first logs the apilib version. But this line seems to be missing in your log at all...
So if this line is missing, I'm sure all the rest will fail as well.
Code: Select all
Domoticz.Log("Using toonapilib version " + toonapilib.__version__ + " by " + toonapilib.__author__)
Not sure where to go from here. I'm no python or domoticz expert.
Maybe a good time to update the O/S on the pi?
I am using a pi3. Don't know what hardware you are using.
I have never tested it on a pi 1 or 2.
But maybe somebody else on the forum did...
installed my new os "stretch".
installed in a better way my automatic backups.
installed homebridge with docker(that was new for me) but nice to have a web interface now! to manage homebridge..
re installed my old database( did go easy, had to do that a few times but then it worked)
so after getting all my systems running again time for the toon api.
installed and got it running in 10 minutes!! wow!!
so for me its up and running now..
but...
i updated the new idx from the hotwater switch to my blocky again to get my automatic ventilation working again when i am in the shower.
but then i ran into some errors.
it seems that when the hotwater is on( i can see on the toon itself and on the toon app(Iphone), domoticz is not setting hotwater on.
i started testing with my kitchen hotwater open and looked if it would go to on..
after about 5 minutes or so i closed the hotwater still not on..
then after a while i saw it was on in domoticz..
even with the update rate set to 1 minute.. it takes way longer 5 or 10 minutes(didnt count them) to refresh from domoticz side..
but when i switch something in domoticz it immediately updates the toon and the app.
what can be the problem or is this just the way it is?
greets marco
-
- Posts: 52
- Joined: Friday 22 February 2019 0:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10430
- Contact:
Re: Error ToonThermostat
Toonapilib has limited the update rate.
This was previously set to 30 seconds. Don't know the actual limiter value.
I think this is causing the delay you are experiencing.
Verstuurd vanaf mijn SM-G935F met Tapatalk
This was previously set to 30 seconds. Don't know the actual limiter value.
I think this is causing the delay you are experiencing.
Verstuurd vanaf mijn SM-G935F met Tapatalk
Life should be fun - https://github.com/JohnvandeVrugt/toonapilib4domoticz -
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
you know where to find this?
should this be on the github of costastf?
-
- Posts: 52
- Joined: Friday 22 February 2019 0:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10430
- Contact:
Re: Error ToonThermostat
Probably
Verstuurd vanaf mijn SM-G935F met Tapatalk
Verstuurd vanaf mijn SM-G935F met Tapatalk
Life should be fun - https://github.com/JohnvandeVrugt/toonapilib4domoticz -
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
i am digging as we speak but cannot find that but i can find this regarding gas,electricity and solar:
Values are cached internally for 30 seconds so as to not overwhelm the api. After the 30 seconds any access to any of the attributes will refresh the information through a new call to the api.
-
- Posts: 52
- Joined: Friday 22 February 2019 0:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10430
- Contact:
Re: Error ToonThermostat
https://github.com/home-assistant/home- ... pull/22160
Apparently, the toon api is being 'hammered' by clients.
Verstuurd vanaf mijn SM-G935F met Tapatalk
Apparently, the toon api is being 'hammered' by clients.
Verstuurd vanaf mijn SM-G935F met Tapatalk
Life should be fun - https://github.com/JohnvandeVrugt/toonapilib4domoticz -
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
did some reading and yes this is causing my problem..
so quby is again throwing dirt in the water!
more and more i am thinking to just root my toon and take my ownership back of my own system..
to bad...
but again many thanks for every help around this.. as far as this, better something then nothing..
-
- Posts: 52
- Joined: Friday 22 February 2019 0:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10430
- Contact:
Re: Error ToonThermostat
If they would allow local access to non rooted devices, they would not have to deal with the large amount of requests at all...
Verstuurd vanaf mijn SM-G935F met Tapatalk
Verstuurd vanaf mijn SM-G935F met Tapatalk
Life should be fun - https://github.com/JohnvandeVrugt/toonapilib4domoticz -
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
true..
paying monthly to them but i can only use there servers.
When i root the toon i can use the way i want and it is without restrictions(what i pay for it seems??)
local access would solve it all… i hope they will see that finally everybody will go rooting and they get no income just nothing.
we all should go to rooting and hope they will see( we should make rooting service for free hahaha)
-
- Posts: 141
- Joined: Tuesday 31 January 2017 20:34
- Target OS: -
- Domoticz version:
- Contact:
Re: Error ToonThermostat
for all who wants to keep the old log data from your old toon device...
http://www.domoticz.com/DomoticzManual.pdf
scroll to page 20 there is a a manual how to get your old logs to your new device...
@waspy: maybe something te refer to in your install guide?
http://www.domoticz.com/DomoticzManual.pdf
scroll to page 20 there is a a manual how to get your old logs to your new device...
@waspy: maybe something te refer to in your install guide?
-
- Posts: 52
- Joined: Friday 22 February 2019 0:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10430
- Contact:
Re: Error ToonThermostat
Good idea. I left out the exact page number as this might be subject to changes.
Verstuurd vanaf mijn SM-G935F met Tapatalk
Verstuurd vanaf mijn SM-G935F met Tapatalk
Life should be fun - https://github.com/JohnvandeVrugt/toonapilib4domoticz -
Who is online
Users browsing this forum: Google [Bot] and 1 guest