Giter Site home page Giter Site logo

Comments (6)

Alexandre333 avatar Alexandre333 commented on July 2, 2024 1

Hi Helias, I had the same error code at first. I didn't open the corresponding port of my router for the camera, i followed this tutorial https://www.youtube.com/watch?v=KiqPcch8wK8&ab_channel=Reolink

from reolinkapipy.

themoosman avatar themoosman commented on July 2, 2024 1

There are so many things wrong with that video. That said, this lib should work without opening ports on the firewall. @Helias looking at your original code sample, that IP address you're using is wrong.

from reolinkapipy.

themoosman avatar themoosman commented on July 2, 2024

I wonder if they changed the API in some of the newer cameras.

from reolinkapipy.

Helias avatar Helias commented on July 2, 2024

Hi Helias, I had the same error code at first. I didn't open the corresponding port of my router for the camera, i followed this tutorial https://www.youtube.com/watch?v=KiqPcch8wK8&ab_channel=Reolink

Thanks! I will use it and let you know if it works.
if it works I could write how I did and close the issue

from reolinkapipy.

Helias avatar Helias commented on July 2, 2024

You're right, I made it work with the code that I posted, I probably forgot something about https=True in the function parameters.

Thanks a lot, I solved it, now I am getting this issue.

[{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': 'fd6648961fc1c0b'}}}]
Login success
[tcp @ 0x1a9dcc0] Connection to tcp://192.168.0.176:554?timeout=0 failed: Connection refused
[tcp @ 0x18d6480] Connection to tcp://192.168.0.176:554?timeout=0 failed: Connection refused
opening stream
stream closed

from reolinkapipy.

Helias avatar Helias commented on July 2, 2024

I solved it NOT opening the port BUT enabling the TCP port inside the camera panel.
image

from reolinkapipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.