Giter Club home page Giter Club logo

mmm-eyecandy's Issues

multi GIf refrech

Hello,
super module,
was wondering if it was possible to put several Gif which is linked after a certain time?
Thank you in advance.

This module seems to block 'Updatenotification' (default) module

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:

no_updates

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

Not an issue.. please help then delete right away

@mykle1

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.

New Feature Suggestion: Specify multiple styles

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

Stops working after a little while until reboot

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?

Slideshow Feature

Thanks for the great module! I was wondering if there was a way to display a slideshow of images as opposed to only one.

ReferenceError: Module is not defined

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)

z-index Config Option

Using style 40, it overlaps with other stuff on small monitor.

Idea:
give makeitbackground: true - it goes into background via z-index setting.

Image list barely usable

I tried a few of your images. But copy pasting them to my browser by hand was boring.

Ideas:

  • Script to download them to a folder, so I can have a look at them.
  • Very small comment after the lines to I know what I'm gonna see (for future links obvlsy.)

Giphy

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.

Python Type Checking and the face comparison script

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

no background

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.