pi@MagicMirror:~ $ pm2 log MagicMirror
[TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
/home/pi/.pm2/logs/MagicMirror-error-0.log last 15 lines:
0|MagicMir | [865:0515/052002.614227:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
0|MagicMir | #0 0x0000007fd980 <unknown>
0|MagicMir | #1 0x000000841db2 <unknown>
0|MagicMir | #2 0x0000012700d2 <unknown>
0|MagicMir |
0|MagicMir | npm ERR! code ELIFECYCLE
0|MagicMir | npm ERR! errno 1
0|MagicMir | npm ERR! magicmirror@2.3.1 start: `sh run-start.sh`
0|MagicMir | npm ERR! Exit status 1
0|MagicMir | npm ERR!
0|MagicMir | npm ERR! Failed at the magicmirror@2.3.1 start script.
0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
0|MagicMir |
0|MagicMir | npm ERR! A complete log of this run can be found in:
0|MagicMir | npm ERR! /home/pi/.npm/_logs/2018-05-15T05_31_52_606Z-debug.log
/home/pi/.pm2/logs/MagicMirror-out-0.log last 15 lines:
0|MagicMir | MMM-Loxone Search LightControls and LightV2Controls in room
0|MagicMir | MMM-Loxone Found LightControl (Lichtsteuerung) in room OG Bad
0|MagicMir | MMM-Loxone NotificationUuid: 0ea3ebd1-008d-029d-ffff390cde3b9b45
0|MagicMir | MMM-Loxone Enabling statusupdates
0|MagicMir | MMM-Loxone Successfully executed 'dev/sps/enablebinstatusupdate' with code 200 and value 1
0|MagicMir | MMM-Loxone Got lightMood change [1]
0|MagicMir | MMM-Loxone Got room temperature: 21.8
0|MagicMir | MMM-Loxone Got lightMood change [777]
0|MagicMir | MMM-Loxone Got lightMood change [778]
0|MagicMir | MMM-Loxone Got lightMood change [1]
0|MagicMir | MMM-Loxone Got lightMood change [777]
0|MagicMir | MMM-Loxone Got lightMood change [1]
0|MagicMir | MMM-Loxone Got lightMood change [777]
0|MagicMir | MMM-Loxone Got lightMood change [778]
0|MagicMir | MMM-Loxone Got lightMood change [1]
Read the statement by Michael Teeuw here.
Posts made by bobbythemoh
-
RE: MMM-Loxone
-
RE: MMM-Loxone
Hi, using this command brings back the Monitor signal:
xset -display :0 -dpms
-
RE: MMM-Loxone
@idoodler
I found this passage in your code:_togglePresence: function _togglePresence(isPresent) { if (isPresent) { // Check if hdmi output is already on exec("/opt/vc/bin/tvservice -s").stdout.on('data', function(data) { if (data.indexOf("0x120002") !== -1) exec("/opt/vc/bin/tvservice --preferred && chvt 6 && chvt 7", null); }); } else { exec("/opt/vc/bin/tvservice -o", null); } }
So you are using “tvserice -o” which seems not to work for me.
would this be an alternative? LinkExecuting the commands vom @E3V3A here Link brings the Monitor Signal back, but only 1 time.
Any idea?
-
RE: MMM-Loxone
@idoodler yes i did reboot. and i just uninstalled xscreensaver (after that i did a reboot) but no change in the behaviour.
@E3V3A I used “uname -a”:
Linux MagicMirror 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux -
RE: MMM-Loxone
OK you were right, i changed it but there is no change in the behaviour. The Monitor remains without video signal just with backlight if i switch the light in the room on. Do you have any hint for me what i can check?
-
RE: MMM-Loxone
@idoodler
Here is what i have observed:
XScreensaver is installed, Screensaver is disabled.
Rebooting the magic mirror with presence ON and light in the room on gives the magic mirror as it should be.
Leaving the magic mirror in this state (and also the light in the room) does not lead to screensaver, the picture stays as it is.
Switching off the light in the room also blacks out the monitor, power consumption goes down to 5W also without “#hdmi_blanking_1” but here is the issue:
Switching on the light in the room after blacked out monitor brings the monitor backlight and the power consumption back but not the UI.With VNC i can see the UI, moving the mouse does not bring the UI back on the direct connected monitor.
Any idea?
-
RE: MMM-Loxone
OK it seems that it is not a screensaver issue. I fully disabled it and the content of the magic mirror is not coming back. its just the backlight of the LCD that is getting switched on and off. any Idea?
-
RE: MMM-Loxone
Thank you very much for the help, its really nice what you created with this module.
I skipped the GUI as you suggested, RoomID is set, LightcontrollerV2 is in use, Presence is TRUE.
What i changed on RPI config was :
/boot/config.txt
#hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=68 hdmi_blanking_1
I am using VGA Monitor with HDMI to VGA adapter.
Setting “presence” to true gives me a black screen after loading MM. Swtiching on the light in the room switches on the backlight of the monitor but does not show the content. The good thing is, with this configuration there is no power consumption of the lcd any more.
Using VNC i can see the magic mirror, so i think its a “screensaver” issue.
next thing i am trying is
sudo apt-get install xscreensaver
There was a hint that it is possible to disable the screensaver with this tool.
thanks for the help
-
RE: MMM-Loxone
Is there a way to display things like Energy Production / Consumption), which window / door is open or generally variables id like to see?
What about the underline below “MMM-Loxone” --> “module_3_MMM-Loxone” should there be the alarm notifications?
would you mind posting a screenshot of your MM?
Thanks