@idoodler , did “vcgencmd” solve the issue?
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Loxone
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] -
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
-
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_1I 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 xscreensaverThere 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
-
RE: MMM-Loxone
alright, i had to reboot the mirror, now i can see the room temperature, communication seems to work.
how is the motion sensor supposed to work? My mirror shows blackscreen after some time but no standby for the monitor. Activating the motion sensor the display does not light up. Any ideas? How do you manage power consumption?Thanks

-
RE: MMM-Loxone
Hi, the mirror looks like that right now:

I dont see the temperature in the “current weather” module
How can i check, if the communication to loxone is working? Motion sensor activation does not work aswell.I think i am doing something wrong.
-
RE: MMM-Loxone
Hey, the first thing i have observerd so far is the power consumption of the Magic Mirror. Without Monitor i measure approx. 5 Watts, and if the monitor is on i measure 45W. The system was now running for some hours, but the monitor does not switch to “standby” mode. any ideas?
-
RE: MMM-Loxone
Hi, i tried to install the module today but i cant run it.
Please find attached a screenshot with a waring when i ran “npm install” and secondly the config i add in config.js
The magic mirror shows me that there is an error in the config.jsThanks for the help!
[npm install]


-
RE: MMM-Loxone
It would be nice if the module can work with udp commands. I would suggest sending „activity in room“ plus an integer and this is the alive time for the magic mirror.
-
RE: MMM-Loxone
GREAT this is what i am looking for aswell.
A feature i would like to see would be: My mirror is in the bathroom, so i am not in this room on regular basis. It would be nice if the motion sensor in the bathroom is activated that the monitor comes alive. After a certain activity period in the bathroom the MM should go back to “energy saving” -->either a screensaver or shutting off the monitor.Awesome work dude, looking forward for the module!
Thanks Robert
-
RE: FHEM Module
Hi, i am also using loxone and i am interested in the plugin. is it available?
thanks