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

    Posts

    Recent Best Controversial
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      but its using ipv6 (::1 is the ipv6 version of 127.0.0.1)

      good catch!
      THis may is the reason, because - as far as I. know - ipV6 isn’t implemented (properly?) in my network (at least I do not have anything configured. My AVM (Fritzbox) router is ipV6 aware but I do not “use” it esplicitely …

      Strange!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      @rkorell localhost is(always) mapped to 127.0.0.1 on the same system
      which is called the loopback adapter, cause the packets never leave the system

      Yes. I’m aware of this, thanks.

      ping localhost
      should work

      Yes, do work:

      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ ping localhost
      PING localhost(localhost (::1)) 56 data bytes
      64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.027 ms
      64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.035 ms
      64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.035 ms
      64 bytes from localhost (::1): icmp_seq=4 ttl=64 time=0.036 ms
      64 bytes from localhost (::1): icmp_seq=5 ttl=64 time=0.031 ms
      64 bytes from localhost (::1): icmp_seq=6 ttl=64 time=0.039 ms
      ^Z
      [1]+  Stopped                 ping localhost
      
      

      thanks anyway,
      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      just trying to figure out what the problem

      Dear Sam,
      I caught it …
      The Windows command is not working for other reasons - doesn’t matter…
      The curl on MY Pi doesn’t work because - for some strange reason the resolving of “localhost” doesn’t work ???

      Figured this out by using another linux client (Macbook) and therefor using IP address of pi remotely - which worked instantly.

      And trying this locally on Pi with IP adreees does the job as well.

      Thanks again for your help!
      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil because it doesn’t work on windows either this is most likely not a version but a command or URL thing …

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil OK
      this is curl --version :-) (just successfully trial&errored)

      curl --version
      curl 7.88.1 (aarch64-unknown-linux-gnu) libcurl/7.88.1 OpenSSL/3.0.15 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13
      Release-Date: 2023-02-20, security patched: 7.88.1-10+deb12u12
      Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
      Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
      
      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil

      curl --v --header "Content-Type: application/json"   --request POST   --data '{"notification":"SHOW_ALERT","payload":{"message":"fribble"}}' http://localhost:8080/doorbell
      curl: option --v: is ambiguous
      curl: try 'curl --help' or 'curl --manual' for more information
      
      
      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil
      As your posting above implies your debug message confirms a received message - but the message cannot be received, because the curl command doesn’t work …

      As per your advise I’ve git pulled, restarted mirror - but get same error message as before.
      The curl command is bad or the URL doesn’t work.
      I don’t know why and have no idea how to figure this out…

      Screen input- and output as follws:

      pi@MagicMirrorPi5:~ $ curl --header "Content-Type: application/json"   --request POST   --data '{"notification":"SHOW_ALERT","payload":{"message":"fribble"}}' http://localhost:8080/doorbell
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <meta charset="utf-8">
      <title>Error</title>
      </head>
      <body>
      <pre>InternalServerError: stream is not readable<br> &nbsp; &nbsp;at readStream (/home/pi/MagicMirror/node_modules/raw-body/index.js:185:17)<br> &nbsp; &nbsp;at getRawBody (/home/pi/MagicMirror/node_modules/raw-body/index.js:116:12)<br> &nbsp; &nbsp;at read (/home/pi/MagicMirror/node_modules/body-parser/lib/read.js:79:3)<br> &nbsp; &nbsp;at jsonParser (/home/pi/MagicMirror/node_modules/body-parser/lib/types/json.js:138:5)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:91:12)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/body-parser/lib/read.js:132:5<br> &nbsp; &nbsp;at AsyncResource.runInAsyncScope (node:async_hooks:206:9)<br> &nbsp; &nbsp;at invokeCallback (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:238:16)<br> &nbsp; &nbsp;at done (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:227:7)<br> &nbsp; &nbsp;at IncomingMessage.onEnd (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:287:7)<br> &nbsp; &nbsp;at IncomingMessage.emit (node:events:518:28)<br> &nbsp; &nbsp;at endReadableNT (node:internal/streams/readable:1698:12)<br> &nbsp; &nbsp;at process.processTicksAndRejections (node:internal/process/task_queues:82:21)</pre>
      </body>
      </html>
      pi@MagicMirrorPi5:~ $ cd MagicMirror/modules
      pi@MagicMirrorPi5:~/MagicMirror/modules $ cd MMM-CurlToNotification/
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ git pull
      Updating 71ea1c1..bd1e417
      Fast-forward
       MMM-CurlToNotification.js | 14 ++++++++++----
       README.md                 |  1 +
       node_helper.js            | 13 +++++++++++--
       3 files changed, 22 insertions(+), 6 deletions(-)
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ pm2 restart MagicMirror
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
      ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror    │ default     │ 2.31.0… │ fork    │ 87731    │ 0s     │ 1    │ online    │ 0%       │ 2.6mb    │ pi       │ enabled  │
      └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ curl --header "Content-Type: application/json"   --request POST   --data '{"notification":"SHOW_ALERT","payload":{"message":"fribble"}}' http://localhost:8080/doorbell
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <meta charset="utf-8">
      <title>Error</title>
      </head>
      <body>
      <pre>InternalServerError: stream is not readable<br> &nbsp; &nbsp;at readStream (/home/pi/MagicMirror/node_modules/raw-body/index.js:185:17)<br> &nbsp; &nbsp;at getRawBody (/home/pi/MagicMirror/node_modules/raw-body/index.js:116:12)<br> &nbsp; &nbsp;at read (/home/pi/MagicMirror/node_modules/body-parser/lib/read.js:79:3)<br> &nbsp; &nbsp;at jsonParser (/home/pi/MagicMirror/node_modules/body-parser/lib/types/json.js:138:5)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:91:12)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/body-parser/lib/read.js:132:5<br> &nbsp; &nbsp;at AsyncResource.runInAsyncScope (node:async_hooks:206:9)<br> &nbsp; &nbsp;at invokeCallback (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:238:16)<br> &nbsp; &nbsp;at done (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:227:7)<br> &nbsp; &nbsp;at IncomingMessage.onEnd (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:287:7)<br> &nbsp; &nbsp;at IncomingMessage.emit (node:events:518:28)<br> &nbsp; &nbsp;at endReadableNT (node:internal/streams/readable:1698:12)<br> &nbsp; &nbsp;at process.processTicksAndRejections (node:internal/process/task_queues:82:21)</pre>
      </body>
      </html>
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ 
      
      

      Any additional idea?

      regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil I`m away from home today, will check tomorrow…
      Thanks.
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: How to Swipe between pages

      @sdetweil said in How to Swipe between pages:

      sadly MagicMirror forum search stinks

      :-)
      what I’m using regularly and works pretty well is external search via Google with limitation to site forum.mgicmirror.builders …
      Astonishing…

      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @rkorell said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      Neither in pm2 logs nor in developer’s console…

      startup log

      0|MagicMir | > magicmirror@2.31.0-develop start
      0|MagicMir | > npm run start:x11
      0|MagicMir |
      0|MagicMir |
      0|MagicMir | > magicmirror@2.31.0-develop start:x11
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir |
      0|MagicMir | [2025-05-03 17:06:27.179] [LOG]   Starting MagicMirror: v2.31.0-develop
      0|MagicMir | [2025-05-03 17:06:27.189] [LOG]   Loading config ...
      0|MagicMir | [2025-05-03 17:06:27.190] [LOG]   config template file not exists, no envsubst
      0|MagicMir | [2025-05-03 17:06:27.369] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ...
      0|MagicMir | [2025-05-03 17:06:27.436] [INFO]  Your configuration file doesn't contain syntax errors :)
      0|MagicMir | [2025-05-03 17:06:27.437] [INFO]  Checking modules structure configuration ...
      0|MagicMir | [2025-05-03 17:06:27.473] [INFO]  Your modules structure configuration doesn't contain errors :)
      0|MagicMir | [2025-05-03 17:06:27.474] [LOG]   Loading module helpers ...
      0|MagicMir | [2025-05-03 17:06:27.474] [LOG]   No helper found for module: alert.
      0|MagicMir | [2025-05-03 17:06:27.475] [LOG]   No helper found for module: MMM-MagicMover.
      0|MagicMir | [2025-05-03 17:06:27.476] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.477] [LOG]   Module helper loaded: MMM-CurlToNotification
      0|MagicMir | [2025-05-03 17:06:27.477] [LOG]   No helper found for module: clock.
      0|MagicMir | [2025-05-03 17:06:27.477] [LOG]   No helper found for module: MMM-Profilepicture.
      0|MagicMir | [2025-05-03 17:06:27.484] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.484] [LOG]   Module helper loaded: MMM-Logging
      0|MagicMir | [2025-05-03 17:06:27.491] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.491] [LOG]   Module helper loaded: MMM-MoonPhase
      0|MagicMir | [2025-05-03 17:06:27.491] [LOG]   No helper found for module: MMM-Globe.
      0|MagicMir | [2025-05-03 17:06:27.492] [LOG]   No helper found for module: weather.
      0|MagicMir | [2025-05-03 17:06:27.523] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.524] [LOG]   Module helper loaded: MMM-JsonValue
      0|MagicMir | [2025-05-03 17:06:27.531] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.531] [LOG]   Module helper loaded: MMM-MyGarbage
      0|MagicMir | [2025-05-03 17:06:27.532] [LOG]   No helper found for module: MMM-CalendarExt3Agenda.
      0|MagicMir | [2025-05-03 17:06:27.532] [LOG]   No helper found for module: MMM-RAIN-MAP.
      0|MagicMir | [2025-05-03 17:06:27.641] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.641] [LOG]   Check MagicMirror² version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.31.0-develop
      0|MagicMir | [2025-05-03 17:06:27.641] [LOG]   Version is ok!
      0|MagicMir | [2025-05-03 17:06:27.641] [LOG]   Module helper loaded: MMM-Strava
      0|MagicMir | [2025-05-03 17:06:27.718] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.718] [LOG]   Module helper loaded: MMM-Todoist
      0|MagicMir | [2025-05-03 17:06:27.718] [LOG]   No helper found for module: MMM-UselessFacts.
      0|MagicMir | [2025-05-03 17:06:27.748] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.748] [LOG]   Module helper loaded: MMM-FRITZ-Box-Callmonitor-py3
      0|MagicMir | [2025-05-03 17:06:27.749] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.749] [LOG]   Module helper loaded: MMM-SystemMonitor
      0|MagicMir | [2025-05-03 17:06:27.750] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.750] [LOG]   Module helper loaded: MMM-SystemInfo
      0|MagicMir | [2025-05-03 17:06:27.782] [LOG]   2025-05-03T17:06:27 <log> init module helper birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:15 Class.init)
      0|MagicMir | [2025-05-03 17:06:27.782] [LOG]   Module helper loaded: birthdaylist
      0|MagicMir | [2025-05-03 17:06:27.898] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.899] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify
      0|MagicMir | [2025-05-03 17:06:27.925] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.925] [LOG]   Module helper loaded: newsfeed
      0|MagicMir | [2025-05-03 17:06:27.945] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.945] [LOG]   Module helper loaded: MMM-Remote-Control
      0|MagicMir | [2025-05-03 17:06:27.982] [LOG]   Initializing new module helper ...
      0|MagicMir | [2025-05-03 17:06:27.983] [LOG]   Module helper loaded: calendar
      0|MagicMir | [2025-05-03 17:06:27.983] [LOG]   All module helpers loaded.
      0|MagicMir | [2025-05-03 17:06:27.986] [LOG]   Starting server on port 8080 ...
      0|MagicMir | [2025-05-03 17:06:28.296] [LOG]   Server started ...
      0|MagicMir | [2025-05-03 17:06:28.297] [LOG]   Connecting socket for: MMM-CurlToNotification
      0|MagicMir | [2025-05-03 17:06:28.297] [LOG]   Starting module helper: MMM-CurlToNotification
      0|MagicMir | [2025-05-03 17:06:28.297] [LOG]   Connecting socket for: MMM-Logging
      0|MagicMir | [2025-05-03 17:06:28.298] [LOG]   2025-05-03T17:06:28 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start)
      0|MagicMir | [2025-05-03 17:06:28.298] [LOG]   Connecting socket for: MMM-MoonPhase
      0|MagicMir | [2025-05-03 17:06:28.304] [LOG]   Starting module helper: MMM-MoonPhase
      0|MagicMir | [2025-05-03 17:06:28.304] [LOG]   Connecting socket for: MMM-JsonValue
      0|MagicMir | [2025-05-03 17:06:28.305] [LOG]   Connecting socket for: MMM-MyGarbage
      0|MagicMir | [2025-05-03 17:06:28.305] [LOG]   2025-05-03T17:06:28 <log> Starting node_helper for module: MMM-MyGarbage (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_helper.js:9 Class.start)
      0|MagicMir | [2025-05-03 17:06:28.305] [LOG]   Connecting socket for: MMM-Strava
      0|MagicMir | [2025-05-03 17:06:28.306] [LOG]   2025-05-03T17:06:28 <log> Starting module helper: MMM-Strava (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:47 Class.start)
      0|MagicMir | [2025-05-03 17:06:28.306] [LOG]   Connecting socket for: MMM-Todoist
      0|MagicMir | [2025-05-03 17:06:28.307] [LOG]   2025-05-03T17:06:28 <log> Starting node helper for: MMM-Todoist (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js:19 Class.start)
      0|MagicMir | [2025-05-03 17:06:28.307] [LOG]   Connecting socket for: MMM-FRITZ-Box-Callmonitor-py3
      0|MagicMir | [2025-05-03 17:06:28.312] [LOG]   2025-05-03T17:06:28 <log> Starting module: MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:28 Class.start)
      0|MagicMir | [2025-05-03 17:06:28.313] [LOG]   Connecting socket for: MMM-SystemMonitor
      0|MagicMir | [2025-05-03 17:06:28.313] [LOG]   Starting module helper: MMM-SystemMonitor
      0|MagicMir | [2025-05-03 17:06:28.313] [LOG]   Connecting socket for: MMM-SystemInfo
      0|MagicMir | [2025-05-03 17:06:28.313] [LOG]   Starting node helper: MMM-SystemInfo
      0|MagicMir | [2025-05-03 17:06:28.313] [LOG]   Connecting socket for: birthdaylist
      0|MagicMir | [2025-05-03 17:06:28.314] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify
      0|MagicMir | [2025-05-03 17:06:28.314] [LOG]   Connecting socket for: newsfeed
      0|MagicMir | [2025-05-03 17:06:28.314] [LOG]   Starting node helper for: newsfeed
      0|MagicMir | [2025-05-03 17:06:28.318] [LOG]   Connecting socket for: MMM-Remote-Control
      0|MagicMir | [2025-05-03 17:06:28.319] [LOG]   Starting node helper for: MMM-Remote-Control
      0|MagicMir | [2025-05-03 17:06:28.323] [LOG]   Connecting socket for: calendar
      0|MagicMir | [2025-05-03 17:06:28.323] [LOG]   Starting node helper for: calendar
      0|MagicMir | [2025-05-03 17:06:28.323] [LOG]   Sockets connected & modules started ...
      0|MagicMir | [2025-05-03 17:06:28.540] [LOG]   Launching application.
      0|MagicMir | [2025-05-03 17:06:28.915] [INFO]  System information:
      0|MagicMir | ### SYSTEM:   manufacturer: ; model: ; virtual: false
      0|MagicMir | ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.20+rpt-rpi-2712
      0|MagicMir | ### VERSIONS: electron: 32.2.7; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3
      0|MagicMir | ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined
      0|MagicMir | [2025-05-03 17:06:29.613] [LOG]   [MMM-Remote-Control] Could not get defaults for MMM-RAIN-MAP. See #335.
      0|MagicMir | [2025-05-03 17:06:31.249] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxxx%40group.calendar.google.com/private-5yyyyyyyyyyyyyyyyyyyyyy/basic.ics - Interval: 300000
      0|MagicMir | [2025-05-03 17:06:31.278] [LOG]   2025-05-03T17:06:31 <info> MMM-Logging updated config received, reloading console (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:30 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:31.279] [LOG]   2025-05-03T17:06:31 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:31.303] [LOG]   2025-05-03T17:06:31 <log> Received config for MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:56 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:31.304] [LOG]   2025-05-03T17:06:31 <log> MMM-FRITZ-Box-Callmonitor-py3 is waiting for incoming calls. (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:118 Class.setupMonitor)
      0|MagicMir | [2025-05-03 17:06:31.376] [LOG]   Create new newsfetcher for url: https://www.gutekueche.de/feed/wochenrezepte - Interval: 300000
      0|MagicMir | [2025-05-03 17:06:31.382] [LOG]   Create new newsfetcher for url: https://www.gutekueche.de/feed/tagesrezept - Interval: 300000
      0|MagicMir | [2025-05-03 17:06:31.385] [LOG]   Create new newsfetcher for url: https://www.chefkoch.de/recipe-of-the-day/rss - Interval: 300000
      0|MagicMir | [2025-05-03 17:06:31.389] [LOG]   Create new calendarfetcher for url: https://www.feiertage-deutschland.de/kalender-download/ics/feiertage-deutschland.ics - Interval: 604800000
      0|MagicMir | [2025-05-03 17:06:31.394] [LOG]   2025-05-03T17:06:31 <log> Starting module helper:  birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:27 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:32.046] [LOG]   2025-05-03T17:06:32 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:32.050] [LOG]   2025-05-03T17:06:32 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:32.194] [LOG]   2025-05-03T17:06:32 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:32.353] [INFO]  Newsfeed-Fetcher: Broadcasting 1 items.
      0|MagicMir | [2025-05-03 17:06:32.398] [INFO]  Newsfeed-Fetcher: Broadcasting 7 items.
      0|MagicMir | [2025-05-03 17:06:32.495] [INFO]  Newsfeed-Fetcher: Broadcasting 24 items.
      0|MagicMir | [2025-05-03 17:06:32.734] [INFO]  Calendar-Fetcher: Broadcasting 51 events from https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-yyyyyyyyyyyyyyyyyyyyyyyyyyyy/basic.ics.
      0|MagicMir | [2025-05-03 17:06:32.827] [LOG]   2025-05-03T17:06:32 <log> Refreshed access token because it has expired. Expired at: 17:06:31 now is: 17:06:32 (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24 )
      0|MagicMir | [2025-05-03 17:06:33.418] [LOG]   2025-05-03T17:06:33 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
      0|MagicMir | [2025-05-03 17:06:34.302] [INFO]  Calendar-Fetcher: Broadcasting 22 events from https://www.feiertage-deutschland.de/kalender-download/ics/feiertage-deutschland.ics.
      
      
      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @rkorell said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      Neither in pm2 logs nor in developer’s console…

      Screenshot 2025-05-03 192559.png
      all messages in dev-console …

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil Take your time!
      Family is most important.
      This issue is REALLY not important, neither urgent.
      I do not need this module right now - was just for testing, if I can help @Cr4z33 further with some examples to copy - as asked.

      So don’t hurry.

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      and you did restart MagicMirror after installing the module, right?

      yes, indeed :-)

      And a trailing comma is there…
      In the meantime I had even a PI-reboot (for other reasons) - error persists.
      Even with debug-option enabled no debug message from your module.
      Neither in pm2 logs nor in developer’s console…

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      so i wrote MMM-CurlToNotification

      Dear Sam,
      trying to help I’m struggled with your module CurlToNotification :-(

      { 
        module:"MMM-CurlToNotification",
        config:{
          url_name:"doorbell", // the path of the url for curl post
        }
      },		
      
      

      And consecutively running

      curl --header "Content-Type: application/json"   --request POST   --data '{"notification":"SHOW_ALERT","payload":{"message":"fribble"}}' http://localhost:8080/doorbell
      

      Shows an error message:

      pi@MagicMirrorPi5:~/MagicMirror/modules $ curl --header "Content-Type: application/json"   --request POST   --data '{"notification":"SHOW_ALERT","payload":{"message":"fribble"}}' http://localhost:8080/doorbell
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <meta charset="utf-8">
      <title>Error</title>
      </head>
      <body>
      <pre>InternalServerError: stream is not readable<br> &nbsp; &nbsp;at readStream (/home/pi/MagicMirror/node_modules/raw-body/index.js:185:17)<br> &nbsp; &nbsp;at getRawBody (/home/pi/MagicMirror/node_modules/raw-body/index.js:116:12)<br> &nbsp; &nbsp;at read (/home/pi/MagicMirror/node_modules/body-parser/lib/read.js:79:3)<br> &nbsp; &nbsp;at jsonParser (/home/pi/MagicMirror/node_modules/body-parser/lib/types/json.js:138:5)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:91:12)<br> &nbsp; &nbsp;at trim_prefix (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:328:13)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:286:9<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:346:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:280:10)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/body-parser/lib/read.js:132:5<br> &nbsp; &nbsp;at AsyncResource.runInAsyncScope (node:async_hooks:206:9)<br> &nbsp; &nbsp;at invokeCallback (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:238:16)<br> &nbsp; &nbsp;at done (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:227:7)<br> &nbsp; &nbsp;at IncomingMessage.onEnd (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/raw-body/index.js:287:7)<br> &nbsp; &nbsp;at IncomingMessage.emit (node:events:518:28)<br> &nbsp; &nbsp;at endReadableNT (node:internal/streams/readable:1698:12)<br> &nbsp; &nbsp;at process.processTicksAndRejections (node:internal/process/task_queues:82:21)</pre>
      </body>
      </html>
      

      From Windows Client (changing localhost to MagicMirrors IP address a different error message:

      PS C:\Users\Familienbenutzer> curl --header "Content-Type: application/json"   --request POST   --data "{\"notification\":\"SHOW_ALERT\",\"payload\":{\"message\":\"fribble\"}}" http://1xx.yy.zz.157:8080/doorbell
      
      Invoke-WebRequest : Es wurde kein Positionsparameter gefunden, der das Argument "Content-Type: application/json"
      akzeptiert.
      In Zeile:1 Zeichen:1
      + curl --header "Content-Type: application/json"   --request POST   --d ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
          + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
      

      Any hint for me?

      Thanks and regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @rkorell said

      use MMM-Mplayer …

      Just checked: You CAN use MMM-Pages notification to start and stop your stream …
      (e.g. “NEW_PAGE=0” will start the stream.

      Unfortunately you will have to care about switching OFF the stream by yourself - I guess the doorbell will not be sufficient to send a “STOP” signal - You likely would to see the stream longer that the visitor is pressing the doorbellbutton …

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @Cr4z33
      MMM-RTSPStream is quite old and the author himself doesn’t use it anymore and recommend indeed other modules.
      So it a a wise advice from Sam (@sdetweil ) to use MMM-Mplayer …
      This one still have an active discussion here .

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @rkorell said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      @rkorell @Cr4z33 with writing the above I’ve just noticed:
      Your RTSP module is NOT “RTSP-play” but "MMM-RTSPStream" !
      This should be your first trial then in your mqttDisctionary.js …

      @Cr4z33 just found “source” : you have copied this configuration .
      But I bet you have to place the module name as “notiID” …
      this is not “RTSP-play” but “MMM-RTSPStream” …
      Regards,
      Ralf

      (Pay attention : it is highly probably case-sensitive …)

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @sdetweil cool.
      had played around with this and it was frickling to position - but worth a try … :-)

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @rkorell @Cr4z33 with writing the above I’ve just noticed:
      Your RTSP module is NOT “RTSP-play” but "MMM-RTSPStream" !
      This should be your first trial then in your mqttDisctionary.js …

      posted in Troubleshooting
      R
      rkorell
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @Cr4z33 OK, I guess you have to dig a little bit deeper into MMM-MQTTbridge …
      You may give MQTTbind a try - this seems to be easier and more straightforward…

      In addition: I’m not really sure if your RTSP-play module is able to react on notification - had you double-checked this? (If it does not react on notification, you cannot be successful…).

      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • 1 / 1