Add functions to google home - google-home

I'm trying to make a diy IOT light that integrates with my google home, however I have no clue how to go about this. What I prefer is some sort of webhook that gets called everytime I say "set the lights on my desk to 75%"

You want to look into the Smart Home API for Actions on Google.
This is the API that is available to all IoT device makers - big industry and home developers alike. It provides access to voice commands such as "set the lights".

Related

Who said that? Can the IFTTT Google Assistant service capture which device the request came from and pass it on?

Most of my home automation is controlled internally (timers, events, scenes, etc). I also have voice control (mainly just for fun). I have some google home devices scattered throughout the house with a few IFTTT phrases like "Open the blinds in the $ (e.g. lounge room)". When that phrase is triggered, WebHooks POSTs a request to my home server to open the blinds.
Anyway it would be nice if I could just say "Open the blinds" and the room would be implied by which Google Home device processed the phrase. That doesn't seem possible with the IFTTT services. It actually seems like a glaring oversight, so maybe I'm missing something.
Any ideas on how I could implement this seemingly simple feature? (I'm hoping I won't have to query the Google Assistant myself).
I think I have enough information now to answer my own question. The 'IFTTT Platform' seems to be the key to all my requirements. It will give me greater access to the Google Assistant API (magnitudes greater than the IFTTT GUI). However, it's a steep learning curve:
Step 1: Learn the Ruby programming language
Step 2: Umm I'll get back to you on the next steps :)

Google Home Smart Home integration

Alexa has two kind of Skills: Custom and Smart Home. Smart Home Skills support a predefined API to interact with smart home devices (lights, etc). I can't find anything close to this in the documentation for Google Smart Home. Should I have to develop all the dialogs from scratch or Google have something already done?
Google now has a special kind of action called Smart Home App.
It's similar to Alexa's smart home skill.
You can find its document here:
https://developers.google.com/actions/smarthome/
To create a smart home app, follow the instructions here:
https://developers.google.com/actions/smarthome/create-app
Hope this will help you out. Good Luck.

Tango needs google web services?

our project is in China, where all google services are blocked.
does Tango need any google services, or is it self-sufficient and is able to operate on its own? if it needs services, it is basically useless to our case.
Basically,
Normal Project Tango device's features didn't need online google services.
MotionTracking, AreaLearning and Depth should do well.
you can download the sample apps sources code on here
like c samples :
https://developers.google.com/project-tango/apis/c/
try that, it won't need online google services.
But there maybe some apps which integrated Tango feature with other google services do.
Unfortunately, since Google Services is blocked in China, you can't get the BSP OTA and Play store apps updated, which means at some point you can't get new features and bugs fixed on your devices.
If you need further help. better contact project-tango-help#google.com.
AFAIK it does not. I can confirm that I've been using my devkit offline most of the time.
More generally, the core Tango services are all hosted on the device, and they were preinstalled on my devkit when I got it about 3 weeks ago. However, updates to these services come OTA via Google Play.
The three services Tango provides are motion tracking, area learning and depth sensing. Depth sensing is provided directly by the sensors, and motion tracking obviously cant be done online in a performant way. AFAIK, area learning too happens offline, but you can find more info here.

DJI Phantom API or hackable procedure

Maybe I have't looked hard enough, but I spent yesterday googling for a bit and found no relevant projects on hacking the DJI Phantom Drone in order to create new coordinating apps. This is besides the app for coordination DJI currently uses for their drone. I'm trying to see if there's a way to communicate with the Drone with a specific protocol in order to accept a set of procedures.
Any help would be awesome,
Thanks.
Great News for you and all us Droneys! DJI has launched their SDK since you asked this question. They released it last November and you can now apply for a license and write your own apps for the Phantom2 Vision+ using their SDK.
Check it out at https://developer.dji.com/
I am already building a project using the SDK - you can follow my progress on my blog / product site. I will also try to update it with good DJI related development links and tips.
This post is old but I think it is good to leave a foot print for others :)
There is this new company called NVdrones, which created a peace of hardware that you can attach to any drone (you need physical access to the flight controller), and once you do that you can use their SDK (Arduino, Java, Android and Javascript) to write your app without the need of hacking, soldering or anything else. It is just plug and play.
Another benefit is that you are not locked with a specific drone (DJI SDK or 3DRobotics SDK), you can use the board on anything you want. Which gives lots of flexibility.
The developer site is http://developers.NVdrones.com
Hope this helps.
This is a great topic!
You could check how to hack your copter here: https://github.com/flyver/Flyver-SDK/wiki/-2.2--How-To:-Flyver-Hack-a-Copter
By opening the drone, taking out the original controller, soldering a few wires and sticking an Android phone to it, you will have the ability to program your Phantom in a modern manner with an open source SDK and application based development. This means that you could add computer vision to it, automation or additional hardware. You could also use smartphones, web and other interactive devices for remote controlling the copter instead of using the standard remote controls.
The Phantom, however, is offcenter balanced due to the fact that most people use gimbal with it. Without the gimbal is a lot less stable from my experiments so you will have to put some extra work in center balancing it.

Windows Phone 7 Scoring provider

I am not too sure if this question is suited for this forum. If not, please let me know and I'll delete this.
I wanted to figure out the "easiest" way of keeping online score for a game or quiz on Windows Phone 7. Currently, I am not looking for things like Achievements etc. I know XBOX live provides a lot of stuff on these grounds, but it is not open for all.
I want to submit the score, and maintain the top 200 (may be less) odd scores. I am too lazy to write my own services and host it and go through the full maintenance cycle for that scoring system. Can someone point out some really good and easy to use + reliable services that I can use?
The product offered by Mogade has a lot of the features you have asked for:
Real time stats
Achievements
Logging
Javascript leaderboards & Facebook pages
Always free
No branding requirements
It's a very streamlined library where you only need to set up the bare essentials to get it working as all of the heavy lifting is managed for you automatically, allowing you to focus more time on the development of your game.
briansoli has written a fairly straightforward tutorial on how to get a leaderboard working with in a Windows Phone 7 game.
I hope you find this useful, let us know how you get on with it!
Microosft have just released a new toolkit called the Windows Azure Toolkit for Social Games. This should help you out with quite a bit.
Have a look at this Cloud Cover Show, Episode 52 - Tankster and the Windows Azure Toolkit for Social Games
The toolkit enables unique capabilities for social gaming prerequisites, such as storing user profiles, maintaining leader boards, in-app purchasing, and more. The toolkit also comes complete with reusable server side code and documentation, as well as Tankster, a new proof-of-concept game built with HTML5

Resources