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 83.8k 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.
    • M Offline
      Meininger
      last edited by

      @idoodler keeping up to Date is the only way to make Things better… 😉

      1 Reply Last reply Reply Quote 1
      • M Offline
        Meininger
        last edited by

        @idoodler at the Moment it is an new error, the mirror dosn´t start. Its an error at boot “detect-rpi” module can not load. So i deactivate the complete Loxone Module in Mirror config file, than start´s the mirror like before, but without the cool Loxone feature. :-(

        1 Reply Last reply Reply Quote 0
        • D Offline
          DO86
          last edited by

          Hello everyone,

          I also have some trouble configuring the Loxone module. The MM itself and the calender, traffic, weather an News modules are running without any problem.

          BUT: The Loxone modules does not want to run at all. Attached you’ll find the required parts of my config.

          Maybe some of you can find the wrong passage.

          Thanks in advance

          1_1550254824769_MMM_lox2.PNG 0_1550254824767_MMM_lox1.PNG

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

            @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
                                                            ]
                                                }
                            },
            
            1 Reply Last reply Reply Quote 0
            • B Offline
              bobbythemoh
              last edited by

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

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

                @bobbythemoh Hi, may you please post the MagicMirrors log via pm2 log mm. Did you update your Raspberry pi?

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

                  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)
                  
                  
                  idoodlerI 1 Reply Last reply Reply Quote 0
                  • idoodlerI Offline
                    idoodler Module Developer @bobbythemoh
                    last edited by

                    @bobbythemoh I am currently unable to test it on a Raspberry Pi running Raspbian, because I am working on another project. Please try to execute /opt/vc/bin/tvservice -o, this will turn off the HTMI port, if this won’t work there may be an issue with the last update of Rasbian.

                    I am currently anyway working on another method to toggle the HDMI port on different operating systems, so I may resolve this anyway.

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

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

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

                        @bobbythemoh I just double checked the code, if you disable the presence property there is no way to toggle the display by the Loxone Module. Do you see the log message Got lightMood change to: All off(778) after you disable the presence property.

                        The Monitor is directly toggled after the log command.

                        1 Reply Last reply Reply Quote 2
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 6 / 10
                        • 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