Read the statement by Michael Teeuw here.
MMM-Loxone
-
@bobbythemoh Ok, thanks. No unhandled rejections.
-
@idoodler , did “vcgencmd” solve the issue?
-
@bobbythemoh No. I think there is an issue within the communication module for the Miniserver. If the module crashes when the screen is turned off the screen will never be turned on again and vice versa.
-
@idoodler , i dont think so. Let me explain the behaviour of the Module:
Light in the Room Switched ON, Booting the Mirror gives me the Mirror as it should be
Switching the Light off, switches the Monitor off.
Switchint the Light on again activates the Background light of the Monitor but does not give content
Entering the command “xset -display :0 -dpms” while the light is switched ON brings back the contentin my opinion this is not a miniserver issue since I can observe an reaction (Backlight of the monitor comes alive), this is an issue with the “tvservice”
-
@bobbythemoh You misunderstoodme. I think the issue is in my code with the communication layer crashing resulting in not receiving any state changes, hence the mirror doesn’t know to enable the display again.
I just found an issue and testing it over the night.
-
@bobbythemoh I just pushed some changes, please update. Don’t forget to execute
npm install
after updatingMMM-Loxone
. -
David, you are my hero, it works!!!
Energy Consumption of RPI + 24" Monitor Powered ON = 56W; 3.4W if no one is present in the room. AWESOME!
Thank you for the efforts!
May I also ask you for the feature request with displaying variables from the Miniserver? Id like to see things like the PV production or an analog value like the level in a tank.Thank you so much!
-
@bobbythemoh please create a separate Issue in Github for the power consumption thing.
-
@bobbythemoh Please check the latest version of
MMM-Loxone
. It’s not possible to display custom states:) -
Hi @idoodler ,
I have just tried to get the “observingUuids” working.
I dont get anything on the MM. My question: Is there a way to test if I did something wrong with “ALERT” or with “MMM-Loxone”modules: [ { module: "alert", config: { //display_time: "3500", //alert_effect: "jelly", //effect: "slide", //position: "center" } },
MMM-Loxone:
{ module: "MMM-Loxone", //position: "top_right", //macht keinen Sinn, ga kein GUI config: { host: "192.168.0.200", user: "XXX", pwd: "XXX", presence: "true", //roomUuid: "0ea3ebd1-00eb-0517-ffff390cde3b9b45", //Arbeitszimmer roomUuid: "0ea3ebd1-00eb-04ef-ffff390cde3b9b45", //Badezimmer showInfoNotifications: "true", showErrorNotifications: "true", showSystemNotifications: "true", observingUuids:[ "103d9aaf-0037-597e-ffff390cde3b9b45",//Bad Luftfeuchte "11aee03b-01ea-a7bb-ffff390cde3b9b45" ] } },
Furthermore, i found and interesting module called “mmm-openhabfloorplan”. I have seen it is using a HTTP server on the MagicMirror, would it be possible to adapt it for Loxone aswell?
Regading displaying Charts: I found an extension called “MMM-ImagePhotos” Do you have any Idea, how the “Energy-Monitor” data can be exported on regular basis, like every minute? I was thinking of making a python skript that creates a picture every X Minutes and puts it to the display with the MMM-ImagePhotos. Do you have any suggestions?
Thank you in advance.
Robert