@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?
@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?
@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 presses
Then 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/issues
No 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
}
},
@DustinBryant Thanks, i have installed but still not working. I get the files in the public folder but still no video
Hi I cant get the module to work - it comes up with the following error in the logs, can you advise?
MMM-Ring at (06/10/2019, 22:22:19): Found 1 location(s) with 1 camera(s).
MMM-Ring at (06/10/2019, 22:22:19): Location Home has the following 1 camera(s):
MMM-Ring at (06/10/2019, 22:22:19): - 7076807: Front Door (doorbell_v3)
MMM-Ring at (06/10/2019, 22:22:19): Location Home has the following 0 device(s):
MMM-Ring at (06/10/2019, 22:22:19): Actively listening for doorbell presses
MMM-Ring at (06/10/2019, 22:22:45): Front Door had its doorbell rung! Preparing video stream.
Whoops! There was an uncaught exception...
{ Error: spawn ffmpeg ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn ffmpeg',
path: 'ffmpeg',
spawnargs:
[ '-hide_banner',
'-protocol_whitelist',
'pipe,udp,rtp,file,crypto',
'-f',
'sdp',
'-i',
'pipe:',
'-acodec',
'aac',
'-vcodec',
'copy',
'-preset',
'veryfast',
'-g',
'25',
'-sc_threshold',
'0',
'-f',
'hls',
'-hls_time',
'2',
'-hls_list_size',
'6',
'-hls_flags',
'delete_segments',
'/home/pi/MagicMirror/modules/MMM-Ring/public/stream.m3u8' ] }
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/issues
@strawberry-3.141 Thanks for replying…
I tried npm install in the MMM-WunderGround directory but it failed (I don’t think there are any dependencies that require installing?)
I checked the path and the directory was there however it was named ‘MMM-Wunderground’ and in the config.js I call ‘MMM-WunderGround’. I changed the directory name to ‘MMM-WunderGround’ and the module now loads!
Funnily enough before this I tried changing the config.js file to match the directory name and this did not work, I had to change the directory name to add the capital letter to the U.
Thanks all for your help, finally sorted!
Hi Thanks for the reply - I have tried your config and am still having the same result, the module does not show up at all.
I am not seeing any error either regarding the config.js file…
This leads me to believe it must be something to do with the api key. Are you able to talk through exactly what to do to set the key up? I think I have done it right (see screenshot in first post) but may be missing something… How many characters is your api key?
I was hoping someone could help me…
I have been trying to setup MMM-WunderGround on my mirror but have been unsuccessful so far.
Here is my config:
{
module: 'MMM-WunderGround', // Just for forecast w/css entry
position: 'top_right',
config: {
apikey: 'xxxxxxxxxxxxxxxx', // apikey from weatherunderground
pws: 'pws:IPORTSMO30', // location
currentweather: 0,
coloricon: true,
hourly: '1',
fctext: '1',
fcdaycount: "10",
fcdaystart: "0",
hourlyinterval: "2",
hourlycount: "1",
animationSpeed: 5000,
alerttime: 10000,
alerttruncatestring: "english:",
roundTmpDecs: 0,
UseCardinals: 1,
layout: "vertical",
windunits: "mph",
sysstat: "0"
}
},
Everything else in my config file is booting properly and working fine.
Regarding the API key - from the weather underground page I have subscribed to the anvil plan and have got my ‘API Key’ which is a 16 alphanumerical code and this is what I am using, is this correct? See screenshot below:
When booting the logs show no errors and do not refer to the MMM-WunderGround module at all. The only other thing I can think of is I am still using the default ‘current weather’ and ‘weather forecast’ modules in my config.js - could it be that these are conflicting with the MMM-WunderGround module? EDIT: I have commented out these two modules and tried again - still the same so I don’t think these are the problem.
I have tried everything previously mentioned in the recent weather underground post (https://forum.magicmirror.builders/topic/2292/problem-with-weather-underground-forecast/18).
Can anyone assist please? I have run out of ideas.
This has fixed my problem - thanks very much!
So since the update I have had nothing but problems, first the black screen on boot (I managed to get rid of this somehow by running ‘git pull && npm install’ for a second time…
Now however when I boot MM all of the modules load except the Calendar (default module).
When I boot MM the following log is shown:
Starting MagicMirror: v2.1.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: calendar
No helper found for module: currentweather.
No helper found for module: weatherforecast.
No helper found for module: calendar_monthly.
Initializing new module helper ...
Module helper loaded: MMM-NetworkScanner
Initializing new module helper ...
Module helper loaded: newsfeed
Initializing new module helper ...
Module helper loaded: MMM-Traffic
Initializing new module helper ...
Module helper loaded: mmm-systemtemperature
Initializing new module helper ...
Module helper loaded: updatenotification
All module helpers loaded.
Starting server on port 8080 ...
Starting server op port 8080 ...
Server started ...
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-NetworkScanner
Starting module: MMM-NetworkScanner
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-Traffic
MMM-Traffic helper started ...
Connecting socket for: mmm-systemtemperature
Starting node helper: mmm-systemtemperature
Connecting socket for: updatenotification
Sockets connected & modules started ...
(node:3999) DeprecationWarning: sys is deprecated. Use util instead.
Launching application.
Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/MY EMAIL/private-MY APIKEY/basic.ics - Interval: 300000
MMM-NetworkScanner received CONFIG
Create new news fetcher for url: http://feeds.bbci.co.uk/news/rss.xml?edition=uk - Interval: 300000
Whoops! There was an uncaught exception...
Error: dates lower than Thu Jan 01 1970 00:00:00 GMT+0000 (BST) are not supported
at Object.toOrdinal (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:105:15)
at Iterinfo.rebuild (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:1409:35)
at RRule._iter (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:978:10)
at RRule.between (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:794:21)
at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:122:24
at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1081: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/issues
I have downloaded the master file from git and replaced the modules/default on the pi with these but no change.
I know the calendar url is fine as when I access via web browser it downloads the .ics
Can anyone help at all?