It will be the same procedure as the netatmo. create a app and use these settings in the binding. I don’t know if it is easy to rewrite the netatmo binding.
Is it just rewrite it to honeywell and done?
Creat a app at honeywell
https://developer.honeywell.com/user/me/apps
STEP 1: REGISTER FOR AN ACCOUNT AND A KEY
If you already have an account and a key, great! If not, go here, then create yourself an app on the My Apps page to get an API Key.
STEP 2: USE THE API!
To start using the API you have two options:
Using the interactive documentation which gets you past the step of setting up an OAuth redirect URL for tokens
Registering an OAuth Redirect URL to your application and using your own code
Requirements:
A Honeywell Lyric account with a connected/installed device
An API Key from Step 1
EXAMPLE API CALL FLOW:
First: Get an OAuth Bearer Token. We use the Authorization Code flow (commonly called 3-legged OAuth). This will be used with your API key for all other API calls. You can also use our interactive documentation, which will get and handle the token for you.
Second: Get a user’s locations and devices. Here you’ll want to store the locationIDs and deviceIDs for later use in changing settings.
Request:
curl -H “Authorization: Bearer accessTokenHere” api.honeywell.com/v1/locations
Response Snippet:
[
{
“locationID”: 29769,
“name”: “home”,
“streetAddress”: “1985 Douglas drive”,
“city”: “Golden valley”,
“state”: “MN”,
“country”: “Usa”,
“zipcode”: “55422”,
“devices”: [
{
“deviceID”: “TCC-1105359”,
“name”: “Desk Test”,
“userDefinedDeviceName”: “Desk Test”…
Third: You can use the locationId to get all the devices for a particular location
Request:
curl -H “Authorization: Bearer accessTokenHere” api.honeywell.com/v1/devices?apikey=apiKeyHere&locationId=29769
Response Snippet:
[
{
“deviceID”: “TCC-1105359”,
“name”: “Desk Test”,
“userDefinedDeviceName”: “Desk Test”,
“thermostat”: {
“units”: “Fahrenheit”,
“indoorTemperature”: 73.0000,
“outdoorTemperature”: 57.0000,
“allowedModes”: [
“Cool”,
“Heat”,
“Off”
],
“deadband”: 0.0000,
“hasDualSetpointStatus”: false,
“minHeatSetpoint”: 40.0000,
“maxHeatSetpoint”: 90.0000,
“minCoolSetpoint”: 50.0000,
“maxCoolSetpoint”: 99.0000,
“changeableValues”: {
“mode”: “Heat”,
“autoChangeoverActive”: true,
“heatSetpoint”: 73.0000,
“coolSetpoint”: 78.0000
}…
]
Fourth: The part we are should focus on is the “changeableValues” array. I’m too cold, so I’d appreciate if you change the setpoint up a couple degrees.
curl -X POST -H “Authorization: Bearer accessTokenHere” -H “Content-Type: application/json” -d ‘{ “mode”: “Heat”, “autoChangeoverActive”: true, “heatSetpoint”: 74,“coolSetpoint”: 78 }’ https://api.honeywell.com/v1/devices/thermostats/TCC-1105359?apikey=apiKeyHere&locationId=29769
You should recieve a 200 response, and the setpoint on your device should change pretty quickly after that.