@arora1mayank
You cannot make any commercial benefit with GA SDK. it is not allowed.
https://developers.google.com/assistant/sdk/overview
Read the statement by Michael Teeuw here.
Posts
-
RE: MM Alexa speech to text
-
RE: MM Alexa speech to text
@magmirusr
Idk alexa, but for google assistant embeded machine(e.g. home mini) you can do that already. So I think ideally possible with alexa. Just no one have had interest in it to imply. -
RE: Augmented Reality
@arora1mayank
What’s the definition of AR? What do you want to accomplish ? -
RE: Tell weather, date & time automatically at a specific time.
@suvan
I think it’s possible withMMM-GoogleTTS
,MMM-NotificationTrigger
andcron
cron
0 8 * * * curl --data "notification=YELL_TIME" http://localhost:8080/webhook
This is an example of a daily 8 am execution.
MMM-NotificationTrigger
{ module: "MMM-NotificationTrigger", config: { useWebhook:true, triggers:[ { trigger: "YELL_TIME", fires: [ { fire:"TTS_SAY", payload: function(payload) { return { content: "It is " + new Intl.DateTimeFormat("en-US", { dateStyle: "long", hour: "numeric", dayPeriod: "long" }).format(new Date()) } }, }, ], }, ] } },
MMM-GoogleTTS
whatever…I haven’t tested this on real machine.
Instead of direct using
cron
, you can useMMM-ScriptScheduler
orMMM-ModuleScheduler
. I believe when you are usingMMM-ModuleScheduler
,MMM-NotificationTrigger
might not be needed. -
RE: Async Functions inside node_helper.js
case "CASE_1": scrape("...").then((text) => { this.sendSocketNotification("text", text) }) break
Or
case "CASE_1" const AsyncJob = async () => { var text = await scrape("...") this.sendSocketNotification("text", text) } AsyncJob() break
-
RE: Help! - Adding and Changing Modules - Newbe
I’m trying to modify the weather module for my location (North Carolina instead of New York). I replaced the openweather ID and API key in the config file but when I start up Magic Mirror that module is stuck on “loading” so I am assuming I’ve done something wrong. At a minimum would just like to get that working,
You can post your configuration (entire contents or just the parts of weather module). We can check what was wrong.
try to have the calendar pull from my work, Office 365 calendar (working on a method I found through here were I import it into Google Calendar and then go from there)
The first to do is find the
iCal(*.ics)
feed URL of your target calendar service.add modules (haven’t figured out which ones yet, but the link provided below on adding modules looks to be helpful)
Usually, module developers provide
how-to-install (README.md)
document in their module repository.however, what isn’t clear is how I stop that? If I remove the raspberry pi to add modules or make changes, how do I get out of the Magic Mirror (control Q?).
It depends on what method you use. I assume you are using
pm2
to manage MM’s running. You can connect MM remotely. After connection, typepm2 stop all
, it will stop current MM’s execution. -
RE: [Proposal] Enhanced Translator
@karsten13
I’ll make a PR in a few days. I just need some assurances. :) -
RE: [Proposal] Enhanced Translator
@bkeyport said in [Proposal] Enhanced Translator:
So, let me get this straight, we’re getting international support within vanilla JS?
Well, it’s not about a matter of using Vanilla JS or not. But briefly answered, “possible”.
The main point of this project is;
“Give more freedom to the translation providers and Reduce the burden from the module developers.”
This will not become the alternative of “momentJS”. The main algorithm for WHAT TO SHOW still should be done in the module. But the translation provider could have more freedom for HOW TO SHOW under specific language and locale. -
RE: Help! - Adding and Changing Modules - Newbe
@pillaresci
Exactly what do you want to do? Let’s break one by one. -
RE: Hello World Module Underline
@pastormingle
Add this into yourcss/custom.css
(copied fromcss/custom.css.sample
)clock header { padding-bottom: 10px /* whatever you want */ }