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: Reload when online

      @sdetweil I believe he have script to detect wifi/internet running on the same Pi, so he should be able to reload the mirror which is also running on same Pi.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Reload when online

      @fillilutten Better WIFI dongle is the useful, but if you want to reload or restart the mirror then you can use Remote control module and can send command from your script.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Local .ics file access error

      @kai as @lolo suggested the files will be accessible if it is in modules directory. Not all files on root level are accessible directly. Below directories and their child directories and files are accessible from browser.

      "/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/tests/configs"
      
      posted in Troubleshooting
      A
      ashishtank
    • RE: MM Docker with MMM-Todoist & MMM-Admin-Interface

      @irontamoor The error suggests that instead of .css or .js file it is responding with html (could be 404 or other error details). Go to network tab and filter with mmm-todo and check the response from server.

      Did you do npm install for this modules in docker ? I think you need that for external modules in docker.

      posted in Troubleshooting
      A
      ashishtank
    • RE: set 'X-Frame-Options' to 'sameorigin'.

      @MichaelKrems Considering you know what you are doing suggesting below.

      Change below line in server.js, let me know if that works.

      	app.use(helmet({ contentSecurityPolicy: false }));
      

      to

      	app.use(helmet({ contentSecurityPolicy: false, frameguard: false }));
      

      It should work as below

      c4d051a7-de1a-43a8-9fe3-42bddc80dc9b-image.png

      posted in Troubleshooting
      A
      ashishtank
    • RE: Can I rotate the pages (MMM-Pages) with MMM-TelegramBot or MMM-RemoteControl?

      @MiguelDAD said in Can I rotate the pages (MMM-Pages) with MMM-TelegramBot or MMM-RemoteControl?:

      >  config: {
      >     telegramAPIKey : 'thisisokey',
      > 	allowedUser : ['MiguelDAD'], // This is NOT the username of bot.
      >   } < ---------------------------------Comma is missing here
      >   customCommands: [
      > 	{
      > 		command: "nextpage",
      >
      

      @MiguelDAD Are you able to get it working after adding comma here as @Bugsounet have suggested ?

      posted in Troubleshooting
      A
      ashishtank
    • RE: 75" (180x60cm) Standing Mirror with dual screens

      @SiDuMo Looks good !

      posted in Show your Mirror
      A
      ashishtank
    • RE: Occasional white screen

      @murrayg77 Yes, that’s Anti burn module :) it will show white screen for 5 seconds.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Compliments Remote

      @gkchimz It is not working because there are few errors with your JSON file. Check your json here https://jsonformatter.curiousconcept.com

      2021-01-08-17-48-10-Clipboard
      2021-01-08-17-49-22-https-raw-githubusercontent-com-gkchim-MM-main-compliments-json

      after adding missing , (comma) it should work.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Display

      @Bolovai you can use slim power strip to power the display and pi and only one cable needs to be managed. you can also manually switch off both of them after shutting down pi (optional) from the power strip button or cable.

      posted in Troubleshooting
      A
      ashishtank
    • 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