MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. mmmmh
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 49
    • Best 1
    • Controversial 0
    • Groups 1

    Posts made by 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
    • RE: MMM-Spotify

      @Bugsounet Very interesting. This also looks promising. I’ll comment in the other topic.

      posted in Entertainment
      M
      mmmmh
    • 1
    • 2
    • 3
    • 4
    • 5
    • 1 / 5