@fox this doesn’t go within the whitelist section it has to go after the comma at the end of your whitelist section.
It is its own config parameter.
address:“0.0.0.0”,
@fox this doesn’t go within the whitelist section it has to go after the comma at the end of your whitelist section.
It is its own config parameter.
address:“0.0.0.0”,
Due to a change in one of the default configuration items since the latest version came out you need to put
address:“0.0.0.0”,
As a config item (not in your whitelist… This is a new line for your config)
Note, setting to 0.0.0.0 is telling the mirror to use any interface. If you want you could replace that with your mirror’s ip address.
@d3r said in After update to Mirror to 2.1.3 - no working Whitlist:
address:“0.0.0.0”,
Thanks d3r, this was indeed the solution.
@JoeFranz I had same issue (except for me it was the calendar.js file it didnt like… this was because I had manually edited that file to apply hotfix for 24h times).
You can run a git reset --hard which will ‘fix’ the readme.md file you must have edited… a word of warning though- this will also reset your custom.css (at least it seemed to for me) so make sure you take a copy 1st.
@knubbl I noticed mine was also displaying a lot more entries than it used to since I updated to 2.1.3.
Do you have more than 1 calendar showing? I have 2 calendars so by setting the parameter to ‘5’ it shows a total of 10 now.
Me too… my old WL settings don’t work & also using a blank whitelist (which the update description says should allow all hosts) also doesn’t work.
Should the font also look different? I realise the Roboto font was ‘moved’ but should it still apply (or do I have to define it in CSS?)
@invisible.inq OK, sounds like you confirmed it does work then (sometimes certain devices need a resistor wired in series with either gnd or the input pin so just thought it may have been a factor).
Only other obvious thing I can think of is to confirm pin no in your mmm-pir-sensor config is correct… Your script uses bcm numbering pin 17 so configuration needs 17 as well.
@invisible.inq can you confirm the input changes by using “gpio read (pin no eg 22)” before & after moving in front of the sensor? Is there a chance you need a resistor wired in?
@Sean I’m not using the screen controls so that’s fair enough. I just compared the temp from MMM-Tools to that from MMM-system stats and yes you’re correct the values are wrong if I set the type to ATB. Forgive my rambling :)
I was having problems with this before (using a PIR sensor though, but shouldn’t matter so long as you use “GPIO read” to confirm the pin changes state from 0 to 1 when your sensor is triggered). My problem was that the screen saver was still active so although the monitor was switched ‘on’ the screen was still blank. I had tried various different things to disable the screen saver, but it just kept causing me problems. I solved it by using Xdotool to simulate a spacebar press after the vcgencmd was fired.
1st thing to check is that the the vcgencmd does actually make the screen go on /off (you can just type the command in to putty and confirm the screen operates correctly.
Note that that the modification I made above is now no longer required for me… for other reasons I actually started from scratch with a clean Raspian install, MM install etc. This time round it all just works correctly so the xdotool fix is no longer required.
@Kimzer @Sean
Yup, can confirm it works just fine in top_left… my top left width happens to be manually set to be 480px due to another module I’m running so that’s probably why its happy now.
BTW I forgot to set to RPI, but it actually still worked just fine when set to ATB by default.
Tried this module, even with a default config it doesn’t seem to display any of the actual values, just the titles:
Running Rpi3 Raspian Jesse
No errors during startup:
Starting MagicMirror: v2.1.2
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: MMM-Tools
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-Tools
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...
Launching application.
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
Config used:
{
module: 'MMM-Tools',
position: 'bottom_right',
config: {
device : "RPI", // "RPI" is also available
refresh_interval_ms : 10000,
warning_interval_ms : 1000 * 60 * 5,
enable_warning : true,
warning : {
CPU_TEMPERATURE : 65,
GPU_TEMPERATURE : 65,
CPU_USAGE : 75,
STORAGE_USED_PERCENT : 80,
MEMORY_USED_PERCENT : 80
}
}
},

Edit your calendar.js
Find the bit that says-
longDateFormat
Change LT: “hh:mm”
To
LT: “HH:mm”
@ceddirr looks like you’re running npm install from the modules directory, you probably want to cd in to the wunderlist folder (which itself is in modules) then run the npm install
@mongo116 Cheers, have updated & will keep an eye on it.
FWIW it hadn’t thrown the error again since I restarted it yesterday either.
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.
@mongo116- Don’t know how your module is going for you, but I seem to be getting errors appearing in my PM2 logs… my mm-out log is filling up with :
Whoops! There was an uncaught exception...
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
my mm-error log has lots of:
TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (/home/pi/MagicMirror/modules/MMM-Hive/node_helper.js:87:21)
at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:884:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
seems to happen regularly, but cant really tell exactly what causes it. The module still appears to be working so whatever this is, it isn’t crashing the module or MM itself.
Is yours doing this as well? Let me know if I can do anything else to gather info to troubleshoot.
BTW, your default values in the readme appear to be wrong.
The JS shows they are set to
highestTemp: ‘30’
highTemp: ‘25’
lowTemp: ‘20’
lowestTemp: ‘15’
But readme shows 30 for all of them
Good stuff, works great.
I was hoping someone would get a hive module up as I don’t have the knowledge to program one myself.
Cheers!
@paviro Cheers for making a very useful module.
I have made some modifications to node.js to make it work in my situation. I’ve never really done any javascript programming, so what I did was kind of hacked together from various forums. As you know what you’re doing it would be great if you could include any of these features for future versions (I’ve never used GIT before so not sure how to fork etc).
I had to make the following modifications-
As I understand I will lose these changes if you upgrade your module next time I do a GIT pull.
My code below if it is of interest to anyone:
switch off
exec("vcgencmd display_power 0"); //Used in favour of tvservice
switch on
exec("vcgencmd display_power 1"); //Used in favour of tvservice
exec("xdotool key space"); //simulate spacebar to disable screensaver. Needs xdotool to be installed