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

    Posts

    Recent Best Controversial
    • MMM-Touch or similar without visible module

      I would like to add touch capabilities to my screen but I don’t want to have a visible module. MMM-Touch seems to require space on the screen. Can this be accomplished with MMM-Touch or another module?

      Can a module be active, accept input from the whole screen but not be visible?

      posted in Troubleshooting
      M
      mmmmh
    • RE: MMM-Spotify

      @Bugsounet Thanks. Do I understand this correctly. As long as the module is idle it will only check for updates every 30 seconds and when it is active (music is being played) it updates every second?

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-Spotify

      @Sean I hacked together a simple bash script (dnssaver.sh) that fetches IPs and stores them in the hosts file. If I call it with ‘api.spotify.com’ as argument and put it in my crontab it should take a load of the dns server. I’ll keep an eye on it.

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-Spotify

      @Sean Thank you for chiming in and for providing a more elaborate response. I thought that the constant polling might be the reason. If I may comment, for other users it may be helpful to put it in the documentation that using the module leads to increased network traffic.

      I for one would be happy with a display of the static per-title information and the controls, I will observe what happens when I crank the refresh rate up to 30000 milliseconds.

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-Spotify

      Regrettably, DNS requests are still too many. I see 1000 in 10 minutes (purple is a fresh install of MagicMirror with just the clock and the Spotify module):

      40ae5d0e-c676-43c6-b947-ef74e2640cad-image.png

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-Spotify

      @Bugsounet, thanks for fixing it. From the changelog, should I expect that many requests again when not on idle?

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-Spotify

      @Bugsounet I noticed in my pihole logs that there were at least 10 DNS queries for Spotify per second, something is not right. The actual refresh rate for the module is set to 3000 ms. I had to disable the module.

      posted in Entertainment
      M
      mmmmh
    • RE: MMM-NotificationReceived

      @bhepler I use Geofency. You have to define the areas in the app and enter webhook addresses for entry and exit events. In my case, a JSON payload is posted to a self-hosted webserver (with encryption and basic auth).

      posted in Development
      M
      mmmmh
    • RE: MMM-NotificationReceived

      @bhepler Interesting take on the location tracking. I created something similar where I use geofencing apps that support webhooks. A simple php script converts the calls to MQTT payloads and a small web page acting as an MQTT over websockets client shows icons depending on the person and the location. In my MagicMirror display said web page is embedded using an iframe module.

      I also use OwnTracks but for me it is not as reliable as other apps.

      posted in Development
      M
      mmmmh
    • RE: MMM-NotificationReceived

      @Bugsounet Great, this opens many options. I may be in the minority but for me a bridge from notifications to MQTT would be awesome.

      I use a workaround where external events can turn modules on/off. This is done by bridging from MQTT via Node RED to MMM-Remote-Control’s API.

      posted in Development
      M
      mmmmh
    • 1 / 1