• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 15.5k 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.
  • D Offline
    digied @wishmaster270
    last edited by Feb 21, 2023, 4:27 PM

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

    W 1 Reply Last reply Feb 21, 2023, 5:51 PM Reply Quote 0
    • W Offline
      wishmaster270 Module Developer @digied
      last edited by wishmaster270 Feb 21, 2023, 5:57 PM Feb 21, 2023, 5:51 PM

      @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 Feb 23, 2023, 5:07 PM Reply Quote 0
      • D Offline
        digied @wishmaster270
        last edited by Feb 23, 2023, 5:07 PM

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

        W 1 Reply Last reply Feb 24, 2023, 7:30 AM Reply Quote 0
        • W Offline
          wishmaster270 Module Developer @digied
          last edited by Feb 24, 2023, 7:30 AM

          @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 Feb 26, 2023, 9:06 AM Reply Quote 0
          • D Offline
            digied @wishmaster270
            last edited by Feb 26, 2023, 9:06 AM

            @wishmaster270 I did some research. Somehow the network wasn’t right anymore. The cam got a different ip-address, so it was rebooted somehow and using DHCP got a different address. Now it is set to the same address. I did replace the first switch to which the NAS and the cam are connected. For the cam I use a repeater that uses the electrical net to connect to my backbone. A cable would have been difficult. After a reset of all that components, the cam was reconnected and all is working again.

            1 Reply Last reply Reply Quote 1
            • M Offline
              m3iaz
              last edited by May 18, 2024, 6:34 PM

              Hi. I love Your module.
              Do You know if there is a way to get better resolution than width of 320px?
              I mention width only since I have one 4/3 cam and 3 reolink duo which is 8/3.
              For all of it, best quality I can get is 320/xxx.

              By many experiments I have found that this is best I can get and enlarging it with method you posted will drop in quality.

              I think it can be somewhere in DSP configuration but can not find it at all…

              BTW. none of my cameras provide mjpeg stream but can provide jpeg snapshots. Maybe it is worth to implement this solution as well…

              W 1 Reply Last reply May 19, 2024, 7:41 PM Reply Quote 0
              • W Offline
                wishmaster270 Module Developer @m3iaz
                last edited by May 19, 2024, 7:41 PM

                @m3iaz Hi,

                the Reolink cams provide a fluent and a high quality stream.
                You can select three different stream types in the Surveillance Station. The MJPEG stream is generated of the one for reduced speed which in my setup is the fluent stream of the Reolink cam.
                I can select a 640x stream in my Reolink but it may depend of the camera.

                I do not have much time to program at the moment but you may checkout my EmbedURL module. It is able to embed images and a refresh rate can be configured. Some people use it to embed JPEG of public webcams already.

                B M 2 Replies Last reply May 19, 2024, 7:58 PM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @wishmaster270
                  last edited by BKeyport May 19, 2024, 7:59 PM May 19, 2024, 7:58 PM

                  @wishmaster270 and through use of an old pi for MotionEyeOS, I use it to embed a near-direct stream from my Reolink cameras. :)

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    m3iaz @wishmaster270
                    last edited by May 20, 2024, 11:19 AM

                    @wishmaster270 Thank You for quick answer. I will try it

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 4
                    • 3 / 4
                    • 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