Hi idoodler.
I created 2 MMM-Loxone entries in config.js. See below.
For security reasons I don't mention current observingUuids because this issue is public.
{
module: "MMM-Loxone",
position: "bottom_right",
header: "Solar Energy Performance",
config: {
host: "x.x.x.x",
user: "xxx",
pwd: "-----",
roomUuid: "roomUuid", // Living Room temp in Weather Position
observingUuids: [
"observingUuids-1", // Energy Direction
"observingUuids-2", // Total Solar Energy Production
"observingUuids-3", // Current Power Consumption
"observingUuids-4", // Current Performance Energy Supplier
"observingUuids-5" // Real Time Solar Power Production
],
presence: true
}
},
{
module: "MMM-Loxone",
position: "bottom_right",
header: "Temperatures",
config: {
host: "x.x.x.x",
user: "xxx",
pwd: "-----",
observingUuids: [
"observingUuids-6" // Living Room Temperature
]
}
},
As you can see in the screenshot below the modules are Loading. No values are displayed.
I removed all parameters as you mentioned. Except required observingUuids in the second MMM-Loxone entry.
Below you will find pm2 error and out logs:
pm2 error log
[22.08.2021 15:16.23.253] [ERROR] WebSocket: socket failed! WS Close Code: -unknown-
[22.08.2021 15:16.23.262] [ERROR] MMM-Loxone { errorCode: 418 }
[22.08.2021 15:16.23.266] [ERROR] (node:13048) UnhandledPromiseRejectionWarning: #<Object>
[22.08.2021 15:16.23.267] [ERROR] (node:13048) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[22.08.2021 15:16.23.268] [ERROR] (node:13048) [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.
[22.08.2021 15:16.23.668] [WARN] MMM-Loxone Couldn't find Room!
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
pm2 out log
> [email protected] start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
[22.08.2021 15:16.10.490] [LOG] Starting MagicMirror: v2.16.0
[22.08.2021 15:16.10.495] [LOG] Loading config ...
[22.08.2021 15:16.10.501] [LOG] Loading module helpers ...
[22.08.2021 15:16.10.504] [LOG] No helper found for module: alert.
[22.08.2021 15:16.10.661] [LOG] Initializing new module helper ...
[22.08.2021 15:16.10.662] [LOG] Module helper loaded: updatenotification
[22.08.2021 15:16.10.663] [LOG] No helper found for module: clock.
[22.08.2021 15:16.10.804] [LOG] Initializing new module helper ...
[22.08.2021 15:16.10.805] [LOG] Module helper loaded: calendar
[22.08.2021 15:16.10.806] [LOG] No helper found for module: compliments.
[22.08.2021 15:16.10.807] [LOG] No helper found for module: weather.
[22.08.2021 15:16.10.831] [LOG] Initializing new module helper ...
[22.08.2021 15:16.10.832] [LOG] Module helper loaded: newsfeed
[22.08.2021 15:16.10.966] [LOG] Initializing new module helper ...
[22.08.2021 15:16.10.967] [LOG] Module helper loaded: MMM-BackgroundSlideshow
[22.08.2021 15:16.11.291] [LOG] Initializing new module helper ...
[22.08.2021 15:16.11.292] [LOG] Check MagicMirror version for node helper 'MMM-Loxone' - Minimum version: 2.1.1 - Current version: 2.16.0
[22.08.2021 15:16.11.293] [LOG] Version is ok!
[22.08.2021 15:16.11.294] [LOG] Module helper loaded: MMM-Loxone
[22.08.2021 15:16.11.520] [LOG] Initializing new module helper ...
[22.08.2021 15:16.11.521] [LOG] Module helper loaded: MMM-Remote-Control
[22.08.2021 15:16.11.521] [LOG] All module helpers loaded.
[22.08.2021 15:16.11.639] [LOG] Starting server on port 8080 ...
[22.08.2021 15:16.11.651] [LOG] Server started ...
[22.08.2021 15:16.11.652] [LOG] Connecting socket for: updatenotification
[22.08.2021 15:16.11.653] [LOG] Connecting socket for: calendar
[22.08.2021 15:16.11.654] [LOG] Starting node helper for: calendar
[22.08.2021 15:16.11.655] [LOG] Connecting socket for: newsfeed
[22.08.2021 15:16.11.656] [LOG] Starting node helper for: newsfeed
[22.08.2021 15:16.11.656] [LOG] Connecting socket for: MMM-BackgroundSlideshow
[22.08.2021 15:16.11.658] [LOG] Connecting socket for: MMM-Loxone
[22.08.2021 15:16.11.660] [LOG] Connecting socket for: MMM-Remote-Control
[22.08.2021 15:16.11.661] [LOG] Starting node helper for: MMM-Remote-Control
[22.08.2021 15:16.11.668] [LOG] Sockets connected & modules started ...
[22.08.2021 15:16.11.925] [LOG] Launching application.
[22.08.2021 15:16.14.988] [LOG] Create new calendarfetcher for url: (for security reasons not showed) - Interval: 300000
[22.08.2021 15:16.15.087] [LOG] Create new calendarfetcher for url: (for security reasons not showed - Interval: 300000
[22.08.2021 15:16.15.332] [LOG] Create new newsfetcher for url: (for security reasons not showed) - Interval: 300000
[22.08.2021 15:16.15.339] [LOG] Create new newsfetcher for url: (for security reasons not showed - Interval: 300000
[22.08.2021 15:16.15.350] [INFO] Checking git for module: MMM-BackgroundSlideshow
[22.08.2021 15:16.15.991] [INFO] Calendar-Fetcher: Broadcasting 0 events.
[22.08.2021 15:16.16.015] [INFO] BACKGROUNDSLIDESHOW: Reading directory "(for security reasons not showed)" for images.
[22.08.2021 15:16.16.021] [INFO] BACKGROUNDSLIDESHOW: 25 files found
[22.08.2021 15:16.17.373] [INFO] Calendar-Fetcher: Broadcasting 5 events.
[22.08.2021 15:16.17.479] [INFO] Checking git for module: MMM-Loxone
[22.08.2021 15:16.17.585] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:16.17.592] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
[22.08.2021 15:16.18.040] [INFO] Checking git for module: MMM-Remote-Control
[22.08.2021 15:16.18.437] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
[22.08.2021 15:16.19.077] [INFO] Newsfeed-Fetcher: Broadcasting 60 items.
[22.08.2021 15:16.23.194] [INFO] MMM-Loxone Opening Socket to your Miniserver
[22.08.2021 15:16.23.255] [INFO] MMM-Loxone Opening Socket to your Miniserver
[22.08.2021 15:16.23.627] [LOG] MMM-Loxone Download LoxApp3.json
[22.08.2021 15:16.23.667] [INFO] MMM-Loxone Search room with uuid: null
[22.08.2021 15:16.23.669] [INFO] MMM-Loxone NotificationUuid: (for security reasons not showed)
[22.08.2021 15:16.23.671] [INFO] MMM-Loxone Enabling statusupdates
[22.08.2021 15:16.23.731] [LOG] MMM-Loxone Successfully executed 'dev/sps/enablebinstatusupdate' with code 200 and value 1
[22.08.2021 15:16.36.033] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:16.36.034] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
[22.08.2021 15:16.56.032] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:16.56.034] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
[22.08.2021 15:17.16.033] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:17.16.037] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
[22.08.2021 15:17.36.032] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:17.36.036] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
[22.08.2021 15:17.56.040] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE
[22.08.2021 15:17.56.047] [INFO] BACKGROUNDSLIDESHOW: reading path "(for security reasons not showed)"
Just 1 MMM-Loxone entry in config.js works just fine.
I needed more MMM-Loxone entries in config.js to rotate in different positions p.e. in the bottom_right position and bottom_left position.
In case you need more information, please contact me.
greetz
will4378