@idoodler OMG. thats what happens when an mechanical engineer works with code… sorry… :D i guess that was the reason why it takes long to start the MM, at least now its faster.
OK the presence problem is fixed, but the Display problem remains…
@idoodler OMG. thats what happens when an mechanical engineer works with code… sorry… :D i guess that was the reason why it takes long to start the MM, at least now its faster.
OK the presence problem is fixed, but the Display problem remains…
Hey, uncommenting the Room UUID gives with presence “false”:
0|MagicMir | Opening Socket to your Miniserver
0|MagicMir | MMM-Loxone Download LoxApp3.json
0|MagicMir | MMM-Loxone Search room with uuid: null
0|MagicMir | MMM-Loxone Couldn't find Room!
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
Now i can do whatever i want with the light, the video is ok.
@idoodler Hey,
In the config.js it says:
{
module: "MMM-Loxone",
position: "bottom_left",
config: {
host: "IP",
user: "User",
pwd: "PW",
presence: "false",
roomUuid: "0ea3ebd1-00eb-04ef-ffff390cde3b9b45",
showInfoNotifications: "true",
showErrorNotifications: "true",
showSystemNotifications: "true",
observingUuids:[
"103d9aaf-0037-597e-ffff390cde3b9b45",//Bad Luftfeuchte
"104c401f-03a0-9afc-ffff390cde3b9b45",//WarmwasserTemp
]
}
},
I switched on the monitor with light on, picture was there, i toggled the light to off, MM image is gone and does not come back. To your question, here is the log file, i can see the “got ligtmode”.
/home/pi/.pm2/logs/MagicMirror-out-0.log last 15 lines:
0|MagicMir | Create new news fetcher for url: http://derStandard.at/?page=rss&ressort=Seite1 - Interval: 300000
0|MagicMir | Create new news fetcher for url: https://rss.orf.at/news.xml - Interval: 300000
0|MagicMir | Opening Socket to your Miniserver
0|MagicMir | MMM-Loxone Download LoxApp3.json
0|MagicMir | MMM-Loxone Search room with uuid: 0ea3ebd1-00eb-04ef-ffff390cde3b9b45
0|MagicMir | MMM-Loxone Found room: OG Bad
0|MagicMir | MMM-Loxone Search IRC for room temperature
0|MagicMir | MMM-Loxone Found IRC (Intelligente Raumregelung) in room OG Bad
0|MagicMir | MMM-Loxone Search LightControls and LightV2Controls in room
0|MagicMir | MMM-Loxone Found LightControl (Badezimmerlicht) 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 room temperature: 22.9
0|MagicMir | MMM-Loxone Got lightMood change to: Custom mode(1)
0|MagicMir | MMM-Loxone Got lightMood change to: All on(777)
0|MagicMir | MMM-Loxone Got lightMood change to: All off(778)
0|MagicMir | MMM-Loxone Got lightMood change to: Custom mode(1)
@idoodler Hey, i tried the following things:
in config.js I set presence “false”; restart but after the MM is loaded, screen is getting dark. The only was to get a monitor signal is to restart with light in the room switched on although presence is “false”.
If the display was dark it does not come back any more:
I tried tvservice -o: It switches off HDMI, i can see the monitor going to sleep (flashing Power LED)
I tried tvservice -p: i can see the monitor coming alive but only with a black screen (constant Power LED).
If HDMI is on (-p) by connecting to the MM via VNC i can press STRG+Q to close MM; i can see the deskop on VNC but no change on the real Monitor.
So to summarize: if tvservice -o was set, the monitor signal does not come back any more (besides restart with light in the room)
Hi,
I did sudo apt-get update, then sudo apt-get upgrade.
Please find the log file. As you can see, changing the light status works.
0|MagicMir | Starting MagicMirror: v2.5.0
0|MagicMir | Loading config ...
0|MagicMir | Loading module helpers ...
0|MagicMir | No helper found for module: alert.
0|MagicMir | No helper found for module: clock.
0|MagicMir | Initializing new module helper ...
0|MagicMir | Module helper loaded: MMM-ImagesPhotos
0|MagicMir | Initializing new module helper ...
0|MagicMir | Check MagicMirror version for node helper 'MMM-Loxone' - Minimum ve rsion: 2.1.1 - Current version: 2.5.0
0|MagicMir | Version is ok!
0|MagicMir | Module helper loaded: MMM-Loxone
0|MagicMir | Initializing new module helper ...
0|MagicMir | Module helper loaded: calendar
0|MagicMir | No helper found for module: currentweather.
0|MagicMir | Initializing new module helper ...
0|MagicMir | Module helper loaded: MMM-MoonPhase
0|MagicMir | Initializing new module helper ...
0|MagicMir | Module helper loaded: newsfeed
0|MagicMir | All module helpers loaded.
0|MagicMir | Starting server on port 8080 ...
0|MagicMir | Server started ...
0|MagicMir | Connecting socket for: MMM-ImagesPhotos
0|MagicMir | Starting node helper for: MMM-ImagesPhotos
0|MagicMir | Connecting socket for: MMM-Loxone
0|MagicMir | Connecting socket for: calendar
0|MagicMir | Starting node helper for: calendar
0|MagicMir | Connecting socket for: MMM-MoonPhase
0|MagicMir | Starting module helper: MMM-MoonPhase
0|MagicMir | Connecting socket for: newsfeed
0|MagicMir | Starting module: newsfeed
0|MagicMir | Sockets connected & modules started ...
0|MagicMir | Launching application.
0|MagicMir | Create new calendar fetcher for url: http://localhost:8080/modules/ calendars/E4AD5817-F7E8-4334-AA45-34CBF51B7682.ics - Interval: 300000
0|MagicMir | Create new news fetcher for url: http://derStandard.at/?page=rss&re ssort=Seite1 - Interval: 300000
0|MagicMir | Create new news fetcher for url: https://rss.orf.at/news.xml - Interval: 300000
0|MagicMir | Opening Socket to your Miniserver
0|MagicMir | MMM-Loxone Download LoxApp3.json
0|MagicMir | MMM-Loxone Search room with uuid: 0ea3ebd1-00eb-04ef-ffff390cde3b9b45
0|MagicMir | MMM-Loxone Found room: OG Bad
0|MagicMir | MMM-Loxone Search IRC for room temperature
0|MagicMir | MMM-Loxone Found IRC (Intelligente Raumregelung) in room OG Bad
0|MagicMir | MMM-Loxone Search LightControls and LightV2Controls in room
0|MagicMir | MMM-Loxone Found LightControl (Badezimmerlicht) 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 room temperature: 22.4
0|MagicMir | MMM-Loxone Got lightMood change to: All off(778)
0|MagicMir | MMM-Loxone Got lightMood change to: Custom mode(1)
0|MagicMir | MMM-Loxone Got lightMood change to: All on(777)
0|MagicMir | MMM-Loxone Got lightMood change to: All off(778)
@idoodler : Today i updated my RPI and i add 2 Modules “MMM-RPI-LED” and “MMM-Moon-Phase” (Just a side info, maybe this is the reason for my issue).
“MMM-Loxone” was working perfect for a long time. Now i am having issues with the Monitor coming alive again.
Test-Scenario:
Light in the Room is ON; in the config I changed Presence: “false” -->MM Starts and works
now i am switching presence: “true”; light is still on -->MM Starts and works
now i am switching off the light --> MM gets dark
now I am switching on the light -->MM stays dark
in the PM2 LOG i can see the status of the light controller changing.
I think there was something changed in the OS. Does anyone experience a similar behaviour?
Thank you.
@DO86 I think “position” is wrong.
See my config:
{
module: "MMM-Loxone",
position: "bottom_left",
config: {
host: "Loxone IP",
user: "Username",
pwd: "Password",
presence: "true", //if you want to use the light controller V2 to toggle the display
roomUuid: "0ea3ebd1-00eb-04ef-ffff390cde3b9b45", //Room ID where MM is located
showInfoNotifications: "true",
showErrorNotifications: "true",
showSystemNotifications: "true",
observingUuids:[
"103d9aaf-0037-597e-ffff390cde3b9b45",//Variable you want to observe
]
}
},
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
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!
@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 content
in 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”