This is really helpful! Thanks.
I have a PIR motion sensor set up, but I am trying to work out if it is possible (or better yet already exists) to have the motion sensor become unresponsive/display not actually active during night hours (predefined by me) as I have the mirror set up in my room and if I get up during the night I don’t want it coming on as I never turn lights on since it takes forever for me to get back to sleep!
I do want the motion sensor to work like normal during the day however. Does the Cronjob method prevent the sensor from working during the on hours?
Read the statement by Michael Teeuw here.
Posts made by erycken
-
RE: {HowTo} turn on/off your monitor (Time based, PIR/Button, App)
-
RE: Newbie to everything - Error in module and cant work out why!
@sdetweil Here is the log. I did the update and it just black screened twice despite following all the instructions. Other people seem to be experiencing it still so I am gonna wait until its resolved before I update.
Anyway log below with a screen capture of the on screen issue.
![alt text](image url)Initializing MagicMirror. translator.js:197 Loading core translation file: translations/en.json translator.js:219 Loading core translation fallback file: translations/en.json loader.js:182 Load script: modules/MMM-Remote-Control//MMM-Remote-Control.js module.js:469 Check MagicMirror version for module 'MMM-Remote-Control' - Minimum version: 2.1.0 - Current version: 2.2.2 module.js:471 Version is ok! module.js:477 Module registered: MMM-Remote-Control loader.js:152 Bootstrapping module: MMM-Remote-Control loader.js:157 Scripts loaded for: MMM-Remote-Control loader.js:197 Load stylesheet: modules/MMM-Remote-Control/remote-control.css loader.js:159 Styles loaded for: MMM-Remote-Control loader.js:161 Translations loaded for: MMM-Remote-Control loader.js:182 Load script: modules/default/alert//alert.js module.js:477 Module registered: alert loader.js:152 Bootstrapping module: alert loader.js:182 Load script: modules/default/alert/classie.js loader.js:182 Load script: modules/default/alert/modernizr.custom.js loader.js:182 Load script: modules/default/alert/notificationFx.js loader.js:157 Scripts loaded for: alert loader.js:197 Load stylesheet: modules/default/alert/ns-default.css loader.js:159 Styles loaded for: alert translator.js:170 alert - Load translation fallback: translations/en.json loader.js:161 Translations loaded for: alert loader.js:182 Load script: modules/MMM-RPI-LED//MMM-RPI-LED.js module.js:477 Module registered: MMM-RPI-LED loader.js:152 Bootstrapping module: MMM-RPI-LED loader.js:182 Load script: modules/MMM-RPI-LED/shared/enums.js loader.js:157 Scripts loaded for: MMM-RPI-LED loader.js:159 Styles loaded for: MMM-RPI-LED loader.js:161 Translations loaded for: MMM-RPI-LED loader.js:182 Load script: modules/default/clock//clock.js module.js:477 Module registered: clock loader.js:152 Bootstrapping module: clock loader.js:182 Load script: vendor/node_modules/moment/min/moment-with-locales.js loader.js:182 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js loader.js:157 Scripts loaded for: clock loader.js:197 Load stylesheet: modules/default/clock/clock_styles.css loader.js:159 Styles loaded for: clock loader.js:161 Translations loaded for: clock loader.js:182 Load script: modules/default/calendar//calendar.js module.js:477 Module registered: calendar loader.js:152 Bootstrapping module: calendar loader.js:237 File already loaded: moment.js loader.js:157 Scripts loaded for: calendar loader.js:197 Load stylesheet: modules/default/calendar/calendar.css loader.js:197 Load stylesheet: vendor/node_modules/font-awesome/css/font-awesome.min.css loader.js:159 Styles loaded for: calendar loader.js:161 Translations loaded for: calendar loader.js:182 Load script: modules/default/currentweather//currentweather.js module.js:477 Module registered: currentweather loader.js:152 Bootstrapping module: currentweather loader.js:237 File already loaded: moment.js loader.js:157 Scripts loaded for: currentweather loader.js:197 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css loader.js:197 Load stylesheet: modules/default/currentweather/currentweather.css loader.js:159 Styles loaded for: currentweather loader.js:161 Translations loaded for: currentweather loader.js:182 Load script: modules/default/weatherforecast//weatherforecast.js module.js:477 Module registered: weatherforecast loader.js:152 Bootstrapping module: weatherforecast loader.js:237 File already loaded: moment.js loader.js:157 Scripts loaded for: weatherforecast loader.js:237 File already loaded: weather-icons.css loader.js:197 Load stylesheet: modules/default/weatherforecast/weatherforecast.css loader.js:159 Styles loaded for: weatherforecast loader.js:161 Translations loaded for: weatherforecast loader.js:182 Load script: modules/MMM-MyTraktSeries//MMM-MyTraktSeries.js module.js:477 Module registered: MMM-MyTraktSeries loader.js:152 Bootstrapping module: MMM-MyTraktSeries loader.js:237 File already loaded: moment.js loader.js:157 Scripts loaded for: MMM-MyTraktSeries loader.js:197 Load stylesheet: modules/MMM-MyTraktSeries/MMM-MyTraktSeries.css loader.js:159 Styles loaded for: MMM-MyTraktSeries translator.js:170 MMM-MyTraktSeries - Load translation fallback: translations/en.json loader.js:161 Translations loaded for: MMM-MyTraktSeries loader.js:182 Load script: modules/MMM-CalendarExt//MMM-CalendarExt.js module.js:477 Module registered: MMM-CalendarExt loader.js:152 Bootstrapping module: MMM-CalendarExt loader.js:237 File already loaded: moment.js loader.js:182 Load script: modules/MMM-CalendarExt/Configs.js loader.js:182 Load script: modules/MMM-CalendarExt/Render.js loader.js:157 Scripts loaded for: MMM-CalendarExt loader.js:237 File already loaded: font-awesome.css loader.js:197 Load stylesheet: modules/MMM-CalendarExt/custom.css loader.js:197 Load stylesheet: modules/MMM-CalendarExt/preset.css loader.js:159 Styles loaded for: MMM-CalendarExt loader.js:161 Translations loaded for: MMM-CalendarExt loader.js:197 Load stylesheet: css/custom.css MMM-Remote-Control.js:21 Starting module: MMM-Remote-Control alert.js:151 Starting module: alert clock.js:40 Starting module: clock calendar.js:67 Starting module: calendar currentweather.js:94 Starting module: currentweather weatherforecast.js:90 Starting module: weatherforecast MMM-MyTraktSeries.js:22 Starting module: MMM-MyTraktSeries main.js:422 All modules started! module.js:156 MMM-RPI-LED received a system notification: ALL_MODULES_STARTED module.js:156 clock received a system notification: ALL_MODULES_STARTED module.js:156 calendar received a system notification: ALL_MODULES_STARTED module.js:156 MMM-MyTraktSeries received a system notification: ALL_MODULES_STARTED module.js:156 MMM-RPI-LED received a system notification: DOM_OBJECTS_CREATED module.js:156 clock received a system notification: DOM_OBJECTS_CREATED module.js:156 calendar received a system notification: DOM_OBJECTS_CREATED module.js:156 MMM-MyTraktSeries received a system notification: DOM_OBJECTS_CREATED MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CALEXT_SAYS_READY from sender: MMM-CalendarExt module.js:154 MMM-RPI-LED received a module notification: CALEXT_SAYS_READY from sender: MMM-CalendarExt module.js:154 clock received a module notification: CALEXT_SAYS_READY from sender: MMM-CalendarExt module.js:154 calendar received a module notification: CALEXT_SAYS_READY from sender: MMM-CalendarExt module.js:154 MMM-MyTraktSeries received a module notification: CALEXT_SAYS_READY from sender: MMM-CalendarExt module.js:198 currentweather is suspended. module.js:198 weatherforecast is suspended. module.js:205 currentweather is resumed. MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CURRENTWEATHER_DATA from sender: currentweather module.js:154 MMM-RPI-LED received a module notification: CURRENTWEATHER_DATA from sender: currentweather module.js:154 clock received a module notification: CURRENTWEATHER_DATA from sender: currentweather module.js:154 calendar received a module notification: CURRENTWEATHER_DATA from sender: currentweather module.js:154 MMM-MyTraktSeries received a module notification: CURRENTWEATHER_DATA from sender: currentweather MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CALENDAR_EVENTS from sender: calendar module.js:154 MMM-RPI-LED received a module notification: CALENDAR_EVENTS from sender: calendar module.js:154 clock received a module notification: CALENDAR_EVENTS from sender: calendar module.js:154 MMM-MyTraktSeries received a module notification: CALENDAR_EVENTS from sender: calendar https://api.openweathermap.org/data/2.5/forecast/daily?id=2144528&units=metric&lang=en&cnt=7&APPID=2bf262b7e02e653bcb20aac437a35919 Failed to load resource: the server responded with a status of 401 (Unauthorized) weatherforecast.js:263 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint. MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-RPI-LED received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 clock received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 calendar received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-MyTraktSeries received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-RPI-LED received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 clock received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 calendar received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-MyTraktSeries received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt MMM-Remote-Control.js:36 MMM-Remote-Control received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-RPI-LED received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 clock received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 calendar received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154 MMM-MyTraktSeries received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt MMM-Remote-Control.js:36MMM-Remote-Control received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154MMM-RPI-LED received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154clock received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154calendar received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:154MMM-MyTraktSeries received a module notification: CALEXT_SAYS_CALENDAR_MODIFIED from sender: MMM-CalendarExt module.js:205 weatherforecast is resumed.
unnamed.png
-
RE: Newbie to everything - Error in module and cant work out why!
Completely remade my mirror (without doing updates this time) and still getting the loading issue… Just a little FYI.
@sdetweil I did as you suggested and I didn’t see anything stand out to me other than this :
ScreenCapture.pngSuggestion?
-
RE: Newbie to everything - Error in module and cant work out why!
Ok so my mirror is completely messed up since the update (might be partially my fault though I have no idea) so I am going to try and rebuild my mirror from scratch over the next few days…
I’ll update you all on if the rebuild helps the error I am currently experiencing or if it is still present. Thanks… -
RE: Newbie to everything - Error in module and cant work out why!
@sdetweil Well… i just did the updates and it has given me a black screen… I think I may be able to get around the keyboard thing once I get back up and running!
-
RE: Newbie to everything - Error in module and cant work out why!
@sdetweil I am sorry, but where/how am I supposed to do this? I have disabled keyboard/mouse access to my pi and SSH in due to its location.
Edit : I have no idea how it was disabled as a mate did it.
-
RE: Newbie to everything - Error in module and cant work out why!
This is the error that the log spat. The module (MyTraktSeries) loads on the screen but then is stuck in a constant state of ‘Loading’ (literally what it says on screen). The rest of the modules come up fine and work as normal. I ran the log to see if anything was happening behind the screens.
-
Newbie to everything - Error in module and cant work out why!
Hi all,
I am a complete beginner at everything. Only been coding for a few months and it hasn;t even been in JS or HTML!
Couldn;t resist trying to get a MagicMirror and with the help of a proficient mate here I am.So here is my problem…(see attached image)… I am not sure where it is other than it relates to the MMM-MyTraktSeries module, which shows ‘loading…’ when displayed on my mirror.
Was wondering if someone could explain the issue to me (and possibly a solution?) so that I have better understanding on how to deal with this in the future!
Many thanks from me!