Prototype of a connected object.
Seager was a prototype of a connected object, built for a client atop Berg. I started with the client’s existing Arduino-based code, and altered and extended it to turn it into a self-contained application hosted on Heroku, using Berg to provide the transit layer.
The prototype consisted of a small Sinatra application to interface with Bergcloud and provide a web UI for the object, as well as Arduino code for the object to send and receive data from Bergcloud, and provide a basic readout on the Bergcloud Devshield.
The web UI communicated with the browser over websockets, degrading to long-polling if websockets weren’t available to the client - including on the occasion that the browser supported websockets, but the network connection blocked or stripped them for whatever reason.