new-computers / dat-pi

ongoing development of plug & play rpi dat server
28 stars 0 forks source link

dat pebble #6

Open callil opened 6 years ago

callil commented 6 years ago

via @edouerd

the pebble is dreaming

prepackaged rpi with minimal sensors and dat onboard.

  1. give it power & network
  2. a dat site of the surrounding area is automatically created and added to the pebble swarm.

screen shot 2018-04-05 at 11 33 19 am

references: https://github.com/mynameisfiber/skycolor https://studiomoniker.com/projects/click-click-click

neauoire commented 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.

callil commented 6 years ago

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.

urcades commented 6 years ago

some details on this from elsewhere that might be helpful, still WIP:

Generalized Pebble Narrative

  1. Tina is interested in Pebble, a new way to be “online” without really creating an account, joining an existing network, or using a laptop.
  2. She purchases a “Pebble Set” for $XX, which is a small bundle of sensor/hosting objects, the pebble(s) themselves
    1. optionally, we'd document how one might construct their own in an open source manner
  3. The Sets themselves should be very minimal, with little cognitive depth — at most a placard/card indicates one should plug the device into a wall, and navigate to a url on a device of their choice
  4. These items should present themselves as a method of being in place or writing ambient poetry for the person who owns them
  5. When given power - the pebbles display back to Tina an address and some initial state - there may be a few different ways the pebble expresses itself.
  6. Tina can then cultivate the pebbles and join the cairn

“Wireless pebbles” Detail, or Website authoring without a computer

  1. Perhaps we want to answer the question, “How does one build a website without a computer?”
  2. Imagine you purchase a Pebble Set, which includes a set of dice-sized modules, bristling with sensors
  3. In a place with wifi, you should be able to scatter your pebbles into the grass, into a pool of water, amongst gravel and sand, etc.
  4. Each pebble takes into account moisture, light, sound, etc. and automatically generates a web page (or a component) which is then made available on a dat url, or a locally-available url. Ideally, these small devices are protected from damage or weather appropriately, and solar-powered so one doesn't need to worry about powering 'em.
  5. Whether the Pebble owner in question navigates to a pregenerated url (located on a card bundled with the Pebble Set), visits a generic local url, or determines the address later, is totally up in the air

This is all still a WIP between cal and I, will be formalized as a 'narrative' for this project soon

neauoire commented 6 years ago

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.