Post has attachment
Oh look, we finally have a new Photos API after the death of Picasa :)

https://developers.google.com/photos/
Add a comment...

Post has attachment
My holiday projects (even though I didn't have a lot of actual free days) are starting to take shape.

My Raspberry Pi can now read air & soil humidity and temperature with the data being logged into a database for further analysis. This will be installed in our greenhouse later this year and eventually hooked up to a solenoid valve for controlled watering.
Good thing there are standards so I only needed to use three different protocols for three different sensors ;)

I also did some experiments with a motion-triggered (wildlife) camera trap, and caught some creatures stealing baubles from our Christmas tree. This will also move to our garden eventually.
PhotoPhotoPhotoPhoto
1/2/18
4 Photos - View album
Add a comment...

Post has attachment
Not sure if this is actually intended for this use, since I couldn't find any info about it, but the AIY Voice Kit has a perfect spot for a Raspberry Pi Camera module. Now to find a fun way to actually make use of the camera :)
PhotoPhotoPhoto
11/16/17
3 Photos - View album
Add a comment...

Post has attachment
AIY Speech2Morse

I've finally received my AIY Voice Kit last week, and did a quick and fun demo to convert text to morse.

This uses the Cloud Speech API to recognize the text, translates it to text and uses the LED of the Voice KIT to send the message.

Source code: https://github.com/Scarygami/aiy_speech_2_morse/
Add a comment...

Post has attachment
Cloud Firestore Quicktip - DocumentSnapshot vs. QuerySnapshot

Since the Firebase team launched Cloud Firestore last week, one question/problem that keeps popping up on Stackoverflow is the result of there being two different ways to retrieve data that have to be handled slightly differently. So after answering several of those questions I though it would be a good idea to put together this short article.

https://medium.com/@scarygami/cloud-firestore-quicktip-documentsnapshot-vs-querysnapshot-70aef6d57ab3
Add a comment...

Post has shared content
We've changed our name – API.AI is now Dialogflow! With Dialogflow, you’ll have an end-to-end platform for everything you need to build great conversational experiences, including: prototyping an idea, testing locally, deploying widely, training with real data, and monitoring/analyzing for performance.

Along with our new name, here are two new features to help you build out your flow of dialog:
1. In-line code editor so you can write fulfillment logic directly in the console
2. Multi-lingual agent support so you can add additional languages to your agents

Learn more about our new name and two new features here: https://goo.gl/Eh9SKH
Add a comment...

Post has shared content
Introducing Cloud Firestore: store, sync and query your app data at global scale easily

Read the blog here → goo.gl/m3pmWG
Add a comment...

Post has attachment
Differential Serving on Firebase Hosting

Polymer 2.x/3.x brought the standards-compliant ES6 class-based syntax for defining Web Components. This works well for most modern browsers and ES6 has a lot of other nice features (like arrow functions) to make your JS code cleaner and more fun to write.

But if you need to support older browsers like IE 11 you will have to compile your code to ES5 which comes with performance drawbacks for modern browsers compared to running ES6 on them directly.

The ideal approach is to use differential serving to serve the ES6 version to modern browsers and a fallback ES5 version to older browser. prpl-server-node is a sample implementation of a Node server that uses this pattern. I took the ideas from this implementation and created a sample based on the polymer-starter-kit on how you can use differential serving on Firebase Hosting using Cloud Functions for Firebase for dynamically sending the right version to the user.

https://medium.com/@scarygami/differential-serving-on-firebase-hosting-f83c33b83a8e
Add a comment...

Post has attachment
#gddeurope keynote about to start soon.
Photo
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded