Welcome Dan Robinson

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • top brake
    Automated Home Legend
    • Feb 2015
    • 837

    Welcome Dan Robinson

    Dan is a Honeywell Connected Specialist and will be a real asset to this forum. Say hi to him?
    I work for Resideo, posts are personal and my own views.
  • Dan_Robinson
    Automated Home Ninja
    • Jun 2012
    • 347

    #2
    Cheers TB. Hopefully can be of use, as well as learn some tricks.


    Certainly interested to learn about the API stuff. Perhaps some diagnostic tools could be created from it?
    Kind Regards - Dan Robinson (Jennings Heating Ltd)

    Comment

    • Otto-Mate
      Founder
      • Jan 2004
      • 882

      #3
      Welcome Dan, great to have your expertise here

      Thanks

      M.
      Last edited by Otto-Mate; 24 October 2015, 10:05 PM. Reason: typo
      Editor AutomatedHome.co.uk


      www.facebook.com/AutomatedHomeUK
      www.twitter.com/ottomate
      www.instagram.com/automatedhome/

      Comment

      • Dan_Robinson
        Automated Home Ninja
        • Jun 2012
        • 347

        #4
        Cheers Otto.

        Blame TB. it's all his fault 😛
        Kind Regards - Dan Robinson (Jennings Heating Ltd)

        Comment

        • MrB
          Automated Home Sr Member
          • Oct 2015
          • 80

          #5
          Hello Dan....

          Sure think you are going to help - a lot - I've just had entire large house old heating & HW system removed and replaced with a new one using EvoHome to manage every aspects. There are definitely holes in the available info and facilities and I'll post those as seperate threads to keep things neat and tidy.

          Comment

          • Fursty Ferret
            Automated Home Sr Member
            • Oct 2014
            • 84

            #6
            Dan, if it's any help I wrote a small Windows tool that simply spews out raw data for the Evohome system it's connected to.

            Comment

            • Dan_Robinson
              Automated Home Ninja
              • Jun 2012
              • 347

              #7
              Sounds interesting Fursty. How does it connect with Evo? Through the TCC cloud?
              Kind Regards - Dan Robinson (Jennings Heating Ltd)

              Comment

              • Fursty Ferret
                Automated Home Sr Member
                • Oct 2014
                • 84

                #8
                Yep, normal TCC login.

                Comment

                • paulockenden
                  Automated Home Legend
                  • Apr 2015
                  • 1719

                  #9
                  Here's a short extract from my column the issue of PC Pro that'll be out early next month. You'll have to buy it if you want the whole thing:

                  ....So let’s have a quick look at how this might work. I’m not going to provide a complete program listing here – long gone are the days when we did that in PC Pro. I’ll give you some pointers though, using Python as that’s probably the closest thing to pseudo-code that we have these days.

                  The first think we need to do is make a JSON post to the Honeywell server.

                  url = 'https://rs.alarmnet.com/TotalConnectComfort/WebAPI/api/Session'
                  postdata = {'Username':USERNAME, 'Password':PASSWORD, 'ApplicationId':'91db1612-73fd-4500-91b2-e63b069b185c'}
                  headers = {'content-type':'application/json'}
                  response = requests.post(url,data=json.dumps(postdata),header s=headers)
                  userinfo = json.loads(response.content)


                  The username and password are the ones you use to log in to Evohome on your smartphone app. That ApplicationId is something you’ll find if you fire up Wireshark and sniff the data between the app and cloud servers. It appears to be the same for all users, but I guess this is one thing that Honeywell could start to use to close the system down to unauthorised users, should they ever decide to. But for now I think your scripts will be fine using this id.

                  As you’ll see from the code, after posting the username, password and id, the cloud servers return a JSON response, in this case containing two things we need to post further commands, a userid and a session id:

                  userid = userinfo['userInfo']['userID']
                  sessionId = userinfo['sessionId']


                  Once we have those, we can start to issue further requests, for example:

                  url = 'https://rs.alarmnet.com/TotalConnectComfort/WebAPI/api/locations?userId=%s&allData=True' % userid
                  headers['sessionId'] = sessionId
                  response = requests.get(url,data=json.dumps(postdata),headers =headers)
                  fullData = json.loads(response.content)[0]


                  More JSON data, this time containing information about the various zones. To extract it you’d use something like this:

                  for device in fullData['devices']:
                  print device['thermostatModelType'], device['deviceID'], device['name'], device['thermostat']['indoorTemperature']


                  You should see data returned that looks something like this:

                  DOMESTIC_HOT_WATER 111111 53.0
                  EMEA_ZONE 111112 Bathroom 20.5
                  EMEA_ZONE 111113 Lounge 21.0
                  EMEA_ZONE 111114 Hallway 19.0
                  EMEA_ZONE 111115 Bedroom 19.5
                  EMEA_ZONE 111116 Kitchen 20.0
                  EMEA_ZONE 111117 Loo 19.0
                  Etc.


                  Those 111111 numbers will be unique to your installation (I didn’t want to print mine, just in case one of you manages to work out how to turn my hot water off!) The numbers at the end are your zone temperatures, obviously.

                  Once you have this data it’s easy to log them in a database, to see how your house temperatures vary over time, over the course of a day perhaps, or the course of a year. You can even use one of the online data visualisation tools such as dygraphs, D3.js, Google Charts, Datawrapper or plot.ly to see pretty charts of your room temperatures. I’d suggest that you poll the data every ten minutes or so. You certainly don’t need anything more frequent than that (room temperatures don’t change particularly quickly) and if you do you’re likely to get yourself banned from the Honeywell servers, and perhaps endanger the viability of the whole hobbyist and tinkerer community.

                  It’s great fun extending Evohome like this, and hopefully these code fragments will give you some inspiration. If you’d prefer a bit less work there are examples of other peoples’ work out there, particularly on places like Github. But I always think it’s better if you can roll your own code because you’ll really get to understand what is going on under the hood.


                  Like I said, you'll need to wait for just a bit longer to read the whole article, where I also cover things like IFTTT and the effects that finer control over heating can have on your daily living.


                  P.

                  Comment

                  • Dan_Robinson
                    Automated Home Ninja
                    • Jun 2012
                    • 347

                    #10
                    As it happens I am a subscriber... although a couple of editions behind at the moment.
                    Kind Regards - Dan Robinson (Jennings Heating Ltd)

                    Comment

                    • paulockenden
                      Automated Home Legend
                      • Apr 2015
                      • 1719

                      #11
                      I can't find the 'like' button!

                      Comment

                      • Dan_Robinson
                        Automated Home Ninja
                        • Jun 2012
                        • 347

                        #12
                        Will have a read with interest, although the content of the mag is a tad above my knowledge, it is good for hardware reviews and info.

                        I am looking for ways to help diagnose issues with installations which I seem to inherit. Often it is signal strength, btu occasionally - just occasionally, there is a weird one and seeing what is what is tricky, and time/costs doesn't always permit return visits.


                        Interestingly, I have new customer to go to soon with OT running (although not on Evo). He has a box of tricks that lets him see what is going on in the OT stream.

                        Now if I could marry that with Evo things would be peachy - only downside is all this requires a Windows PC, and I have only just moved over to android for field computing .
                        Kind Regards - Dan Robinson (Jennings Heating Ltd)

                        Comment

                        • paulockenden
                          Automated Home Legend
                          • Apr 2015
                          • 1719

                          #13
                          There are (or more accurately 'were') people in other places reverse engineering the data flying around in an evo controlled house. I may have a go at some point. It would be good to have a tool showing things like set points being sent to zones, zones demanding heat, relays being opened, etc etc.

                          Might even work on Android using a jeelink and an OTG cable.

                          P.

                          Comment

                          • The EVOHOME Shop
                            Site Sponsor
                            • Dec 2014
                            • 483

                            #14
                            Welcome to AH Dan!

                            Comment

                            Working...
                            X