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 so i have an idea how it not works for me. I dont use pm2 to start magicmirror. My mirror is in the badroom also for playing music, so i startet the setup with a max2play distribution for easy Audio Set up. Then i installed the magicmirror Script, its runs perfekt. Only starting the mirror with pm2 dosent work for me. So i looked for an other way to Start, i have found that with the crontap file, it starts the mirror at reboot.

      At the Moment the mmm-Loxone Script runs ok for me, room Temperature, notifications and virtual Status values are publisched on the mirror. Thank you for this god Job!

      My Loxone is on the acutal Software Version 10.0.9. 24.

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

        @meininger Ok, there may be some unexpected reconnects due to some changes in the authentication behavior on the Loxone side. But you shouldn’t see an issues because the Module will automatically reconnect to the Miniserver. I will update the module as soon as I can.

        Thanks for keeping me up-to-date 👍

        1 Reply Last reply Reply Quote 0
        • 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
                        • 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