MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Loxone

    Scheduled Pinned Locked Moved Utilities
    loxonesmart home
    94 Posts 11 Posters 93.9k Views 14 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bobbythemoh
      last edited by bobbythemoh

      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.js

      Thanks for the help!

      [npm install]0_1524740565704_Meldung_.PNG

      0_1524740911716_Config.js.png

      idoodlerI 1 Reply Last reply Reply Quote 0
      • idoodlerI Offline
        idoodler Module Developer @bobbythemoh
        last edited by

        @bobbythemoh Please check your config.json this is not a valid object. Your config should look like this:

        config: {
            host: '192.168.0.200',
            user: 'MagicMirror',
            pwd: 'YOUR_PW'
        }
        

        You are missing both the : and ,.

        Everything should be fine after you corrected the config.json. Your first screenshot just shows the correct installation process, you can ignore the WARN messages.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bobbythemoh
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • B Offline
            bobbythemoh
            last edited by

            Hi, the mirror looks like that right now:

            0_1524758054580_mirror.JPG

            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.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bobbythemoh
              last edited by

              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

              0_1524758642766_Mirror_2.JPG

              1 Reply Last reply Reply Quote 0
              • B Offline
                bobbythemoh
                last edited by

                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

                idoodlerI 1 Reply Last reply Reply Quote 0
                • idoodlerI Offline
                  idoodler Module Developer @bobbythemoh
                  last edited by idoodler

                  @bobbythemoh Let me quote the Readme.md for you.

                  This module doesn’t have its own visualisation, but it exposes information like the room temperature and other states other modules can and will use.

                  There is no UI, so it doesn’t make any sense to display it in the top right corner. Just uncomment position: "top_right", and MMM-Loxone won’t be displayed on your screen.

                  Motion sensor

                  Again, let me quote the Readme.md

                  If enabled this module will use the LightControllerV2 in the defined room to set the MagicMirror to sleep or wake it up

                  Requirements:

                  • roomUuid must be defined in your config.json
                  • The defined Room must contain at lease one LightControllerV2
                  • presence must be defined and set to true in your config.json

                  How it works:
                  The HDMI port of the Raspbery Pi will be dissabled, whenever you switch off your lights. Your monitor should then dissable its backlight automatically if there is no HDMI signal after a specific time.

                  Right now there is no automatic power saving (after a specific time), I may add it later tho.

                  Example:

                  • You enter the room -> Light switches on, mirror switcheson
                  • You leaf the room -> Light switches off after the defined timeout, mirror switches off

                  Definition:
                  Lights off = The mood “All off”

                  Do I use the LightControllerV2"?
                  Well, you should, it is much more powerfull than its predecessor:)
                  Just open the App, open your LightController, click on the lower right “More” button and look out for the word “Moods” (“Stimmungen” in German).

                  But I am missing an importand Feature!
                  Please file a Issue and describe what you are missing, I may implement it;)

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bobbythemoh
                    last edited by bobbythemoh

                    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

                    idoodlerI 1 Reply Last reply Reply Quote 0
                    • B Offline
                      bobbythemoh
                      last edited by

                      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?

                      idoodlerI 1 Reply Last reply Reply Quote 0
                      • idoodlerI Offline
                        idoodler Module Developer @bobbythemoh
                        last edited by

                        @bobbythemoh This sounds like you use some kind of other „screensaver“ which just displays a black screen instead of switching off the HDMI Port. I think you somehow enabled „screen blanking“.

                        1 Reply Last reply Reply Quote 0
                        • idoodlerI Offline
                          idoodler Module Developer @bobbythemoh
                          last edited by

                          @bobbythemoh btw. Just blacking out the screen is not realy saving much power if the backlight is still on… You just have to install MMM-Loxone, it will switch off the HDMI signal everytime the lights go out, your monitor will handle the rest (you might check your monitors Power saving setting).

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bobbythemoh
                            last edited by bobbythemoh

                            @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?

                            idoodlerI 1 Reply Last reply Reply Quote 0
                            • idoodlerI Offline
                              idoodler Module Developer @bobbythemoh
                              last edited by idoodler

                              @bobbythemoh I guess you have some sort of other “power saving” feature activated I am not familiar with. MMM-Loxone directly toggles the HDMI output on or off. It isn’t displaying a black view on top of the screen.

                              Please verify your /boot/config.txt!
                              In one ofyour posts you wrote hdmi_blanking_1 but it should be hdmi_blanking=1.

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                bobbythemoh
                                last edited by

                                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?

                                idoodlerI 2 Replies Last reply Reply Quote 0
                                • idoodlerI Offline
                                  idoodler Module Developer @bobbythemoh
                                  last edited by

                                  @bobbythemoh Did you reboot after correcting the option?

                                  1 Reply Last reply Reply Quote 0
                                  • idoodlerI Offline
                                    idoodler Module Developer @bobbythemoh
                                    last edited by

                                    @bobbythemoh You may also try to uninstall xscreensaver

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      E3V3A
                                      last edited by

                                      There is indeed some very weird issue going on with the HDMI and screen saver/blanking as I reported here. It started after I updated my kernel (from 4.9.80) & what else came with it. Out of curiosity, what is your OS version?

                                      "Everything I do (here) is for free – altruism is the way!"
                                      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        bobbythemoh
                                        last edited by bobbythemoh

                                        @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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          SuperSchenk @bobbythemoh
                                          last edited by

                                          @bobbythemoh said in 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

                                          Bobby do you have a solution for this? I’m having the exact same problem since updating my pi to the latest version of rasbian

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            bobbythemoh
                                            last edited by

                                            no, solution yet unforunately.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 5 / 5
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy