stevenflesch / ring-to-android-tv Goto Github PK
View Code? Open in Web Editor NEWNode application to send Ring API events/pictures to Android TV via PiPup.
License: MIT License
Node application to send Ring API events/pictures to Android TV via PiPup.
License: MIT License
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?
A combination of forever
and crontab
should be added to the README to enable running the app as a service.
Currently, the Ring object is not captured in a try/catch so if the API token is invalid, the script exits with a large block of error text.
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:
node app.js
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)
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
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.
Will need to move all customizations to a separate, non-tracked file.
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!
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
Add an option to allow snapshots to be saved with a timestamped filename to a snapshots/
directory.
Is it possible to send one camera screen shot to multiple Android TV's?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.