• 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.

MM & Home Assistant (HASS)

Scheduled Pinned Locked Moved Hardware
7 Posts 4 Posters 1.7k 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.
  • R Offline
    RGN01
    last edited by RGN01 Jul 4, 2021, 9:26 AM Jul 4, 2021, 9:19 AM

    I am finalising my first MagicMirror and was adding the MMM-PIR-Sensor module and had an idea I thought I’d share as it works so well!

    I have HASS (https://www.home-assistant.io/ ) so decided to use a microwave presence detector and add a ESPHome node (https://esphome.io/# ) so added a D1 Mini ESPHome node. The output of the microwave sensor now goes to the D1 Mini, which then sends a logic signal to the MM. The ESPHome node also has a number of temperature monitors and a humidity monitor and also gives fine-grained control over things like quiet times etc.

    Not only does this give me yet more control of the PIR function of the mirror, it also allows me to use the sensor as part of my overall home presence detection, and force off times at night by programming the ESPHome node.

    For those running both, it is well worth having a look at combining them.

    R 1 Reply Last reply Jul 4, 2021, 11:41 AM Reply Quote 0
    • R Offline
      RGN01 @RGN01
      last edited by Jul 4, 2021, 11:41 AM

      @rgn01 If anyone is interested I’ll share the ESPHome code.

      S 1 Reply Last reply Jul 15, 2021, 5:35 AM Reply Quote 0
      • S Offline
        soubhik-khan @RGN01
        last edited by Jul 15, 2021, 5:35 AM

        @rgn01 sounds exciting! I just got home assistant yesterday, still in the learning curve! Just wondering how to control the MM with home assistant. Currently I have a PIR sensor attached to the MM gpio which controls the display.
        Is it possible to make a short video demo of your project and share? I’m very interested to learn!

        R 1 Reply Last reply Jul 15, 2021, 7:25 PM Reply Quote 0
        • R Offline
          RGN01 @soubhik-khan
          last edited by Jul 15, 2021, 7:25 PM

          @soubhik-khan Hi. With my face, I don’t do videos - and you can thank me for that!

          Seriously, start with ESPHome on HASS - get an ESPHome node working with a PIR or MW sensor and an LED output. Once you’ve got that working separately to MM, you are ready to connect the two.

          At that point, connect the LED output pin (the 3V3 login pin) to the MM GPIO pin and configure the PIR module on MM as normal.

          That’s it - they are now connected and you can programme HASS, the ESPHome node and MM as you need.

          Hope that helps.

          1 Reply Last reply Reply Quote 0
          • I Offline
            Ivanov_d
            last edited by Aug 30, 2021, 5:42 PM

            I had this set-up for quite a while now, but I have it configured a bit different. I have a ZigBee human body detector in the bathroom integrated with HA and based on the input I remotely control MM via HA automations.

            C 1 Reply Last reply Aug 31, 2021, 12:02 AM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @Ivanov_d
              last edited by Aug 31, 2021, 12:02 AM

              @ivanov_d due tell where did you find a zigbee human detector? I’m VERY interested!

              I 1 Reply Last reply Aug 31, 2021, 6:56 AM Reply Quote 0
              • I Offline
                Ivanov_d @cowboysdude
                last edited by Aug 31, 2021, 6:56 AM

                @cowboysdude https://letyshops.com/r/aliexpress-ww-97c9f222e4cc I got it from this seller on AliExpress as I found it to be the cheapest

                1 Reply Last reply Reply Quote 1
                • 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