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.
    • idoodlerI Offline
      idoodler Module Developer @bobbythemoh
      last edited by

      @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 Reply Quote 1
      • B Offline
        bobbythemoh
        last edited by

        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.

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

          @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 Reply Quote 1
          • B Offline
            bobbythemoh @idoodler
            last edited by

            @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

              @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

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

                @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
                • idoodlerI Offline
                  idoodler Module Developer @bobbythemoh
                  last edited by idoodler

                  @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 Reply Quote 1
                  • B Offline
                    bobbythemoh @idoodler
                    last edited by

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

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      Phil__
                      last edited by

                      Hello,

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

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

                        @idoodler I have to ask for help again:
                        Just updated my Magic Mirror with

                        cd MagicMirror
                        git pull
                        npm install
                        

                        Its Version is 2.9.0.
                        Now i am not able to start the Module any more…
                        pm2 Log gives:

                        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-RPI-LED
                        0|MagicMir | Starting module helper: MMM-RPI-LED
                        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 | ATTENTION: default value of option force_s3tc_enable overridden by environment.
                        0|MagicMir | Create new calendar fetcher for url: http://localhost:8080/modules/calendars/ - Interval: 300000
                        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 | (node:1367) UnhandledPromiseRejectionWarning: RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -1344780921
                        0|MagicMir |     at checkInt (internal/buffer.js:35:11)
                        0|MagicMir |     at writeU_Int32BE (internal/buffer.js:625:3)
                        0|MagicMir |     at Buffer.writeUInt32BE (internal/buffer.js:638:10)
                        0|MagicMir |     at WebSocketFrame.toBuffer (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketFrame.js:257:24)
                        0|MagicMir |     at WebSocketConnection.sendFrame (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketConnection.js:857:43)
                        0|MagicMir |     at WebSocketConnection.fragmentAndSend (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketConnection.js:793:14)
                        0|MagicMir |     at WebSocketConnection.sendUTF (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketConnection.js:733:10)
                        0|MagicMir |     at W3CWebSocket.send (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/W3CWebSocket.js:116:26)
                        0|MagicMir |     at LxWebSocket.self.onSend (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/vendor/WebSocketWrapper.js:192:21)
                        0|MagicMir |     at LxWebSocket.send (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/vendor/WebSocketWrapper.js:253:14)
                        0|MagicMir | (node:1367) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                        0|MagicMir | (node:1367) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                        0|MagicMir | Error: Malformed UTF-8 data
                        0|MagicMir |     at Object.stringify (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/crypto-js/core.js:478:24)
                        0|MagicMir |     at WordArray.init.toString (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/crypto-js/core.js:215:38)
                        0|MagicMir |     at Object.aesDecrypt (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/vendor/CryptoAdapter.js:189:26)
                        0|MagicMir |     at WebSocket._decryptResponse (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/modules/WebSocket.js:879:38)
                        0|MagicMir |     at WebSocket._handleResponse (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/modules/WebSocket.js:807:25)
                        0|MagicMir |     at WebSocket._textMessageHandler (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/modules/WebSocket.js:753:18)
                        0|MagicMir |     at W3CWebSocket.onmessage (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/vendor/WebSocketWrapper.js:99:56)
                        0|MagicMir |     at W3CWebSocket._dispatchEvent [as dispatchEvent] (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/yaeti/lib/EventTarget.js:107:17)
                        0|MagicMir |     at W3CWebSocket.onMessage (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/W3CWebSocket.js:234:14)
                        0|MagicMir |     at WebSocketConnection.<anonymous> (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/W3CWebSocket.js:205:19)
                        0|MagicMir | WebSocket: ERROR while parsing string: 'undefined'
                        0|MagicMir | SyntaxError: Unexpected token u in JSON at position 0
                        0|MagicMir |     at JSON.parse (<anonymous>)
                        0|MagicMir |     at WebSocket._handleResponse (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/modules/WebSocket.js:810:29)
                        0|MagicMir |     at WebSocket._textMessageHandler (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/modules/WebSocket.js:753:18)
                        0|MagicMir |     at W3CWebSocket.onmessage (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator/vendor/WebSocketWrapper.js:99:56)
                        0|MagicMir |     at W3CWebSocket._dispatchEvent [as dispatchEvent] (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/yaeti/lib/EventTarget.js:107:17)
                        0|MagicMir |     at W3CWebSocket.onMessage (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/W3CWebSocket.js:234:14)
                        0|MagicMir |     at WebSocketConnection.<anonymous> (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/W3CWebSocket.js:205:19)
                        0|MagicMir |     at WebSocketConnection.emit (events.js:182:13)
                        0|MagicMir |     at WebSocketConnection.processFrame (/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketConnection.js:552:26)
                        0|MagicMir |     at /home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/lib/WebSocketConnection.js:321:40
                        0|MagicMir | WebSocket:  socket failed! WS Close Code: 1006
                        0|MagicMir | { errorCode: 418 }
                        
                        idoodlerI 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 9
                        • 10
                        • 4 / 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