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

    Posts

    Recent Best Controversial
    • RE: MagicMirror isn't publishing 'user_presence' on start up?

      @sdetweil Darned, that’s really sad, it seems logical to make a notification that says done setting up, and running. Oh well, always room for improvement in the code :-)

      posted in Troubleshooting
      F
      fribse
    • RE: MagicMirror isn't publishing 'user_presence' on start up?

      @sdetweil Ok, yes, I used your script.

      So it just says

      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm start
      

      So I guess that just launches it, but it’s not actually ready at that point, thus the MMM-MQTTbridge is also not ready to receive the ‘hdmi off’ command.
      Aren’t there some sort of notification that says ‘done, ready for running’ when it starts, I could put that notification in the MMM-MQTTbridge so that would also launch the ‘SCREENON’ back to MQTT.

      posted in Troubleshooting
      F
      fribse
    • RE: MagicMirror isn't publishing 'user_presence' on start up?

      @sdetweil Ok, I found the mosqitto_pub command, so I can publish with that to MQTT, which startup script is it, and can I make sure it’s done loading before running the command?

      posted in Troubleshooting
      F
      fribse
    • RE: MagicMirror isn't publishing 'user_presence' on start up?

      @sdetweil Not sure how to do that to the MQTT channel, but can I send a notification when it’s started up? That would be picked up by the MQTT mirror addon?

      posted in Troubleshooting
      F
      fribse
    • MagicMirror isn't publishing 'user_presence' on start up?

      I’ve started rebooting my mirror once a day due to the problem with the newsreader mentioned elsewhere.
      This made another bug apparent.
      I’m turning the HDMI on and off depending on presence, and I also report the state to MQTT.
      But it seems that if the HDMI is turned off, and then a reboot is done the HDMI is turned on, but the change in USER_PRESENCE isn’t sent in notifications, so the MQTT shows the monitor as turned off (if it was turned off before the reboot).

      posted in Troubleshooting
      F
      fribse
    • RE: MMM-MyCommute module shows up a bit random

      @fribse I wonder if this:
      https://forum.magicmirror.builders/topic/14835/calendar-only-all-day-events-showing-moment-timezone-issue
      is the same problem that I see here.
      If I remove all time/day restrictions on MMM-MyCommute then it works, but if I try to limit the time it is active, it shows up on weird hours (I’m CET).

      posted in Troubleshooting
      F
      fribse
    • RE: Some sort of JSON interpretation problem in newsfeed module

      @sdetweil Hey Sam

      I only wrote the thing with the quotes as the internal config seems to be a bit more leniant.
      No tabs, the ONLY thing I did to make it work, was add an extra space :-)
      My config is so old by now, that every time I look at it, I have to rethink everything to get to the same result :-D

      posted in Troubleshooting
      F
      fribse
    • Some sort of JSON interpretation problem in newsfeed module

      I’ve been struggling with an external compliments file for some time, and after another user posted his on gist, I took the liberty to use that as a test, and then compared the two.

      I couldn’t get mine to work at all, but the other worked fine.
      By changing the indentation to three spaces, it worked. It was two spaces.
      This is a really odd problem, there is no standard to my knowledge for JSON that sets it at specific three spaces?

      So this didn’t work:

      {
         "anytime" : [
            "Jeg beundrer,\nat du altid er helt dig selv",
            "Man bliver så glad af\nat være sammen med dig",
      ...
      

      But this does

      {
          "anytime" : [
              "Jeg beundrer,\nat du altid er helt dig selv",
              "Man bliver så glad af\nat være sammen med dig",
      ...
      

      I think that is really odd.

      Furthermore I had to remember the quotes around the key, which isn’t needed in the internal list, but if I read it right, it must have quotes in a proper json file.

      posted in Troubleshooting
      F
      fribse
    • RE: Home Assistant Toggle?

      @bendonahue I’ve set it up here with MQTT.
      I wrote a small guide on the HA forum:
      https://community.home-assistant.io/t/magicmirror-integration-into-home-assistant-with-mqtt/177246/15

      posted in General Discussion
      F
      fribse
    • RE: Newsfeeder is going way to fast when showing news

      @sdetweil Ok, I finally got it tested again.
      If I go to my computer and open the webpage via remote it shows the right interval (this was what I did earlier), and the news cycles slowly as it should.
      But on the raspberry pi, it still races through the news.
      I haven’t restarted the Rpi just to keep the problem, but for me it’s not an easy test on the RPi itself, as the RPi is of course behind the mirror and headless.

      posted in Troubleshooting
      F
      fribse
    • 1 / 1