summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-08-21 21:59:02 +0200
committerxengineering <me@xengineering.eu>2022-02-28 09:34:40 +0100
commit26afc9b874685401380a25af3dc3b23a2dc7ef69 (patch)
tree5c8b823fb26f223994d5621e9cfd22510630250d
parent550abc611dfb10f55943175a2ad19a7240cd73da (diff)
downloadbirdscan-main.tar
birdscan-main.tar.zst
birdscan-main.zip
Change README.mdHEADmain
-rw-r--r--README.md41
1 files changed, 31 insertions, 10 deletions
diff --git a/README.md b/README.md
index e606dca..a31bc8c 100644
--- a/README.md
+++ b/README.md
@@ -9,14 +9,26 @@ The complete system consists of two machines:
1. The _Raspberry Pi_ with a Raspberry Pi Camera
2. A _file server_ which stores the pictures
-The Raspberry Pi runs a web server as the main user interface. With this interface the user can take pictures manually. Afterwards the pictures are transferred via SSH to the file server.
+The Raspberry Pi runs a web server as the main user interface. With this
+interface the user can take pictures manually. Afterwards the pictures are
+transferred via SSH to the file server.
-**Current State**: Although the software runs well and stable, it does so only thanks to some tricks. Also, the documentation is not yet sufficient and the installation process is not fully published. It is possible to use it, but it is recommended to wait until a stable release (1.x).
+**Current State**: Please do not try to use this software if you are not
+willing to invest time on your own for development. Some things are currently
+in a not acceptable state for production use:
+
+- Software depends on Python 3.9
+- Changes on the camera interface from the Raspberry Pi Foundation found there
+ way into Arch Linux ARM and break this software. The new camera interface is
+ not used in this software.
+- The documentation is far from optimal
+- There is no current release which targets production
## Expected Environment / Target Platform
-This software is written for Arch Linux. Nevertheless it should run on any systemd-based Linux distribution (e.g. Raspberry Pi OS).
+This software is written for Arch Linux. Nevertheless it should run on any
+systemd-based Linux distribution (e.g. Raspberry Pi OS).
## Installation
@@ -24,7 +36,8 @@ This software is written for Arch Linux. Nevertheless it should run on any syste
These installation steps are necessary to get the software working:
1. Install the birdscan software on the Raspberry Pi
-2. Allow the `birdscan` user to access the target folder on the file server via SSH
+2. Allow the `birdscan` user to access the target folder on the file server via
+ SSH
3. Configure the birdscan software on the Raspberry Pi
4. Install a script for file transfer
5. Start and enable services
@@ -45,7 +58,8 @@ mkdir -p ~/ABS # create a directory for the arch build system
cd ~/ABS
# install picamera dependency from AUR (Arch User Repository)
-git clone https://aur.archlinux.org/python-picamera.git # download picamera from AUR
+git clone https://aur.archlinux.org/python-picamera.git # download picamera
+ # from AUR
cd picamera
makepkg -si # build and install picamera dependency
@@ -63,12 +77,14 @@ make -C archlinux install # installs the Arch package
Some notes:
```
-ssh-keygen -y -f ~/.ssh/id_rsa # generates and prints public key of this private one
+ssh-keygen -y -f ~/.ssh/id_rsa # generates and prints public key of this
+ # private one
sudo mkdir /srv/birdscan
sudo chown -R birdscan:birdscan /srv/birdscan
sudo chmod -R 700 /srv/birdscan
sudo setfacl -m u:myuser:rwx /srv/birdscan
-sudo ssh-keyscan -t rsa <fileserver_ip_or_host> >> /etc/ssh/ssh_known_hosts # add host key of fileserver
+# add host key of fileserver:
+sudo ssh-keyscan -t rsa <fileserver_ip_or_host> >> /etc/ssh/ssh_known_hosts
```
### birdscan Configuration
@@ -79,7 +95,8 @@ Just edit the configuration file like this:
sudo nano /etc/birdscan/config.json
```
-Note: If the software is already running and you edited the configuration file, you will have to restarte the software like this:
+Note: If the software is already running and you edited the configuration file,
+you will have to restarte the software like this:
```
sudo systemctl restart birdscan
@@ -89,6 +106,8 @@ sudo systemctl restart birdscan
`FIXME`: Document or automate this step
+There is some stuff in the `./tmp` folder ...
+
### Start and enable Services
Just start and enable the birdscan software with this command:
@@ -100,12 +119,14 @@ sudo systemctl enable --now birdscan
## Usage
-Just open your web browser at `http://<raspberry_pi_ip>:<specified_port>` (e.g. `http://192.168.1.78:8080`).
+Just open your web browser at `http://<raspberry_pi_ip>:<specified_port>`
+(e.g. `http://192.168.1.78:8080`).
## Debugging
-If something does not work, you are welcome to read the detailed log messages like this:
+If something does not work, you are welcome to read the detailed log messages
+like this:
```
journalctl -fu birdscan # -f enables a live log view