MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ashishtank
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 141
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Display random gif from folder

      @fillilutten There few modules which can be used to display image or html content MMM-HTMLSnippet and MMM-iFrame but not sure if you can just use them or can send notification to change the content or url.

      If you learn html, css and JS it would be useful and fun :) . I have used MMM-EyeCandy module to show image from notification.

      Do below

      1. get MMM-EyeCandy from https://github.com/mykle1/MMM-EyeCandy
      2. edit the MMM-EyeCandy.js file and add below code.
      else if (notification === 'SHOW_EYECANDY_IMG') {
      			this.url = payload;
      			this.updateDom();
              }
      
      1. full function should look like below
          notificationReceived: function(notification, payload) {
              if (notification === 'HIDE_EYECANDY') {
                  this.hide();
              } else if (notification === 'SHOW_EYECANDY') {
                  this.show(1000);
              } else if (notification === 'SHOW_EYECANDY_IMG') {
      			this.url = payload;
      			this.updateDom();
              }
      
          },
      
      1. Using telegram or remote control module you can send notification SHOW_EYECANDY_IMG with image url to Eye candy to display different image.

      de096b55-bd2e-4a5d-bb77-19ecb24ebb5f-image.png
      c4a39ccb-ed6b-4aaf-b79d-29b45e895f2f-image.png

      posted in Requests
      A
      ashishtank
    • RE: My full size 60" full body mirror

      @MasonR1209 Looks great !

      posted in Show your Mirror
      A
      ashishtank
    • RE: Display random gif from folder

      @fillilutten That is what I said :) you need to stop the loop to either show one image or you can also tell it to only show images from one specific folder. I think https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow should be easily changed to achieve your requirements

      posted in Requests
      A
      ashishtank
    • RE: Display random gif from folder

      @fillilutten Did you checked https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow ? this is showing random images from folder(s) on disk. You need to stop the loop to show one image which should be easily doable.

      posted in Requests
      A
      ashishtank
    • RE: How to use the Alert module?

      @keineAhnung123 My pleasure.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Extend table / insert TD - please help

      @c1olli Not sure what exactly you are asking.

      posted in Development
      A
      ashishtank
    • RE: Question/help

      @innovation Just search for Raspberry Pi TTS and you should get plenty of tutorials for it

      posted in Development
      A
      ashishtank
    • RE: How to use the Alert module?

      @keineAhnung123 said in How to use the Alert module?:

      MMM-Buttons

      you could do something like this below. I did not tested it my self and it based on documentation of both MMM-Buttons and Alert module.

      {
      	pin: 24,
      	name: "alert",
      	longPress: {
      		title: "Show Alert",
      		message: "Keep pressed for 3 seconds to show alert",
      		imageFA: "alert image here",
      		notification: "SHOW_ALERT",
      		payload: { 
         				  type: 'notification',
         				  title : 'Title of notification', 
      				  message : 'Message text here',
         				  timer : 3000 
      				}
      	},
      	shortPress: undefined
      }
      
      posted in Troubleshooting
      A
      ashishtank
    • RE: Blank Screen after reboot

      @anishfer said in Blank Screen after reboot:

      Error: listen EADDRINUSE: address already in use 127.0.0.1:8080

      here is the clue Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      some other process or another instance of MM is using the 8080 port. so either you need to stop that application or need to use another port.
      You can use another port in config.js file by changing it to some other value.

      port: 8080,
      

      also looks like there are issues with config.js correct them as well.

      roundTemp: true,
      ^^^^^^^^^
      
      posted in Bug Hunt
      A
      ashishtank
    • RE: After update, nothing happens.

      @Richard238 you need at least 3 reputation to post more often. It will be visible in your profile.

      posted in Troubleshooting
      A
      ashishtank
    • 1 / 1