jeroenterheerdt / ring-hassio

A Home Assistant add-on for live streaming from Ring devices.
MIT License
133 stars 94 forks source link

Not getting the stream to work #56

Closed DutchGooseNL closed 3 years ago

DutchGooseNL commented 3 years ago

Hello and thanks for this amazing add-on

I've followed the installation and started the Ring Livestream. I've checked the refresh token many times and I've also opened the correct ports. But no live stream. I am new to programming and making everything work.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Checking If Voordeur Is the same as the camera we are looking for (Front Door)
output directory: public/
Started server, listening on port 3000.
(node:198) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'streamVideo' of undefined
    at /ring-hassio/ring_hassio/livestream.js:194:53
    at step (/ring-hassio/ring_hassio/livestream.js:34:23)
    at Object.next (/ring-hassio/ring_hassio/livestream.js:15:53)
    at fulfilled (/ring-hassio/ring_hassio/livestream.js:6:58)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:198) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:198) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Maybe you could help me fix it.