@sdetweil ah heck, how did I miss that?! So I need to increase both of those intervals?
Latest posts made by velkrosmaak
MMM-GooglePhotos Unhandled promise rejection
I get the following on my vanilla GooglePhotos install. My scan iterval settings are defaults, i.e.:
refreshInterval: 1000*60, scanInterval: 1000*60*60,
and I very rarely see any photos appear. They do sometimes though.
0|mm | [01.04.2021 22:49.07.674] [ERROR] 0|mm | (node:13167) UnhandledPromiseRejectionWarning: Error: Request failed with status code 429 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (events.js:215:7) 0|mm | at endReadableNT (_stream_readable.js:1183:12) 0|mm | at processTicksAndRejections (internal/process/task_queues.js:80:21) 0|mm | [01.04.2021 22:49.07.690] [ERROR] 0|mm | (node:13167) 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(). (rejection id: 2) 0|mm | [01.04.2021 22:49.07.695] [ERROR] 0|mm | (node:13167) [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.
This doesn’t give me too many clues, and doesn’t appear to be me hitting the quota limit on the API, so i’m a bit stuck. Thanks for any help!
RE: Trigger showing IP camera stream (iFrame?) via API call
I see! Motioneye is a web frontend for motion (https://github.com/ccrisan/motioneye) but I don’t understand how the MM side would work.
Trigger showing IP camera stream (iFrame?) via API call
Loving my magicmirror setup, mainly showing Google photos and news which is great. I’ve been trying to work out how I can have the display switch to a full screen camera view when movement is detected on that camera. I’m using motioneye for the cameras, and Home Assistant for automation. From that, I can easily make an API call when movement is detected, so I wondered if there was a way I could achieve that.
I couldn’t find any plugins that seemed to support this, and the MM API docs don’t suggest this would work either. Anyone tried anything similar?