Needed a couple of refreshes, but yes. all no-clouds have gone.
@Alyc100 I know you’ve already gone above and beyond in getting hive to works with ST but is there any hope of an easy token generation process??
Unlikely with the groovy based code as it is.
Okay, after a ton of refreshes it seems to be working for me now.
How do I now go about customising the mode labels to my choosing? I have looked into the custom capability stuff and the ST CLI, but to be honest I don’t know where to start. I’m confused whether I need to create a custom capability or capability presentation or both Even watching the tutorial video leaves me confused about where to begin with it.
All I want to do is make the displayed text more meaningful - boost, manual, schedule etc. - which was previously achieved using the “label” attribute in the groovy code.
Have they just made it a whole lot more complicated than it actually needs to be with this custom capability feature?
If anyone can give me any pointers I would appreciate it.
Cheers
frazzlegod
Hi, sorry to add to this , especially if this as been mentioned before but I followed all the updates to Hive Connect (Hive Heating and hot water DTH) and it seems to be authenticating and places the receivers into devices in the ST app. Strange thing thou when looking in the IDE under devices they do not appear , which means that ActionTiles doesn’t find the hive receivers when trying to authorise devices. Very strange … as anyone seen the same behaviour ?
Just want to say thank you for some of the donations. I really don’t expect them but it’s much appreciated. It will fund my socially distanced pints of Camden Hells at my local tonight.
Sorry, has anyone else recently got an issue with their Hive Heating?
The dashboard tile just constantly says “Checking status…” for me and the Temperature panel in the detailed view is no-cloud icon again.
@Alyc100
Did you generate your own “mnmn” and “vid” in the Hive Heating DTH (if so, how?)? Or is it someone else’s capability / presentation that you imported into your DTH?
I generated my own mnmn and vid. This walkthrough I found the most useful. Custom Capability and CLI Developer Preview
Hi… I’m not a developer so I dont understand what mnmn and vid mean, although I have manged to keep up to a point and Hive Connect is working … but every day or so it drops off line and I have to go to the app and tap to re-authenticate, which of course then finds new devices … this is a pain as I have to keep removing the old off line devices and setting the room on the new one and then modify my actiontiles dashboard. Is there a way to stop this or reduce it to once a month or less ? Def worth many Camden Hells if you can stop this reoccurring pain … Thanks Andy
Hi Andrew,
I had a similar problem - using the Heating DH, devices would report temp updates till they dropped off shortly after. They also wouldn’t adjust to temperature adjustments made in Webcore or ST.
Using the TRV DH would allow adjustments in Webcore but wouldn’t show any temp updates within ST.
I’ve merged parts of the two DH’s together, and now my devices have stayed on, are reporting temp changes and allowing changes made to the devices from Webcore.
Only done this in the last few days, but all seems okay at the mo… (minus setting temps in the app).
Im happy to share the code if there’s an easy way to? Hopefully it helps…
It may help Frazzlegod too with the checking status…
So if I understand what you are saying is by merging the two DH you have a new DH for the Heating that seems to work… That sounds good , did you do the same for the hot water DH ? As I use both (I do have a hive smart plug but no TRV or other Hive devices) and all devices drop off when the authentication stops … which is what I would expect to happen.
Yeah I merged parts from both the heating and TRV one to form a separate one. Only a few line changes, the majority is the same between them.
I haven’t looked at hot water as we don’t have it… sorry!
You thought about moving the plug to Smart Things directly? It registers as a standard zigbee device.
Would you mind posting the DTH for the TRV please, I have the same issue. Commands and SetPoint changes make their way to Hive but ST never updates. Thanks
Thanks Matt
Did as you suggested with smart plug … but main problem is the need to keep manually refreshing the authentication… have I missed some steps or a code update somewhere as this is a real pain.
Many thanks Andy
Hi Alex.
Huge thanks for your work on this, but I have an error that I can’t find an answer for in the forum:
I have disabled 2FA in the mobile app; updated the SmartThings SmartApp to 3.2c.; run through the steps, including a manual edit of step 18.
When I run step 19 the HiveTokens.js file is empty and I get this error:
C:\Users\hamst\node_modules\amazon-user-pool-srp-client>node index.js > HiveTokens.json
(node:12720) UnhandledPromiseRejectionWarning: Error: User does not exist.
at C:\Users\hamst\node_modules\amazon-user-pool-srp-client\index.js:136:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ...
to show where the warning was created)
(node:12720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:12720) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Any idea where I went wrong, please?
User does not exist.
Did you do step 17 correctly? Make sure your email and password are in the index.js file, and it is the email you use to log in to Hive.
Doh! What a n00b I am.
I had ‘.com’ twice on the email address. Should have spoken to the Rubber Duck
Many thanks, Mark W.
I’ve been running Hive Connect for a couple of years now (only Heating element). It worked perfectly until about a month ago - easily solved though; I updated the SmartApp and Device Handler. About a week ago it stopped working again. I updated everything again but this time it still wouldn’t work. The problem seems to be within the authentification in the SmartApp. The app just freezes when i try and authenticate. I have tried to delete the smartapp and start again but i can’t delete it both on my phone and on my IDE - on my phone it just doesn’t delete when i click delete and i can’t delte on the IDE as it says a user is using it.
What’s changed recently? I notice there’s a bit about adding nodes etc. I haven’t done this previously, will it not work unless i do this? I did look at this but my operating system on my PC is old so i can’t run node.js
Yes. Hive changed the authentication so Alex had to update the app. Update the app and devices. Then you need to follow that procedure with Node above. It is a bit of a pain. but it works. Only addition step I had to do was to deselect the devices in the smartapp, then delete the devices through the ST app and then recreate them by re-selecting in the smartapp.