I’m just about to throw this Hive Heating **** into the nearest bin. I have followed every post and updated the SmartApp and DTH for Heating and hot water. Regenerated the token etc and still it doesn’t work correctly.
When I use Hive Connect it creates two devices (Receiver Heating and Hot Water ) but neither appear in the device list in the IDE but they do in the App … strange
The two new devices in the app wont work and do not have any options to change temp etc like the old one did.
Tried to manually create new devices and edit with the updated DTH but nope still doesn’t work.
I am on 3.2 c of the Hive connect smart App and 3.3b of hive heating dth and 3.1b for hive hot water dth. (cant find any later DTH but I did see an DTH that had different versions numbers in )
Problem I also have is Alexa wont work with Hive if devices are present in ST and go off line as Alexa is linked via the skill to ST . However I’d be happy to remove Hive from ST as don’t need it in there but I use ActionTiles and pull the current temps from ST. I would like to be able to do this for any future dashboards such as in google data studio
Does anyone have any idea what if anything I am doing wrong … or if not a very large hammer to beat this Hive rubbish into a pulp … and replace it with a system that does work with ST ( is there one … better check first )
Ok update … found two Hive Connects installed in IDE so removed both to do clean and install and now when I try that and tap to authenticate I get blank screen with next at the bottom and pressing that does nothing and locks the app.
Only thing stopping me disconnecting Hive right now is its bloody cold and I need heating to work .
Why cant Hive just leave things alone as this worked for ages perfectly well before they messed around with it .
I feel your pain. I really wish Hive would document their API and allow access. They have the platform available which is what IFTTT and Amazon Alexa uses with their OAuth framework.
I’ve been asking for this for years and they haven’t budged.
I knew this workaround wouldn’t be for everyone as it isn’t elegant.
All I can suggest is remove all devices and the smart app. Make sure that the latest version is the only smart app you have in your IDE. Triple check your index.js edits with your username and password. Hard code the environment variables into the index.is as mentioned previously. Try again. If you do see an error message in the IDE live logging feel free to DM me with it.
Thank you Alex … After stripping back everything and re-installing from scratch its now all working as it should .
Appreciate all the effort you put into this thank you.
For others a couple of tips that might help
When running the powershell scripts to set the environment and node index.js > HiveTokens.json commands make sure you are in the amazon-user-pool-srp-client folder. If not you will get errors
When copying in the token may sure the line is correct with single quotes each end on the same line and the token in full in between like this example
def hiveTokenString = ‘{“token”:"eyJ…’
This for me is on line 109 of the smartapp code
If you do need to start again delete the amazon-user-pool-srp-client folder , make sure its empty first and you might have to reboot to let windows free up the folder for deletion. Re download the Index file and follow the steps carefully .
It does work if you know to avoid the mistakes I made . hope this helps, but all kudos goes to Alex for figuring this out in the first place… Thank you
Try de-selecting hive devices in the Hive smartthings app, then deleting the hive devices through the ST app. After they are all gone, go back in an re-select in the Hive smartthings app.
Can I ask if anyone has a working DTH for the TRV? Changing the TRV correctly updates the Hive device in the cloud for me but doesn’t update the tile. Does anyone else see the same? Cheers. Paul
Firstly I want to thank all the people who have spent their valuable time with this integration.
@Alyc100, the instructions you provided worked fine for me.
The only issue I have is when trying to control myTRVs. I have a similar problem to @brumster where when using the app, when changing the temprature but clicking the ‘+’… the app spins and then the value returns back to what it was before pressing +
I did manage to integrate the new 3.2 version, thanks for the excellent instructions!
I am trying to make an automation that heating goes to schedule/off/manual etc when certain conditions are met, and I see that the modes allowed in the app are Cool, Emergency, Heat and Off.
However, when the heating is on schedule the device ‘Hive Heating’ displays ‘auto’, but that mode is not visible to select via Smartthings.
How do these 4 modes correlate to the Manual/Schedule/Boost and Off?
This is the tricky part; there is no ‘Auto’ mode. I have to set the heating to ‘Schedule’ via the Hive app in order to display ‘Auto’ inside Smartthings. Once I select Heat(manual) or Off in Smartthings there is no way to go back to ‘Schedule’.
Have you updated the device handlers? There is a new UI that shows Auto. See earlier in the thread (about 10 days ago) as you have to update the device in the IDE to see the changes come through.
/Users/CraigRobinson/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:973:15)
at Function.Module._load (internal/modules/cjs/loader.js:855:27)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/CraigRobinson/index.js:2:18)
at Module._compile (internal/modules/cjs/loader.js:1144:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1164:10)
at Module.load (internal/modules/cjs/loader.js:993:32)
at Function.Module._load (internal/modules/cjs/loader.js:892:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [ ‘/Users/CraigRobinson/index.js’ ]
I have also tried by installing the biginteger repo by using npm install biginteger --save