Is it working at your home assistant now? There are some problems by Eneco.
I get this message:
16-10-26 20:26:44 homeassistant.components.sensor.command_line: Timeout for command: python /home/hass/.homeassistant/config/scripts/toonclient.py -t -p -g -c -U ***** -P *****
I also have that occasionally. Also since 2 days or so (I noticed it after a reboot of HASS) it doesnāt retrieve the temperature, gasusage etc. anymore.
[EDIT] I notice it sometimes does show. SO basically itās a bit unreliable :)[/EDIT]
We really need someone to create a script that uses the Toon API rather then the url.
Eneco Toon information is working again at my Home Assistant
For people having their Toon rooted, I have created a simple climate component to control/query it.
So you can use it without a subscription for Toon Op Afstand.
You can find it here:
https://github.com/cyberjunky/home-assistant-custom-components
Nice, thanks! I am going to test it.
thatās even better. Is there a step by step procedure for rooting toon?
climate:
- platform: toon
name: Toon
host: 192.168.178.2
port: 10080
scan_interval: 10
Yes, itās somewhere on the domoticaforum, but keep in mind itās not without risks, etcā¦
And I believe the newer toons are protected.
Read this first, http://domoticaforum.eu/viewtopic.php?f=87&t=11230&p=80415#p80415
followed by inline text in this post http://www.domoticaforum.eu/viewtopic.php?f=87&t=11235
Thanx rdnzl
@Opdoffer, Thanks for your config update.
I have use this now in HA, but for the toonprogramm i have a error in de config and HA isāt display.
homeassistant.components.sensor.template: UndefinedError: āNoneā has no attribute āstateā
Any idea what the problem is?
@opdoffer and @rmdejonge, Iām experiencing the same problem here. Iāve been doing some research, but Iām also a bit of a HA-noob so I havenāt found any solution yet. My guess would be a path error, but Iām not sure. Do you have any suggestions? All the Toon readings are showing up on the HA dashboard though. Thx!
Hi, Isnāt the Toon api free and open to use nowadays?
Did you manage to connect from HASS to Toon using their API?
I donāt really like to go the ārootingā pathā¦
Did you manage rooting and linking Toon?
With your script I still get a lot (this is just a snippet) of these errors:
17-01-02 20:49:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:50:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:51:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:52:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:53:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:54:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:55:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:56:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:57:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:58:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 20:59:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:00:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:01:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:02:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:03:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:04:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:05:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:06:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:07:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:08:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:09:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:10:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:11:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:12:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:13:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:14:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:15:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:16:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:17:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:18:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:19:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:20:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:21:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:22:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:23:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:24:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:25:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:26:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:27:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:28:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:29:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:30:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:31:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:32:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:33:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:34:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:35:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:36:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:37:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:38:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:39:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:40:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:41:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:42:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:43:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:44:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:45:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:46:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:47:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:48:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:49:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:50:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:51:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
17-01-02 21:52:00 homeassistant.components.sensor.command_line: Command failed: python /home/hass/deps/toonclient.py -t -p -g -c -U
The TOON api is Open, but to connect your Toon to Enecoās servers (so you can use the API) you have to pay a montly fee (as far as I know, but please let me know iām incorrect so I can unroot mine)
Ah yes ok I understand. Indeed to connect to Eneco servers you need to pay a fee.
Iām willing to pay the fee though, and still have the API connected directly do HASS so my automations work smoother.
So if anyone can work on developing such interface that would be great!
Would it be possible to post the complete config files for the eneco toon intergration ?
If I try to combine the configuration from github and this one I get config errors.
I canāt seem to figure out what is wrong and I am fairly new here (moved from Domoticz to Home Assistant).
Hello Quasar,
Check on this page my post from 3 juli 2016, i have share my config there.
Let me know or it is working
That is exactly what I put in my config files but the only thing that is displayed is the Gasverbruik and the value is unknown.
how does you configuration.yaml look like (how do you include the other yaml files)?
Hello Queasar,
You can also try this config:
- platform: template
scan_interval: 120
sensors:
toontemp:
unit_of_measurement: "ĀŗC"
value_template: '{{ states.sensor.toon.state.split("\n")[0] }}'
toonpowerusage:
unit_of_measurement: "W"
value_template: '{{ states.sensor.toon.state.split("\n")[1] }}'
toongasusage:
unit_of_measurement: "M3"
value_template: '{{ states.sensor.toon.state.split("\n")[2] }}'
toonprogramm:
value_template: '{% if states.sensor.toon.state.split("\n")[3] == "0" %}Comfort{% elif states.sensor.toon.state.split("\n")[3] == "1" %}Home{% elif states.sensor.toon.state.split("\n")[3] == "2" %}Sleep{% elif states.sensor.toon.state.split("\n")[3] == "3" %}Away{% endif %}'
Then you have electric, gas and programm