This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Honeywell Evohome app

in trello I don't see any mention of the Evohome app, although it has been mentioned on the forum several times also by @Stefan . Any news on the progression getting in contact with Honeywell?

p.s. I've started a new thread on this app since all information is so scattered over the forum.
«134

Comments

  • They have a beta program at honeywell for their api. Had some contact with the guys over there. Main problem is that you loose your app support for now. The wife did not agree.. But once it is final it should be easy to develop. 
  • That's the client that you can run on a raspberry. Works pretty good. 
  • Ah ok. So still nothing official from Honeywell...
  • You can control Evohome with IFTTT, and thus via Homey (via the Maker channel) It is a bit of hit and miss with IFTT && Evohome (nothing Homey-related), so there's no guarantee it works, but 85 % of the time it works. 

    An official App within Homey would be more ideal. 
  • @Uranday I've tried getting it to work with domoticz on raspberry pi, but the script keeps returning issues, so no experience on that.
  • I've just started to learn Node.js, just to create an app for Honeywell Evohome (I have one myself)...
    This may take while, but I'm thinking of using https://github.com/ixalon/node-evohome as a base.
  • UrandayUranday Member
    edited February 2016
    bierre said:
    @Uranday I've tried getting it to work with domoticz on raspberry pi, but the script keeps returning issues, so no experience on that.
    Thats how I got it to work on my raspberry. Works like a charm. You only need to change something in the script (took me a time to figure out.

    See for a fix:
    (cached page)
    https://webcache.googleusercontent.com/search?q=cache:mOqfHPM-IvUJ:https://www.domoticz.com/forum/viewtopic.php?t=4072&start=80+&cd=2&hl=nl&ct=clnk&gl=nl

    (the original URL gives an error)
    https://www.google.nl/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=domoticz+evohome+script+URanday+site:www.domoticz.com

    (and for references, in case the site will never come up)
    Modified settemp code

    #!/usr/bin/python
    #
    # Copyright 2015 - fullTalgoRythm
    #
    # Licensed under GNU General Public License 3.0 or later.
    # Some rights reserved. See COPYING, AUTHORS.
    #
    # @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>;
    #
    # see http://www.domoticz.com/wiki/Evohome
    # see http://evohome-client.readthedocs.org/en/latest/index.html
    #

    import evoconfig
    from evohomeclient2 import EvohomeClient
    import sys
    import dateutil.parser

    #connect to evohome web portal @ http://www.mytotalconnect.com
    client = EvohomeClient(evoconfig.usr,evoconfig.pw)
    client._get_single_heating_system().zones_by_id[sys.argv[1]]._set_heat_setpoint({"HeatSetpointValue":0.0 if int(sys.argv[2])==0 else float(sys.argv[3]),"SetpointMode":int(sys.argv[2]),"TimeUntil":None if int(sys.argv[2])!=2 else dateutil.parser.parse(sys.argv[4]).strftime('%Y-%m-%dT%H:%M:%SZ')})
    open ("/var/tmp/evo-noup.tmp","w")
  • +1+1+1 for the EvoHome support  :-)
  • +1!!!
  • Please +1 on the topic title!
  • An easy way to get this to work is using the client that is used for domoticz. Then use the new HTTP module to call functions on the raspberry. Not full compatible, but until Honeywell opens the api it is a working solution.
  • Please +1 on the topic title!
    Done!

    Uranday said:
    An easy way to get this to work is using the client that is used for domoticz. Then use the new HTTP module to call functions on the raspberry. Not full compatible, but until Honeywell opens the api it is a working solution.

    I now have a Raspberry Pi B+ running Domoticz as my main controller, including z-wave, rfxcom, P1-USB cable and have the HoneyWell Evohome script running, this works very well. I wish I could make Homey my main controller including Evohome
  • @Uranday do you have a complete version of your script? I still can't get it to work. Keep getting errors on executing script
  • The system is down.... working on a native version for the evohome.
  • @Uranday do you mean a native app for domoticz?
  • aloftaloft Member
    Uranday said:
    The system is down.... working on a native version for the evohome.
    Do you already have a first prototype?  I am getting pretty irritated by the evohome-ifttt (dis)integration; more often than not, the Evohome channel is not connected anymore, and errors on reconnecting.  

    If there is anything to test-drive, let me know, I'll be happy to live in the cold for a day ;-) 
  • I'm shivering too!!!  o:)
  • Nope, nothing yet. I had a very busy period so I had no time to start.
  • Uranday said:
    Nope, nothing yet. I had a very busy period so I had no time to start.
    But you still planning to do this?
  • Yep, I want this badly because I own an evohome system. 
  • BasPostBasPost Member
    Uranday said:
    Yep, I want this badly because I own an evohome system. 
    I don't want to rush anything, but any progress / news?
  • WebsterWebster Member
    Send Fibaro script file to aloft

    maybe he can make something out off the script to create an app
  • aloftaloft Member
    I looked at the code, and although it is fairly straight forward, my NodeJS knowledge isn't that perfect. I am having some issues grasping the asynchronous way of working in NodeJS. 

    So far, I am able to successfully start a session to Evohome and retrieve device info, but it is not consistent yet. 

    I'll keep digging, but if anyone with more NodeJS experience would be able to chip in, I am missing probably fairly simple concepts.

    So I have a function 'startSession' . This will retrieve a sessionID and userID from Evohome. 

    I need this function to be started from within other functions. But the other function can only continue when 'startSession' has been completed. So far, I can only achieve this by using time-outs. But that's not ideal.
     
  • ReflowReflow Member
    Perhaps its better to put the code on github so more people can contribute. I would like to try and see if i can get it to work as well  :)
  • aloftaloft Member
    Reflow said:
    Perhaps its better to put the code on github so more people can contribute. I would like to try and see if i can get it to work as well  :)
    It is not github proof yet ;-) hardcoded passwords etc. But as soon as I typed the previous post, I made some progress. I'll try to clean-up the code and then publish it.

    First goal is to get the basic functionality without "homey-skin" in NodeJS.  As soon as that works, add Homey's part so we can test settings and pairing.

    Thanks for the offer to join the Evohome development!
  • aloftaloft Member
    Update 23 May:

    I am able to retrieve the locationID of a Evohome, which is necessary to issue commands towards Evohome. Next up is implementing the quick actions (like Economy mode, Heating off etc) and cleaning up the code so it is more readable and scalable.

    I intent to first implement a first version of a Homey Evohome app with only the 'quick actions'. This is the most basic functionality. The second iteration will be to measure and control individual zones. 

    Don't get your hopes up too soon, I work on this in my spare time, which is rather limited. When the code is publishable, I'll put it on github, so people can take a look at it and maybe even participate. 

    I'll post more updates as I make progress.
  • WebsterWebster Member
    @aloft

    Good work so far

    i will give you a message when i recieved my homey

    i have the evohome system so i am able to test
  • BasPostBasPost Member
    I can test also, I have a Homey and Evohome system!
Sign In or Register to comment.