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.

    Any MMM-Hive Users that can help, please?

    Scheduled Pinned Locked Moved Troubleshooting
    34 Posts 4 Posters 20.3k Views 4 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.
    • D Offline
      Damian @Damian
      last edited by Damian

      @randomnoise
      @mongo116

      Ok, deleted MMM-Hive from Pi MM, and started again… still got same result😣
      Did as you suggested and opened up deb on PC, but no clue whatsoever what or where to find info that you need to see? - I have debug - true set in config

      Then thought to put MMM-Hive onto my PC MM… just to see if it would work on there any better… nope ! 😣
      One thing I did notice, and this could mean nothing? But my Thermostat and receiver are both named Receiver 1… and as such, I duly named the nodename Receiver 1… but, when looking at the debug info, that has retained the default Your Receiver… so, is that a possible problem? Why has that not changed since I have changed it in my config?

      I have attached a couple shots in the hope you can tell me what I should do in the debugger and what info you need me to look at and show you here.

      0_1520449490299_20180307_183947_resized.jpg

      0_1520449507622_20180307_184022_resized.jpg

      0_1520449719777_20180307_181911_resized.jpg

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

        Hi,

        The last screenshot shows Frost Protect Enabled. Is this actually active on your hive?

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          Damian @mongo116
          last edited by

          @mongo116
          Yeah, by default… I thought this was normal as the only other setting on thermostat is child lock… or lower/raise the frost protect. I took that screenshot when heating was on, but mirror shows it when on and off.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            Damian @Damian
            last edited by

            You have this too in your post of 7 months ago …

            0_1520453170157_Screenshot_20180307-200445.png

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

              @Damian Hi, yeah the frost protect should only show when the target temperature is below a certain value. I would guess the issue here is the data being received from Hive. I won’t ask you to paste the data here (which should show up under the browser’s developer console, when debug is enabled) as it contains data related to your account (from what I remember anyway). The most likely issue is that the receiver name is incorrect or that the relevant data relating to temperature etc is not where the module is expecting it to be. Unfortunately now I no longer have access to Hive there’s not much I can do to look into this. Sorry…

              D 2 Replies Last reply Reply Quote 1
              • D Offline
                Damian @mongo116
                last edited by

                @cowboysdude

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Damian @mongo116
                  last edited by

                  @mongo116

                  Sorry… I know you no longer have Hive, and unable to help, but I found this and wondered if this could have any bearing on it?

                  https://community.smartthings.com/t/release-hive-connect-v3-0-british-gas-hive/103473

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

                    @Damian Hi. I will give it a read and check the code. I just had a quick look and I may just be able to update the requests etc. Might be a bugger to test, but leave this with me and I will take a look.
                    Thanks…

                    D 1 Reply Last reply Reply Quote 1
                    • D Offline
                      Damian @mongo116
                      last edited by

                      @mongo116

                      Thanks very much … I realise you do not use Hive now, so it will be hard for you to test out changes, but I will try out everything you suggest and report back so you will know if they work or not.

                      Agree it will be tough this way, but if this is what your module needs in order to function, then it may be the only way to keep your module alive for Hive users eh?

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

                        @Damian I think I am making some headway into this issue. I will spend a bit of time when I can and hopefully get a new version out soonish

                        Cheers

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

                          I have got the temperature showing now (borrowed a hive login for testing) and I am looking at now adding whether hot water is on or off, and also a battery icon for the thermstat. I cannot for the life of me remember how to use github, but I will get these changes made, tested and update the module. No telling how long I will take, but it shouldn’t take too long - just need to find some time to finish coding and tidying it up.

                          Thanks

                          D 1 Reply Last reply Reply Quote 1
                          • D Offline
                            Damian @mongo116
                            last edited by

                            @mongo116

                            Thanks very much for fixing it… look forward to getting it working on my mirror. Was it a simple fix, of sorts? I couldn’t fathom out how others got it working okay if there is/was a problem? Was it the change in the smartthings link I gave you?

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

                              Looks like British Gas have just changed the way the api works, so there are changes to be made, not loads, but will take a bit of time. Got to fit it around DIY!

                              D 1 Reply Last reply Reply Quote 1
                              • D Offline
                                Damian @mongo116
                                last edited by

                                @mongo116

                                Thanks for your time o this. Glad I did indeed do the instal right and did everything as stated, as I did spend a lot of time going round and round with this on 2 seperate machines, thinking I did something wrong or missed something.

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

                                  @Damian Hi, I’ve updated https://github.com/flick116/MMM-Hive, do you want to try it and let me know. I’ve added some test bits and bobs, but if you haven’t got the settings then these shouldn’t show up.

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

                                    I was just testing and realised that when I was seeing the target temperature, it was when the system was in boost mode. So when not in boost mode, but the heating on, it’s not the same as previously, so it won’t show it’s heating. I need to look at how this is now working and update. You should see current temperature correctly using he updated code, but not target unless boost is on.

                                    D 2 Replies Last reply Reply Quote 1
                                    • D Offline
                                      Damian @mongo116
                                      last edited by

                                      @mongo116

                                      Thanks… but unfortunatly inside temp remains 0 :-(

                                      I do now see battery icon, although Red… but would expect that seeing as it cannot access my thermostat ( Named as Hive, and put Hive as nodename into config )

                                      Battery is good, only less than 6 months.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Damian @mongo116
                                        last edited by

                                        @mongo116

                                        Just on the off chance I am missing the blatant obvious… can you please paste your full settings here that you made on yours? Obviously not your personal ones :-)

                                        And your config to see what you put in there. … it’s always the smallest things that trip us up, so want to check everything 100% before I just give up on it.

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

                                          @Damian I didn’t make any changes to the config really, apart from adding some other settings, but these default to false if not defined.

                                          Could you enable debug in the config for MMM-Hive (debug: true,) and then load the magic mirror in a browser and enable developer tools (F12). In this window, ensure Console is the selected tab and then refresh the page (it’s easier to remove all other modules). When refreshed, you should then see a load of text when the hive module loads, something like the following:

                                          Tue, 10 Apr 2018 14:45:16 GMT MMM-Hive received notification: INSIDE - Payload: [{“id”:“xxx”,“type”:“heating”,“sortOrder”:1,“created”:1521812393853,“parent”:“xxx”,“props”:

                                          If you could copy / paste the text into notepad and then search for “type”

                                          The bit I am interested in, is the text straight after “type” - so in the above example it’s “heating”

                                          I am using the “type” to determine whether to pull back data for heating or hot water so if yours is named differently that is probably the issue. There might be more than one instance of “type”, so if you could let me know all.

                                          Hopefully it’s just that and I can then add a new setting so you can choose the name.

                                          Thanks

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

                                            The config I have just tested with:

                                            		{
                                            			module: "MMM-Hive",
                                            			position: "top_right",
                                            			header: "Hive",
                                            			config: {
                                            				username: '',
                                            				password: '',
                                            				postcode: '',
                                            				updateInterval: 10 * 60000,
                                            				outsideUrl: 'http://weather-prod.bgchprod.info/weather?postcode=',
                                            				temperatureSuffix: ' °C',
                                            				showNext: true,
                                            				highestTemp: '30',
                                            				highTemp: '25',
                                            				lowTemp: '20',
                                            				lowestTemp: '15',
                                            				animatedLoading: true,
                                            				debug: true,
                                            					},
                                            
                                            D 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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