MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Hive

    Scheduled Pinned Locked Moved Utilities
    39 Posts 7 Posters 22.6k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mongo116 Module Developer @spwood100
      last edited by

      @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

      1 Reply Last reply Reply Quote 0
      • S Offline
        spwood100
        last edited by

        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

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mongo116 Module Developer @spwood100
          last edited by

          @spwood100 Fantastic news :)
          So what was the nodeName you have used to get this working?

          1 Reply Last reply Reply Quote 0
          • S Offline
            spwood100
            last edited by

            Its Receiver 2 which I guess is a standard if its a multi node set-up as you cannot rename it.
            Thanks again

            1 Reply Last reply Reply Quote 0
            • R Offline
              rick @mongo116
              last edited by

              @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',
              
              M 1 Reply Last reply Reply Quote 0
              • D Offline
                DarrenG
                last edited by

                Ah thank you, came here to research this issue and have just implemented your fix and all working again.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mongo116 Module Developer @rick
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rick
                    last edited by

                    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' },
                    
                    M 1 Reply Last reply Reply Quote 1
                    • M Offline
                      mongo116 Module Developer @rick
                      last edited by

                      @rick Thanks for that. Github has been updated :thumbs_up_light_skin_tone:

                      1 Reply Last reply Reply Quote 1
                      • M Offline
                        mongo116 Module Developer
                        last edited by

                        Not sure whether many are using this module but figured I’d provide an update on the changes I made today. I’ve now updated the module so that it works again! I have updated to include the new login process and from testing it all appears to work - would welcome any feedback though :)

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        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