• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. mongo116
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
M
Offline
  • Profile
  • Following 0
  • Followers 1
  • Topics 9
  • Posts 65
  • Groups 1

Posts

Recent Best Controversial
  • RE: MMM-Hive

    @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

    posted in Utilities
    M
    mongo116
    Aug 7, 2017, 6:40 PM
  • RE: MMM-Hive

    @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 :)

    posted in Utilities
    M
    mongo116
    Aug 7, 2017, 6:27 PM
  • RE: MMM-Hive

    @spwood100 It looks like it should be working. I’ve just updated the module though and added the payload when debug is true. This should now output a load of text when in the console. Which is the JSON response from the Hive server relating to your receiver. You should see something like the following:

    “name”:“Your Receiver”,“nodeType”:“http://alertme.com/schema/json/node.class.thermostat.json#”

    I am using the “name”:“Your Receiver” to find the correct node (as this is the one that holds the temperature info). Could be that your’s is called something else. I’d say attach the complete JSON here, but I cannot be sure there isn’t anything in there that you wouldn’t want to put on a public website! So best bet is to copy / paste the text (starting with {“meta”:{},“links”:{},“linked”:{},“nodes”:[ and ending with }}}]}) into notepad++, and use the JS Tool plugin, which has a very good JSON viewer. If you run the JSON viewer, you will then see meta, links, linked, nodes etc on the left pane. If you can expand Nodes and then go into each one (0, 1, 2, etc) and let me know the ‘name:’ for each node (with the corresponding node number).

    Thanks

    posted in Utilities
    M
    mongo116
    Aug 7, 2017, 3:49 PM
  • RE: MMM-Hive

    @spwood100 Can you add deb: true, to your config.js under the MMM-Hive configuration options, and then reload and check the developer tools console. It should show more detailed information.

    posted in Utilities
    M
    mongo116
    Aug 7, 2017, 10:48 AM
  • RE: MMM-Hive

    @spwood100 Ok, let me know. Thanks…

    posted in Utilities
    M
    mongo116
    Aug 5, 2017, 9:36 AM
  • RE: MMM-Hive

    @spwood100 Hi, can you connect to the magicmirror via Chrome or some other browser and enable developer tools (F12). Refresh the page and you should see information shown in the developer tools window. If you set debug: true in the config.js that will output more details. If your username / password are wrong, then it should show that on the magic mirror screen.

    posted in Utilities
    M
    mongo116
    Aug 4, 2017, 12:01 PM
  • RE: MMM-Hive

    I came back from work and had loads of the uncaught exception errors, but the module was not showing any error on the screen. Apparently the internet had been down since 2pm, so looks like that was the cause. Hopefully the errors being seen are just down to the Hive site not being available, so the changes I have made should prevent these from generating errors. If you have debug on though you will see them. Hopefully it’s sorted now :)

    posted in Utilities
    M
    mongo116
    Aug 2, 2017, 5:50 PM
  • RE: MMM-Hive

    @randomnoise I’ve updated github with the changes. Can you update and enable debug. I’ve added a timestamp so if you have developer tools open, you should see the errors. Let me know. I will keep it running overnight to see whether I am still experiencing the problem. Thanks

    posted in Utilities
    M
    mongo116
    Aug 2, 2017, 5:19 PM
  • RE: MMM-Hive

    I’ve added some slight changes and I am going to leave it running today. I did see the same issue as you are having last night. Not sure why yet, but at least I am seeing the same. Once I’ve tested the changes for a day or so, I will update github and let you know.

    posted in Utilities
    M
    mongo116
    Aug 2, 2017, 7:19 AM
  • RE: MMM-Hive

    @randomnoise Let me know how it goes and I will do some troubleshooting myself.

    posted in Utilities
    M
    mongo116
    Aug 1, 2017, 5:21 PM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy