MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bobbythemoh
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 0
    • Posts 38
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Sync private iCloud calendar with MagicMirror

      Hey - this script with vdirsyncer was working for years without any issues - recently i obersverd that my meetings are not shown any more - so i went to the console and entered “vdirsyncer discover” - and i am getting this error:

      warning: Failed to discover collections for iCloud, use -vdebug to see the full traceback.
      error: Unknown error occurred: 401, message=‘Unauthorized’, url=URL(‘https://caldav.icloud.com/.well-known/caldav’)

      I did check the iCloud API Keys - they are still there.
      Is anyone having the same issue? Does anyone know how to fix it?

      posted in Tutorials
      B
      bobbythemoh
    • RE: MMM-Loxone

      @sdetweil thanks, i will do so!

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Dear Community and David,
      I was operating the mirror for 3 years now without any issue but 2 weeks ago i destroyed it with an update. So i made a new setup and found out some things with MMM-Loxone where i need help. I did not change the hardware (still raspi 3B) - just new OS + Latest MM + Latest Modules.

      “Fade Out” is default false according to documentation but my obervation is: If nothing is in the config - it is fading out - if I set fadeout: false, peresence is not working anymore. I think this is not working correctly.

      The monitor is not switching off - its just getting black but no power safe option - so “wasting” 46 Watts all the time. i found a commit from 09.02.2022 where you removed “vcgencmd” because of compatibility issues - i found the passage in “node_helper.js” at line 314 - uncommented it and it works fine again.

      CSS Style - The font became so much smaller - i would like to make it bigger i tried to edit it in custom.css file but it did not change fontsize - then i found out that there is a “MMM-Loxone.css” - why is there a separate css?

      I tried to add the code below without success. How to make the font bigger?

      Thank you in advance!

      /*
       *
       * MMM-Loxone
       *
       * idoodler
       * MIT Licensed.
       *
       * Custom here your css module
       *
       */
      
      .xsmall{
      font-family: 'Roboto Condensed';
      font-size: 30px;
      line-height: 40px;
      }
      .small{
      font-family: 'Roboto Condensed';
      font-size: 30px;
      line-height: 40px;
      }
      .medium{
      font-family: 'Roboto Condensed';
      font-size: 30px;
      line-height: 40px;
      }
      
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Hey guys, I was pretty busy in work this week, so i just wanted to redo the installation, then i saw your post @sdetweil That solved the issue for me! thank you so much for your help…

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Well there is some weird stuff going on… config file is there…
      Guess thats not related to MMM-Loxone… i think ill do a new installation… or do you have a better idea?

      0|MagicMir | No helper found for module: clock.
      0|MagicMir | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
      0|MagicMir | Loading module helpers ...
      0|MagicMir | No helper found for module: alert.
      0|MagicMir | No helper found for module: clock.
      0|MagicMir | App threw an error during load
      0|MagicMir | Error: Cannot find module 'node_helper'
      0|MagicMir |     at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      0|MagicMir |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|MagicMir |     at require (internal/modules/cjs/helpers.js:20:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js:9:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js:82:3)
      0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:620:32)
      0|MagicMir | Whoops! There was an uncaught exception...
      0|MagicMir | { Error: Cannot find module 'node_helper'
      0|MagicMir |     at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      0|MagicMir |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|MagicMir |     at require (internal/modules/cjs/helpers.js:20:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js:9:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js:82:3)
      0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
      
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Here is what I did:

      cd MagicMirror/Modules
      rm -rf MMM-Loxone
      cd ~/MagicMirror/modules
      git clone https://github.com/idoodler/MMM-Loxone
      cd ~/MagicMirror/modules/MMM-Loxone
      npm install
      

      npm install gives:

      pi@MagicMirror:~/MagicMirror/modules/MMM-Loxone $ npm install
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something bett er. This package will continue to work with Grunt v1, but it will not receive any updates.
      
      > websocket@1.0.29 install /home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket
      > (node-gyp rebuild 2> builderror.log) || (exit 0)
      
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/build'
        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
        SOLINK_MODULE(target) Release/obj.target/bufferutil.node
        COPY Release/bufferutil.node
        CXX(target) Release/obj.target/validation/src/validation.o
        SOLINK_MODULE(target) Release/obj.target/validation.node
        COPY Release/validation.node
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-Loxone/node_modules/websocket/build'
      
      > lxcommunicator@1.0.1 postinstall /home/pi/MagicMirror/modules/MMM-Loxone/node_modules/lxcommunicator
      > node ./browserify.js
      
      Creating browserified module...
      Creating debug module
      Creating release module
      Saving debug module
      Saving release module
      LxCommunicator~Browser.js and LxCommunicator~Browser.min.js has been created!
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dep endencies yourself.
      npm WARN stylelint-config-standard@19.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must insta ll peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must ins tall peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":" any"} (current: {"os":"linux","arch":"arm"})
      
      added 650 packages from 453 contributors and audited 8175 packages in 323.529s
      found 1 moderate severity vulnerability
        run `npm audit fix` to fix them, or `npm audit` for details
      
      

      Then I did a reboot

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Hey if you mean to the Mini-Server Software, than no. It was working perfectly before the update. Ok, ill try reinstalling.

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      @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 }
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

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

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      @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

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

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

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      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.

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      @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)
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

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

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      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)
      
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

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

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      @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
                                                      ]
                                          }
                      },
      
      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      Hi @idoodler ,

      I have just tried to get the “observingUuids” working.
      I dont get anything on the MM. My question: Is there a way to test if I did something wrong with “ALERT” or with “MMM-Loxone”

          modules: [
                  {
                          module: "alert",
                          config: {
                                  //display_time: "3500",
                                  //alert_effect: "jelly",
                                  //effect: "slide",
                                  //position: "center"
                                  }
                  },
      

      MMM-Loxone:

                  {
                          module: "MMM-Loxone",
                          //position: "top_right", //macht keinen Sinn, ga kein GUI
                          config: {
                                  host: "192.168.0.200",
                                  user: "XXX",
                                  pwd: "XXX",
                                  presence: "true",
                                  //roomUuid: "0ea3ebd1-00eb-0517-ffff390cde3b9b45", //Arbeitszimmer
                                  roomUuid: "0ea3ebd1-00eb-04ef-ffff390cde3b9b45", //Badezimmer
                                  showInfoNotifications: "true",
                                  showErrorNotifications: "true",
                                  showSystemNotifications: "true",
                                  observingUuids:[
                                                  "103d9aaf-0037-597e-ffff390cde3b9b45",//Bad Luftfeuchte
                                                  "11aee03b-01ea-a7bb-ffff390cde3b9b45"
                                                  ]
                          }
                  },
      

      Furthermore, i found and interesting module called “mmm-openhabfloorplan”. I have seen it is using a HTTP server on the MagicMirror, would it be possible to adapt it for Loxone aswell?

      Regading displaying Charts: I found an extension called “MMM-ImagePhotos” Do you have any Idea, how the “Energy-Monitor” data can be exported on regular basis, like every minute? I was thinking of making a python skript that creates a picture every X Minutes and puts it to the display with the MMM-ImagePhotos. Do you have any suggestions?

      Thank you in advance.
      Robert

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      David, you are my hero, it works!!!
      Energy Consumption of RPI + 24" Monitor Powered ON = 56W; 3.4W if no one is present in the room. AWESOME!
      Thank you for the efforts!
      May I also ask you for the feature request with displaying variables from the Miniserver? Id like to see things like the PV production or an analog value like the level in a tank.

      Thank you so much!

      posted in Utilities
      B
      bobbythemoh
    • RE: MMM-Loxone

      @idoodler , i dont think so. Let me explain the behaviour of the Module:

      Light in the Room Switched ON, Booting the Mirror gives me the Mirror as it should be
      Switching the Light off, switches the Monitor off.
      Switchint the Light on again activates the Background light of the Monitor but does not give content
      Entering the command “xset -display :0 -dpms” while the light is switched ON brings back the content

      in my opinion this is not a miniserver issue since I can observe an reaction (Backlight of the monitor comes alive), this is an issue with the “tvservice”

      posted in Utilities
      B
      bobbythemoh
    • 1 / 1