Just to update - dont know whats changed but the module is working ok now! Thanks!
Read the statement by Michael Teeuw here.
Posts made by sithlordhood
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
Ok, thanks very much for helping out.
One final thing that i thought of was that i’m using the wired ethernet interface on the Pi, not the WiFi. Not sure if this matters, just thought it a bit odd that i did not get any data displayed in the Network tab?
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
i dont see any entries in the network tab at all, i have stopped and restarted the record and hit the button on the doorbell but nothing apears in the log.
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
@DustinBryant yes i did, a few times and still the same. The video files are still appearing after the log says stream has ended
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
its still the same im afraid:
main.js:454 Initializing MagicMirror.
translator.js:202 Loading core translation file: translations/en.json
translator.js:225 Loading core translation fallback file: translations/en.json
loader.js:179 Load script: modules/MMM-Ring//MMM-Ring.js
module.js:468 Check MagicMirror version for module ‘MMM-Ring’ - Minimum version: 2.1.0 - Current version: 2.9.0
module.js:470 Version is ok!
module.js:476 Module registered: MMM-Ring
loader.js:150 Bootstrapping module: MMM-Ring
loader.js:179 Load script: https://cdn.jsdelivr.net/npm/hls.js
loader.js:155 Scripts loaded for: MMM-Ring
loader.js:194 Load stylesheet: modules/MMM-Ring/MMM-Ring.css
loader.js:157 Styles loaded for: MMM-Ring
loader.js:159 Translations loaded for: MMM-Ring
loader.js:194 Load stylesheet: css/custom.css
main.js:472 All modules started!
module.js:156 MMM-Ring received a system notification: ALL_MODULES_STARTED
module.js:156 MMM-Ring received a system notification: MODULE_DOM_CREATED
module.js:156 MMM-Ring received a system notification: DOM_OBJECTS_CREATED
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
protocols.This exposes users of this app to unnecessary security risks.
Consider loading the following resources over HTTPS or FTPS.- http://localhost:8080/css/main.css
- http://localhost:8080/fonts/roboto.css
- http://localhost:8080/socket.io/socket.io.js
- http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
- http://localhost:8080/js/defaults.js
- http://localhost:8080/config/config.js
- http://localhost:8080/vendor/vendor.js
- http://localhost:8080/modules/default/defaultmodules.js
- http://localhost:8080/js/logger.js
- http://localhost:8080/translations/translations.js
- http://localhost:8080/js/translator.js
- http://localhost:8080/js/class.js
- http://localhost:8080/js/module.js
- http://localhost:8080/js/loader.js
- http://localhost:8080/js/socketclient.js
- http://localhost:8080/js/main.js
- http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
- http://localhost:8080/translations/en.json
- http://localhost:8080/translations/en.json
- http://localhost:8080/modules/MMM-Ring//MMM-Ring.js
- http://localhost:8080/modules/MMM-Ring/MMM-Ring.css
- http://localhost:8080/css/custom.css
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with “unsafe-eval” enabled. This exposes users of
this app to unnecessary security risks.For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureCSP @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 -
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
I’m not using Two-Factor authentication.
This is the extract from the debug console window
main.js:454 Initializing MagicMirror.
translator.js:202 Loading core translation file: translations/en.json
translator.js:225 Loading core translation fallback file: translations/en.json
loader.js:179 Load script: modules/MMM-Ring//MMM-Ring.js
module.js:468 Check MagicMirror version for module ‘MMM-Ring’ - Minimum version: 2.1.0 - Current version: 2.9.0
module.js:470 Version is ok!
module.js:476 Module registered: MMM-Ring
loader.js:150 Bootstrapping module: MMM-Ring
loader.js:179 Load script: https://cdn.jsdelivr.net/npm/hls.js
loader.js:155 Scripts loaded for: MMM-Ring
loader.js:194 Load stylesheet: modules/MMM-Ring/MMM-Ring.css
loader.js:157 Styles loaded for: MMM-Ring
loader.js:159 Translations loaded for: MMM-Ring
loader.js:194 Load stylesheet: css/custom.css
main.js:472 All modules started!
module.js:156 MMM-Ring received a system notification: ALL_MODULES_STARTED
module.js:156 MMM-Ring received a system notification: MODULE_DOM_CREATED
module.js:156 MMM-Ring received a system notification: DOM_OBJECTS_CREATED
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
protocols.This exposes users of this app to unnecessary security risks.
Consider loading the following resources over HTTPS or FTPS.- http://0.0.0.0:8080/css/main.css
- http://0.0.0.0:8080/fonts/roboto.css
- http://0.0.0.0:8080/socket.io/socket.io.js
- http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
- http://0.0.0.0:8080/js/defaults.js
- http://0.0.0.0:8080/config/config.js
- http://0.0.0.0:8080/vendor/vendor.js
- http://0.0.0.0:8080/modules/default/defaultmodules.js
- http://0.0.0.0:8080/js/logger.js
- http://0.0.0.0:8080/translations/translations.js
- http://0.0.0.0:8080/js/translator.js
- http://0.0.0.0:8080/js/class.js
- http://0.0.0.0:8080/js/module.js
- http://0.0.0.0:8080/js/loader.js
- http://0.0.0.0:8080/js/socketclient.js
- http://0.0.0.0:8080/js/main.js
- http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
- http://0.0.0.0:8080/translations/en.json
- http://0.0.0.0:8080/translations/en.json
- http://0.0.0.0:8080/modules/MMM-Ring//MMM-Ring.js
- http://0.0.0.0:8080/modules/MMM-Ring/MMM-Ring.css
- http://0.0.0.0:8080/css/custom.css
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with “unsafe-eval” enabled. This exposes users of
this app to unnecessary security risks.For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureCSP @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 -
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
These are the files in the public folder once the doorbell is pressed. Note these files only appear once the log shows “Front door video stram has ended”
-rw-r–r-- 1 pi pi 0 Oct 31 20:10 stream0.ts
-rw-r–r-- 1 pi pi 117 Oct 31 20:10 stream.m3u8Regardless of the time set for “ringMinutesToStreamVideo” the log always shows a run of less than 30 seconds:
MMM-Ring at (10/31/2019, 8:09:42 PM): Front Door had its doorbell rung! Preparing video stream.
MMM-Ring at (10/31/2019, 8:10:03 PM): Front Door video stream has ended
timeout hit -
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
Hi, i have tried what you have suggested and a .ts file does get dropped in, I have tried to play it but it does not play, the file size is only 117 bytes.
I have tried this on a complete fresh system, running Raspbian Buster, with the current MM build, also this is the only module i have active in the config file. No video at all is shown on the mirror! help!
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
@DustinBryant Thanks for all of the suggestions, I have followed this and now do not get any errors but i see no video on the mirror!
Anything else i can check?
-
RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.
@DustinBryant This is what the mm log shows:
MMM-Ring at (10/10/2019, 20:59:55): Found 1 location(s) with 1 camera(s).
MMM-Ring at (10/10/2019, 20:59:55): Location Home has the following 1 camera(s):
MMM-Ring at (10/10/2019, 20:59:55): - 7076807: Front Door (doorbell_v3)
MMM-Ring at (10/10/2019, 20:59:55): Location Home has the following 0 device(s):
MMM-Ring at (10/10/2019, 20:59:55): Actively listening for doorbell pressesThen i press the doorbell:
MMM-Ring at (10/10/2019, 21:00:04): Front Door had its doorbell rung! Preparing video stream.
MMM-Ring at (10/10/2019, 21:00:26): Front Door video stream has ended
Whoops! There was an uncaught exception…
TypeError: Cannot read property ‘stop’ of null
at Timeout.setTimeout [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-Ring/node_helper.js:153:36)
at ontimeout (timers.js:427:11)
at tryOnTimeout (timers.js:289:5)
at listOnTimeout (timers.js:252:5)
at Timer.processTimers (timers.js:212:10)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesNo video is displayed on the MagicMirror.
Also I have specificed a 2 minute stream time in the config.js but as shown above, the video only shows it runs for 30 seconds…
config.js:
{ module: "MMM-Ring", position: "top_left", config: { ringEmail: "EMAIL", ringPwd: "PASSWORD", ringMinutesToStreamVideo: "2", //default is 2 mins ringVideoWidth: "600" //default is 600px } },