Raspberry Pi Weather Station with Secure Scuttlebutt

  1. An always-offline box in a remote location collects data.
  2. A data mule connects to the weather station’s internal wifi network while Manyverse (mobile SSB client) is open on the data mule’s mobile phone. The network is only a LAN- there is no internet access at the remote site.
  3. Within a few seconds, the weather station perform UDP peer discovery and exchange gossip.
  4. The data mule goes home.
  5. When the data mule connects to an internet-enabled wifi network at home, the data is gossiped to the wider SSB community (known as the “Scuttleverse”).
@siAx0bQUNVIS3IH2d++o44atOzn8h7BuoULySDiKrHc=.ed25519
  • node-dht-sensor: For reading an attached temperature sensor.
  • ssb-client: For writing to an append-only SSB feed.

Parts List

  • Wooden case (custom built)
  • DHT-22
  • Realtime Clock
  • Raspberry Pi 3 (the pi0 was too slow)
  • RaspAP-GUI (to create a WiFi LAN for UDP peer discovery)
  • USB battery pack

Operation

  • ssb-server, which provides an HTTP-based API for reading and writing to SSB feeds.
  • The custom Node app detailed in the section above.

Improvements

  • Use deep sleep to conserve battery
  • Add a solar cell for better off-grid support (we placed it in a spot that had grid power)
  • Automate the build process (currently, setup is a manual process)
  • Build a viewer app instead of publishing messages as "type": "post". Some users view the weather reports as "noise" on Patchwork.

--

--

--

Open source software developer covering topics relating to computer programming, computer history and personal productivity. Co-founder @ farm.bot / fox.build

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

3 Benefits of Using IBM Microservices

How I do it:

Introduction to HTML & CSS

Implementing the API using Azure Functions — Part 6

My first SoC: LGMSoC’21

Building a Word Streak Solver

Install WSL 2 + Ubuntu 20.04 LTS on Windows 10 and open Visual Studio Code from the terminal

The $JUNO x $SCRT pool @junoswapdex is now open!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rick Carlino

Rick Carlino

Open source software developer covering topics relating to computer programming, computer history and personal productivity. Co-founder @ farm.bot / fox.build

More from Medium

Yocto Project : Build your custom GNU/Linux Distribution ( Raspberry Pi Sample)

Why Distro Fragmentation is bad (and confuses new Linux users)

Virtual Machines on the Raspberry Pi!

How to Install Miniconda in Ubuntu