Code Monkey home page Code Monkey logo

gohoneywellapi's Introduction

GoHoneywellAPI

basic implementation to use the Honeywell API for T compatible devices (T9, T10, Lyric)

Usage

First you need to register on the Honeywell API portal at https://developer.honeywellhome.com/user/register

Once done, you have to create a new application. This will give you access to a Consumer Key and a Consumet Secret Honeywell app creation

You also need to register your devices (thermostat) on the Honeywell Application, iPhone or Android. You will be asked to create an account, which is different from the one you juste created for the API.

Following the oAuth2 guide you will then need to open an URL in your browser. You will have to authenticate using the login from the mobile App, not the one from the developper API !

The URL is like:

https://api.honeywell.com/oauth2/authorize?response_type=code&client_id={apikey}&redirect_uri={redirectUri}

The apikey here is your Consumer Key. Use none as the redirect URL.

If your Consumer Key is like lknwcoiwenerkfr, then your final URL is :

https://api.honeywell.com/oauth2/authorize?response_type=code&client_id=lknwcoiwenerkfr&redirect_uri=none

As I said, authenticate, and allow your application to access your devices by answering Allow. Honeywell App Authz

The webpage will redirect you to some URL like

https://api.honeywell.com/oauth2/app/none?code=qwerty&scope=

Note the code down (qwerty in this example). You will need it along your Key and Secret to access the API and get your Bearer Token.

References

  1. Honeywell Developper site : https://developer.honeywellhome.com/content/getting-started-guide
  2. Using the API by hand : https://www.domoticz.com/wiki/HoneywellDeveloperApiKey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.