This is a basic device type and connect smart app for Drayton Wiser radiator valves.
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:
- 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 you have
- Press the Setup button on the hub
- This will start the WiserHeatXXX access point.
- 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.
- 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!
- 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.
- Use and app like Fing (https://www.fing.io/) to scan your network for your hub.
- It will be called something like WiserHeat012A34.
- Remember the IP address
- Under "My Device Handlers" click "Settings" to add Github Repo to your IDE with the following settings:
- Owner: chrisduffer
- Name:drayton-wiser
- Branch: master
- Under "My Device Handlers" click "Update From Repo"
- Select "drayton-wiser (master)" from the drop-down menu.
- Select "ALL of the device types in the "New" tab.
- Click the "Publish" check-box in the bottom right.
- Click on "Execute Update"
- Go to the “My SmartApps” tab in the IDE and click
- Select "drayton-wiser (master)" from the drop-down menu.
- Select ALL the SmartApps in the "New" tab.
- Click the "Publish" check-box in the bottom right.
- Click on "Execute Update"
- Open the SmartThings app
- Go to Marketplace, SmartApps
- Scroll to the bottom and select "MyApps"
- Select "Drayton Wiser (Connect)"
- Enter the IP address of your hub
- Paste in your secret
- Fill in all the other fields
- Tap "Save"
- 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
- Go into the new "Drayton Away Mode" device
- Tap the refresh icon
- Rename it and give it a new icon if you like
- Go into each room.
- Tap refresh.
- Wait for it to update.
- The room name from Wiser will be displayed at the bottom. If this displays "0" check the "Recently" tab.
- Set the name in the device settings to whatever you want.
- 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).
The room device type works much like a normal thermostat device, but without any cooling.
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
- 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
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.