Read the statement by Michael Teeuw here.
MMM-Hive
-
@randomnoise I’m still waiting for my 2-way acrylic to arrive, so to be honest I haven’t run the module for any real length of time. Most I’ve really done is run it for a few hours. While the pi is still in bits waiting to be fitted into a frame, I will run MM and the module on my Windows desktop over night and see what’s occurring. Funnily enough, I have just started MM up and got the following error which I’ve not seen before
Whoops! There was an uncaught exception... TypeError: Cannot read property 'name' of undefined at D:\MagicMirror\modules\default\updatenotification\node_helper.js:35:43 at D:\MagicMirror\node_modules\simple-git\src\git.js:721:18 at Git. (D:\MagicMirror\node_modules\simple-git\src\git.js:761:18)
What are the config settings you are using for the module? What’s the updateInterval set as?
Thanks…
-
Haven’t changed any of the intervals so its just using module defaults
{ module: "MMM-Hive", position: "top_right", config: { temperatureSuffix: "°C", username: "[TOP SECRET]", password: "[NOPE]", postcode: '[WHERE I LIVE]', showNext: true, animatedLoading: false, highestTemp: '22', highTemp: '20', lowTemp: '16', lowestTemp: '14', }, },
Also got it running in my windows browser ATM with debug console open, but it hasn’t thrown the error yet. I don’t think its occurring all the time, but as my mirror has been running 24/7 there are quite a few of these errors in the logs so definitely not a one off. Log files don’t seem to time stamp entries so I can only tell if I see the timestamp of the log itself change when it occurred.
-
@randomnoise Let me know how it goes and I will do some troubleshooting myself.
-
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.
-
@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
-
@mongo116 Cheers, have updated & will keep an eye on it.
FWIW it hadn’t thrown the error again since I restarted it yesterday either.
-
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 :)
-
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.Maybe its a case of RTFM??
Thanks in advance
Stephen -
@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.
-
@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