Page 1 of 1

add honeywell T6

Posted: Friday 03 April 2020 22:02
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.

Re: add honeywell T6

Posted: Monday 13 April 2020 15:48
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 ;)