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 4.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.
    • ? Offline
      A Former User @MilkShake
      last edited by A Former User

      @MilkShake
      For the second question, the easiest way is using IFTTT. If your IoT supports IFTTT or WebRequest Endpoint, Just make an IFTTT applet (THIS for Assistant Query, THAT for your device). Easy, and nothing more needed.

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MilkShake @Guest
        last edited by

        @Sean Thanks Sean. I will look into that!

        For the first question, the notification URL works when fired from a browser. I think it is the Doorbird that does not actually make the HTTP call, so I have contacted Doorbird.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mmourcia
          last edited by

          Dear @MilkShake

          I see that you’ve configured something in visite http menu.
          But you have to configure the planning too.

          Go to admin-> calendrier sonnette and clic on the left on appel http.
          Then you’ll be able to define a planning.

          I hope it can help !
          Bye

          1 Reply Last reply Reply Quote 0
          • M Offline
            MilkShake
            last edited by

            Hi mmourica and thanks for replying!

            I guess Sonnette is a schedule? So I made sure that the schedule for the notication is all active. I will test it later.

            Can I ask where you found the documentation for the HTTP call for a specific sound file in MMM-Sounds?

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mmourcia @MilkShake
              last edited by

              @MilkShake
              Yes for schedule

              For the doc I don’t really remember anymore. I had to deduce it from this page and from the native docs of modules

              M 2 Replies Last reply Reply Quote 0
              • M Offline
                MilkShake @mmourcia
                last edited by

                @mmourcia Hey man, just tested, it works! Why would the schedule for a HTTP call not be allowed in the scheduler by default is beyond me! :)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MilkShake @mmourcia
                  last edited by

                  @mmourcia And I need to find out how to run a script on the same event :)

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mmourcia @MilkShake
                    last edited by

                    @MilkShake
                    Then you should probably do that outside MM.
                    Maybe with a http listener like https://github.com/msoap/shell2http/blob/master/README.md ?

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MilkShake @mmourcia
                      last edited by MilkShake

                      @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

                        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 Reply Quote 0
                        • M Offline
                          mmourcia @MilkShake
                          last edited by

                          @MilkShake
                          Could you post your conf ?

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MilkShake @mmourcia
                            last edited by

                            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 Reply Quote 0
                            • J Offline
                              Jagsi
                              last edited by

                              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

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

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 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