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-SynologySurveillance

    Scheduled Pinned Locked Moved Utilities
    34 Posts 5 Posters 21.9k Views 5 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.
    • wishmaster270W Offline
      wishmaster270 Module Developer @digied
      last edited by wishmaster270

      @digied
      There two things i do not understand…

      • Did you modify your package.json? The original one of the module contains “syno”: “latest” as a dependency. Which will install version 2.2.0 currently. But the part of your package.json contains “syno”: “^1.0.0” which will install the latest 1.x version. I did not use any 1.X version in my module and do not know if the surveillance part did already exist in this old version. Please use the original version of the package.json. No need to make any changes to it.
      • Why did you need to use sudo for npm install? Only files in the module folder get modified by npm install of this module. There is no need to use sudo in a regular installation. Installing things with sudo may break things and it is not sure that the version of npm of the current user is used. Please do not use sudo for npm install. And never install with npm -g global option.
      D 2 Replies Last reply Reply Quote 0
      • D Offline
        digied @wishmaster270
        last edited by

        @wishmaster270 Hi! Strange thing about the version. So I just did this again:

        pi@raspberrypi:~/MagicMirror/modules $ cat MMM-SynologySurveillance/package.json
        {
        “name”: “MMM-SynologySurveillance”,
        “version”: “0.1.1”,
        “description”: “”,
        “main”: “MMM-SynologySurveillance.js”,
        “dependencies”: {
        “syno”: “^1.0.0”
        },
        “scripts”: {
        “test”: “echo "Error: no test specified" && exit 1”
        },
        “repository”: {
        “type”: “git”,
        “url”: “git@github.com:Tom-Hirschberger/MMM-SynologySurveillance.git”
        },
        “author”: “Thomas Hirschberger”,
        “license”: “MIT”,
        “bugs”: {
        “url”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/issues”
        },
        “homepage”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/#readme”
        }
        pi@raspberrypi:~/MagicMirror/modules $ sudo rm -r MMM-SynologySurveillance/
        pi@raspberrypi:~/MagicMirror/modules $ ls
        default MMM-connection-status MMM-Formula1 MMM-MercedesMe MMM-RTSPStream MMM-SolarEdgeLite MMM-SystemStats
        MMM-Buienradar MMM-F1 MMM-IPCam MMM-OpenWeatherForecast MMM-SolarEdge MMM-SpeedTest MMM-Worldclock
        pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/Tom-Hirschberger/MMM-SynologySurveillance.git
        Cloning into ‘MMM-SynologySurveillance’…
        remote: Enumerating objects: 298, done.
        remote: Counting objects: 100% (103/103), done.
        remote: Compressing objects: 100% (84/84), done.
        remote: Total 298 (delta 38), reused 42 (delta 19), pack-reused 195
        Receiving objects: 100% (298/298), 1.27 MiB | 15.34 MiB/s, done.
        Resolving deltas: 100% (184/184), done.
        pi@raspberrypi:~/MagicMirror/modules $ ls
        default MMM-connection-status MMM-Formula1 MMM-MercedesMe MMM-RTSPStream MMM-SolarEdgeLite MMM-SynologySurveillance MMM-Worldclock
        MMM-Buienradar MMM-F1 MMM-IPCam MMM-OpenWeatherForecast MMM-SolarEdge MMM-SpeedTest MMM-SystemStats
        pi@raspberrypi:~/MagicMirror/modules $ cat MMM-SynologySurveillance/package.json
        {
        “name”: “MMM-SynologySurveillance”,
        “version”: “0.1.1”,
        “description”: “”,
        “main”: “MMM-SynologySurveillance.js”,
        “dependencies”: {
        “syno”: “latest”
        },
        “devDependencies”: {},
        “scripts”: {
        “test”: “echo "Error: no test specified" && exit 1”
        },
        “repository”: {
        “type”: “git”,
        “url”: “git@github.com:Tom-Hirschberger/MMM-SynologySurveillance.git”
        },
        “author”: “Thomas Hirschberger”,
        “license”: “MIT”,
        “bugs”: {
        “url”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/issues”
        },
        “homepage”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/#readme”
        }
        pi@raspberrypi:~/MagicMirror/modules $

        So now I see also the sync: latest.

        Thus I did the npm install again, but it seems I don’t have enough access for it:

        pi@raspberrypi:~/MagicMirror/modules $ cd MMM-SynologySurveillance/
        pi@raspberrypi:~/MagicMirror/modules/MMM-SynologySurveillance $ cat package.json
        {
        “name”: “MMM-SynologySurveillance”,
        “version”: “0.1.1”,
        “description”: “”,
        “main”: “MMM-SynologySurveillance.js”,
        “dependencies”: {
        “syno”: “latest”
        },
        “devDependencies”: {},
        “scripts”: {
        “test”: “echo "Error: no test specified" && exit 1”
        },
        “repository”: {
        “type”: “git”,
        “url”: “git@github.com:Tom-Hirschberger/MMM-SynologySurveillance.git”
        },
        “author”: “Thomas Hirschberger”,
        “license”: “MIT”,
        “bugs”: {
        “url”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/issues”
        },
        “homepage”: “https://github.com/Tom-Hirschberger/MMM-SynologySurveillance/#readme”
        }
        pi@raspberrypi:~/MagicMirror/modules/MMM-SynologySurveillance $

        Still good, so now I run the npm install:

        pi@raspberrypi:~/MagicMirror/modules/MMM-SynologySurveillance $ npm install
        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
        npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

        added 76 packages, and audited 77 packages in 7s

        2 packages are looking for funding
        run npm fund for details

        2 high severity vulnerabilities

        To address all issues (including breaking changes), run:
        npm audit fix --force

        Run npm audit for details.
        pi@raspberrypi:~/MagicMirror/modules/MMM-SynologySurveillance $

        Ok, this time no errors… Let me start MM:

        pi@raspberrypi:~/MagicMirror $ npm start run

        magicmirror@2.22.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js run

        [16.01.2023 16:49.50.904] [LOG] Starting MagicMirror: v2.22.0
        [16.01.2023 16:49.50.911] [LOG] Loading config …
        [16.01.2023 16:49.50.922] [LOG] Loading module helpers …
        [16.01.2023 16:49.50.925] [LOG] No helper found for module: alert.
        [16.01.2023 16:49.50.943] [LOG] Initializing new module helper …
        [16.01.2023 16:49.50.944] [LOG] Module helper loaded: updatenotification
        [16.01.2023 16:49.50.946] [LOG] No helper found for module: clock.
        [16.01.2023 16:49.50.947] [LOG] No helper found for module: MMM-connection-status.
        [16.01.2023 16:49.51.366] [LOG] Initializing new module helper …
        [16.01.2023 16:49.51.368] [LOG] Module helper loaded: MMM-SynologySurveillance
        [16.01.2023 16:49.51.618] [LOG] Initializing new module helper …
        [16.01.2023 16:49.51.620] [LOG] Module helper loaded: calendar
        [16.01.2023 16:49.51.691] [LOG] Initializing new module helper …
        [16.01.2023 16:49.51.693] [LOG] Module helper loaded: MMM-Formula1
        [16.01.2023 16:49.51.694] [LOG] No helper found for module: weather.
        [16.01.2023 16:49.51.695] [LOG] No helper found for module: MMM-Buienradar.
        [16.01.2023 16:49.52.016] [LOG] Initializing new module helper …
        [16.01.2023 16:49.52.016] [LOG] Module helper loaded: MMM-SolarEdgeLite
        [16.01.2023 16:49.52.362] [LOG] Initializing new module helper …
        [16.01.2023 16:49.52.363] [LOG] Module helper loaded: MMM-SystemStats
        [16.01.2023 16:49.52.387] [LOG] Initializing new module helper …
        [16.01.2023 16:49.52.387] [LOG] Module helper loaded: newsfeed
        [16.01.2023 16:49.52.388] [LOG] All module helpers loaded.
        [16.01.2023 16:49.52.495] [LOG] Starting server on port 8080 …
        [16.01.2023 16:49.52.734] [LOG] Server started …
        [16.01.2023 16:49.52.736] [LOG] Connecting socket for: updatenotification
        [16.01.2023 16:49.52.737] [LOG] Starting module helper: updatenotification
        [16.01.2023 16:49.52.738] [LOG] Connecting socket for: MMM-SynologySurveillance
        [16.01.2023 16:49.52.739] [LOG] Connecting socket for: calendar
        [16.01.2023 16:49.52.740] [LOG] Starting node helper for: calendar
        [16.01.2023 16:49.52.740] [LOG] Connecting socket for: MMM-Formula1
        [16.01.2023 16:49.52.741] [LOG] Starting module: MMM-Formula1
        [16.01.2023 16:49.52.742] [LOG] Connecting socket for: MMM-SolarEdgeLite
        [16.01.2023 16:49.52.742] [LOG] Starting module helper: MMM-SolarEdgeLite
        [16.01.2023 16:49.52.744] [LOG] Connecting socket for: MMM-SystemStats
        [16.01.2023 16:49.52.744] [LOG] Connecting socket for: newsfeed
        [16.01.2023 16:49.52.745] [LOG] Starting node helper for: newsfeed
        [16.01.2023 16:49.52.746] [LOG] Sockets connected & modules started …
        [16.01.2023 16:49.52.819] [LOG] Launching application.
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: kan gedeeld objectbestand niet openen: Toegang geweigerd (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load driver: kms_swrast
        MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: kan gedeeld objectbestand niet openen: Toegang geweigerd (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load swrast driver
        [16.01.2023 16:49.56.198] [LOG] MMM-SynologySurveillance: Received notification CONFIG
        [16.01.2023 16:49.56.200] [LOG] MMM-SynologySurveillance: Received notification INIT_DS
        [16.01.2023 16:49.56.202] [LOG] MMM-SynologySurveillance: Updating information of DS with idx: 0 and protocol https
        [50739:0116/164958.846579:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
        [16.01.2023 16:49.59.003] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 300000
        [16.01.2023 16:49.59.045] [LOG] Create new calendarfetcher for url: http://p103-caldav.icloud.com/published/2/Njc3ODUzOTEzNjc3ODUzOQyRiARRL2CkxgtBVQDZXfBmcEh4jRSjf1NpTv-kmUkeab9A4t6LtTrrc3BUTsPoy9oS4yCg4f5Rnt5FlMRu6Oo - Interval: 300000
        [16.01.2023 16:49.59.056] [LOG] Create new calendarfetcher for url: http://p62-caldav.icloud.com/published/2/MzE2ODIwNDE4MzE2ODIwNJD9RGBryCg63_2az9y7tWOTHmUDf_W0Y3YkBa1tdgnP7AW7ihN1TLzhWzBnHSok2S9kxwdK6IkOT1I55L8cvuE - Interval: 300000
        [16.01.2023 16:49.59.065] [LOG] Create new calendarfetcher for url: http://racingnews365.nl/ics/download/calendar-formula-2022.ics?all - Interval: 300000
        [16.01.2023 16:49.59.070] [LOG] Create new calendarfetcher for url: https://wasteapi.ximmio.com/api/CallIcal?cn=Gemeente Almere&x=53d8db94-7945-42fd-9742-9bbc71dbe4c1&ty=null&ua=65222&sd=2021-12-21&ed=2025-01-09&path=https://wasteapi.ximmio.com&ln=nl&nt=1130 - Interval: 300000
        [16.01.2023 16:49.59.285] [LOG] Create new newsfetcher for url: http://feeds.nos.nl/nosnieuws - Interval: 300000
        [16.01.2023 16:49.59.291] [LOG] Create new newsfetcher for url: https://nl.motorsport.com/rss/f1/news/ - Interval: 300000
        [16.01.2023 16:49.59.294] [LOG] MMM-Formula1 received a notification: CONFIG
        [16.01.2023 16:49.59.315] [LOG] MMM-Formula1 is fetching the race schedule for the current season
        [16.01.2023 16:49.59.342] [LOG] MMM-Formula1 is fetching DRIVER standings for the current season
        [16.01.2023 16:49.59.347] [INFO] Checking git for module: MMM-connection-status
        [16.01.2023 16:49.59.390] [INFO] Checking git for module: MMM-SynologySurveillance
        [16.01.2023 16:49.59.467] [INFO] Checking git for module: MMM-Formula1
        [16.01.2023 16:49.59.554] [INFO] Checking git for module: MMM-Buienradar
        [16.01.2023 16:49.59.594] [INFO] Newsfeed-Fetcher: reloadInterval set to ttl=6000000 for url https://nl.motorsport.com/rss/f1/news/
        [16.01.2023 16:49.59.698] [LOG] MMM-Formula1 is returning DRIVER standings for the current season
        [16.01.2023 16:49.59.704] [INFO] Checking git for module: MMM-SolarEdgeLite
        [16.01.2023 16:49.59.781] [INFO] Checking git for module: MMM-SystemStats
        [16.01.2023 16:49.59.923] [INFO] Checking git for module: default
        [16.01.2023 16:49.59.982] [INFO] Newsfeed-Fetcher: Broadcasting 50 items.
        [16.01.2023 16:50.00.666] [INFO] Calendar-Fetcher: Broadcasting 0 events.
        [16.01.2023 16:50.00.713] [LOG] MMM-SynologySurveillance: Found cam Generic_ONVIF-001
        [16.01.2023 16:50.01.085] [INFO] Calendar-Fetcher: Broadcasting 26 events.
        [16.01.2023 16:50.01.252] [INFO] Calendar-Fetcher: Broadcasting 31 events.
        [16.01.2023 16:50.01.389] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
        [16.01.2023 16:50.01.750] [INFO] Calendar-Fetcher: Broadcasting 18 events.
        [16.01.2023 16:50.02.554] [ERROR] Moment Timezone has no data for GMT+0200. See http://momentjs.com/timezone/docs/#/data-loading/.
        [16.01.2023 16:50.02.555] [ERROR] Moment Timezone has no data for GMT+0200. See http://momentjs.com/timezone/docs/#/data-loading/.
        [16.01.2023 16:50.02.556] [ERROR] Moment Timezone has no data for GMT+0200. See http://momentjs.com/timezone/docs/#/data-loading/.
        [16.01.2023 16:50.02.569] [INFO] Calendar-Fetcher: Broadcasting 10 events.
        [16.01.2023 16:50.02.884] [LOG] MMM-SynologySurveillance: {
        “dsIdx”: 0,
        “camStreams”: {
        “Generic_ONVIF-001”: “https://datanas//192.168.2.26:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey=“c0a94e2b77e2887405161edf7a32964b””
        }
        }
        [50702:0116/165002.966141:ERROR:cert_verify_proc_builtin.cc(670)] CertVerifyProcBuiltin for datanas failed:
        ----- Certificate i=0 (CN=synology,O=Synology Inc.,L=Taipel,C=TW) -----
        ERROR: No matching issuer found

        [50739:0116/165036.029773:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
        [

        And this is what the MM is showing:

        Scherm­afbeelding 2023-01-16 om 16.52.51.png

        Before I got the little cam showing, now it is this square. Any thoughts?

        1 Reply Last reply Reply Quote 0
        • D Offline
          digied @wishmaster270
          last edited by

          @wishmaster270 btw, the cam itself is found:

          [16.01.2023 16:55.55.543] [LOG] MMM-SynologySurveillance: Received notification REFRESH_URLS
          [16.01.2023 16:55.55.544] [LOG] MMM-SynologySurveillance: Refreshing the urls!
          [16.01.2023 16:55.55.545] [LOG] MMM-SynologySurveillance: Updating information of DS with idx: 0 and protocol https
          [16.01.2023 16:55.57.908] [LOG] MMM-SynologySurveillance: Found cam Generic_ONVIF-001
          [16.01.2023 16:55.58.816] [LOG] MMM-SynologySurveillance: {
          “dsIdx”: 0,
          “camStreams”: {
          “Generic_ONVIF-001”: “https://datanas//192.168.2.26:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey=“c0a94e2b77e2887405161edf7a32964b””
          }

          wishmaster270W 1 Reply Last reply Reply Quote 0
          • wishmaster270W Offline
            wishmaster270 Module Developer @digied
            last edited by

            @digied That log looks totally different than the other one. What did you change?

            D 2 Replies Last reply Reply Quote 0
            • D Offline
              digied @wishmaster270
              last edited by

              @wishmaster270 I changed nothing. I only fetched the module again as you can see. The latest module is now installed with npm install. So no sudo this time. Now what?

              1 Reply Last reply Reply Quote 0
              • D Offline
                digied @wishmaster270
                last edited by

                @wishmaster270 I see that my previous post wasn’t published. So I repeat it; I deleted the MMM-SynologySurveillance map and did the git clone again. This time I see the line syno:latest. So I did the npm install without the sudo and restarted MM. Now instead of the grey square with the cam, I get a grey square with some little square in it like this:
                Scherm­afbeelding 2023-01-16 om 20.36.58.png

                So now what?

                S wishmaster270W 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @digied
                  last edited by

                  @digied because users with reputation below 2, have all their posts reviewed.

                  it JUST showed up in the review queue, and I approved it…

                  please don’t double post… I DO have other things to do…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • wishmaster270W Offline
                    wishmaster270 Module Developer @digied
                    last edited by wishmaster270

                    @digied Hi,

                    it’s nearly perfect. Now the needed library and the access to the NAS works.
                    The output of your log shows that the fetched URL contains the hostname of your NAS AND the IP.
                    Maybe there is a bug in my replaceHostname function.
                    Your config contains a replaceHostPart set to true.
                    Can you set it to false please.

                    Edit: Now that I see all your posts things are clearer ;-)

                    D 2 Replies Last reply Reply Quote 0
                    • D Offline
                      digied @sdetweil
                      last edited by

                      @sdetweil Sorry…

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        digied @wishmaster270
                        last edited by

                        @wishmaster270 Great! I did see the certificate error so I changed the https/5001 into http/5000 in the config and now the log shows this:

                        [16.01.2023 20:49.14.962] [LOG] MMM-SynologySurveillance: {
                        “dsIdx”: 0,
                        “camStreams”: {
                        “Generic_ONVIF-001”: “http://datanas//192.168.2.26:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey="6058a182182e0c518d126bbf69e2e350"”
                        }
                        }
                        [73749:0116/204923.065357:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
                        [73749:0116/204930.176714:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
                        [73749:0116/204930.183104:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
                        [16.01.2023 20:50.05.716] [LOG] MMM-SynologySurveillance: Received notification REFRESH_URLS
                        [16.01.2023 20:50.05.718] [LOG] MMM-SynologySurveillance: Refreshing the urls!
                        [16.01.2023 20:50.05.719] [LOG] MMM-SynologySurveillance: Updating information of DS with idx: 0 and protocol http
                        [16.01.2023 20:50.08.721] [LOG] MMM-SynologySurveillance: Found cam Generic_ONVIF-001
                        [16.01.2023 20:50.09.721] [LOG] MMM-SynologySurveillance: {
                        “dsIdx”: 0,
                        “camStreams”: {
                        “Generic_ONVIF-001”: “http://datanas//192.168.2.26:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey="6058a182182e0c518d126bbf69e2e350"”
                        }
                        }

                        Now the certificate error is gone, but still no image from the cam.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          digied @wishmaster270
                          last edited by

                          @wishmaster270 Sorry, haven’t seen your change of the replaceHostname before. I now set it to false and now I can see the image, but very small at the moment. SO the stream is working now, I just have to get the image larger now. Thanks for your help!
                          Scherm­afbeelding 2023-01-16 om 20.55.38.png

                          wishmaster270W 1 Reply Last reply Reply Quote 0
                          • wishmaster270W Offline
                            wishmaster270 Module Developer @digied
                            last edited by wishmaster270

                            @digied Perfect. I will look into the module to check if I can accept self signed certificates and why the host part is not replaced correctly.

                            Edit:
                            You should be able to set the cam with by adding some CSS to the file MagicMirror/css/custom.css:

                            .MMM-SynologySurveillance .cam { 
                                width: 100%; 
                             }
                            
                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              digied @wishmaster270
                              last edited by

                              @wishmaster270 said in MMM-SynologySurveillance:

                              .MMM-SynologySurveillance .cam {
                                width: 100%;
                              }

                              Yes, together with height: 100% as well the image is there. Thanks!

                              Scherm­afbeelding 2023-01-16 om 22.16.38.png

                              wishmaster270W 1 Reply Last reply Reply Quote 2
                              • wishmaster270W Offline
                                wishmaster270 Module Developer @digied
                                last edited by

                                @digied Just released a new version which fixes the host part replacement

                                D 1 Reply Last reply Reply Quote 0
                                • D Offline
                                  digied @wishmaster270
                                  last edited by

                                  @wishmaster270 Installed the update and all is working fine now. Thanks for your help. :folded_hands_light_skin_tone:

                                  wishmaster270W 1 Reply Last reply Reply Quote 0
                                  • wishmaster270W Offline
                                    wishmaster270 Module Developer @digied
                                    last edited by

                                    @digied Great to hear that. You are welcome.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      digied @wishmaster270
                                      last edited by

                                      @wishmaster270 Suddenly, starting today, I see the grey square with the little cam in it. Didn’t change a thing!

                                      Log:
                                      MESA-LOADER: failed to retrieve device information
                                      MESA-LOADER: failed to retrieve device information
                                      MESA-LOADER: failed to retrieve device information
                                      MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: kan gedeeld objectbestand niet openen: Toegang geweigerd (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
                                      failed to load driver: kms_swrast
                                      MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: kan gedeeld objectbestand niet openen: Toegang geweigerd (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
                                      failed to load swrast driver
                                      [21.02.2023 17:25.05.039] [LOG] MMM-SynologySurveillance: Received notification CONFIG
                                      [21.02.2023 17:25.05.040] [LOG] MMM-SynologySurveillance: Received notification INIT_DS
                                      [21.02.2023 17:25.05.042] [LOG] MMM-SynologySurveillance: Updating information of DS with idx: 0 and protocol https
                                      [21.02.2023 17:25.07.730] [LOG] MMM-SynologySurveillance: Problem during fetch of cams of ds with idx: 0
                                      [21.02.2023 17:25.07.730] [LOG] MMM-SynologySurveillance: {
                                      “errno”: -3008,
                                      “code”: “ENOTFOUND”,
                                      “syscall”: “getaddrinfo”,
                                      “hostname”: “datanas”
                                      }
                                      [21.02.2023 17:25.07.731] [LOG] Unknown error. Sending empty list of streams!
                                      [6591:0221/172507.750557:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

                                      Can I do anything?

                                      wishmaster270W 1 Reply Last reply Reply Quote 0
                                      • wishmaster270W Offline
                                        wishmaster270 Module Developer @digied
                                        last edited by wishmaster270

                                        @digied Hi,

                                        looks like a DNS problem to me. Your Mirror can not resolv the ip of “datanas”.

                                        Did there happen a update of your router maybe?

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          digied @wishmaster270
                                          last edited by

                                          @wishmaster270 No, the cam has died. Need to buy a new one.

                                          wishmaster270W 1 Reply Last reply Reply Quote 0
                                          • wishmaster270W Offline
                                            wishmaster270 Module Developer @digied
                                            last edited by

                                            @digied
                                            Oh, did not expect a dead cam resulting in this error message.
                                            Especially as at this point all cams configured in the NAS are fetched.

                                            D 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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