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

    Posts

    Recent Best Controversial
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @ViDiBi said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

      just uploaded some screenshots

      Nice!
      I do not have Miele, but Neff and that makes use of Home Connect.
      I see that Bosch, Siemens and Neff are listed, but not Miele.
      Still a nice module for MM, well done.

      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      Hi @ViDiBi

      Could you add one or more pictures?
      “Geräte werden geladen…“ is not vey exciting :-)

      And does it work with Home Connect, or is it for Miele only?

      posted in Utilities
      evroomE
      evroom
    • RE: pm2 Autostart invert issue

      @sdetweil said in pm2 Autostart invert issue:

      @Ethyx r u running buster?

      try this
      https://pimylifeup.com/raspberry-pi-rotate-screen/

      @Ethyx

      Did you try this?

      display_hdmi_rotate=2
      

      Make sure you only have one of the options active; not that you rotate a rotated screen. :-)

      posted in Bug Hunt
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @dwburger said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      I’m just getting the “have a nice day” error.

      Can you see if the omxplayer.log gives a clue?
      And what would your VLC url look like?

      It can be that your cam or codec is not supported.

      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @dwburger said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      Could someone give me a little push

      When using the module or not, omxplayer always will be an overlay on top of your MM display.

      Test if it works at all (example for an Axis IP camera):

      $ omxplayer --avdict rtsp_transport:tcp --live --video_queue 4 --fps 30 --win "0 625 590 957" rtsp://user:password@192.168.178.56/axis-media/media.amp?resolution=640x360
      

      With log:

      $ omxplayer --genlog --avdict rtsp_transport:tcp --live --video_queue 4 --fps 30 --win "0 0 640 360" rtsp://user:password@192.168.178.56/axis-media/media.amp?resolution=640x360
      

      The positioning of the stream can be a bit of a pain.
      Size of video stream:
      (x2 - x1) x (y2 - y1) = 640 x 360

      To use it under control of pm2 (iso of vi you also can use nano):

      $ cd /home/pi
      $ vi axis.sh
      #!/bin/bash
      echo "Starting Axis stream ..."
      
      # No rotation
      omxplayer --avdict rtsp_transport:tcp --live --video_queue 4 --fps 30 --win "0 625 590 957" rtsp://user:password@192.168.178.56/axis-media/media.amp?resolution=640x360
      
      $ pm2 start axis.sh
      $ pm2 save
      

      To see it run:

      $pm2 status
      

      To restart it:

      $ pm2 restart axis
      

      To stop it:

      $ pm2 stop axis
      

      To remove it from pm2:

      $ pm2 delete axis
      
      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      Btw. Assuming you use omxplayer. Do not have experience with other players.

      I use omxplayer ‘standalone’, not within MM, but under control of pm2.
      When I restart my camera, the omxplayer is connecting to the stream automatically.
      No restart of the omxplayer stream needed.
      Just FYI.

      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Hi,

      You can try adding this line to the config:

      omxRestart: 1,
      

      Automatically restart the OMX Stream every X hours.
      Default: 24 (hours).

      Btw. Assuming you use omxplayer. Do not have experience with other players.

      localPlayer: 'omxplayer',
      

      But getting rid of the root cause of connection dropping and image freezing after a few minutes seems better time invested.

      posted in Utilities
      evroomE
      evroom
    • RE: Portrait Mode

      See this thread:
      https://forum.magicmirror.builders/topic/9730/led-monitor-vertical-setup-how?_=1591998940597

      In your case I would try

      display_hdmi_rotate=1

      posted in General Discussion
      evroomE
      evroom
    • RE: Fresh Install

      @johnnyboy said in Fresh Install:

      Fingers x there is a Portrait fix going about, as cannot afford another build in Landscape mode

      Hi,

      Please read this thread:

      https://forum.magicmirror.builders/topic/9730/led-monitor-vertical-setup-how?_=1591998940597

      Perhaps it helps .

      posted in General Discussion
      evroomE
      evroom
    • MMM-GrafanaChart - scrolling issue

      Hi,

      I have position: 'fullscreen_above', but I do not see the complete dashboard.
      I can scroll the dashboard up and down, but I would like to see the complete dashboard on my MM display.

      Is this a Grafana issue, or a MMM-GrafanaChart issue ?

      Grafana on MM - 01

      With kind regards,

      @evroom

      See GitHub issue:
      https://github.com/SvenSommer/MMM-GrafanaChart/issues/8

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Can i download raspberrian to a thumb drive/external hard drive?

      @sdetweil said in Can i download raspberrian to a thumb drive/external hard drive?:

      on pi4 and odroid

      Sam, which Odroid do you use?
      And will a Pi 4 with 8Gb RAM be fast enough for MM these days?

      I use a Pi 3 and am planning to install Grafana and Influxdb on the same host.
      Perhaps asking for problems or warrants an HW upgrade.

      posted in General Discussion
      evroomE
      evroom
    • RE: Can i download raspberrian to a thumb drive/external hard drive?

      @retroflex
      I also did not leave both SD and USB in.
      I thought it will boot from SD first, especially since it is ready faster than the USB.
      But someone that does, will find out.

      Concerning Pi 4, I read that a beta fix is ready, but still under test. It appears to have some dependencies that could cause problems.
      But I do not yet use a Pi 4.
      What Sam does is the way to go at this moment.

      posted in General Discussion
      evroomE
      evroom
    • RE: Can i download raspberrian to a thumb drive/external hard drive?

      Here is what I know on this topic.

      OTP means One Time Programmable Memory.
      Meaning, you can set it only once, no return possible.

      vcgencmd otp_dump
      
      vcgencmd otp_dump | egrep '^17|^30|^66'
      
      vcgencmd otp_dump | grep ^17
      Use program_usb_boot_mode=1 to change.
      
      vcgencmd otp_dump | grep ^30
      Use max_usb_current=1 to change.
      
      vcgencmd otp_dump | grep ^66 
      Use program_usb_boot_timeout=1 to change.
      
      /boot/config.txt
      program_usb_boot_mode=1
      program_usb_boot_timeout=1
      max_usb_current=1
      
      Address 17 – bootmode register
      Bit 21 - Enable booting from SD card
      Bit 28 - Enable USB device booting
      Bit 29 - Enable USB host booting (ethernet and mass storage)
      
      Address 30 – revision code1 
      Bit 32 - Disable overvoltage
      
      Address 66 - advanced boot register
      Bit 24 - Extend USB HUB timeout parameter
      
      Green LED flashing due to absent SD card:
      
      dtoverlay=sdtweak,poll_once
      

      I would try this first:

      program_usb_boot_mode=1
      

      and if booting does not work:

      program_usb_boot_timeout=1
      

      So, first boot from SD card.
      Change config.txt to set program_usb_boot_mode=1.
      Boot again from SD card (sudo shutdown -r now).
      Halt system (sudo shutdown -h now)
      Remove SD card and place USB stick.
      Boot from USB stick.

      If boot fails, remove USB stick, place SD card.
      Boot from SD card.
      Change config.txt to set program_usb_boot_timeout =1.
      Boot again from SD card (sudo shutdown -r now).
      Hold system (sudo shutdown -h now)
      Remove SD card and place USB stick.
      Boot from USB stick.

      When it succeeds, remove the entries from config.txt again.

      program_usb_boot_mode=1
      program_usb_boot_timeout=1
      

      Be patient when rebooting from USB card.
      It takes a bit longer than with SD card.

      posted in General Discussion
      evroomE
      evroom
    • RE: Can i download raspberrian to a thumb drive/external hard drive?

      @sdetweil said in Can i download raspberrian to a thumb drive/external hard drive?:

      pis dont boot a usb stick.

      Actual they can, at least Pi 3 Model B and Pi 3 Model B Plus can.
      I replaced my SD-cards with USB sticks recently.

      @mynameisntavailable
      Send this info to determine it;

      $ cat /sys/firmware/devicetree/base/model;echo
      $ vcgencmd otp_dump | egrep '^17|^30|^66'
      

      You will need to change the config.txt once and reboot (using the Pi that runs on the SD-Card):

      /boot/config.txt
      program_usb_boot_mode=1
      program_usb_boot_timeout=1
      

      With these settings you can replace the SD-Card by a USB-Stick.

      17:3020000a
      30:00a02082
      66:01009daa
      

      There are people out there that actually have an external SSD drive running.
      The only thing that can be tricky I the power-supply as the USB Stick may draw too much current.
      I am using those little USB sticks (USB flash drive).

      posted in General Discussion
      evroomE
      evroom
    • RE: Calendar aggregation by date rather than quantity

      @jerbookins

      Hi,

      I suppose that when you play around with those 2 parameters, you will get want you want:

      maximumNumberOfDays: 7,
      maximumEntries: 100,
      

      Where maximumEntries is limited to the range 0 to 100, so if you are a very busy person …

      Good luck.

      posted in Requests
      evroomE
      evroom
    • RE: Need help with sdetweil script

      @sdetweil said in Need help with sdetweil script:

      so, as I have watched people struggle to reconstruct their mirrors after an update, I wanted to make it easier

      Hesitated a little bit to submit this reply, but I want to make use of this thread by complimenting Sam on his script.
      Also for persons that do not really struggle setting up MagicMirror, it is a very useful script. A real time-saver.
      Today I have set-up 2 MagicMirrors from scratch (went from using SD cards to using USB sticks) and it worked like a charm. Had them running again in no time.
      So, thanks Sam, for a job well done !

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Config Error

      @BKeyport said in Config Error:

      @evroom “convention” isn’t the right word here, perhaps. I’m almost leaning to “peer pressure” perhaps? Doing it because it seems everyone else is?

      I had to read the beginning of the thread first before starting ‘name-calling’ :-) And perhaps had to address it to the thread starter @PHAGE-GOV, for learning purposes
      Some people treat the config.js file as code and think that they are actually coding. In principle a JS file is a text file containing JavaScript code, so it is a bit misleading, although it contains “var config =”, which suggests it being a part of some code.
      IMHO it would be better to use the json extension, so config.json, as it is based on JSON and stores data structures and objects in this format.

      One should’t care less how coders use variables in their programs (as Sam said: “make names meaningful, use case where appropriate”, especially if you want to keep it maintainable or want to hand it over to someone else), but in case of config.js one should make at least a bit of an effort to keep it simple and understandable. Again: IMHO.

      In my book this is for example a no-go:

      {
      location: "New York",
      locationID: "", 
      appid: "YOUR_OPENWEATHER_API_KEY"
      }
      

      This is just waiting for an accident to happen.
      What is wrong using locationName, locationId and apiId ?
      Or location, location_id and api_id ?
      Probably nitpicking from my side, but it hurts my eyes :-)

      I would say “make names meaningful, use case where appropriate and keep it consistent”.

      I also know it it all voluntary work and it does not cost a dime (unless you donate something to the author, like I did) and therefore one is not really allowed to complain :-) I hope some constructive criticism is allowed though. Do not want to offend anyone.

      That being said, just enjoy your MagicMirror. :-)

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Config Error

      @sdetweil said in Config Error:

      i know what they are and know what good ones produce…

      Cannot tell from your reply, if you were offended by my post, but please don’t be.
      First of all you are the most appreciated and by far the most active member on the Forum and if it weren’t for you, less people would succeed with their installs and less people would be using MM.
      But you did say “i didn’t know there were any conventions!”, hence my reply, a bit naïve perhaps.
      Probably you meant so say it within the context of programming MM modules.
      I had better addressed the link to @BKeyport so that he could take notice, but in principle it was meant for those interested (and do not know that in MM “Welcome_message is not the same as welcome_message”).

      Have a nice day,

      @evroom

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Config Error

      @sdetweil said in Config Error:

      i didn’t know there were any conventions! least I don’t follow anything written anywhere

      Naming conventions are not must, but it is used to make code more readable and understandable.
      A quick google came up with this useful page:

      https://github.com/ktaranov/naming-convention/blob/master/JavaScript Name and Coding Conventions.md

      posted in Troubleshooting
      evroomE
      evroom
    • MMM-CalenderExt2: fullday events not displayed on day of event

      Hi,

      I recently started using MMM-CalenderExt2 due to issues with the default calendar, but with this module I have the following problem:

      Full day events are not displayed on the day of the event.

      I use Google Calendar to enter the event (full day event for today):

      BEGIN:VEVENT
      DTSTART;VALUE=DATE:20200502
      DTEND;VALUE=DATE:20200503
      DTSTAMP:20200502T102951Z
      UID:329p3d2e5fccimqrsfjl6c6g9e@google.com
      CREATED:20200502T102356Z
      DESCRIPTION:
      LAST-MODIFIED:20200502T102356Z
      LOCATION:
      SEQUENCE:0
      STATUS:CONFIRMED
      SUMMARY:ALLDAYTEST
      TRANSP:TRANSPARENT
      END:VEVENT
      

      On the MM I do not see the event.
      When I enter a full day event for tomorrow, I see the event scheduled for tomorrow.
      Then after the first refresh of the events on the day of the event (approx. at 00:05 hrs), the event is removed from the list of events for that day.

      Very annoying.
      Any ideas how to get this fixed ??
      Is this a parsing issue, or a module issue ??

      Part of config.js:

      views: [
            {
              name: "Familie Calendar",
              mode: "upcoming",
              position: "top_left",
              calendars: ["Familie Calendar"],
              slotCount: 1,
              slotTitle: "Family Calendar",
              slotMaxHeight: "16px",
              filterPassedEvent: true,
              maxItems: 9,
              maxDays: 60,
              locale: "de-DE",
              hideOverflow: false,
              dateFormat: "ddd Do MMM",
              dateTimeFormat: {
                      sameDay: "[Today] HH:mm",
                      nextDay: "[Tomorrow] HH:mm",
                      nextWeek: "dddd HH:mm",
                      lastDay: "[Yesterday] HH:mm",
                      lastWeek: "[Last] ddd HH:mm",
                      sameElse: "ddd Do Mo HH:mm",
                      },
              timeFormat: "HH:mm",
              relativeFormat: {
                      passed: "ended %ENDFROMNOW%",
                      current: "ends %ENDFROMNOW%",
                      future: "starts %STARTFROMNOW% (%DURATION%)",
                      },
              useEventTimeRelative: false,
              transform: (event)=>{
                if (event.title.search("Verjaardag") > -1) {
                  event.icon = "fxemoji-partypopper" // Set icon of that event to "fxemoji-partypopper"
                }
                if (event.title.search("RIP") > -1) {
                  event.icon = "fxemoji-whitelatincross"
                }
                return event // Return that event.
              },
            },
          ],
      
      posted in Troubleshooting
      evroomE
      evroom
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 24
    • 25
    • 7 / 25