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

    Topics

    • R

      MMM-NearCompliments and HC-SR04

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      235 Views
      R
      Long story short: I had my MagicMirror working until the SD card got corrupted. After rebuilding the mirror, I cannot use my HC-SR04 sensor to display the hidden compliments. I have verified that the HC-SR04 is in fact working by using a python script: pi@MagicPicture:~ $python3 ultrasonic_distance.py Measured Distance = 124.3 cm Measured Distance = 122.6 cm Measured Distance = 0.4 cm Measured Distance = 122.6 cm Measured Distance = 122.1 cm Measured Distance = 123.0 cm ^CMeasurement stopped by User MMM-NearCompliments hides the compliments upon mirror restart but interacting with the sensor does nothing. I have been unsuccessful in configuring it to directly access the sensor, trying multiple iterations of its configuration settings. This is how I left its config: config: { echoPin: 4, triggerPin: 17, delay: 20, autoStart: true, usePIR: false, calibrate: false, position: 'bottom_left' } I also have tried (separately) using both MMM-Pir and MMM-GPIO-Notifications in order to use their USER_PRESENCE notifications for sensor interaction… When I set the MMM-NearCompliments config to usePIR:true when using MMM-Pir the sensor does not work, plus I cannot stop the monitor from shutting down…from which I am unable to recover. When I use MMM-GPIO-Notifications with MMM-NearCompliments. I get complaints that the usePIR:true config setting requires MMM-PIR. I would like to know if anyone has MMM-NearCompliments working directly with an HC-SR04 sensor (i.e. without using MMM-Pir), and request that you share your configuration settings. Barring that, any information or assistance would be appreciated. Take care. rrslssr
    • R

      MMM-FAA-Delay Replacement

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Requests
      1
      1 Votes
      1 Posts
      235 Views
      R
      I was disappointed to be told that the FAA added a nonexistent API key which effectively broke the MMM-FAA-Delay module: Stuck at “Loading Airport Data” #3 . So I did a little digging and found that the FAA maintains a website that contains XML data showing currently affected airports’ status: Airport Status Information. Today’s status are: <AIRPORT_STATUS_INFORMATION><Update_Time>Fri Feb 2 15:22:15 2024 GMT</Update_Time><Dtd_File>http://www.fly.faa.gov/AirportStatus.dtd</Dtd_File><Delay_type><Name>Ground Delay Programs</Name><Ground_Delay_List><Ground_Delay><ARPT>SFO</ARPT><Reason>runway construction</Reason><Avg>38 minutes</Avg><Max>1 hour and 30 minutes</Max></Ground_Delay></Ground_Delay_List></Delay_type><Delay_type><Name>Airport Closures</Name><Airport_Closure_List><Airport><ARPT>GPT</ARPT><Reason>!GPT 01/213 GPT AD AP CLSD EXC ROTARY WING DLY 0545-1100 2402010545-2402031100</Reason><Start>Feb 01 at 05:45 UTC.</Start><Reopen>Feb 03 at 11:00 UTC.</Reopen></Airport></Airport_Closure_List></Delay_type><Delay_type><Name>Airport Closures</Name><Airport_Closure_List><Airport><ARPT>LAS</ARPT><Reason>!LAS 12/067 LAS AD AP CLSD TO NON SKED TRANSIENT GA ACFT EXC PPR 702-261-7775 2312132300-2403132300</Reason><Start>Dec 13 at 18:00 UTC.</Start><Reopen>Mar 13 at 19:00 UTC.</Reopen></Airport></Airport_Closure_List></Delay_type></AIRPORT_STATUS_INFORMATION> I was also able to find a file that appears to define all of the elements used in the Airport Status Information XML data: AirportStatus.dtd. This is a partial listing from that file: <!-- DTD for the testfly.faa.gov XML Airport Status page, which is available at --> <!-- http://testfly.faa.gov/flyfaa/xmlAirportStatus.jsp --> <!-- 2.2 12/16/13 Corrected spec for FCA_Data element (1 per CTOP) and added FCA element --> <!-- 2.2 FCA element quantity is 1 or more; FCA_Name added in FCA element --> <!-- 2.1 11/19/12 Moved the CTOP Avg to the CTOP element --> <!-- 2.0 11/12/12 Added CTOP as a Delay_type --> <!-- 1.2 03/30/06 Lat and Long made into attributes of the Point and Center tags. --> <!-- 1.1 03/15/06 Added the Delay_type called Airspace_Flow_List per ETMS 8.2 AFP Requirements --> <!-- 1.0 06/09/03 Created --> <!ELEMENT AIRPORT_STATUS_INFORMATION (Update_Time, Dtd_File, Delay_type*)> <!ELEMENT Delay_type (Name,(CTOP_List|Airport_Closure_List|Ground_Stop_List|Ground_Delay_List|Airspace_Flow_List|Arrival_Departure_Delay_List))> I tried using the config for the default newsfeed module to see if it would accept the FAA XML data, but I see that the rss data is defined differently. And while I’d be happy to attempt to write my own module, I fear that that would take me many, many months given my current knowledge level (…which I am actively working to increase.) So, my request is to have someone write a replacement for the MMM-FAA-Delay module using the information I uncovered.
    • R

      Is MMM-FAA-Delay still working?

      Watching Ignoring Scheduled Pinned Locked Moved Transport
      2
      1
      0 Votes
      2 Posts
      441 Views
      KristjanESPERANTOK
      @rrslssr According to issue 3, the API now requires a key and not even the developer has received one.
    • R

      MMM_Bluelinky Fails Overnight

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      3
      2
      0 Votes
      3 Posts
      425 Views
      R
      @sdetweil Isn’t that the timeframe for the AutoDimmer? The BlueLinky config is setup by default to update every hour, which it does until sometime in the evening. I just checked the monitor and it was updated 6 minutes ago. I rebooted it this morning, so I know that BlueLinky’s updated at least twice today.: [image: 1706129358973-24-jan-2024-bluelinky-updated-6-minutes-ago.jpg]
    • R

      Altering a Module

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      9
      1
      0 Votes
      9 Posts
      1k Views
      R
      I want to do the exact same thing down the road when I need a new project to tinker with. Love it and thank you for posting the question and thank you to Sam for working through the solution.
    • R

      Alternate Day/Date Format

      Watching Ignoring Scheduled Pinned Locked Moved Custom CSS
      4
      0 Votes
      4 Posts
      656 Views
      R
      @MMRIZE Thank you! That is exactly what I wanted.
    • R

      ERROR:gbm_wrapper.cc(253) Failed to export buffer to dma_buf: No such file or directory

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      15
      0 Votes
      15 Posts
      10k Views
      D
      @sdetweil In case for some reason it’s helpful, I’ve reviewed the contents of /boot/config.txt from my two devices (4B gets errors, 2B does not). In 2B, not in 4B: #dtoverlay=vc4-kms-v3d # see https://forums.raspberrypi.com/viewtopic.php?p=1507622#p1507247 dtoverlay=vc4-fkms-v3d In 4B, not in 2B: dtoverlay=vc4-kms-v3d # Run in 64-bit mode arm_64bit=1 [cm5] dtoverlay=dwc2,dr_mode=host
    • 1 / 1