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.
    • P Offline
      Peter
      last edited by

      @Egnos: I think you should just start!
      MM is a very funny project!
      Buy a Raspberry Pi, SD card, find an old monitor, keyboard and mouse and go!
      Burn an image on the SD card and try to get MM running.
      You don’t need all the other stuff (you can add it later).
      And I will give you some advice: after MM is working, save the config.js file (I saved it on a USB stick).
      Then try to add or change a module; is it working: fine!
      Is it not working: you still have the working config.js on the USB!

      About the Sonoff: you do not need a RPI or MM to maken the Sonoff working.
      The Sonoff is hardwired with the gardenlights; it has 1 IP adress with 4 channels.
      You can use your cellphone or a 433 Mhz remote to switch the channels.
      But I find it more fun to say: “Hey Google, turn on the fountain …”

      Another advice: read, read, read, search, read and finally: ask here …

      Peter

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

        @peter thanks for your precious advice!
        I would like to start but for work I am often around Europe and time is always a little … !!
        I’ll start soon … promised!:smiling_face_with_halo:

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

        But I find it more fun to say: “Hey Google, turn on the fountain …”

        Ok, but how do you connect a sentence to GA with a command to Sonoff?

        Thanks for your patience!

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

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

          You have to make GA (on your cellphone) look for smart things.
          Sonoff has an app (eWelink) but there are a lot of smart switches, thermostats and other.
          After connecting the Sonoff with the app, it was recognized by GA.
          But again: you do not need a MM to make smart things work.
          Google home works even better; but building it yourself is a great part of the fun.

          I started my MM project about a year ago and it took me a lot of time to make it the way I liked.
          Now I am building a second one for my daughter and it takes me much less time.
          But it is really a lot of fun to make your own personalized project.
          Just try it!
          Good luck!
          Peter

          1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @Egnos
            last edited by

            @egnos It’s free to subscribe to receive notifications from apps or services that broadcast via PubNub. Likely there is a cost associated if you want to send notifications through PubNub, but I don’t know what that cost is.

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

              @Egnos: one last advice: start with a Raspberry Pi 2B or 3B (not a zero or a 3B+).
              I have 5 RPI’s (bought them all secondhand).
              A lot of people buy a RPI and don’t know what to do with it.
              Peter

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

                Sorry guys,
                exist a wireless sensor (WiFi, bluetooth,etc…) that transmits the temperature to the Raspberry?
                Maybe there is some MM module that manages the communication …

                Thanks
                Good night! :sleeping_face:

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

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

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