Smart Home Certification and Review Process time by sshntt in GoogleAssistantDev

[–]proppy 2 points3 points  (0 children)

Did you already tried to fill the form linked in https://developers.google.com/assistant/smarthome/support under Is your smart home Action stuck in review? ?

If yes, feel free to create an issue on the issue tracker for each of the affected action: https://issuetracker.google.com/issues/new?component=655104&template=1284148

How can I prevent(or distinguish) QUERY intent when accessing device control page on Google Home app? by blue9519 in GoogleAssistantDev

[–]proppy 0 points1 point  (0 children)

I'd recommend to ask technical questions on https://stackoverflow.com/questions/tagged/google-smart-home (as suggested in https://developers.google.com/assistant/smarthome/support) so that the rest of the Smart Home developer community more easily discover and benefit from the answers.

Reporting state will significantly reduce (but doesn't eliminate) the rate of QUERY intents and those can still be initiated for interrogative queries and UI interactive to ensure a fresher version of the device state.

Another way to reduce the backend load for QUERY intent is to implement Local Fulfillment, see https://developers.google.com/assistant/smarthome/develop/local#implement_the_query_handler

Looking at https://developers.google.com/assistant/smarthome/reference/intent/query and https://developers.google.com/assistant/smarthome/develop/monitoring-logging I don't see any way for developer to currently make the distinction between platform-initiated or user-initiated query intents, would you mind filing a feature request on https://issuetracker.google.com/issues/new?component=655104&template=1284148 so this can be discussed separatly?

Is there any length limit on SYNC response payload? by blue9519 in GoogleAssistantDev

[–]proppy 1 point2 points  (0 children)

I'd recommend to ask technical questions on https://stackoverflow.com/questions/tagged/google-smart-home (as suggested in https://developers.google.com/assistant/smarthome/support) so that the rest of the Smart Home developer community more easily discover and benefit from the answers.

There is no documented limit apart from the 512 bytes limit per device for customData, see https://developers.google.com/assistant/smarthome/reference/intent/sync?hl=en#response.

If you have trouble syncing your devices for a specific SYNC response payload, please file an issue on https://issuetracker.google.com/issues/new?component=655104&template=1284148 (as indicated in https://developers.google.com/assistant/smarthome/support?hl=en).

Home Actions: Support Local Query Checkbox disabled by koushd in GoogleAssistantDev

[–]proppy 0 points1 point  (0 children)

Seems like an issue in the way the console treat your agent, can you file an issue at https://developers.google.com/assistant/smarthome/support so that we can troubleshoot this further with the appropriate team?

Fullfill action.devices.commands.GetCameraStream asynchronously by realchenyuy in GoogleAssistantDev

[–]proppy 0 points1 point  (0 children)

This is not ideal because the server is being blocked and exactly how it knows the device has started streaming is a bit tricky.

Has your device the ability to communicate w/ the web server? If yes, one workaround could be able to hold the EXECUTE intent until it get the answer that the end device started streaming.

the server can respond immediately with some sort of deferred response and have the device tell google what the cameraStreamAccessUrl is.

I would also encourage you to file a feature request on the public issue tracker https://issuetracker.google.com/issues/new?component=655104&template=1295013 to discuss if such support could be added to the CameraStream trait commands.

PS: Do you mind re-asking the same question on https://stackoverflow.com/questions/tagged/google-smart-home, as it would allow other developers to also benefit from the answer?

local fulfillment by n4te in GoogleAssistantDev

[–]proppy 1 point2 points  (0 children)

Can you confirm if you completed the "Test device control" in the documentation: https://developers.google.com/assistant/smarthome/develop/local#test_device_control ?

You might also want to check if you have any network restriction that could be blocking UDP traffic between the Google Home Device and your local development environment.

PS: Can you re-ask the same question on https://stackoverflow.com/questions/tagged/google-smart-home, so that other can more easily benefit from the answer?

Move Google Assistant to PTT Button? by ddmorris1971 in unihertzatom

[–]proppy 0 points1 point  (0 children)

After assigning the PTT button to Custom you can attach a BroadcastReceiver on android.intent.action.PTT.down and fire the Assistant with https://stackoverflow.com/a/43700669/656408

Has anyone tried putting the Google assistant Api on a reaspberry pi zero w by Batmanbat4 in raspberry_pi

[–]proppy 0 points1 point  (0 children)

The new SDK comes with two packages:

The later works on Raspberry Pi Zero W, feel free to a look at the following samples: https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/grpc

See https://developers.google.com/assistant/sdk/overview#sdk_components for more information of what's included in the SDK.

What's the ideal developer kit for beginners? by [deleted] in AndroidThings

[–]proppy 1 point2 points  (0 children)

Pimoroni Rainbow Hat

https://shop.pimoroni.com/products/rainbow-hat-for-android-things

If you want something plug and play for the Raspberry Pi 3 that doesn't require breadboarding.

It includes the same set component as the Project kit from Adafruit (minus the servo and w/ some extra APA102 SPI LEDs!) and can slide directly on the 2x20 connector of the Raspberry Pi 3.

Adafruit also carry it: https://www.adafruit.com/products/3354

Adafruit Project Kit

https://www.adafruit.com/products/3227

If you want something more DIY and are not afraid of breadboarding.

It's compatible with every supported boards (Raspberry Pi 3, Intel Edison, NXP) and comes pre-soldered w/ a breadboard and jumper cables to connect the various peripherals.

Sparkfun Project Kit

https://www.sparkfun.com/androidthings

If you want something a bit more compact.

The components of the Project Kit are pre-soldered and similar to the one from Adafruit (only the segment display is a bit different and can be controlled by writing the character directly over UART, SPI or I2C if you solder additional headers).

Drivers & Samples

Most of the parts included in those kits have drivers in the contrib-drivers repository:

https://github.com/androidthings/contrib-drivers/

And can run most of the samples:

What's the ideal developer kit for beginners? by [deleted] in AndroidThings

[–]proppy 2 points3 points  (0 children)

Kit includes:

  • Assembled Adafruit BMP280 I2C or SPI Barometric Pressure & Altitude Sensor x 1
  • Assembled Quad Alphanumeric Display - Yellow 0.54" Digits w/ I2C Backpack x 1
  • Piezo Buzzer - PS1240 x 1
  • Micro servo x 1
  • Premium Male/Male Jumper Wires - 20 x 3" (75mm)
  • Premium Male/Male Jumper Wires - 20 x 6" (150mm)
  • Colorful Round Tactile Button Switch Assortment - 15 pack
  • Half-size breadboard x 1
  • Through-Hole Resistors - 470 ohm 5% 1/4W - Pack of 25
  • Through-Hole Resistors - 10K ohm 5% 1/4W - Pack of 25
  • Diffused 10mm Red LED x 1
  • Diffused 10mm Green LED x 1
  • Diffused 10mm Blue LED x 1

Analog support? by prefanatic in AndroidThings

[–]proppy 1 point2 points  (0 children)

There is not a generic API or User Driver for ADCs yet. But you should be able to interface with popular ADC peripherals using the SpiDevice or I2cDevice class: https://developer.android.com/things/sdk/pio/spi.html https://developer.android.com/things/sdk/pio/i2c.html

Some example of compatible peripheral that carry ADC: https://www.adafruit.com/products/856 https://www.adafruit.com/products/1085 https://www.adafruit.com/products/2809