[DEPRECATED] - Hive (Connect) V2.6 (British Gas Hive)

That layout for Android doesn’t look great. I’ve made another attempt to tweak the UI for Android. Let me know if it’s an improvement when you have the time along with screenshots. Thanks.

We have a winner!

The only thing that needs scrolling down for is the refresh button which is perfect, it doesn’t need to be seen.
Current temperature font is perfect and the two tiles for manual/scheduled/off and idle/heating works well.

v1.10 - Boost mode has now been added and other tweaks!!

Consider the boost button a bit of beta as didn’t want to stress my boiler by turning it on and off too much in quick succession. Please let me know if you see any issues especially around switching into Boost and back to Schedule/Manual/Off.

@pillock Thanks for your feature request :smile:

Going forward, would be very helpful if anyone can test this with other thermostat smart apps and routines to see if they play nicely with Hive. I’m using it with SmartTiles at the moment and it seems to be fine.

I was going to ask about SmartTiles compatibility, but didn’t really know whether to ask here or in the SmartTiles thread.
I’m seeing some weird stuff in SmartTiles, I get the up and down arrows but the temperature in the middle often reads 1 unless I’ve used the tile to set it, in which case it’s right. At the top is the current indoor temperature, at the bottom is a snowflake symbol and the word “null” - I don’t really know what’s meant to be there.

I shall try some smart apps once I install 1.10 and see what works - good plan about not stressing the boiler too much, I think Hive has a built-in delay feature if you try to turn on/off quickly (the lights on the controller flash for a couple of minutes, then it turns off) but I can only imagine the stress of breaking the central heating the week the snow starts!

Thanks for the quick work here, very impressed!

Hi great device type. Have finally managed to get everything up and running. One question. Once the boost has been started do I just click the “boosting for x minutes” button in order to stop it.

Hi,

All working fine for me here with Hive V1.

A few things I have noticed:

  1. In the “Things” list the temp shows 18.7, but when going into the device it rounds up the temperature, any chance this can be the same as it shows in “Things”?
  2. The device icon is missing for Hive Heating, but the incorrect one is showing for Hot Water
  3. Have better indication from the “Things” screen of whether heating is on or off (maybe change the colour of the temperature text)
  4. Indication from the Things screen of whether hot water is on, off or on schedule. With the ability to tap to change this like you would a lamp for example
  5. When moving the temp slider you have to tap Refresh to see if the change has taken effect, is it possible to automatically refresh after 1-2secs of setting temp
  6. When starting boost it isn’t possible to stop by pressing the same boost button.

Elliot

Thanks for the reply Elliot. A few suggestions for the device would be to add .5 digits to the temperature slider and to add a stop boost button. So far so good. Before this came along I always thought that my hive would remain a dumb thing in my Eco system.

@Elliotd1989 Thanks for the feedback. Great to know it’s working for more people now. Many points you mention maybe limitations on what is possible with the smartthings UI API as is such as the .5 precision on the temperature slider. Might need a smartthings dev expert like @slagle to have a look and give me pointers.

For point 1, for iOS users I am using the nice looking multi attribute tile for temperature. I think this does the rounding as I’m definitely capturing the temperature to 1 decimal place and I can’t find a way to change the tile’s precision. You could try the Android tile layout and see if you prefer that. If you look at the instructions in the code it tells you what you need to comment and uncomment out to set this up.

For points 2 and 3. Have just uploaded Hive Active Heating v1.10.3 with heating switch status on Things screen. Unfortunately, it seems I can’t display both temperature and heating state on Things screen. So will take a vote on what is the most useful info to display here.

For point 4, I’ll have a look into a better way of showing the hot water device status on the things screen.
EDIT - And just like that, I have Hive Active Hot Water v1.1.1 for your testing pleasure.

For point 5, this is set to update/poll after 4 seconds and does refresh automatically for me. The long delay is there as Hive does sometimes take a while to update. Their own app has a similar delay when changing the temperature. Is anyone else not having a refresh after 4 seconds when pressing a command?

Point 6 is definitely doable, but you can already turn boost off by selecting Schedule, Manual or Off button. Is it necessary to have a boost off button?

Just a case of selecting either Schedule, Manual or Off command buttons to stop boost.

Thanks for telling me. Is it possible to add some code they makes give automatically change to manual if you try to change the target temperature slider

Yes, it already does this but only when in ‘Off’ mode. For ‘Schedule’ mode you want the temperature to change back on the next scheduled event so it should stay in ‘Schedule’ mode

Is it possible to have two different device types perhaps? One for “thermostat” and one for “temperature sensor” which would give you both Things in the Things screen?
However, I’d prefer to see the mode rather than the temperature. Since every SmartThings branded sensor can do temperature anyway, I’m currently overrun with temperature readings!

I’m a little confused over the interaction between Hive and the rest of the SmartThings estate, although this is undoubtedly a “me” problem rather than a bug. I don’t appear to be able to treat my Hive as a switch - so I can’t for example have a Rule that says “When my front door has been open for more than five minutes, turn off my heating”. It’ll let me turn a light off, or my soundbar but the Hive doesn’t appear in the list of “things that I can turn off”.

Look under smart apps market place -> Energy Management. There is an app called Thermostat Auto Off you can install that and it does exactly what you’ve mentioned and it works with the Hive device type.

The idea is that Hive is now a Thermostat capability within Smartapps that can be used by other smart apps in the marketplace.

Also I am about to publish my first Smart app that changes the thermostat mode based on the smartthings mode change such as Away and sets the thermostat back when the mode changes to Home. Currently testing it myself before releasing the beta. But some Guinea pigs would be appreciated.

Aaah, I tried the Thermostat Auto Off and perhaps I didn’t configure it right, but I told it to turn the heating off if the front door had been open for more than 5 minutes.

What it actually did was turn off the heating 5 minutes after the front door had been opened - even if it was closed again immediately after Not ideal today when it was only 2 degrees outside. Thankfully scrolling back through the SmartThings activity log revealed what had been happening. I’ll try again if you’ve had it working successfully, must be a config error.

I was only testing it anyway, I don’t (yet) have a multisensor on the back door and that’s the one that gets left open without anyone thinking of turning the heating off. And that’s not likely to happen before, ooooh, May or so.

Is there a way to trigger Boost from SmartTiles? I can then get rid of my incredibly clunky IFTTT->SMS workaround if I could have a button to do that. The temperature control itself on SmartTiles seems to be behaving itself (apart from the 7deg = 1deg issue that’s a Hive thing), although the current temp display between the two arrows is lagging (it’s currently reading 14, which is what it was set to hours ago) and still got the “null” string at the bottom though. Not sure if these are issues with your device type, SmartTiles or what.

It’s just whole numbers for now. Don’t burn me on a stick for asking, but is .5 increments important for a celsius scale on the thermostat? I’m in america so i just need to understand lol.

@slagle Thanks for the info. Most modern UK thermostats allow a .5 precision and so it’s what people in the UK are used to. Whether or not in reality someone would notice the difference is another topic :smiley:

@pillock To answer some of your questions…

  • I don’t think there is an option to Boost from SmartTiles as i don’t think that 3rd parties can build custom buttons and tiles in the current version.
  • The 1 degree thing should be gone from the Smartthings UI. Have you updated the Hive heating device code to v1.10.3 and saved and published? If you have, it maybe an Android difference that I have to look into.
  • I personally haven’t seen a lag in Smarttiles readings, but this maybe an Android issue?
  • The null reading in Smarttiles is because I think this is the Cooling mode of the thermostat which Hive does not have any concept of. I could set this to ‘Off’ permanently as an option.

I think my SmartTiles problems goes something like this:

  • Go into SmartTiles, my tall Thermostat tile reads 15.8deg inside, target 14, idle.
  • Log into Hive Home, that reads 16.7deg inside, target 10, idle. This is right. I’ve had a fire made from dead trees and fossilised dinosaurs roaring all afternoon :smile:
  • My physical Hive thermostat device matches the server.
  • Go into SmartThings, into my Hive device, and that reads 15.8deg, target 14 - so SmartTiles is reading correctly from SmartThings, but that information is out of date.
  • Hit Refresh in SmartThings Hive device, that updates with the right detail (16.7/10)
  • Refresh SmartTiles, that is now also correct.

So, it seems to be that for some reason the Hive device isn’t automatically refreshing periodically so it’s all out of sync. This leads to the following situation.

  • Target temp on Hive is 16 and everything is in agreement (SmartThings, SmartTiles, Hive Website).
  • I change it using the website, or the official app, to 18.
  • SmartThings, and thus SmartTiles still believe it to be 16 as I’ve not hit refresh in SmartThings.
  • I use SmartTiles to change it to 17. This actually sets it to 17 on the server, however because nothing is refreshing SmartTiles automatically redraws the tiles and displays 16 again.

I know if I adjust the temperature in the Hive device in SmartThings it waits a couple of seconds then refreshes, so it all displays properly. Is there any way to force a refresh a few times an hour or something to keep SmartTiles displaying correctly?

Just to round off some stuff:

  • the 7-1 thing now seems to have gone from SmartTiles, that was the only place I was seeing it. I have just updated to 1.10.3 though - anyway, that’s done.
  • null being changed to “Off” would be fine, or just " " - as a geek I get shivers when I see the word null…
  • Boost - SmartTiles can use a Simulated Switch (or Button) device type, if there was a way of doing it through that? Again, I suppose a workaround would be to use a SmartApp to say “When this switch is pressed, set to 22 degrees and turn back off in an hour” (the same as my SMS method was doing, just without the IFTTT and SMS portion) but that would bypass the Boost functionality so you wouldn’t see the countdown timer.

Overall, I know I sound like a really whingy needy git. If I could buy you a drink for all this, I would. A big one! I was really concerned that Hive would be left behind… thank you so very much for your hard work.

OK, so now have v1.10.4 uploaded which now sets cooling mode to ‘off’ for SmartTiles.

For the constant status refresh, you need to install a SmartApp called Pollster. Point it to the Hive Heating and Hive Hot Water device and set the polling interval. I have it set to 10 minutes.

Aha, Pollster is the missing link. Thanks!

Right, here is the first BETA release of the Smart App that I have designed to work with Hive and Smartthings modes.

The idea behind this is that I wanted Hive to turn off automatically when Smartthings was in an Away mode and come back on when I arrived back. You can add different rules for Hive Heating and Hive Hot Water. In my instance, I set the Hive Heating to ‘off’ in my ‘Away’ and ‘Away Night’ modes and set to a ‘Boost for 60mins’ when it comes out of those modes. I have Hive Hot Water to ‘off’ in my ‘Away’ and ‘Away Night’ modes and set back to ‘Schedule’ when it comes out of those modes.

EDIT

  • Just updated the app and it now works with Switch events too since v1.1. This includes virtual switches.
  • Make sure you have the new v1.3.3 for latest bug fixes, improved boost handling and switches

@pillock let me know if this is what you were looking for

It should work with any Thermostat in Smartthings, but I had Hive in mind when creating it which is why I would love to get ideas and feedback for this app in this group first before I mention it on the main community board.

Installation Instructions

  1. Save and Self-publish ‘Auto Mode for Thermostats’ SmartApp https://github.com/alyc100/SmartThingsPublic/blob/master/smartapps/alyc100/parent/auto-mode-for-thermostats.src/auto-mode-for-thermostats.groovy
    by creating a new SmartApp in the SmartThings IDE and pasting the source code in the “From Code” tab.

  2. Save (do not publish) ‘Thermostat Mode Automation’ SmartApp https://github.com/alyc100/SmartThingsPublic/blob/master/smartapps/alyc100/thermostatmodeautomation/thermostat-mode-automation.src/thermostat-mode-automation.groovy
    by creating a new SmartApp in the SmartThings IDE and pasting the source code in the “From Code” tab.

  3. Open SmartThings mobile app and locate “Auto Mode for Thermostats” SmartApp in the “My Apps” section of the Marketplace.