• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MQTTScreenOnOff - alternative to PIR

Scheduled Pinned Locked Moved System
8 Posts 4 Posters 1.1k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @olex.s
    last edited by Mar 26, 2025, 3:22 PM

    @olex.s great, thanks

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • D Offline
      djsri @olex.s
      last edited by Apr 10, 2025, 4:42 PM

      @olex.s This is great, thank you for sharing. Like you, I’ve been running MagicMirror on a PIR sensor connected to GPIO pins and it’s worked well but this MQTT setup is on another level!

      I’ve never used HA, and MQTT is a whole new learning curve for me but it’s setup and working a treat, i love it.

      I’m also running Rpisurv on another Pi and your code would be the icing on the cake for that, but i have no idea how to even implement this.

      Anyhow, thought i would say thanks for the great work, it’s much appreciated and opened my eyes on what can be achieved.

      1 Reply Last reply Reply Quote 0
      • R Offline
        rkorell @olex.s
        last edited by rkorell Apr 19, 2025, 6:54 PM Apr 19, 2025, 6:49 PM

        @olex.s @sdetweil , dear all,

        As you know for sure I‘m really a fan of MMM-Pir - for (my) good reasons.
        For a friend of mine I‘ve build a second mirror and because he is heavily engaged in smarten his home :-) I‘ve considered to use alternatives to a PIR sensor - because they are definitely unsmart…
        With this I‘ve seeked for an integration for his homee solution which is not really capable for MQTT and randomly found a really cool device which I would like to share with you, guys!
        This is not a „motion“ sensor but a real „presence“ sensor (radar based, not infrared) which even is able to identify a silently sitting person!
        In addition this genius thingy talks MQTT, delivers the „presence“ status in a JSON object and so it is absolutely easy to use it with magic mirror and the herein presented module MQTTScreenOnOff.

        This sensor is pretty expensive and invented and build by a small startup here in Germany 🇩🇪 .
        You can find this sensor here.
        The webpage is in German but for some reason the default UI is in English :-)
        From my perspective this is defnitely worth the money (this is the fourth radar sensor I‘ve bought but the first one which is in the near of „working“)

        The mqttTopic transmitted is: „tele/senvolon/STATE“ and the mqttPayloadOccupancyField is „presence“.
        (The middle part is configurable in the sensor‘s UI, I‘ve decided to use vendor‘s name).

        I REALLY miss the nice animation and the dimming of MMM-Pir but I‘m definitely thinking about to use this sensor as well.
        (Which would be a major effort because my Mirror has an exact slot for the PIR sensor which is round and this sensor is squared so I will have to do some rough wood-work. On the other hand I MAY place the sensor away from the mirror on the opposite wall or in an other place and hide the hole from PIR sensor ….)

        Nice MQTT module - thanks for this idea!

        Warmest regards,
        Ralf

        S 1 Reply Last reply Apr 19, 2025, 7:08 PM Reply Quote 0
        • S Away
          sdetweil @rkorell
          last edited by Apr 19, 2025, 7:08 PM

          @rkorell leave the pir sensor there, just use the other. disable one module, add the other.

          i have a zigbee sensor on my office wall, and at the end of the hall and on the fireplace, they control my

          office desk light, hall light, and lights over the kitchen island

          all collected by zigbee2mqtt which feeds mqtt into home assistant
          all running in docker containers.

          my mirror visibility is controlled by camera motion today, but now that i have the hall sensor, i can move to ha automations

          fun stuff

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Apr 19, 2025, 7:38 PM Reply Quote 0
          • R Offline
            rkorell @sdetweil
            last edited by Apr 19, 2025, 7:38 PM

            @sdetweil said in MMM-MQTTScreenOnOff - alternative to PIR:

            fun stuff

            yes, definitely!
            Ralf

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy