add honeywell T6

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Rogers
Posts: 1
Joined: Friday 03 April 2020 16:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

add honeywell T6

Post by Rogers »

I have been trying to connect to honeywell T6. Checked out youtube without any succes
These are the steps I did (please check every vaiable that copy because otherwize you get no connection):
- read www.domoticz.com/wiki/HoneywellDeveloperApiKey
- points to do developer.honeywellhome.com/
- 1,2,3: got my CONSUMER KEY and CONSUMER SECRET
- 4: put my CONSUMER KEY= API-KEY in https://api.honeywell.com/oauth2/author ... d=CONSUMER KEY&redirect_uri=none
- 5: checked in with user and password select my thermostat and hitted button connect
- 6: browser states 'Cannot GET /none ' get code from address : https://api.honeywell.com/oauth2/app/none?code=[[RETURN CODE]]&scope=
- 7: opened putty and made [[BASE64-ENCODED-STRING]] with echo -n CONSUMER KEY:CONSUMER SECRET | base64
- 8: next commando in putty screen:
curl -X POST -H 'Authorization: Basic [[BASE64-ENCODED-STRING]]' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept:
application/json' -d 'grant_type=authorization_code&code=[[RETURN CODE]]&redirect_uri=none' https://api.honeywell.com/oauth2/token
returned :
{"access_token":"qg...","refresh_token":"W....","expires_in":"1799", "token_type":"Bearer"}
- 9: put into domoticz hardware and it works great.

Thank you for the documentation The only feedback I want to give it was not clear that CUSTOMER KEY was API KEY.
ubfssF
Posts: 59
Joined: Monday 02 November 2015 14:12
Target OS: Linux
Domoticz version: 2.2364
Location: Netherlands
Contact:

Re: add honeywell T6

Post by ubfssF »

Rogers wrote: Friday 03 April 2020 22:02 I have been trying to connect to honeywell T6. Checked out youtube without any succes
These are the steps I did (please check every vaiable that copy because otherwize you get no connection):
- read www.domoticz.com/wiki/HoneywellDeveloperApiKey
- points to do developer.honeywellhome.com/
- 1,2,3: got my CONSUMER KEY and CONSUMER SECRET
- 4: put my CONSUMER KEY= API-KEY in https://api.honeywell.com/oauth2/author ... d=CONSUMER KEY&redirect_uri=none
- 5: checked in with user and password select my thermostat and hitted button connect
- 6: browser states 'Cannot GET /none ' get code from address : https://api.honeywell.com/oauth2/app/none?code=[[RETURN CODE]]&scope=
- 7: opened putty and made [[BASE64-ENCODED-STRING]] with echo -n CONSUMER KEY:CONSUMER SECRET | base64
- 8: next commando in putty screen:
curl -X POST -H 'Authorization: Basic [[BASE64-ENCODED-STRING]]' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept:
application/json' -d 'grant_type=authorization_code&code=[[RETURN CODE]]&redirect_uri=none' https://api.honeywell.com/oauth2/token
returned :
{"access_token":"qg...","refresh_token":"W....","expires_in":"1799", "token_type":"Bearer"}
- 9: put into domoticz hardware and it works great.

Thank you for the documentation The only feedback I want to give it was not clear that CUSTOMER KEY was API KEY.
I encountered the same thing, that the wiki wasn't very clear regarding which key to use for the API key. After trying a few times that hurdle was taken though.

However, as you can see in my post earlier today, I wasn't able to get a code:
https://www.domoticz.com/forum/viewtopi ... ll#p243449

When you created an app within the Honeywell developer space, did you use your home IP address? And, if so, did you have port forwarding or something like that, from your router towards the T6?

OOPS. Good reading is an art... I had to put none instead of my home IP address into the app setting. Now it works ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest