(╯°□°)╯︵ ┻━┻

Don't take life too seriously. You'll never get out of it alive.

Talk to the fridge! (using Alexa, Salesforce and Electric Imp)

Long time no blog post, sorry. I have meant to write this post forever but I have managed to avoid it. Anyways, consider the scenario when you sit in your couch and you wonder: “What’s the temperature in my fridge?” “Did I close the door?” “What’s the humidity?” You have already installed your Electric Imp hardware in the Fridge (Best Trailhead Badge Ever) and it’s speaking to Salesforce via platform events, you even get a case when the temperature or humidity reaches a threshold or the door is open for too long.

Upgrade your Electric Imp IoT Trailhead Project to use Big Objects

I first heard about Big Objects in a webinar and at first I didn’t really see a use case, and it was in BETA so I didn’t care that much but now that it was released in Winter ‘18 everything changed. My favourite Trailhead Badge is still the Electric Imp IoT one and I had thought it would be fun to store the temperature readings over a longer period of time. Since I run my integration in a Developer Editions I have 5 MB of storage available, this is not that much given that I receive between 1 and 2 Platform Events per minute.

Upgrade your Electric Imp IoT Trailhead Project to use Platform Events

As an avid trailblazer I just have to Catch ‘Em All (Trailblazer badges) and the project to integrate Electric Imp in my fridge was a fun one. [caption width=“200” align=“alignnone”] Build an IoT Integration with Electric Imp[/caption] After buying an USB cable to supply it with power it now runs 24/7 and I get cases all the time, haven’t really tweaked the setup yet. I have looked at the new Platform Events and I thought that this integration can’t be using a simple upsert operation on an SObject, it’s 2017 for gods sake! Said and done, I set out to change the agent code in the Trailhead project to insert a Platform Event every time it’s time to update to Salesforce.

Trailhead is awesome and gamification totally works!

About this time last year I decided to pursue a career within Salesforce, I was a bit tired of my current job and wanted a change. It was either a backend engineer role at iZettle or becoming a Salesforce Consultant. The consultant role was not new to me since that’s how I started my career. After signing the contract I decided to look at Trailhead since I heard a lot of good things about it.