Ronny Hullegie

Type minstens twee letters. Resultaten verschijnen vanzelf, geen Enter nodig.

Back to homepage
§ 01 · Technology
Under the hood

Three Pis, a Synology
and a black box called BirdNET-Go.

A tour through what is there, and why. Two Raspberry Pis that listen, one that measures the weather, and a NAS where everything else runs: the database, the message bus, the monitoring and the backups. This is version 3, rebuilt in October 2026. Not everything worked on day one. There's a story behind every line below.

§ 02 · In one picture From a singing blackbird to this website

Seven steps between the bird and the screen.

A blackbird sings, a microphone picks it up, hooked into a Raspberry Pi running BirdNET-Go, the NAS indoors, a Cloudflare tunnel, and only then does this site show anything. Detail per component below.

Infographic: from a singing blackbird via microphone, Raspberry Pi, AI detection and NAS to this website.
Machines Waiting for connection

The machines, breathing.

Two Raspberry Pis listen, one measures the weather, and the NAS stores and processes everything. The bat listener runs on the Bladerdak Pi and has its winter break; the mobile field station starts again in spring 2027. Per machine below: temperature, memory, storage and how long it has been running without a break. For the listeners also the compute time of BirdNET-Go: how many times faster than real time the model handles a three-second window.

No connection with the NAS right now. The figures fill in by themselves once it is back.

  • Bladerdak

    Two microphones (north and south), BirdNET-Go

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —

    Compute time —

  • Struikgewas

    Two microphones and the sky camera

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —

    Compute time —

  • Bats

    Ultrasonic microphone, runs on the Bladerdak Pi

    winter break until spring 2027

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —

    Compute time winter break

  • Weather station

    Davis Vantage Pro2 on a Raspberry Pi 4

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —
  • NAS

    Database, message bus, processing, monitoring, backups

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —
  • Mobile

    Field station on a battery

    starts again in spring 2027

    CPU
    —
    RAM
    —
    Disk
    —
    Temp — Uptime —
§ 03 · Pipelines How a reading travels from sensor to database

Six data streams, one database.

Each stream has its own path: a different sensor and its own way of processing. But they all end up in the same PostgreSQL on the NAS. Two streams are at rest right now; that is marked.

01

Birds

1,748,816 records · 371 days
Four microphones on two stations
    │
    ▼
BirdNET-Go on the Pi itself (in Docker)
    │
    ▼
Every detection as a message to the NAS
    │
    ▼
A small bridge writes the message down
    │
    ▼
Every hour: a safety net checks the stations
    │
    ▼
Every hour: the sound clips to the NAS
    │
    ▼
▶ PostgreSQL + sound archive

Four microphones listen day and night. BirdNET-Go recognises the species on the Pi itself, and I leave that program as it is: build around it, not inside it. Two routes to the database run side by side, so a missed message still arrives an hour later. On top of that sits a knowledge layer for the region (222 species: what is likely here in which month) and a daily doubt queue in which I listen to the doubtful cases myself.

02

Weather

494,054 records · 434 days
Davis Vantage Pro2 (radio)
    │
    ▼
Davis console, over USB
    │
    ▼
A Raspberry Pi 4 reads the console
    │
    ▼
Straight into the database
    │
    ▼
And as a message to the live feed
    │
    ▼
▶ PostgreSQL

The sensors outside send their readings by radio to the Davis console. A Raspberry Pi 4 of its own reads that console and writes the readings down. The same readings also go to the message bus, for the live weather on this site.

03

Batswinter break

100,875 records · 243 days
Ultrasonic microphone (200 kHz)
    │
    ▼
A second BirdNET-Go, at night only
    │
    ▼
With the BattyBirdNET-Bavaria model
    │
    ▼
Then the same route as the birds
    │
    ▼
▶ PostgreSQL

Bats call far above what a human can hear. An ultrasonic microphone picks that up and a second BirdNET-Go looks for species in it with a bat model. The microphone is indoors this winter; in spring 2027 it goes back outside. The detections of the previous version are kept in the database as an archive.

04

Nest boxes

434,808 records · 365 days
Three nest box cameras
    │
    ▼
go2rtc on the NAS fetches the images
    │
    ▼
A photo per camera every fifteen minutes
    │
    ▼
Photo and time into the database
    │
    ▼
▶ PostgreSQL + photo archive

Cheap cameras without an open interface. An open-source gateway (go2rtc) turns them into ordinary video streams. That way every photo ends up in a database instead of in an app.

05

Sky camera

46,972 records · 354 days
Camera with a wide-angle lens, pointing straight up
    │
    ▼
A photo every 10 minutes
    │
    ▼
An analysis every 15 minutes: moon and ISS
    │
    ▼
To the archive every hour
    │
    ▼
▶ PostgreSQL + photo archive

The sky camera looks up every ten minutes. By day, the colour of the photo shows how cloudy it is straight above the house, and for every photo it is checked where the moon stands and whether the ISS space station passes over.

06

FlySafe radarpaused

11,115 records · 354 days
KNMI BirdTAM (a map, not data)
    │
    ▼
Fetch the map
    │
    ▼
Turn colours into a figure for migration
    │
    ▼
Link it to the detections of that moment
    │
    ▼
▶ PostgreSQL

The Dutch weather institute KNMI publishes bird migration only as a picture. A program of my own read the colours from the map and turned them into a figure. Since the rebuild in late October 2026 this is not running; the fetching still has to be built again. The old observations are in the database.

§ 04 · Software stack What we use and why

No hero software, just choices with a reason.

Each component does one thing. Most of it is open source. Others have already built and trained the heavy recognition work; I wire it together and build around it.

Detection & classification

  • Recognises birds on the Pi itself. Runs in Docker, pinned to a deliberately chosen version. I build around it, not inside it.

  • Bat model for Central European species. Runs inside a second BirdNET-Go.

  • Knowledge layer for the region

    222 species: what is likely here in which month. Turns a bare detection into a judgement.

  • The doubt queue

    Every day I listen to the doubtful cases and approve or reject them. Song, call and alarm I label by hand for now; a new model for that is planned, not built yet.

  • My own models from version 2

    The self-trained models for song and call no longer take part. They are kept as a reference; after a few months of clean data I will train new ones.

Infrastructure

  • One central truth for all stations.

  • The message bus on the NAS. Lightweight, and every connection has to identify itself with a certificate.

  • Bridge and safety net (Python)

    Two small services of my own: one writes every message down, the other checks the stations every hour and fills the gaps.

  • One entrance for all camera images. Playback in the browser without plug-ins.

  • Dashboards, and alarms that arrive as a message on my phone.

  • Measures how the machines themselves are doing: temperature, memory, disk.

  • The logs of all machines in one place, so I do not have to search machine by machine.

  • Checks from the outside whether everything still answers.

  • Passwords and keys in one secured place, not in loose files.

  • Maintenance service

    A copy of the database every night, a test every week that restoring really works, restarting by itself whatever gets stuck, and a morning message.

  • LED clock and little screens

    A small adapter sends new detections to an LED clock and a few touchscreens in the house.

Site, cloud & archive

  • The data API on the NAS where this site gets its figures. Read-only.

  • Cloudflare Tunnel

    An outbound tunnel to the outside. No open ports at home, and the encryption is taken care of.

  • Hosting for this site. Rebuilds by itself on every change.

  • Counts visits anonymously and without cookies, on my own hardware.

  • HiDrive (Strato)

    An encrypted copy off-site, in case things go wrong at home.

  • 8 TB USB drive

    The archive for sound and images. Home is faster than the cloud, and it costs nothing per terabyte.

§ 05 · What went wrong Six stories from two versions

Silent bugs, hard lessons.

Nothing works first time. But the worst failures aren't crashes. They're pipelines that look like they're running while quietly writing the wrong data. Four examples from version 2, and two from the rebuild into version 3.

  1. 01 · version 2

    The silent fault of the sky classifier

    For two months the sky camera returned "99% cloud cover" every 15 minutes. No error, no alarm. The cause: a part of the model had dropped out of the installation, and the fallback always returned almost full cloud cover. Since then a test checks after every change that the real model has loaded.

  2. 02 · version 2

    One wrong timer, 200,000 wrong rows

    A task that belonged to one station turned out to be running on the other by mistake. The program fetched the same data twice, once under the right name and once under the wrong one: 201,224 rows carrying the wrong station. The fix: the program checks for itself which machine it runs on, and there is one list of what belongs where.

  3. 03 · version 2

    Fifty times slower, and nobody saw it

    A sound library wanted to keep intermediate results in a folder the service was not allowed to write to, for security reasons. Instead of an error it quietly fell back to a slow way of computing: 50 times slower, visible only in the finest logs. For nine days nothing was classified before I noticed.

  4. 04 · version 2

    Nest box cameras without an open interface

    The nest box cameras are cheap cameras that only talk to their own app. The tidy solution would have been: buy other cameras. But go2rtc can fetch the images and offer them again at home. Suddenly I could put every photo in a database.

  5. 05 · version 3

    Too many loose parts

    After two weeks of going through it, the previous version turned out to have too many loose parts to keep track of. Version 3 has three layers: listening, passing on and understanding. The rule that goes with it: the middle layer must never fall over because of a fault in the third.

  6. 06 · version 3

    A newer version heard less

    A newer version of BirdNET-Go gave fewer detections. After a trial with two versions side by side, the loss turned out to be in the program itself. A filter that cuts away everything below 100 hertz was the workaround; it has been on at both stations since 3 November 2026.

§ 06 · Final figures What the whole setup has produced so far

All from the database, nothing estimated.

These numbers refresh through a read-only endpoint on the NAS. No intermediate step, no edit-deploy: look at them again in a week and they'll have grown.

Weather
494,054
Davis VP2
23 September 2025 · 434 days
Birds
1,748,816
BirdNET-Go on 2 stations
25 November 2025 · 371 days
Bats
100,875
winter break until spring 2027
2 April 2026 · 243 days
Sky
46,972
Sky camera
12 December 2025 · 354 days
Nest boxes
434,808
3 cameras
1 December 2025 · 365 days
Radar
11,115
KNMI FlySafe · paused
12 December 2025 · 354 days
§ 07 · Code and sources Where the work lives

The software this leans on is almost all open source. The website runs on Astro and is open on GitHub. The data API is FastAPI on the NAS. Since the rebuild, the code behind the stations and the NAS lives in one private repository.

The figures on this page come straight from the database on the NAS itself and are kept for an hour. Visits are counted anonymously and without cookies using Umami (on my own hardware) and Vercel Web Analytics. No ads, no tracking cookies, no profiles. More on the privacy page.