The provided Firebase + Electric Imp code seems like it doesn't work anymore, specifically for streaming.
https://github.com/firebase/ElectricImpDemo/blob/master/ImpFirebase-HRmonitor/bracelet-agent.nut
Is there a known regression I should know about? Or a new version of the library? Reads and writes work properly, but when I make a streaming request I just get empty data back.
Here's the snippet of actually using the firebase electric imp api:
firebase <- Firebase("https://smarthouse.firebaseio.com", null);
firebase.on("/", function(state) {
server.log("got a change");
server.log(http.jsonencode(state));
});
firebase.stream("/door", true);