Im trying to set up google assistant on Raspberry pi. I require my 'Model id' in order to try the demo code. I created this earlier but didn't not it down. Is there a way to find it ?
thanxs
You can use the device model API to query a list of valid models and device IDs. You can access this API through the device tool:
googlesamples-assistant-devicetool list --device
Related
I'm trying to create my own application that uses the Google Assistant device and is able to control my home devices like turn on/off light, lock door, feed cat etc.
I read a lot about Google smart home and this is kind of what I'm looking for but it is problematic to add additional commands and than needs to use Google Home application to configure it again.
IFTTT has a workflow I'm interested to but has limitations in a number of applets and it is another service that is needed to use to execute commands which I would like to avoid..
I want to do something similar to IFTTT but programmatically on my own.
Connect to Google account using specific credentials
Add commands like "Turn on light", "Feed cat".
Then I would like to say to Google: "Hey Google, Feed cat". After saying this command I would like to get a REST API request in my application which I can process and do what I want (like webhook in IFTTT)
Expected application flow
Is it possible to do that without using IFTTT?
I yes how because I can not find any tutorial or Google documentation related to this approach.
Assuming the question is about how to implement the suggested examples using Google Smart Home platform.
The fulfillment flow is actually very similar to what's described in the question:
And commands close to the question examples could be implemented using:
"Fill the cat water bowl": the PETFEEDER device type with the Dispense device trait.
"Turn on the light": the LIGHT device type with the OnOff device trait.
Like Facebook or Twitter I need to export image within my iOS app to Google Classroom. I went through some documentation provided by Google but I couldn't find any kind of SDK. Is google provided any kind of iOS SDK for Google Classroom or do we need to use rest API instead of SDK?
First of all, you should have the google classroom application installed on your ios device.
Next, On your ios device when you select the option to export you should see the google classroom option in the list, and if you don't see that option just select more at the end, and there you should have it.
see the image here for better understanding
I wanted to create custom url for tracking ios installs in google analytics dashboard. I have been using Tapjoy to drive the installs. While creating the custom url from https://developers.google.com/analytics/devguides/collection/ios/v3/campaigns#url-builder it asks for a device id macro for custom ad networks.
Any idea what is the device id macro for tapjoy. Quick google search didnt get me any specific result.
For some reason when I go to your link and build a URL it doesn't ask me for the device id macro.
But maybe this can help: http://home.tapjoy.com/tech/product-overview/sdk-change-log/tapjoy-and-identifiers#ios
I would like to write a simple cardlet which takes geolocation data from my SIM card.
I read about JavaCard but I have no idea how I can use it to get geolocation.
I read that SIM cards keep the information about
Local Area Identity
and I would like to get this data with my cardlet.
Could you suggest me some solutions(APIs) f.e. with JavaCard.
Thank you in advance
There are some possible (U)SIM Toolkit APIs:
Using EVENT_DOWNLOAD_LOCATION_STATUS. Register this event on install method, and applet will receive the event when there is location update in processToolkit method.
Using PROVIDE_LOCAL_INFORMATION proactive command, with command qualifier set to '00' ( Location Information / MCC, MNC, LAC and Cell Identity).
For two solutions above, you need to check that the mobile phone you are using has the support of the mechanism, indicated in its TERMINAL PROFILE.
Alternatively, you can also check for EF LOCI under DF GSM which keeps the Local Area Identity information and read it using READ BINARY.
How to use Amazon Product Advertising API to show Products inside my iPhone Application?
I have my amazon account,Secret key and necessary credentials with me But, I don't know How to create web-service for that and How to use the API.
I m referring this Link : https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html but not getting any Clear idea how to Use it.
If there is any Sample project or Code will be really appreciated.
Can user able to Buy Products through iPhone or just they can see the product detail?
Will Amazon allow this for Mobile device?
Hi All I researched a Lot and Not finding A suitable product search API for Mobile Device From Amazon. It seems They Closed The API for Product advertisement in Mobile device.
Here is a link : http://www.zdnet.com/blog/apple/how-amazon-killed-delicious-library-for-iphone/4354
Their Official Condition : "You will not, without our express prior written approval requested via this link , use any Product Advertising Content on or in connection with any site or application designed or intended for use with a mobile phone or other handheld device." so i think we have to take Permission Before using that.
Link : https://affiliate-program.amazon.com/gp/advertising/api/detail/agreement.html (4.e)
I answered this Question Because i think Some One May need This And if Any One can Find Any Recent Update Or Solution Please Modify or Edit the Answer.
I wrote Amazon Product Advertising Client https://github.com/m1entus/RWMAmazonProductAdvertisingManager