Set up Chirp
Chirp needs a station in the yard, a server to store the recordings, and the app to view them. This guide covers each one in order.
Choose how you'll use Chirp
Someone invited you
You don't need any hardware. Create an account with their invite code.
App setup →Build a station and we host its site
Build the station; ourchirp.com runs the server.
Start here →Run everything at home
You run the station and a Docker server on your own hardware.
Server setup →1 · What you need for a station
| Part | Notes |
|---|---|
| Raspberry Pi 5 | 4 GB or more. A Pi 4 works but analysis is slower. |
| microSD card | 32 GB or more, a good brand (A2 rated). |
| Official USB-C power supply | 27 W for the Pi 5. Weak supplies cause audio dropouts. |
| USB microphone | A ReSpeaker USB mic array is the tested choice. More USB mics can be added; Chirp mixes them by signal strength. |
| Weatherproof spot | Within Wi-Fi range, mic pointing at the yard, out of direct rain. |
| Optional | Google Coral accelerator (faster identification), AudioMoth (bats), Argon ONE case with display. |
Full hardware notes: chirp-device/SETUP.md ↗.
2 · Prepare the Pi
- Install Raspberry Pi Imager ↗ on your computer and flash Raspberry Pi OS (64-bit) to the card.
- In Imager's settings, set a hostname (e.g.
chirppi), a username and password, your Wi-Fi and turn on SSH. This is the simplest way to get the Pi online. - Put the card in the Pi, plug in the microphone, then power it on. Give it two minutes.
- From your computer:
ssh [email protected] - Update it:
sudo apt update && sudo apt full-upgrade -y && sudo reboot
If you didn't set Wi-Fi in Imager, the Chirp iPhone app can send Wi-Fi details to a new station over Bluetooth: Devices → Bluetooth device setup. Beta It needs the Chirp software installed first, so a wired Ethernet connection is the easier fallback.
3 · Install the station software
- Download Chirp:
sudo apt install -y git git clone https://github.com/joshsalvi/chirp.git cd chirp/chirp-device - Run the installer. It sets up Python, the audio libraries, BirdNET and the
chirp-deviceservice (10–20 minutes):./install.sh - Only with a Google Coral accelerator:
./install-coral.sh
4 · Connect the station to a server
Pick one. The station needs the server's address and a device key. Location, thresholds and other settings then come from the server automatically.
Option A · Hosted site (approval email)
- Request a site at ourchirp.com/about. When it's approved you get an email with your device key and a ready-made
config.yamlsnippet. - On the Pi:
nano ~/chirp/chirp-device/config.yaml, find theupload:andserver_sync:sections and paste in the values from the email. Save with Ctrl-O, Enter, Ctrl-X.
Option B · Auto-configure from the server Same network
For a server on your home network. The server finds the Pi and writes its settings for you.
- Sign in as an admin and open Devices. Tap Discover.
- The server scans your network for stations running Chirp. Next to yours, tap Auto-configure.
- Enter the Pi's SSH username and password. The server makes a device key, writes it to
config.yamland restarts the station. - The station appears in Devices within a minute.
Option C · Manual key
- As an admin, open Devices → New Device Key. Copy the key (it's shown once).
- On the Pi, edit
~/chirp/chirp-device/config.yaml:
Use the same key in both places. For ourchirp.com,upload: enabled: true server_url: "https://YOUR-SERVER/api/v1/recordings/upload" api_key: "chirp-…" server_sync: enabled: true server_url: "https://YOUR-SERVER" api_key: "chirp-…" device_name: "Garden Pi"YOUR-SERVERisourchirp.com; for a home server it can behttp://192.168.1.50:8768.
5 · Test and start
- Check the microphone and detection:
cd ~/chirp/chirp-device source venv/bin/activate python main.py --list-devices # the mic should be listed python main.py --test-audio # whistle; levels should jump python main.py --test-detection # BirdNET loads and runs - Start it for good (it also starts on every boot):
sudo systemctl restart chirp-device journalctl -u chirp-device -f # watch it work; Ctrl-C to stop watching - Open your site. The station shows as online in Devices, and recordings appear within a minute of the first bird.
Server · Hosted on ourchirp.com
Nothing to install. Request a site; once it's approved you get your sign-in, invite code and device key by email. Then follow the station steps above with Option A.
Server · Run your own
One Docker container hosts any number of sites, each with its own members. Any always-on machine with Docker works: a NAS, Unraid, a mini PC or a spare computer.
- Install Docker ↗ with Compose.
- Download Chirp and copy the settings file:
git clone https://github.com/joshsalvi/chirp.git cd chirp/chirp-server-instances cp .env.simple.example .env - Edit
.env: setCHIRP_SECRET_KEY(make one withopenssl rand -hex 32) andCHIRP_GLOBAL_ADMIN_USERNAMEto the username you'll register. - Start it (the first build takes 5–10 minutes):
docker compose -f docker-compose.simple.yml up -d --build - Open
http://YOUR-SERVER-IP:8768, tap Create account with that username, then New Location to create your site. Restart once (docker compose -f docker-compose.simple.yml restart) to become server-wide admin. - In Settings → General, set the location, time zone and web address. Add an eBird key in Integrations and email under Alerts & Email.
- Connect your station with Option B or C.
Data lives in ./data next to the compose file. Back it up, or use Settings → Storage & Backup.
HTTPS, iPhone push and Live Detect
- HTTPS is needed for Live Detect's microphone and for browser notifications. The simplest route is a free Cloudflare Tunnel: guide ↗.
- iPhone push from your own server goes through a relay on ourchirp.com. Request a relay token, then paste it in Settings → Alerts & Email → iPhone Push. Your server doesn't need to be reachable from the internet for this.
The older single-site server Deprecated
chirp-server (one site per container) still runs but gets no new features. New setups should use chirp-server-instances above. To move an existing one: download a backup from the old server's Settings → Storage & Backup, then in the new server's location picker tap Import from Database File. Detections, the life list, notes and accounts come across; audio files stay on the old server.
Apps · iPhone, Apple TV and browser
- iPhone: the Chirp app is coming to the App Store. Until then, open ourchirp.com (or your server's address) in Safari, tap Share → Add to Home Screen.
- iPhone: get Chirp from the App Store ↗.
- Apple TV: get Chirp from the App Store ↗ on the TV, open it, and enter the code it shows on your phone (Account → Apple TV, or scan the TV's QR code). It works with ourchirp.com or your own server: choose Server on the TV's sign-in screen.
- Computer or Android: open your site in any browser. Chrome and Edge offer Install app in the address bar.
- Sign in, or tap Create account and enter your invite code.
- Allow notifications when asked, then choose what you hear about in Settings → My Notifications.
Invite your household
- As the site's admin, open Users. Your invite code is at the top; tap Copy invite and send it.
- They create an account with the code and join as viewers.
- Change someone's role on the same page: viewer (look and take notes), submitter (also uploads and iNaturalist), admin (everything).
Troubleshooting
| Problem | Try |
|---|---|
| Station shows offline | journalctl -u chirp-device -n 50 on the Pi. Check the server address and that both api_key lines match a key in Settings. |
| No recordings | python main.py --test-audio and whistle. If levels don't move, check the mic in --list-devices. |
| Wrong or foreign birds | Set the location in Settings → General; the station picks it up within a minute. |
| Live Detect: microphone blocked | The site must use an https:// address. |
| No iPhone notifications | iPhone Settings → Chirp → Notifications on; on your own server, add a relay token. |
The troubleshooting page has more fixes. If none of them work, contact us. For day-to-day use, see the user guide.