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.

    Start or not...?

    Scheduled Pinned Locked Moved General Discussion
    44 Posts 4 Posters 37.5k 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @Egnos
      last edited by

      @egnos said in Start or not...?:

      exist a wireless sensor (WiFi, bluetooth,etc…) that transmits the temperature to the Raspberry?

      Pi 3B has WiFi and bluetooth built-in. Pi 2B needs a USB dongle, but they’re not expensive.

      If you want to display your house temperature, you need a smart thermostat like a Nest or an Ecobee. There exists a module for Nest, but I don’t know about Ecobee. Maybe you would relay that through Home Assistant?

      If you want to display the weather outside, there are a bunch of weather modules available. I’m sure will suit your needs well.

      E 1 Reply Last reply Reply Quote 0
      • P Offline
        Peter
        last edited by

        I use cheap Xiaomi sensors in all rooms in my house, displayed on MM.
        Peter

        1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @j.e.f.f
          last edited by Egnos

          @j-e-f-f said in Start or not...?:

          Pi 3B has WiFi and bluetooth built-in. Pi 2B needs a USB dongle, but they’re not expensive.

          Yes, I have Raspberry PI3.

          @j-e-f-f said in Start or not...?:

          If you want to display your house temperature, you need a smart thermostat like a Nest or an Ecobee. There exists a module for Nest, but I don’t know about Ecobee. Maybe you would relay that through Home Assistant?
          If you want to display the weather outside, there are a bunch of weather modules available. I’m sure will suit your needs well.

          I would like to display the “real” outdoor temperature, if possible using a temperature sensor.
          I would like the real external and internal temperature (the internal one I will take from a smart thermostat) always be visible on my MM.
          The temperatures acquired by the various modules are estimates…correct?

          @peter said in Start or not...?:

          I use cheap Xiaomi sensors in all rooms in my house, displayed on MM.
          Peter

          Which module for MM do you use?
          Which xiaomi sensor do you use?

          I have another questions:

          • I bought the “Sonoff 4ch pro r2” but I do not understand how to make the Sonoff work together with the physical switch.
            Example:
            STEP 1: I turn on the light 1 with Sonoff
            STEP 2: I turn off the light 1 from the physical switch
            STEP 3: I turn on the light 1 with Sonoff
            It’s possible?

          • Is it possible to receive feedback from the “Sonoff”?
            Example: I would like to know if the house gate is open or closed or if the garden light is on, etc …

          • the “Sonoff 4ch pro r2” has a 433Mhz receiver (I think it is used to open the automatic gates …) and I would like to use it using a 433Mhz transmitter.
            Are there transmitters with 433Mhz for Raspberry?
            Have you tested someone?
            Could I use GA to open the gate at home?

          Thank you for your precious help!!

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

          1 Reply Last reply Reply Quote 0
          • E Offline
            Egnos
            last edited by

            Hello everyone and happy new year!
            I returned the “Sonoff 4ch pro r2” because it was not for me!

            During the Christmas holidays I started the installation of the Magic Mirror with all its modules.
            These days I’m trying to install the module MMM-Assistantmk2 but I did not understand how to activate the assistant with my voice.
            In the configuration of MMM-Assistantmk2 module I did not find a way to insert a watchword to wake up the Assistant.

            Can you help me?
            Do you need to install modules like “MMM-Hotword” and “MMM-NotificationTrigger”?

            Thanks guys.

            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Egnos
              last edited by

              @egnos
              MMM-Hotword is needed if you want to activate it with voice hotword.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Egnos @Guest
                last edited by

                @sean said in Start or not...?:

                @egnos
                MMM-Hotword is needed if you want to activate it with voice hotword.

                Thanks Sean!
                So if I only install the module “MMM-assistantmk2” how can I use it?
                So if I only install the module “MMM-assistantmk2” I can not do anything … correct?

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Egnos
                  last edited by A Former User

                  @egnos
                  You can activate it with touching or clicking icon (If you have a touchable/clickable input method like touchscreen or mouse).
                  Or You might have another input method like H/W button, or anything else. You can activate with other module which can emit notification. (Yes, Even default calendar module can activate this)
                  I wanted to make this universal.

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos
                    last edited by Egnos

                    How can I activate it with the H / W keys?
                    Only for test…

                    @sean said in Start or not...?:

                    You can activate with other module which can emit notification. (Yes, Even default calendar module can activate this)

                    This function be done directly with “MMM-assistantmk2” or should I always install “MMM-Hotword”?

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Egnos
                      last edited by

                      @egnos function itself is included. But activating that function with hotword needs MMM-Hotword.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos
                        last edited by

                        @sean said in Start or not...?:

                        @egnos function itself is included. But activating that function with hotword needs MMM-Hotword.

                        Ok, so I have to install MMM-Hotword.
                        Thanks

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          Egnos
                          last edited by Egnos

                          @sean I have some question on MMM-assistantmk2, MMM-Hotword and MMM-pages (or another module that creates multiple pages recommended by you…).

                          • MMM-assistantmk2: this module also speak Italian?

                          • MMM-Hotword: can I also use hot words in Italian?
                            Or can I use only the English hot words shown in the configuration file?

                          customizable notification trigger
                              notifications: {
                                PAUSE: "HOTWORD_PAUSE",
                                RESUME: "HOTWORD_RESUME",
                                LISTENING : "HOTWORD_LISTENING",
                                SLEEPING : "HOTWORD_SLEEPING",
                                ERROR : "HOTWORD_ERROR",
                          
                          • MMM-pages (we accept advice…:winking_face: ): It is possible, through MMM-assistantmk2 or MMM-Hotword, to change page maybe saying: “Magic Mirror surveillance page or Magic Mirror multimedia page …”?
                            If yes, how?

                          Thanks.

                          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                          ? 1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @Egnos
                            last edited by A Former User

                            @egnos

                            MMM-assistantmk2: this module also speak Italian?

                            If you set your profile to it-IT, it would.

                            MMM-Hotword: can I also use hot words in Italian?
                            Or can I use only the English hot words shown in the configuration file?

                            MMM-Hotword(snowboy) can’t understand the language itself. It just will match the pattern of your voice with defined models. So, that is not configurable. However you can create your custom private hotword model(.pmdl) and use it. See the Snowboy website. (http://kitt.ai)

                            MMM-pages (we accept advice…😉 ): It is possible, through MMM-assistantmk2 or MMM-Hotword, to change page maybe saying: “Magic Mirror surveillance page or Magic Mirror multimedia page …”?

                            First; You have to make gAction or transcriptionHook . Here is a sample for transcriptionHook

                            transcriptionHook: {
                              "MY_HOOK_FOR_PAGE_2": {
                                pattern: "change to page 2", 
                                command: "PAGE_2",
                              },
                            },
                            

                            Then, you need to make a command to change page like this;

                            command: {
                              "PAGE_2" : {
                                notificationExec: {
                                  notification: "PAGE_CHANGED",
                                  payload: 2,
                                },
                              },
                            },
                            

                            This is just sample, not tested. Read the instruction documents in repository.

                            E 1 Reply Last reply Reply Quote 0
                            • E Offline
                              Egnos @Guest
                              last edited by

                              @sean said in Start or not...?:

                              MMM-Hotword(snowboy) can’t understand the language itself. It just will match the pattern of your voice with defined models. So, that is not configurable. However you can create your custom private hotword model(.pmdl) and use it. See the Snowboy website. (http://kitt.ai)

                              Ok, so I can substitute the words in English with those in Italian, changing in this way:

                              customizable notification trigger
                                  notifications: {
                                    PAUSE: "HOTWORD_PAUSA",
                                    RESUME: "HOTWORD_RIPRENDI",
                                    LISTENING : "HOTWORD_ASCOLTA",
                                    SLEEPING : "HOTWORD_DORMI",
                                    ERROR : "HOTWORD_ERRORE",
                              

                              @sean said in Start or not...?:

                              First; You have to make gAction or transcriptionHook . Here is a sample for transcriptionHook

                              What is the difference between gAction and transcriptionHook?

                              The code you wrote should be put under the module MMM-assistantmk2, MMM-Hotword or MMM-pages?

                              Is the MMM-pages module suitable for my needs or another module is better?

                              Thanks and sorry for the 1000 questions!!!

                              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @Egnos
                                last edited by A Former User

                                @egnos

                                customizable notification trigger
                                notifications: {
                                PAUSE: “HOTWORD_PAUSA”,
                                RESUME: “HOTWORD_RIPRENDI”,
                                LISTENING : “HOTWORD_ASCOLTA”,
                                SLEEPING : “HOTWORD_DORMI”,
                                ERROR : “HOTWORD_ERRORE”,

                                No, you SHOULD NOT do that modification. Those values are used for system communication between modules. Those are not related with user language or user experience. If you are not developer, you don’t need to touch them.

                                What is the difference between gAction and transcriptionHook?

                                gAction is small application or conversation set on Assistant. It is harder to create, but give natural experience to user.
                                transcriptionHook is just little trick to catch some pattern from your vocal query when you order to Assistant. If some pattern be found when you say something, my module will execute defined command instead original response of Assistant. It’s easier to handle (comparing with gAction)

                                The code you wrote should be put under the module MMM-assistantmk2, MMM-Hotword or MMM-pages?

                                MMM-AssistantMk2. Read the instruction on github repository. (CONFIGURATION and USAGE documents)

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  Egnos
                                  last edited by

                                  Sorry guys i need your help again!
                                  I had to reinstall raspbian due to a module that did not work.
                                  Before formatting the SD, I backed up the MagicMirror folder.
                                  Question: can I copy the folders with the old modules (Mmm-assistantmk2, MMM-Pages, etc…) in the new MagicMirror installation?

                                  Thanks.

                                  My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @Egnos
                                    last edited by

                                    @egnos
                                    Some modules could be copied. But some modules couldn’t. They needs new installation for dependencies.

                                    E 1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      Egnos @Guest
                                      last edited by

                                      @sean Let’s take the example of the “AssistantMk2” module.
                                      To copy the module I should follow these steps:

                                      • Install the pre-dependencies: sudo apt-get install libasound2-dev sox libsox-fmt-all

                                      • I copy the “MMM-AssistantMk2” folder to the new “modules” folder.

                                      • In theory I should not follow the fourth chapter of the installation guide IV. Google Assistant Setup, because the configuration has already been implemented.

                                      All right?

                                      Thanks.

                                      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User @Egnos
                                        last edited by A Former User

                                        @egnos

                                        I copy the “MMM-AssistantMk2” folder to the new “modules” folder.

                                        I can not guarantee your copied folder might work because it is not “built/compiled” on new machine.

                                        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
                                        • 2
                                        • 3
                                        • 2 / 3
                                        • 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