GithubHelp home page GithubHelp logo

stevenflesch / ring-to-android-tv Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 10.0 636 KB

Node application to send Ring API events/pictures to Android TV via PiPup.

License: MIT License

JavaScript 99.52% Shell 0.48%
camera doorbell doorbot node nodejs ring

ring-to-android-tv's People

Contributors

dependabot[bot] avatar stevenflesch avatar theswede86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ring-to-android-tv's Issues

Synology / docker support

Hi,

I came across your script on Reddit and can't wait to get started. It's exactly what I need. I have a Synology nas running Node v6. I've tried installing your program by following your instructions but I'm getting stuck on the npx part. I've had a quick look on Google and it looks like npx isn't available to Synology devices.

Running sudo npm install -g npx doesn't work ๐Ÿ˜ญ

I wondered if anyone else has successfully got it working on their device? or would creating a docker container be a possibility?

TypeError: Cannot read properties of undefined (reading 'subscribe')

I know this isn't mantained anymore but thought I'd add an issue I'm facing and if someone knows how I can get around this?

Amazon Linux 2023 [EC2]
Node.js v18.16.0

Steps to reproduce:

  1. Install based on instructions on README
  2. Run: node app.js
  3. Unable to start and following error code is presented:

Error Code:

Refresh Token Updated
Found location: [LOCATION]
	 - Found Doorbell Gen 2 named Front Door.
/home/ec2-user/ring-to-android-tv/app.js:142
            camera.onNewDing.subscribe(async ding => {
                             ^

TypeError: Cannot read properties of undefined (reading 'subscribe')
    at /home/ec2-user/ring-to-android-tv/app.js:142:30
    at Array.forEach (<anonymous>)
    at /home/ec2-user/ring-to-android-tv/app.js:138:26
    at Array.forEach (<anonymous>)
    at startCameraPolling (/home/ec2-user/ring-to-android-tv/app.js:134:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

"Unable to retrieve camera locations because: Response code 404"

Hello,

Just tried this project out for the first time, I understand this not actively maintained but posting here anyway;

$node app.js --test
Attempting to get demo snapshot...
Refresh Token Updated
[ERROR] Unable to retrieve camera locations because: Response code 404 (Not Found)

I created a Ring API-token and put it in the ".env"-file and the error seems to be more about it not being able to locate the various "locations" I have / that the ring-client-api tries to fetch.

I looked at the package version of "ring-client-api" and it is;
9.12.8 (Dec 05 2020); https://github.com/dgreif/ring/releases/tag/v9.12.8
whereas the latest as of Jan 14 2021 is 9.23.0; https://github.com/dgreif/ring/releases/tag/v9.23.0

I am guessing the latest version of "ring-client-api" might solve this but I also guess that "ring-to-android-tv" needs to be changed as well? I don't know anything about node.js otherwise I would happily help.

Best Regards - Karl

Ring 3 & snapshot

Is there a way to set when the snapshot is taken?, in my testing the ring shows what happens before I even pressed the doorbell, I was coming out of the field of view. Just looked like no was there. When the bell went off.

Unable to get snapshot

Hello, I recently installed the service and when there is an event the notification will be send to my SHIELD TV without any issues but is unable to retrieve a snapshot.

When I use the test command it works without any issues. Anything I can do to fix this? Thanks!

Time Delay for the snapshot to be displayed

Got this working perfectly on my Raspberry Pi Zero and there is about a min time delay between button pressed and showing on the tv, not sure if this is due to the underpowered Raspberry Pi?

thanks again, amazing work

Store snapshot history

Add an option to allow snapshots to be saved with a timestamped filename to a snapshots/ directory.

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.