Code Monkey home page Code Monkey logo

Comments (9)

HarryJHolmes avatar HarryJHolmes commented on August 15, 2024 2

#12 for pull request

from ring-hassio.

jeroenterheerdt avatar jeroenterheerdt commented on August 15, 2024

Hi, sorry, I kind of abandoned this for a long time since I was burning the Rings battery. The addon needs updating to support 2FA which became a requirement after I abandoned this. Also, the livestream is 24 hour as I don't have a way to figure out if HA is showing it or not. If we all start doing that Ring will cut us off quickly. Anyhow, I was planning on looking at supporting 2FA soon since I have hooked up my Ring to power now.

from ring-hassio.

Devqon avatar Devqon commented on August 15, 2024

Looks like someone else already (tried to) implement it in a fork of your repository: https://github.com/Harryjholmes/ring-hassio-live

I'm going to try it out and report back here. If it works it would be cool if @HarryJHolmes would create a pull request for this functionality to bring it here.

from ring-hassio.

HarryJHolmes avatar HarryJHolmes commented on August 15, 2024

Yeah it does work @Devqon

from ring-hassio.

HarryJHolmes avatar HarryJHolmes commented on August 15, 2024

I got it all working the biggest issue being that it’s streaming 24/7 and like @jeroenterheerdt Im not sure how to make it work on demand?

from ring-hassio.

Devqon avatar Devqon commented on August 15, 2024

@HarryJHolmes cool that it works. I am still getting errors on the refresh token, but I might be doing something wrong. If I can get it to work I'll try to dive into the on-demand issue.

[services.d] done.
(node:193) UnhandledPromiseRejectionWarning: Error: Failed to fetch oauth token from Ring. Verify that your refresh token is correct. invalid_grant
    at RingRestClient.<anonymous> (/ring-hassio/ring_hassio/node_modules/ring-client-api/lib/api/rest-client.js:129:23)
    at Generator.throw (<anonymous>)
    at rejected (/ring-hassio/ring_hassio/node_modules/ring-client-api/lib/api/rest-client.js:6:65)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

from ring-hassio.

jeroenterheerdt avatar jeroenterheerdt commented on August 15, 2024

Thanks a lot both of you! Looking forward to bringing this back to life.

from ring-hassio.

Devqon avatar Devqon commented on August 15, 2024

Awesome I've got it working. One question (maybe this issue is not the correct spot); do I really need to open up port 3000 on my router too? Does the ring api use it or is it just to be able to connect to the stream from outside my network?

from ring-hassio.

HarryJHolmes avatar HarryJHolmes commented on August 15, 2024

I never opened it for inbound traffic only outbound @Devqon

from ring-hassio.

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.