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.
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.
p.s. I've started a new thread on this app since all information is so scattered over the forum.
Comments
An official App within Homey would be more ideal.
This may take while, but I'm thinking of using https://github.com/ixalon/node-evohome as a base.
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)
#!/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")
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
If there is anything to test-drive, let me know, I'll be happy to live in the cold for a day ;-)
maybe he can make something out off the script to create an app
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.
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!
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.
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