MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. retroflex
    3. Best
    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 19
    • Posts 137
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: mmm-suncalc - Text only display of sunrise, sunset and other sun events

      @Lordy There are no css names to distinguish sunrise and sunset. But you can add html directly to the config instead. See my previous answer to this thread for an example. So something like:

      text: 'Sunrise < span style="color: #ffff00" >< sunrise >< /span >
      

      Remove the extra spaces next to the brackets. Had to include them or otherwise the forum would show nothing.

      posted in Utilities
      R
      retroflex
    • Control MM with a Google Home

      So I got a Google Home Mini for Christmas, so I’ve tinkered around a bit to try to control MagicMirror with it… but I haven’t found a way yet.

      Most posts seems to be either about Alexa or to run Google assistant on the RPi itself. But someone must have done this before…

      My tests so far:

      1. Created an IFTTT applet that triggered a webhook to send notifications via MMM-RemoteControl. But my mirror IP is local. I had it port forwarded before, but when I realized anyone could access my config.js I turned that off. So I gave this up.

      2. The above but tried to also use Tasker on Android (and other similar apps I don’t remember the name on). I struggled with this and got nowhere. Also, if I would succeed, it would only work when my phone is at home.

      3. I installed MMM-TelegramBot. So now I can control my mirror from anywhere by chatting with the bot and for example texting “/hideall” to it. All modules are hidden instantly. Cool! I could also write to the chat via the rest api:
        https://api.telegram.org/bot[token]/sendMessage?chat_id=[myuserid]&text=/hideall
        That wrote /hideall in the chat, but did not trigger the hide all action. I guess it is because a bot sent message cannot trigger a bot command.

      4. Just now I found this:
        https://forum.magicmirror.builders/topic/9211/mmm-alexaonoff-simple-mirror-control-from-external-home-assistant-alexa-google-home-hass-io
        I haven’t tried that yet, but it is named AlexaOnOff and I found no mention of anyone using it with Google Home. Has anyone tested?

      So… does anyone have any other bright ideas? :)

      posted in Troubleshooting
      R
      retroflex
    • RE: mmm-suncalc - Text only display of sunrise, sunset and other sun events

      @Lordy Aha. Then change one of the < td > to < td style=“color: #ffff00” >

      posted in Utilities
      R
      retroflex
    • RE: How to remotely add long links?

      On Windows I like MobaXTerm. It allows you to access the command line and browse files on your Pi.

      https://mobaxterm.mobatek.net/

      posted in Troubleshooting
      R
      retroflex
    • RE: mmm-suncalc - Text only display of sunrise, sunset and other sun events

      @Lordy Maybe this:

      .mmm-suncalc table {
        font-size: 30px
      }
      

      Tip: You can use developer tools in the browser to check elements and change styles.

      posted in Utilities
      R
      retroflex
    • RE: show info from a webpage

      If the returned result is in JSON format, I found two modules for this:
      https://github.com/timdows/MMM-JsonTable
      https://github.com/amcolash/MMM-json-feed

      Also found a module for XML result:
      https://github.com/Eunanibus/MMM-HTTPRequestDisplay

      posted in Troubleshooting
      R
      retroflex
    • RE: Won't restart/stuck at prompt

      In addition to having a img backup, it’s always a good idea to backup the config file and custom css file.

      To avoid card corruptions, always SSH into the RPi and perform a sudo shutdown instead of just pulling the plug.

      posted in Troubleshooting
      R
      retroflex
    • 1 / 1