Created At

Oct 20, 2017

Last Update

Sep 21, 2018

Platforms

HC 2

Views

3066

Download

133

Change history:

  • Corrected png size to 128x128
  • 3.2.5 (20171215): Some regions were not working, changed the method of authentication to fix this issue

 

You need:

  • Evohome with color screen and Internet gateway (RFG100) or Evohome with wifi
  • Evohome account

 

Installation:

 

For the Dutch people: In the zipfile there is an installation manual.

  1. Create a Variable (Panels / Variables Panel): EvohomeAPI
  2. Create a LUA scene "Evohome API"
  3. Paste the code from the "Evohome_2.0_Scene.txt" into the scene
  4. Change the following lines
  5. local username = "EMAIL" -- Evohome username
  6. local password = "PASSWORD" -- Evohome password
  7. local main_id = {1376}; -- ID of Evohome VD's, one for every location, starting with the ID of location 0 eq {111,222} -- see below "Evohome_2.0.vfib"
  8. local zones_name = {"Room1","Room2","Room2","Bathroom","Hallway","Master","Kidsroom","Kitchen"}; -- Name of zones (defined in Evohome, case-sensitive!)
  9. local zones_id = {1219,1377,1222,1221,1218,1217,1220,1223}; -- ID of zones VD -- see below "Evohome_2.0_-_Zone.vfib"
  10. !!REMEMBER THE ID OF THE SCENE!!
  11. Import "Evohome_2.0_-_Zone.vfib" for every zone you need, you have to set/edit:
  12. The name off the VD should match the name of the zone (case-sensitive!)
  13. IP Address of the virtual device with the location ID of youe Evohome system (default = 0) (See Evohome 2.0.png)
  14. TCP port of the virtual device with the ID of the scene (See Evohome 2.0.png)
  15. !!REMEMBER THE ID OF THE VD, THIS HAS TO BE PUT IN THE SCENE, SEE ABOVE!!
  16. Import "Evohome_2.0.vfib" (only once!), you have to set/edit:
  17. IP Address of the virtual device with the location ID of youe Evohome system (default = 0) (See Evohome 2.0.png)
  18. TCP port of the virtual device with the ID of the scene (See Evohome 2.0.png)
  19. The values will be update every 30 minutes (you can change this in the main loop)
  20. !!REMEMBER THE ID OF THE VD, THIS HAS TO BE PUT IN THE SCENE, SEE ABOVE!!
  21. Import "Evohome_2.0_-_DHW.vfib" for every DHW you need, you have to set/edit:
  22. IP Address of the virtual device with the location ID of youe Evohome system (default = 0) (See Evohome 2.0.png)
  23. TCP port of the virtual device with the ID of the scene (See Evohome 2.0.png)
  24. !!REMEMBER THE ID OF THE VD, THIS HAS TO BE PUT IN THE SCENE, SEE ABOVE!!`

 THATS IT...

 

 

IMPORTANT

Honeywell changed there security to there API some tome ago so you will receive the following error:

LuaEnvironment: /home/server/bamboo-agent-home/xml-data/build-dir/HC-LE153-JOB1/LuaEngine/vendor/avhttp/avhttp/cookie.hpp:636: bool avhttp::cookies::parse_cookie_string(const string&, std::vector&): Assertion `0' failed.

I have created two workarounds, you only have to use 1:

  1. Change line 131 to:
     

    url = '

    '

    http://boerremk.nl/cgi-bin/access_token2.py'
  2. In the Evohome zip there is a file called access_token2.py, install this on a local webserver and change line 131 to:
    url = '<webserver-ip>/access_token2.py'

 

 

 

Link to Fibaro Forum pages

Link to profile

25 Comments,  Want to add comment please login
8b6c9985f6e8479272bde65896564636

Hi Remko de Boer, I have setup Evo Home in Fibaro :) I can only set the temp on a zone once or twice before I get the following error [ fatal] LUA error: /usr/share/lua/5.2/json/decode/util.lua:35: unexpected character @ character: 1 0:1 [T] line: Any Idea what is causing this?

25e263cee1b95ece7c7b3074c851053d

Hi, - Temperature on main screen: If you click in the wrench tool and then select "main" radio button by lblTempCurrent/Current and save the VD you will see the temperature in the main screen. - Update time: Go to the main VD, click wrench tool, go down the page, there you see a sleep function, here you can change the standard update time.

8ac5972daa54a144a68453cef4d22a54

It would also be extremely helpful to know which specific line needs to be updated to shorten the update time from the current 30 minutes. I skimmed through the code but - as a LUA novice - I would need to spend more time (assuming I ever figure it out :-) ). Thanks much!

8ac5972daa54a144a68453cef4d22a54

It was a nice surprise today to discover that I can connect my Evohome system with Fibaro! Thanks for that! It looks like all went fine - Google Translate of the Dutch guide helped much. One question I have is whether there is a way to display the actual temperate in a similar way as Fibaro does, i.e. from the main view without a need to individually enter each device. All I see now in the main devices view is the Evohome Icon for each zone plus the zone name. To read the temperature, I need to actually individually click on the wrench icon, so that General and Advanced settings show up. Then I scroll down in the General settings and only then I can read the actual (and set) temperature.

5f7c6f5999fc8fae19a1d3663292f165

Yeah indeed, read something about custom plugin's but apprently they don't allow that anymore. Anyway, thanks for all the help Remko!