Jump to content

Direct Action


Recommended Posts

Posted

Hello everyone,

 

Just wanted to let everyone know that Google approved us for the usage of Direct Actions. We are quite excited and will shortly start working on the integration.

 

With kind regards,

Michel

Great job Michel. I look forward to it.

Posted (edited)

Pardon my ignorance but what are "direct actions"?

 

Google Assistant has two kinds of actions. Both require a server that the developer supplies that Google can talk to. There are a variety of high-level and low-level APIs that developers can use.

 

Conversational Actions:  The developer must supply an invocation trigger, dialog, and fulfillment action. It is up to the developer to specify the words that will be used by the user, and the flow of dialog. (Because it can go beyond simple commands, and include a back-and-forth "conversation". An example of a service that would be well-suited to conversational actions would be a baseball trivia "bot".

 

Direct Actions: The developer only deals with fulfillment. Google handles the entire conversational interaction. Google has defined a number of problem domains, which they refer to as "verticals". Examples are food ordering, home automation, reservations, etc. Google has defined the possible actions. So, for home automation, they've defined commands to turn things on and off, dim and brighten, etc. 

 

Direct actions are limited to what Google has defined. So, I can imagine that conversational actions would still be needed if a home automation product is capable of doing things that Google didn't think of. So, for example, if you wanted to use ISY to arm an Elk alarm,  or tune a channel on an AV system, it could be awkward. There isn't (as of yet) a vertical for home security or AV control, and the terminology will be a bit off if you were to piggy-back it on Home Automation.

 

Conversational actions give the developer more control, as the developer is in charge of the conversation. Direct actions are easier to implement, and have the advantage of using a common vocabulary. The user could control e.g. Hue or Insteon using the same vocabulary and syntax. This can be a good thing or a bad thing!

 

It seems desirable for services that fit into the available verticals to support direct actions, because users will have expectations how services in a given vertical work.

 

One might easily get the impression that direct actions are more difficult to implement, but I think it is the opposite. Direct actions have a sign-up and approval process I think mainly because they are new an still a bit experimental. Google is still learning (both Google PEOPLE and Google AI...) and I think developing specs as they go along, so there is a need to limit access at this point - I suppose mainly to industry leaders - like UDI!

Edited by jtara92101
  • Like 2
Posted (edited)

Oh, and congrats! Looking forward to it! 

 

I've set up a few simple on/off actions with IFTTT for now.

 

When you are done with this, no doubt there will in the future be Cortana and Siri appliances to deal with... ;)

 

As I am an Apple household, neither Google HA or Alexa are optimum. But I've decided that each "home assistant" has an agenda, and I guess the Google one is less evil:

 

Alexa - get you to buy stuff from Amazon

Google Assistant - get you to use as many Google services as possible

Cortana - assimilate into the Borg

Siri - make her less lonely, because nobody uses Siri after the initial excitement (I think poor accuracy, and too many irrelevant, sometimes totally bizarre results). Oh, and get you to use as few Google services as possible

 

I have to say I am still impressed by the accuracy and relevance, especially for local results. 

Edited by jtara92101
Posted

Oh, and congrats! Looking forward to it!

 

I've set up a few simple on/off actions with IFTTT for now.

 

When you are done with this, no doubt there will in the future be Cortana and Siri appliances to deal with... ;)

 

As I am an Apple household, neither Google HA or Alexa are optimum. But I've decided that each "home assistant" has an agenda, and I guess the Google one is less evil:

 

Alexa - get you to buy stuff from Amazon

Google Assistant - get you to use as many Google services as possible

Cortana - assimilate into the Borg

Siri - make her less lonely, because nobody uses Siri after the initial excitement (I think poor accuracy, and too many irrelevant, sometimes totally bizarre results). Oh, and get you to use as few Google services as possible

 

I have to say I am still impressed by the accuracy and relevance, especially for local results.

Price per Amazon DOT makes it the winner for my home, I have four now.

Posted

Woo Hoo!!! Awesome!

 

Semi related question. Is it / will it ever be possible to have the ISY play an audio file (maybe from Google Play Music) on a Chromecast Audio?

 

Before ISY, I use to run HAL2000. Something I miss is audio notifications /actions. My favorite was when there was motion in the yard, and I was away, an .Mp3 of a vicious dog barking would play on my home theater system. It was crazy effective. I created it, yet if I came home from a weekend away, it would scare the hell out of me as I was putting my key in the door

  • Like 1
Posted

Before ISY, I use to run HAL2000. Something I miss is audio notifications /actions. My favorite was when there was motion in the yard, and I was away, an .Mp3 of a vicious dog barking would play on my home theater system. It was crazy effective. I created it, yet if I came home from a weekend away, it would scare the hell out of me as I was putting my key in the door

 

See the separate thread "Speak, Google!" My goal is text to speech, though, rather than playing an MP3. But the solution I found does play an MP3 - it makes an MP3 using Google TTS first.

 

I just did some tests using the NPM module google-home-notify. I used the little server included and then set up some Network resources on ISY to speak some notifications.

Posted

Woo Hoo!!! Awesome!

 

Semi related question. Is it / will it ever be possible to have the ISY play an audio file (maybe from Google Play Music) on a Chromecast Audio?

 

Before ISY, I use to run HAL2000. Something I miss is audio notifications /actions. My favorite was when there was motion in the yard, and I was away, an .Mp3 of a vicious dog barking would play on my home theater system. It was crazy effective. I created it, yet if I came home from a weekend away, it would scare the hell out of me as I was putting my key in the door

That is a great idea.  I have two Google Home  and two Chromecast Audio devices. I would love to send an instruction from ISY to either/or/and GH /CA, with let's say I want to be woken up at 7 am with radio station X and at the same time lights in bedroom go ON.....

Posted

Price per Amazon DOT makes it the winner for my home, I have four now.

 

The only problem with the dot (for me) is it keeps loosing connectivity even though its 10 feet from a wireless router.

  • 2 weeks later...
Posted

The only problem with the dot (for me) is it keeps loosing connectivity even though its 10 feet from a wireless router.

 

By losing connectivity do you mean that the ring turns orange and you get a message about the connection when you issue a voice command or something else?

  • 2 weeks later...
Posted

The only problem with the dot (for me) is it keeps loosing connectivity even though its 10 feet from a wireless router.

I have the same thing with,  especially one Dot, about 10 feet from my router.

 

Perhaps the WiFi is too sensitive and loses connection due to over driving the receiver, being so close?

  • 4 weeks later...
Posted

Hello everyone,

 

Unfortunately no update. We are waiting for Google to get back to us for connectivity testing.

 

With kind regards,

Michel

Any updates on google home?

 

Sent from my SM-G930U using Tapatalk

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...