I’ve been doing some thinking about the Spark core and Cloud API in general. While the cloud is very fast, is there a way to establish a websocket with it? I’d like to avoid the additional overhead from connectivity in rapid HTTP calls. My example is controlling relays with the spark core and having it turn on/off lights to Christmas music. I don’t want to store the algorithm for every single song in memory on the core but rather I’d like to pass data to it in real-time so it can process that and act accordingly. This type of real-time connection would be a serious step forward (if it doesn’t exist already.)
Also, for things like home automation and Christmas light synchronization, I could avoid this extra bandwidth by using a local websocket so I never have to go out into the real world.
Is this doable? If not, how can we make it so? If so, you’ve made my day