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

    Posts

    Recent Best Controversial
    • RE: MMM-RemoteControl or vcgencmd Issue

      @Stroke-0

      A (or my) Rpi4 has two HDMI ports. So you should add also the HDMI port 0 or 1 (or id 2 and id 7). docs

      Status screen:

      vcgencmd display_power -1 2 | grep -q "1" && echo "on" || echo "off"
      vcgencmd display_power -1 7 | grep -q "1" && echo "on" || echo "off"
      

      Regards,
      Bert

      posted in Troubleshooting
      bdeelmanB
      bdeelman
    • Use of array within all module files

      Hi,

      I convert a CSV file to a JSON array at the node_helper.js file. This array (subscriptions) is needed at several functions at the mmm-sample.js file.

      The array is available at other functions within the node_helper.js I use this.subscriptions = (jsonObj); within the CSVtoJSON function and declare var subscriptions = []; at the top of nodehelper.js and also at the mmm-sample.js.

      How can I achieve this? Do I need the sendSocketNotification functionality to send data back and forth between the files?

      Any help is much appreciated.

      Regards,
      Bert

      posted in Development
      bdeelmanB
      bdeelman
    • RE: Not loading one of two Google calendars

      Hi,

      The second Google calendar was too big. I made a module to prepare a smaller ics file with only the future events.

      And now it is working. Two Google calendars.

      KR,
      Bert

      posted in Troubleshooting
      bdeelmanB
      bdeelman
    • 1 / 1