Skip to content

chrisduffer/drayton-wiser

Repository files navigation

Drayton Wiser Smartthings Device Type

This is a basic device type and connect smart app for Drayton Wiser radiator valves.

Find your secret

Connection to the Drayton hub is done through a local LAN connection rather than via the cloud. This requires an app "secret" that the hub provides. To access this secret you need to jump through a couple of hoops:

  1. Log out of the app. Make sure you’re at the login screen
  2. Tap Setup / Create Account (even though your system has already been set up).
  3. Select the HubR type you have
  4. Press the Setup button on the hub
  5. This will start the WiserHeatXXX access point.
  6. Connect to WiserHeatXXX with you device or a real computer. You should get an IP in the 192.168.8.0/24 range from the hub's DHCP server.
  7. Go to http://192.168.8.1/secret/ in a web browser. You'll set a long string of seemingly random numbers. This is your secret!
  8. Now finish the setup…
  9. Follow the on-screen instructions to connect your smartphone to WiserHeatXXX
  10. Tap Skip when prompted to set up your heating system.
  11. Follow the on-screen instructions to connect your Heat HubR to the
  12. Internet by selecting your new Wi-Fi network.
  13. Tap Skip when prompted to register an account.
  14. 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.

Find your Wiser hub IP Address

  1. Use and app like Fing (https://www.fing.io/) to scan your network for your hub.
  2. It will be called something like WiserHeat012A34.
  3. Remember the IP address

Add the repo, smart app and device types in the SmartThings IDE

  1. Under "My Device Handlers" click "Settings" to add Github Repo to your IDE with the following settings:
  • Owner: chrisduffer
  • Name:drayton-wiser
  • Branch: master
  1. Under "My Device Handlers" click "Update From Repo"
  2. Select "drayton-wiser (master)" from the drop-down menu.
  3. Select "ALL of the device types in the "New" tab.
  4. Click the "Publish" check-box in the bottom right.
  5. Click on "Execute Update"
  6. Go to the “My SmartApps” tab in the IDE and click
  7. Select "drayton-wiser (master)" from the drop-down menu.
  8. Select ALL the SmartApps in the "New" tab.
  9. Click the "Publish" check-box in the bottom right.
  10. Click on "Execute Update"

Install the SmartApp

  1. Open the SmartThings app
  2. Go to Marketplace, SmartApps
  3. Scroll to the bottom and select "MyApps"
  4. Select "Drayton Wiser (Connect)"
  5. Enter the IP address of your hub
  6. Paste in your secret
  7. Fill in all the other fields
  8. Tap "Save"
  9. The app will add a "Drayton Room X" thermostat device for each room and a "Drayton Away Mode" switch to turn on/off away mode

Configure your rooms

  1. Go into the new "Drayton Away Mode" device
  2. Tap the refresh icon
  3. Rename it and give it a new icon if you like
  4. Go into each room.
  5. Tap refresh.
  6. Wait for it to update.
  7. The room name from Wiser will be displayed at the bottom. If this displays "0" check the "Recently" tab.
  8. Set the name in the device settings to whatever you want.
  9. There's a bug in the Android app where you need to set each field to something other than whats displayed. Set the polling interval to something other than 1, then save, then go back and set it to 1 (or whatever you want).

Room Device Type Instructions

The room device type works much like a normal thermostat device, but without any cooling.

Top section

In the center is the current temperature. On the right is the set point. If the heating is off in this room this will be blank. The arrows override the scheduled temperate up or down by 0.5

Icons

  • Current heating state (on or off)
  • Current mode
  • Demand %
  • Refresh - tap to refresh
  • Override Type - If the scheduled temperature is overridden, tapping this will cancel that
  • Mode - Tap to switch THE WHOLE SYSTEM between home and away mode

Away Mode Type Instructions

The device is to allow you to trigger away mode from other automations. For example:

  • Add "Turn ON Drayton Away Mode" to the "Goodbye" routine.
  • Add "Turn OFF Drayton Away Mode" to the "I'm Back" routine.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages