@xela It’s not supported natively by webcamjs
. See this issue posted here. You can try CSS transforms, but it may be too processor intensive for the RPi.
Read the statement by Michael Teeuw here.
Posts
-
RE: Help with the camera
-
RE: Display a .png saved on the raspberry pi hard drive
@snowman @cruunnerr You’re right. It is however baked into
MMM-SimpleLogo
. There is a time stamp query parameter appended to the image, so that it fetches a new version every time and does not load the cached version. Also, it has arefreshInterval
config parameter to set how often it updates (e.g."5*60*1000"
for 5 minutes). -
RE: This Day in History ticker?
@donutsoup I think @cowboysdude’s module should do what you want: https://forum.magicmirror.builders/topic/1803/mmm-history/9
It’s a TDIH module that cycles through different years and their significance.
-
RE: Input field forces restart instead of update
@joncedimov If it’s the [enter] causing problems, you may need to override/disable the
onsubmit
event listener for the form. It may be that you’re submitting the form, MM has no idea what to do with that data, and so simply displays (reloads) the same page. -
RE: MMM-Remote-Control show error on start
@cruunnerr Just from the stack trace and mention of
git
, I have a suspicion that this whereMMM-Remote-Control
polls Github for thegit status
of each installed module (are you running four third-party mods?). If MM is still working, it seems that it fails gracefully and is not causing problems. It appears that itsnode_helper.js
on line 240 has areplace()
call that is not receiving a proper string (or regex?). -
RE: Help with the camera
Have a look at MMM-pages. Install it, and you can then send a
PAGE_CHANGED
notification either when you send the camera notifications (voicecontrol module) or when you receive and process them (camera module). That should page between the camera and everything else. -
RE: fs.stat SyntaxError: Unexpected token
It may be included by default in Node.js, but you still need to import it into your script.
-
RE: Help with the camera
@xela Which modules are you using? Did you run
npm install
in both folders? Do you also have the camera module in yourconfig.js
? -
RE: fs.stat SyntaxError: Unexpected token
@pepebc It may depend on what precedes that snippet (if anything). Try copy/pasting the whole file into JSHint, it may give you a better idea. Also, doesn’t
fs.stat()
take apath
as the first argument?