Skip to content

hacknus/birdhouse-rs

Repository files navigation

Birdhouse

The birdhouse project consists sof two parts:

  • birdhouse-rs, the webserver
  • birdhouse-python, the camera control hosted on the raspberry pi in the birdhouse.

birdhouse website

The webserver is built with Dioxus. The video feed is streamed to mediamtx and then proxied through the webserver with webRTC and using a turn server (coturn).

Multiple docker container are required for this project:

  • dioxus webserver
  • mediamtx server
  • coturn server
  • grafana

The raspberry pi and the server are connected using netbird.

structure

Setting it up:

First, set up birdhouse-python on a raspberry pi along with the hardware (camera + sensors). Then set up netbird on both the raspberry pi and the server.

Enter all tokens and URLs in the .env file.

To test it in development mode:

dx serve

To build the docker containers, first set up grafana, mediamtx and coturn docker containers and then

docker compose up -d --build

in this root directory.

About

The birdhouse frontend (website) written in Rust using dioxus. It displays the stream of the webcam, sensor data using grafana and an image gallery.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors