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

Doorbird IP camera integration

Scheduled Pinned Locked Moved General Discussion
15 Posts 4 Posters 2.8k 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.
  • M Offline
    MilkShake @mmourcia
    last edited by MilkShake Mar 26, 2020, 8:56 PM Mar 26, 2020, 8:53 PM

    @mmourcia would be an option, thanks. I will check it out! My initial thought was that the code executing the wavfile, would also be able to execute a shell script on the PI, but a HTTP listener would also do the job.

    Evidently, I can only set the Doorbird to do ONE http call pr event, otherwise a tweaked version of the monitor on http call (MMM-Remote-Control) could be used together with the call for playing a sound.

    1 Reply Last reply Reply Quote 0
    • M Offline
      MilkShake
      last edited by Apr 2, 2020, 6:38 AM

      Hi,
      I used the MMM-Notification-Trigger to wake up the screen and display an alert when it receives the PLAY_SOUND event.

      Best
      MilkShake

      M 1 Reply Last reply Apr 2, 2020, 7:38 AM Reply Quote 0
      • M Offline
        mmourcia @MilkShake
        last edited by Apr 2, 2020, 7:38 AM

        @MilkShake
        Could you post your conf ?

        M 1 Reply Last reply Apr 2, 2020, 8:25 AM Reply Quote 0
        • M Offline
          MilkShake @mmourcia
          last edited by Apr 2, 2020, 8:25 AM

          You have to have AMk2 and the screen Addon by Bugsounet.

          But basicly, I used the https string you gave me for the HTTP call to MMM-Sounds. That triggers the event PLAY_SOUND which can be picked up by MMM-Notification-Trigger:

          {
                module: "MMM-NotificationTrigger",
                config: {
                  triggers:[
                    {
                      trigger: "PLAY_SOUND",
                      fires: [
                        
          //wakes up the screen using the screen addon
                        {
                          fire:"USER_PRESENCE",
                          payload: function(payload) {
                            return false
                          }
                        },
          
                        {
                          fire:"SHOW_ALERT",
                          payload: function(payload) {
                            return {
                              type: "notification",
                              title: "Porten",
                              message: "Der er nogen ved porten!",
                              timer: 1000
                            }
                          },
                        }
                      ],
                    },
                  ]
                }
          },
          

          I’m struggling a bit with the multiple fires within one trigger, but I had it working at a certain point :)

          J 1 Reply Last reply Jul 28, 2020, 4:26 AM Reply Quote 0
          • J Offline
            Jagsi
            last edited by Jul 19, 2020, 6:28 PM

            Hello,

            If have an Doorbord as well - and I want to integrate it to the Magicmirror. Can you maybe give me some help to get this running? I am quite new to all this things.
            Which module are you using?
            Does your mirror wake up when somebody is ringing? (Is your screen shutting off?)
            And if nobody is ringing you cant see it right?

            Thanks for your help.

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jagsi @MilkShake
              last edited by Jul 28, 2020, 4:26 AM

              @MilkShake Can you give me assistance to get my doorbird working?

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