Read the statement by Michael Teeuw here.
MMM-Hive
-
Node > Array > Object 2 - Your Reciever
Node > Array > Object 3 - Landing Light
Node > Array > Object 4 - Receiver 3 ( I think this is the hot water reciever)
Node > Array > Object 5 - Hub
Node > Array > Object 6 - This seems to be an API call
Node > Array > Object 7
Node > Array > Object 8 - Your Receiver
Node > Array > Object 9 - Receiver 2Hope this helps
-
@spwood100 Thanks for the info. I’ve updated the module and added a new config setting (‘nodeName’). Can you copy the debug text from the INSIDE debug info into notepad++ again, and using the JSON viewer drill down into each of the nodes. Only one should have stateHeatingRelay under attributes. Assuming only one does, make a note of the ‘name’ of this node and then add the following to the config section of the MMM-Hive section in your config.js:
nodeName: "value from above here",
Hopefully this should then pick up the inside temperature from your thermostat. If more than one have a stateHeatingRelay, then it’s back to the drawing board! As that’s not mentioned in any of the api details on the web :)
-
@spwood100 If I look at the payload from my Hive, I’m only seeing 5 nodes:
0: Your Receiver
1: Heating (thermostat)
2: Signal Booster
3: Your Hub
4: Heating (receiver)My system is only heating, so maybe that’s the issue. It may be that both the hot water and heating receiver have stateHeatingRelay in the JSON response. Let me know how you get on with the updated version though. Thanks
-
BINGO!!
It works, thanks so mych for your help on this (and obviously developing the module in the first place), its very much appreciated. Nice solution as well!
Cheers
S -
@spwood100 Fantastic news :)
So what was the nodeName you have used to get this working? -
Its Receiver 2 which I guess is a standard if its a multi node set-up as you cannot rename it.
Thanks again -
@mongo116 Hi - Looks like Hive have changed the login details and so the inside temp has stopped working. This can be fixed by changing the following line (#62) in node_helper.js from
url: lUrl + '/global/login',
to
url: lUrl + '/cognito/login',
-
Ah thank you, came here to research this issue and have just implemented your fix and all working again.
-
@rick Cheers for the details. I’ve updated and added some config options in case this changes again, so you only then need to update the config.
-
Looks like Hive have been changing login details yet again!. This time you need to change line(#67) in node_helper.js from
headers: { 'Content-Type': 'application/json'},
to
headers: { 'Content-Type': 'application/json', 'User-Agent': 'HiveRNApp/10.16.2' },