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

Manage FritzDect over MMM-PIR Module

Scheduled Pinned Locked Moved Requests
4 Posts 2 Posters 1.6k Views 1 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
    relay
    last edited by Nov 5, 2017, 3:27 PM

    It would be great if it where possible to switch power state on AVM Fritz!Dect device in conjunction with wake up and power saving of the monitor (my mirror is placed in the corridor an I want to power on some lights over Fritz!Dect when motion is detected).
    Maybe it would be enough when I could trigger some scripts over MMM-PIR Module.

    1 Reply Last reply Reply Quote 0
    • B Offline
      barnosch
      last edited by Nov 5, 2017, 4:53 PM

      This doesn’t need to be the MM script.
      Use the awesome stuff from the crazy @cowboysdude
      He does a lot of useful stuff. So is his PIR script, which runs directly on the pi, without any MM issues.
      Working like a charm for me
      https://github.com/cowboysdude/Pir-Sensor

      You only need something to trigger your Fritz!Dect plugs.

      Maybe you find something if you search for projects of reinventing Amazons Dash Buttons…

      i use some of them to

      • reboot the Pi (from MM)
      • Send some special command to my automatic lawn mover

      I read something the last days, that some uses a dash button to control a tp-link wlan plug. Maybe this is something where you can find some useful information

      1 Reply Last reply Reply Quote 0
      • R Offline
        relay
        last edited by Nov 7, 2017, 9:05 PM

        i tried to use the script, but in my case i have to call a shell script with arguments an that doesnt work.
        instead of
        “sh monitor_on.sh”
        i have to call
        “smart_fritz_terminal.sh 1 on”
        an that give everytem this error: smart_fritz_terminal.sh: 82: smart_fritz_terminal.sh: Syntax error: redirection unexpected

        I have no expierience with python scripting.
        Have anyone suggestions for an solution?

        1 Reply Last reply Reply Quote 0
        • B Offline
          barnosch
          last edited by barnosch Nov 8, 2017, 8:26 AM Nov 8, 2017, 8:25 AM

          cant you just trigger another script when action is detected
          powerplug.sh
          and it contains
          something like this

          sudo bash smart_fritz_terminal.sh 1 on
          

          maybe that works

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