mykle1 / mmm-eyecandy Goto Github PK
View Code? Open in Web Editor NEWAnimated images that are superficially attractive and entertaining but intellectually undemanding. Cool as all hell though!
License: MIT License
Animated images that are superficially attractive and entertaining but intellectually undemanding. Cool as all hell though!
License: MIT License
Hello,
super module,
was wondering if it was possible to put several Gif which is linked after a certain time?
Thank you in advance.
Hi,
Apparently, this module will not allow the default updatenotification module to show up.
It doesn't matter where I set this module's position, the update will not show up; I'm using the default configuration.
I realized the problem might be related to this module after seeing this on the MMM-Remote-Control interface:
If I remove this module from the config, Updatenotification is no longer blocked.
I tested with more random modules, and the only one that is affected is the update notification default module.
Thank you
How on Earth can I send a message to you (or another module developer) for a small question about your module that is not necessarily an issue? I have been submitting issues on other modules for things like this because I have looked everywhere for a method to send developers private messages.
I am sorry for creating an "issue" to get this question answered. Please feel free to close it right away.
The suggestion is to allow multiple styles to be specified in a single Style: specification and then displayed in the single module position in carousel fashion.
Perhaps, a comma delimited list that accepts
a) single numbers
b) ranges eg 10-13
eg 1,4,5,10-11,23-45,12
An additional parameter the control the transition time would be required.
I know the same result can be achieved using existing carousel modules but this would significantly simplify the configuration
First, I love this module - thank you.
However, I have been noticing that this module stops working while others appear unaffected (ruling out network connectivity issues also manually). Upon restarting MM it works again. Have you seen this issue before?
Thanks for the great module! I was wondering if there was a way to display a slideshow of images as opposed to only one.
I am using this module to display a weather radar (http://images.intellicast.com/WxImages/RadarLoop/dsm_None_anim.gif) and it loads it fine on initial start up but it doesn't seem to be refreshing. I have update interval set to 5-60-1000. I have even sat and stared at the screen for 5 minutes to see the update animation, but it never happens.
Run with command node MMM-EyeCandy.js
I got error:
ReferenceError: Module is not defined
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-EyeCandy/MMM-EyeCandy.js:8:1)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
at startup (internal/bootstrap/node.js:201:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)
Using style 40, it overlaps with other stuff on small monitor.
Idea:
give makeitbackground: true - it goes into background via z-index setting.
I tried a few of your images. But copy pasting them to my browser by hand was boring.
Ideas:
Sir, is it possible to rotate through several gifs? I can use one url from giphy but when I try and add a second using ,'https://sample.com ', it doesn't work.
I have an error happening when a face is detected. I made a post in the MM2 forum, and the only response I have so far is:
@KSumwalt it seems that python has added type checking, which it wasn’t using before.
there was another python related type checking problem a few days ago…
looks like the node_helper has launched the python script to compare the face files, and run into a problem checking the parms passed to it.
I have loaded the MMM-Face-Reco-DNN and even used the i_face_recognition.py from https://www.pyimagesearch.com/2018/06/25/raspberry-pi-face-recognition/ with the encodings file generated from the MMM-Face-Reco-DNN instructions and had that .py file recognize faces. So I backed everything out of my config file except the default MMM-Face-Reco-DNN settings from the instructions and when I manually start MM2 everything looks fine. I am running on a Raspberry Pi 4. I did install a different facial recognition module, but it was not in the config file and decided not to use it when I saw it only recognized 1 person. When I step in front of the camera, this comes up in the terminal where I manually started MM2:
[2020-08-09 00:59:28.399] [ERROR] Whoops! There was an uncaught exception...
[2020-08-09 00:59:28.400] [ERROR] PythonShellError: TypeError: ' (/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:121:13)
at ChildProcess.emit (events.js:200:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
----- Python Traceback -----
File "modules/MMM-Face-Reco-DNN/tools/facerecognition.py", line 143, in
if minDistance < args["tolerance"]: {
traceback: 'Traceback (most recent call last):\n File ' +
'"modules/MMM-Face-Reco-DNN/tools/facerecognition.py", line ' +
'143, in \n if minDistance < args["tolerance"]:\n' +
"TypeError: '<' not supported between instances of " +
"'numpy.ndarray' and 'str'\n",
executable: 'python3',
options: null,
script: 'modules/MMM-Face-Reco-DNN/tools/facerecognition.py',
args: [
'--cascade=modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml',
'--encodings=modules/MMM-Face-Reco-DNN/tools/encodings.pickle',
'--usePiCamera=1',
'--source=0',
'--rotateCamera=0',
'--method=dnn',
'--detectionMethod=hog',
'--interval=2000',
'--output=0',
'--extendDataset=False',
'--dataset=modules/MMM-Face-Reco-DNN/dataset/',
'--tolerance=0.6'
],
exitCode: 1
}
[2020-08-09 00:59:28.409] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-08-09 00:59:28.409] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
There is a little more information at the linked forum post, include the config file if you need it. Is there any assistance you can provide?
Kindest Regards,
Karl Sumwalt
Hello mykle,
It's not really a issue, just an information for users. I like your module but i have looking to adapt your module with the module backgroud. It's important to say that users can have animated gif without background. Just add this in eyecandy.js. For example :
'100':`` 'https://3.bp.blogspot.com/-PWKHewX20Qk/W7u2WBX1dRI/AAAAAAAAArs/MoTp4utMcggCxvmCQkNhHSEyg6dPu7H3gCLcBGAs/s200/Earth.gif',
'200': 'https://media0.giphy.com/media/yo1whaKkz38ME/giphy.webp?cid=ecf05e475d7a28e4409a759fe138783e35fe93754f28de52&rid=giphy.webp',
'300': 'https://media3.giphy.com/media/CIjXMxobcEnkI/giphy.gif?cid=ecf05e47d1f8dbd2e0848f52a7aeb39b6467937d25a9633a&rid=giphy.gif',
Have a good day
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.