Profile cover photo
Profile photo
DJ Adams
1,381 followers -
Developer, Author, Speaker, Teacher
Developer, Author, Speaker, Teacher

1,381 followers
About
Communities and Collections
Posts

I wrote up a summary of how I used Google Sheets and Apps Script to provide data and an API for an action.

http://pipetree.com/qmacro/blog/2017/04/30/google-cloud-functions-sheets-apps-script-actions-on-google-win/

If the topics listed towards the end of the post strike a chord with you, please let me know!

cheers

Post has attachment
Anyone else experiencing intermittent issues with the Simulator right now? Started happening this morning.

If I try again it seems to work. Testing the same action from the API.AI testing area is fine and I don't encounter errors in that setup. I'm servicing the action via ngrok right now.
Photo
Photo
4/30/17
2 Photos - View album

Post has attachment
... read the entire scrolling programme text display on the DAB radio

Just worked out why something wasn't working, and wanted to share, to save you time in case you were wondering about getting the same thing running. I use the Cloud Shell and have the Cloud Functions Local Emulator ('functions') running there.

I thought it would be nice to test a cloud function used as action fulfillment directly from the emulator, so started the emulator with option "--supervisorPort 8080" with a view to using the Cloud Shell's "web preview" feature for ports 8080-8084 (the default supervisor port for HTTP on the emulator is 8010).

However, my test action wasn't able to use the function for fulfillment (it fell back to text responses, as I'd built it via API.AI).

Turns out that the Cloud Shell web preview feature is security restricted as described here: https://cloud.google.com/shell/docs/features#web_preview

Shame. Back to using ngrok on another machine. Ah well.

Post has attachment
Near London Euston yesterday
Photo

Post has attachment
Late breakfast picnic with M along the canal near Marsden
Photo
Photo
Marsden Canal Breakfast
2 Photos - View album

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded