• 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
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.0k 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 @randomnoise
    last edited by Aug 2, 2017, 5:19 PM

    @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

    1 Reply Last reply Reply Quote 0
    • R Offline
      randomnoise
      last edited by Aug 2, 2017, 5:47 PM

      @mongo116 Cheers, have updated & will keep an eye on it.

      FWIW it hadn’t thrown the error again since I restarted it yesterday either.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mongo116 Module Developer
        last edited by Aug 2, 2017, 5:50 PM

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

        1 Reply Last reply Reply Quote 0
        • S Offline
          spwood100
          last edited by Aug 4, 2017, 10:41 AM

          Hi
          Thanks so much for building this module from the screenshots it looks excellent. I am getting a null value for the internal temperature from my thermosta, any ideas why this might be? I have double checked my username and password and proven this works by putting in a dummy value and it then refuses to authenticate so I don’t believe its that.

          0_1501843245749_hive MM screenshot.png

          Maybe its a case of RTFM??

          Thanks in advance
          Stephen

          M 1 Reply Last reply Aug 4, 2017, 12:01 PM Reply Quote 0
          • M Offline
            mongo116 Module Developer @spwood100
            last edited by Aug 4, 2017, 12:01 PM

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

            S 1 Reply Last reply Aug 4, 2017, 1:06 PM Reply Quote 0
            • S Offline
              spwood100 @mongo116
              last edited by Aug 4, 2017, 1:06 PM

              @mongo116 Thanks for the quick response. No error messages are showing in the console and I have also enabled verbose mode as well as debug mode. One thing I did notice is that I am running this on my dev server which is a few releases behind so I will try it on my prod which is at the latest release.
              Cheers

              M 1 Reply Last reply Aug 5, 2017, 9:36 AM Reply Quote 0
              • M Offline
                mongo116 Module Developer @spwood100
                last edited by Aug 5, 2017, 9:36 AM

                @spwood100 Ok, let me know. Thanks…

                1 Reply Last reply Reply Quote 0
                • S Offline
                  spwood100
                  last edited by Aug 7, 2017, 10:43 AM

                  Hi
                  Just tested it on an up to date version of MM and still the same issue. The logs do not show anything out of the ordinary

                  /home/pi/.pm2/logs/MagicMirror-out-0.log last 15 lines:
                  0|MagicMir | Starting server on port 8080 …
                  0|MagicMir | Server started …
                  0|MagicMir | Connecting socket for: updatenotification
                  0|MagicMir | Connecting socket for: calendar
                  0|MagicMir | Starting node helper for: calendar
                  0|MagicMir | Connecting socket for: MMM-Hive
                  0|MagicMir | Starting node helper for: MMM-Hive
                  0|MagicMir | Connecting socket for: newsfeed
                  0|MagicMir | Starting module: newsfeed
                  0|MagicMir | Sockets connected & modules started …
                  0|MagicMir | Launching application.
                  0|MagicMir | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
                  0|MagicMir | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                  0|MagicMir | Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
                  0|MagicMir | Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml

                  however in developer mode I can see the the payload for the inside temp is not getting generated where as the outside temp is

                  0_1502102554369_MMM-HIVE log.jpg

                  Do I have to enable something on my Hive account to let the API be called on it?

                  Cheers

                  M 1 Reply Last reply Aug 7, 2017, 10:48 AM Reply Quote 0
                  • M Offline
                    mongo116 Module Developer @spwood100
                    last edited by Aug 7, 2017, 10:48 AM

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      spwood100
                      last edited by Aug 7, 2017, 12:27 PM

                      Hi Mongo

                      Thanks for your continued help on this. This is my config for this module and it doesnt give more detailed information in developer tools than already shown. Is there something worng with how I am calling it?

                      {
                      module: “MMM-Hive”,
                      header: “Hive”,
                      position: “top_right”,
                      config: {
                      temperatureSuffix: “°C”,
                      username: “myusername”,
                      password: “mypassword”,
                      postcode: ‘whereIlive’,
                      showNext: true,
                      debug: true,
                      animatedLoading: true,
                      highestTemp: ‘22’,
                      highTemp: ‘20’,
                      lowTemp: ‘16’,
                      lowestTemp: ‘14’,
                      },
                      },

                      nothing in the pm2 error logs either it just does not look to be calling the payload for the INTERNAL temp.

                      Cheers

                      S 1 Reply Last reply Aug 7, 2017, 12:36 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        16/39
                        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