• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 82.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.
  • B Offline
    bobbythemoh
    last edited by bobbythemoh Jul 17, 2019, 8:39 PM Jul 17, 2019, 8:39 PM

    @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)
    
    I 1 Reply Last reply Jul 17, 2019, 8:47 PM Reply Quote 0
    • I Offline
      idoodler Module Developer @bobbythemoh
      last edited by Jul 17, 2019, 8:47 PM

      @bobbythemoh Oh, now everything makes sense. You have errors in your config.js.

      Boolean values must not be strings. Replace "true" and "false" with true and false. in Javascript "false" is equal to true, so you basically have presence enabled :winking_face:

      B 1 Reply Last reply Jul 17, 2019, 8:54 PM Reply Quote 1
      • B Offline
        bobbythemoh
        last edited by Jul 17, 2019, 8:48 PM

        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.

        I 1 Reply Last reply Jul 17, 2019, 8:53 PM Reply Quote 0
        • I Offline
          idoodler Module Developer @bobbythemoh
          last edited by Jul 17, 2019, 8:53 PM

          @bobbythemoh Yes, it looks like there is an issue with tvservice with one of the last Raspbian updates. I am looking into fixing this and also support more operating systems.

          B 1 Reply Last reply Jul 17, 2019, 8:56 PM Reply Quote 1
          • B Offline
            bobbythemoh @idoodler
            last edited by Jul 17, 2019, 8:54 PM

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

            1 Reply Last reply Reply Quote 1
            • B Offline
              bobbythemoh @idoodler
              last edited by Jul 17, 2019, 8:56 PM

              @idoodler thanks for the help als always, looking forward for the module working again, my wife already complained that she is missing it now that it is not there (first she complained that it is there) :D

              I 2 Replies Last reply Jul 17, 2019, 8:58 PM Reply Quote 1
              • I Offline
                idoodler Module Developer @bobbythemoh
                last edited by Jul 17, 2019, 8:58 PM

                @bobbythemoh Thanks for informing me about that issue. I am currently working on something else, so I had to ditch my current installation.

                Schönen Abend noch;)

                1 Reply Last reply Reply Quote 1
                • I Offline
                  idoodler Module Developer @bobbythemoh
                  last edited by idoodler Jul 19, 2019, 9:58 PM Jul 19, 2019, 9:57 PM

                  @bobbythemoh Hi, I have good news for you, I just pushed a fix. Please update MMM-Loxone for it to work again. I also made it a bit faster, I hope your wife will be happy again:smiling_face_with_open_mouth_smiling_eyes:

                  Btw. This issue semes to be related to one of the latest Raspbian updates, I assume its because the new Raspberry Pi has two HDMI outputs, so there may be some changes to the HDMI related code…

                  B 1 Reply Last reply Jul 21, 2019, 5:52 PM Reply Quote 1
                  • B Offline
                    bobbythemoh @idoodler
                    last edited by Jul 21, 2019, 5:52 PM

                    @idoodler Hey, i just updated. works perfectly again. Thanks a lot.

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      Phil__
                      last edited by Oct 1, 2019, 5:11 PM

                      Hello,

                      how can I change the font size?
                      The Font size of the displayed observingUuids…

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