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

Magic Mirror ServerOnly

Scheduled Pinned Locked Moved Solved Troubleshooting
voice remote control
15 Posts 4 Posters 3.6k Views 3 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.
  • H Offline
    himuura
    last edited by Jan 8, 2019, 9:23 PM

    Hi there mates!! Loving the MM project and all the modules!!! Still trying to figure out some of the processes…like for instance, i have MMM-AssistantMk2 configured and working and i have a couple of questions:
    1 - Google Voice Assistant has a 60min capacity before being paid, is alexa a solution?
    2 - I have MM running in serveronly (node serveronly in a raspberry pi 2), is it possible when accessing via browser (on the tablet) to use the tablets microphone instead of the raspberry one? where can i confgure that?
    3 - Is there a way to integrate the MMM-AssistantMk2 to tell, lets say, the temperature that i’m displaying on the page?

    Can anyone shed some light?
    THanks in advance! Let’s keep the innovation running!

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User @himuura
      last edited by Jan 13, 2019, 1:33 PM

      @himuura
      I updated my MMM-Tools for voice warning alert. But currently I have not conviction for usefulness of asking system stats by voice. Because… They are always being shown in the screen. So I drop that feature in this update.

      H 1 Reply Last reply Jan 13, 2019, 10:57 PM Reply Quote 0
      • M Offline
        michael5r Module Developer
        last edited by Jan 8, 2019, 10:09 PM

        It’s Google’s Cloud Speech API that costs money after the first 60 minutes - the Google Assistant API is free (well, the API limits are so high they’re pretty much non-existent).

        I’m using MMM-AssistantMk2 with the MMM-Hotword module and have yet to find any reason to use the cloud speech API - the google assistant API works just fine.

        In regards to your last question, if you’re using the google assistant API through MMM-AssistantMk2 you can get any sort of info that your google assistant has access to normally - eg. if you’re using the Google Home app and have added your thermostat in there, the assistant will be able to give you updates about the temperature.

        H S 2 Replies Last reply Jan 8, 2019, 11:01 PM Reply Quote 0
        • H Offline
          himuura
          last edited by Jan 8, 2019, 10:40 PM

          so michael if im using the AssistantMk2 module, i wont get charged right? how can i confirm that? And on the second part, i dont have the google home app, how can it read the system temperature of the mirror? any idea?

          M 1 Reply Last reply Jan 8, 2019, 11:25 PM Reply Quote 0
          • H Offline
            himuura @michael5r
            last edited by Jan 8, 2019, 11:01 PM

            @michael5r said in Magic Mirror ServerOnly:

            It’s Google’s Cloud Speech API that costs money after the first 60 minutes - the Google Assistant API is free (well, the API limits are so high they’re pretty much non-existent).

            I’m using MMM-AssistantMk2 with the MMM-Hotword module and have yet to find any reason to use the cloud speech API - the google assistant API works just fine.

            In regards to your last question, if you’re using the google assistant API through MMM-AssistantMk2 you can get any sort of info that your google assistant has access to normally - eg. if you’re using the Google Home app and have added your thermostat in there, the assistant will be able to give you updates about the temperature.

            i mean on my action console i see the queries (i think its limited to 500 a day or 60 a minute per user). Is it right? There’s no “limit” for the Google Assistant api? Billing-wise.

            1 Reply Last reply Reply Quote 0
            • M Offline
              michael5r Module Developer @himuura
              last edited by Jan 8, 2019, 11:25 PM

              @himuura said in Magic Mirror ServerOnly:

              so michael if im using the AssistantMk2 module, i wont get charged right? how can i confirm that? And on the second part, i dont have the google home app, how can it read the system temperature of the mirror? any idea?

              If you set up your Google project according to the instructions in the AssistantMk2 module, you’re only enabling the Google Assistant API - but you can always check the metrics for the Cloud Speech API just to be sure. Go to your project dashboard on the console.cloud.google.com site, click APIs & Services in the navigation to the left, then the Cloud Speech API to see whether you’re actually using any data.

              (No matter what, Google is very nice about giving you tons of warnings before you hit any API limits, so you shouldn’t be worried about suddenly facing a huge bill.)

              What do you mean by system temperature? Are you talking about the actual CPU/GPU temperature of your raspberry pi - like the data displayed by the MMM-Tools module?

              H 1 Reply Last reply Jan 9, 2019, 10:56 AM Reply Quote 0
              • H Offline
                himuura @michael5r
                last edited by Jan 9, 2019, 10:56 AM

                @michael5r said in Magic Mirror ServerOnly:

                @himuura said in Magic Mirror ServerOnly:

                so michael if im using the AssistantMk2 module, i wont get charged right? how can i confirm that? And on the second part, i dont have the google home app, how can it read the system temperature of the mirror? any idea?

                If you set up your Google project according to the instructions in the AssistantMk2 module, you’re only enabling the Google Assistant API - but you can always check the metrics for the Cloud Speech API just to be sure. Go to your project dashboard on the console.cloud.google.com site, click APIs & Services in the navigation to the left, then the Cloud Speech API to see whether you’re actually using any data.

                (No matter what, Google is very nice about giving you tons of warnings before you hit any API limits, so you shouldn’t be worried about suddenly facing a huge bill.)

                What do you mean by system temperature? Are you talking about the actual CPU/GPU temperature of your raspberry pi - like the data displayed by the MMM-Tools module?

                Yes, something like that. i have mmm-systemtemperature that gives out the temperature of the CPU (/opt/vc/bin/vcgencmd measure_temp) and shows it on the MM screen but i cant quite figure how to make the assistant tell the temp that is on screen. do you have any idea? (a big thank you for all your help mate!)

                ? 1 Reply Last reply Jan 9, 2019, 11:10 AM Reply Quote 0
                • ? Offline
                  A Former User @himuura
                  last edited by Jan 9, 2019, 11:10 AM

                  @himuura
                  modify your module to use this method;

                  this.sendNotification("ASSISTANT_SAY", "Temperature is XX")
                  

                  If you want to make it as a response of Assistant Query, use gAction or transcriptionHook. Anyway, your module modification is needed also at that case. (Sorry, MMM-systemTemperature is not made by me)

                  H 1 Reply Last reply Jan 9, 2019, 11:22 AM Reply Quote 0
                  • H Offline
                    himuura @Guest
                    last edited by Jan 9, 2019, 11:22 AM

                    @sean is there any module that you know of that already has this integration?i mean, the assistant replies with the system temperature?

                    ? 1 Reply Last reply Jan 9, 2019, 11:54 AM Reply Quote 0
                    • ? Offline
                      A Former User @himuura
                      last edited by Jan 9, 2019, 11:54 AM

                      @himuura
                      As far as I know nothing. But I can update my MMM-Tools for that purpose.
                      What do you need exactly?

                      • Alert for dangerous temperature zone? (like over 65 degree warning)
                      • Ask temperature by vocal query and get a response from Assistant? (like “How hot is the CPU temperature?” and “It’s 65 degree now”) => But I’ve never thought there is someone who really needs this.
                      H 1 Reply Last reply Jan 9, 2019, 11:58 AM Reply Quote 0
                      • H Offline
                        himuura @Guest
                        last edited by Jan 9, 2019, 11:58 AM

                        @sean Wow sean, i really appreciate it!! Both sound like a tremendous idea! like when my RPI passes a certain threshold of CPU temp or RAM is getting full, the assistant could say something like “[Jarvis] is running hot! Go check it out!” or in case of RAM “[Jarvis] is running out of RAM!”. And it would also be nice if it could respond to the command “System Stats” or just “system temperature”. Is it feasible? Or is it too much work? Thank you for your time @Sean !! Im trying the mmm-tools now :D

                        ? 1 Reply Last reply Jan 9, 2019, 12:02 PM Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        1 / 2
                        • First post
                          2/15
                          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