Read the statement by Michael Teeuw here.
Magic Mirror ServerOnly
-
@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!)
-
@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)
-
@sean is there any module that you know of that already has this integration?i mean, the assistant replies with the system temperature?
-
@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.
-
@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
-
@himuura
I’m working on my real job, so in a few days I’ll update. Plz wait for a while. -
@sean said in Magic Mirror ServerOnly:
@himuura
I’m working on my real job, so in a few days I’ll update. Plz wait for a while.Will do mate!! Thanks for the support! You rock!
-
@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. -
@sean said in Magic Mirror ServerOnly:
@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.Fantastic mate!! Will definetely try it tomorrow!! Thank you for your tremendous job!! Just out of curiosity, if i ask MM what’s the cpu temp, will the assistant speak the value? Will give you a feedback tomorrow! Again, a great thank you! You rock mate ;)
EDIT - Just checked the part where you said that you doubt the usefulness. In my case, a multiple deploy scenario i guess, dont know if it’s feasible yet. Like asking to client 1 whats the server 1 CPU temp or something like that.
-
@michael5r Hi there Michael.
Maybe (or most definitely) i have done something wrong because everything works fine on my mirror with MMM-assistantmk2, google api etc… but when i go to my google home app, it doesnt find any new devices.Obviously i´ve used the same email in both places, so any ideas where could it be the mistake??
thanks