Open callil opened 6 years ago
Sharing sensor data across Pi using dat. Brilliant. I don't know how one would do this, but I would love to try. I'm thinking that a device could constantly maintain a api.json
file that can be queried like you would an API. For instance, the barometer.local
device would serve an api.json
file with a history of barometric pressure across the network accessible as barometer.local/api.json
.
I think that would be nice. Something very special about this is that you get a whole history of the readings from the sensors by default of dat's archiving features. just hit dat://mypi.site+100
for the 100th update to from the sensors. If the polling happens at a regular interval this could map to day/hour/min etc.
some details on this from elsewhere that might be helpful, still WIP:
—
Generalized Pebble Narrative
“Wireless pebbles” Detail, or Website authoring without a computer
—
This is all still a WIP between cal and I, will be formalized as a 'narrative' for this project soon
This is a very exciting idea. As of today, since I have read this post earlier, I am dedicating my time to replacing our NMEA speaking devices, and marina/navigational sensors, with dat, as the central protocole connecting all of our devices. I think we will cross paths again soon.
via @edouerd
the pebble is dreaming
prepackaged rpi with minimal sensors and dat onboard.
references: https://github.com/mynameisfiber/skycolor https://studiomoniker.com/projects/click-click-click