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

Using Smartthings motion sensor to turn on/off monitor

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 1.0k Views 2 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.
  • B Offline
    buzzkc
    last edited by buzzkc Aug 31, 2019, 1:08 AM Aug 31, 2019, 1:07 AM

    I recently setup my first MM and wanted to use the existing motion sensors in my house to turn on/off the screen. I was able to do this using my Smartthings hub using a device handler and app, and the MMM-Remote-Control module. I can add more detail to this if anyone is interested, just let me know, but here is the 10,000 foot view

    First I setup the MMM-Remote-Control module, which has api urls to call for turning the monitor on and off.

    The device handler is the URI Switch (https://community.smartthings.com/t/beta-release-uri-switch-device-handler-for-controlling-items-via-http-calls/37842), which you provide the urls to use for each function (on/off). Using the Smarthings Groovy IDE (https://graph.api.smartthings.com/) install the device handler. Next create a new virtual switch and choose the URI Switch device handler for it. On the mobile app, find your new device and update its settings with the ip address, port, and on/off urls for your MM.

    Lastly I used the SmartThings Smart Lighting app (part of the classic Smartthings mobile app) to setup a new lighting routine. I chose the motion sensor for the room my MM is hung in, then chose the virtual switch you created above. You can then set the options to turn off the virtual switch after x number of minutes of no motion.

    I actually have 3 motions sensors set to turn on the monitor so that it is displaying by the time we walk to that room from the adjoining rooms.

    Darren

    My Build: https://forum.magicmirror.builders/topic/11153/new-non-mirror

    1 Reply Last reply Reply Quote 0
    • B Offline
      broberg Project Sponsor
      last edited by Aug 31, 2019, 6:57 AM

      Can also be done with mmm-syslog if you don’t need all the bells and whistles of the remote control module.

      And if you are using the Hubitat Elevation it’s basically the same. but you don’t need custom device handlers. It’s all built in to Hubitat (virtual device, button and then rules to send http get).

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        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