MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MilkShake
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 11
    • Posts 68
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Doorbird IP camera integration

      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?

      posted in General Discussion
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      It is in fact the index of the module in your conf. You must guess it

      Guess it? Index of the module, is that the modules position within config.js?

      Could you give me a hint to find that number?

      posted in Show your Mirror
      M
      MilkShake
    • RE: Doorbird IP camera integration

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

      posted in General Discussion
      M
      MilkShake
    • Doorbird IP camera integration

      Hi All,
      I need some help trying to integrate my gates IP camera funtions into the MM. The camera is a Doordbird D101S. It contains a relay to open the gate as well.

      The Doorbird has a defined, not fully open, API. It is able to send HTTP calls on events.

      https://www.doorbird.com/api

      I installed the MMM-Sounds module and I am trying to get the Doorbird to notify the Mirror with this http call using the default buzz.wav file.

      http://MM_IP:8080/remote?action=NOTIFICATION&notification=PLAY_SOUND&payload=%7B%22sound%22%3A%22buzz.wav%22%2C%22delay%22%3A100%7D

      However it is not working.

      Does anyone have experience with this?

      Second, my MM has Google Assistant installed. What would it take to make a custom command “Open Gate” that just fires a HTTP post to the gate?

      Best Regards
      MilkShake

      posted in General Discussion
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      Yeah, I’m not so sure. I can’t get it to work :)

      posted in Show your Mirror
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      @mmourcia said in Magic mirror first try (France, ~Lille):

      http://IP_MM:8080/remote?action=NOTIFICATION&notification=PLAY_SOUND&payload=%7B%22sound%22%3A%22carillon.wav%22%2C%22delay%22%3A100%7D

      I think there is an error in the URL. Funny thing is, when I look at your URL is states:

      http://IP_MM:8080/remote?action=NOTIFICATION¬ification=PLAY_SOUND&payload=%7B%22sound%22%3A%22carillon.wav%22%2C%22delay%22%3A100%7D

      When i quote you it states the correct thing:

      NOTIFICATION & notification (without the spaces)

      posted in Show your Mirror
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      @mmourcia said in Magic mirror first try (France, ~Lille):

      @MilkShake

      Why is the display_power involved in this?

      It’s not. This is just my conf and i did not sanitize it

      I think it is me missing some information? Is the MMM-Remote-Control involved in any way API wise?

      Does it function the way, that when someone pushes the button on the doorbird, the doorbird makes a http call to the Mirror for the notification, and to enable the MMM-iFrame-Ping module? For how long is the iFrame module visible after someone pushes the button?

      Thanks dude!

      posted in Show your Mirror
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      @mmourcia said in Magic mirror first try (France, ~Lille):

      @MilkShake

      Why is the display_power involved in this?

      It’s not. This is just my conf and i did not sanitize it

      Ok :)

      When you write “Conf on doorbird in http visit”, is that the HTPPS(S) calls part of the Doorbird config?

      Yes it is

      Perfect. Where did you find the documentation for the URLs?

      I take it that I need a carillon.wav file in the MMM-Sounds/sounds directory or change the wav part to one of the default wav files like buzz.wav?

      Yes you’re right

      ok, so I can use the buzz.wav until it works.

      The call “http://IP_MM:8080/remote?action=SHOW&module=module_XX_MMM-iFrame-Ping” is that correct? Does it need the XX part?

      It is in fact the index of the module in your conf. You must guess it

      Guess it? Index of the module, is that the modules position within config.js?

      posted in Show your Mirror
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      Hi and thanks for the explanation, however I have a few questions.

      Why is the display_power involved in this?

      When you write “Conf on doorbird in http visit”, is that the HTPPS(S) calls part of the Doorbird config?

      I take it that I need a carillon.wav file in the MMM-Sounds/sounds directory or change the wav part to one of the default wav files like buzz.wav?

      The call “http://IP_MM:8080/remote?action=SHOW&module=module_XX_MMM-iFrame-Ping” is that correct? Does it need the XX part?

      posted in Show your Mirror
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      It works really well now. Mirror and assistant/addons turns on when the pir detects motion. Awesome combo of AssistantMk2 and Addons.

      posted in General Discussion
      M
      MilkShake
    • RE: Magic mirror first try (France, ~Lille)

      Hi mmourcia!
      Do you mind sharing how you integrated into the doorbird API in english?

      I have an automated gate with a Doorbird D101S and it would be awesome if the picture came up on the Mirror when someone pressed the button. Also playing the wav file as a notification. My mirror also uses the Goolgle Assistant MK2 and Addons by Bugsounet which are awesome! It would be possible to “Google, Open Gate”!

      Best
      MilkShake

      posted in Show your Mirror
      M
      MilkShake
    • RE: monitor - disassemble or not?

      You will get the best result from disassembling the case. Should be easy for most cases, just be wary of not ripping any of the cords.

      posted in Hardware
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Sean So the python script that wakes up my screen along with the PIR, could potentially also emit a HOTWORD_RESUME and HOTWORD_PAUSE to the assistant along with executing a shellscript for turning on/off the screen. That sounds like the right way to go, but I have no clue how to do that and not enough time to figure it out :)

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Bugsounet

      • if used snowboy or MMM-Hotword and pi sensor : keyword activator is turn off when not used and need pir sensor to wake up

      you can do that what addon ;)

      Does the keyword activator (I guess that is the code listening for a keyword?) pay a toll on the electrical bill and thus, you would like to turn it off?

      Isn’t the snowboy/HotWord, PIR sensor and governor combo a means of achieving that?

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Bugsounet Hi. Thanks a bunch. Something good from the virus, hurray!

      So the mirror functions with a PIR sensor installed in the frame. It hangs where there is a lot of traffic, so a hand gesture along side the frame activates the screen using DPMS -> DISPLAY=:0 xset dpms force on (only way I could get the screen to turn on again was with DPMS). No movement and the mirror turns on again in x time.

      So what I would like to accomplish is, when the screen is activated, it should start listening for a google assistant hotword.

      Would that be Hotword and PIR? Depending on how Assistant2Display works, that could be interesting as well, but for now, I just want to get it working.

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @MilkShake I tried editing my config.js with the following:

                  {
                  module: "MMM-Hotword",
                  position: "top_left",
                  config: {
                          recipes: ["with-AMk2v3_smart-mirror.js"],
      
                          }
                  },
      
      
                  {
                  module: "MMM-AssistantMk2",
                  position: "top_left",
                  config: {
                          assistantConfig: {
                                  latitude: 55.749842,
                                  longitude: 12.497128,
                          },
                          recipes: [ "with-MMM-Hotword.js" ],
                          addons: true,
                          },
                  },
      

      But it crashes my MagicMirror. If I remove “addons: true,” the mirror starts and the two top_left positions are empty.

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      Hi,
      I think I got MMM-AssistantMk2 and Bugsounet’s https://github.com/bugsounet/addons installed successfully! Used the same credentials.json file as I used in the other Assistant setup and tested with node auth_and_test.js.

      It’s can become quite confusing with all these modules and addons. Can anyone elaborate on what is needed configuration wise, to allow for voice activation of AssistantMk2.

      I guess addons need to be activated for Assistant and HotWord needs a configuration of sorts. I will have a look at this later.

      Best
      MilkShake

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Bugsounet That seems like a good way to go! I’m mostly just after the voice activation for the Assistant, but I’ll go with anything that works. So would the process be:

      1. Install MMM-AssistantMk2 from https://github.com/eouia/MMM-AssistantMk2/wiki/Installation
      2. Install MMM-AssistantMk2 Plugins embedded with addons.js from https://github.com/bugsounet/addons

      ?

      Thanks for all the help guys!

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Sean said in Working Google-Assistant on Raspbian Buster and 4b:

      @MilkShake
      Hotword is just one method to activate amk2. If you prefer, any other methods can be used. - touchscreen button, hw button, sensors like pir, 3d gesture detector, touchscreen gesture, finger snapping, or Any module can emit some notifications of MagicMirror.

      Yes ok :) I would like to be able to enable the Assistant using voice, so HotWord seems like the way to go. The mirror has a pir sensor also for turning on the screen, built into the side of the frame, so it can be activated by hand movement.

      Since I managed to get the regular assistant working on the PI, I will have a go at Assistant-Mk2 and HotWord tonight. Hopefully it will just install :)

      posted in General Discussion
      M
      MilkShake
    • RE: Working Google-Assistant on Raspbian Buster and 4b

      @Chris Hey, thanks man! A little bit disheartening after getting it to work on the pi, but I will definitely restore the pi once again and give it a try. Am I right in understanding that you need some software to listen for an activation command, e.i. HotWord? I think I succeeded in installing MMM-AssistantMk2 earlier, but I did not get HotWord to work, after which I gave up.

      posted in General Discussion
      M
      MilkShake
    • 1 / 1