Git Product home page Git Product logo

draytonwiser's Introduction

Drayton Wiser Smart Thermostat Binding

Currently very limited to getting and setting room temperatures.

Supported Things

At the moment this only supports a room and gets the humidity from one device in the room. Many things are on the todo list.

Discovery

Not yet implemented

Binding Configuration

To install copy the .jar file to the addons folder. On linux this is /usr/share/openhab2/addons

Find your HeatHub (the part that connects to the boiler) by following these instructions from Chris Evans:

  • Log out of the app. Make sure you’re at the login screen
  • Tap Setup / Create Account (even though your system has already been set up).
  • Select the HubR type
  • Press the Setup button on the hub
  • This will start the WiserHeatXXX access point.
  • Connect to WiserHeatXXX with a real computer. You should get an IP in the 192.168.8.0/24 range.
  • Perform a GET to the /secret/ endpoint at 192.168.8.1. You might be able to use a browser, I didn’t try. If you prefer powershell like me…

Invoke-RestMethod -Method Get -UseBasicParsing -Uri http://192.168.8.1/secret/

  • You’ll get the secret back as a string.
  • Now finish the setup…
  • Follow the on-screen instructions to connect your smartphone to WiserHeatXXX
  • Tap Skip when prompted to set up your heating system.
  • Follow the on-screen instructions to connect your Heat HubR to the
  • Internet by selecting your new Wi-Fi network.
  • Tap Skip when prompted to register an account.
  • You have now changed to a new Wi-Fi network. You will see the home screen and can proceed to control your heating as normal

Thing Configuration

Then add the Room to your things file:

draytonwiser:room:livingroom [ deviceIP="192.168.3.6", authToken="YOUR_SECRET_KEY" ]

Replace livingroom with the name you've given your room in the Drayton Wiser App, removing any whitespace

Channels

Channels currently supported are Temperature, Humidity and Set Point Temperature.

In the items file add the following:

//Thermostat
Number temperature           "Temperature [%.1f °C]" (gTemp)   { channel = "draytonwiser:room:livingroom:currentTemperature" }
Number humidity              "Humidity [%d %%]"          { channel = "draytonwiser:room:livingroom:currentHumidity" }
Number setPoint              "Set Point [%.1f °C]"   { channel = "draytonwiser:room:livingroom:currentSetPoint" }

Be sure to update the channel to reflect your channel set in the things file.

Full Example

//ToDo

draytonwiser's People

Contributors

andrew-schofield avatar robpope avatar

Watchers

 avatar  avatar  avatar

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.