2023-12-13 09:09:45 +01:00
# fabacess-doku
Unser Fabaccess setup
2023-12-13 09:18:58 +01:00
2024-05-24 14:37:46 +02:00
Unter https://github.com/falkorichter/mqtt-learnings dokumentiert Falko Dinge die er über MQTT lernt.
2024-07-02 20:14:21 +02:00
# Was ist das und warum ist das bei 35services
> DAS BEKOMMEN DIE WERKSTÄTTEN VON UNS:
>
> Bei allen Aufgaben stehen euch die Entwickler*innen von FabAccess mit Rat und Tat zur Seite
> Falls die Werkstätten für bestimmte Aktoren (z.B. CNC-Maschinen) Plug-ins benötigen, um sie an FabAccess anzubinden, programmiert das FabAccess-Team sie für sie.
> 10 Werkstätten bekommen 1000€ für Honorar und Hardware im Wert von 1000€
2024-07-02 20:19:28 +02:00
2024-07-02 20:19:46 +02:00
`TLDR` : [35services hat gewonnen ](https://offene-werkstaetten.org/de/seite/ein-zugangssystem-fuer-offene-werkstaetten#:~:text=DAS%20BEKOMMEN%20DIE%20WERKST%C3%84TTEN%20VON%20UNS%3A )
2024-07-02 20:14:21 +02:00
2023-12-13 09:18:58 +01:00
## Kommunikation
> Es gibt einen Matrix-Space und eine Telegram-Gruppe zum Austausch für Interessierte und Projekte, die das System testen wollen.
2023-12-13 09:21:42 +01:00
> Matrix-Space beitreten: [#fabaccess:vow.chat](https://app.element.io/#/room/#fabaccess:vow.chat)
2023-12-13 09:18:58 +01:00
> Telegram-Gruppe beitreten: https://t.me/joinchat/Ly6Y3VODsQAlzHdt2D8RlQ
kopiert von [offene-werkstaetten.org/de/seite/ein-zugangssystem-fuer-offene-werkstaetten ](https://www.offene-werkstaetten.org/de/seite/ein-zugangssystem-fuer-offene-werkstaetten )
2024-07-03 08:29:53 +02:00
## Dokumentation / Links
* https://cloud.offene-werkstaetten.org/s/GwRDK6mq3giZXCC die `Laufende Dokumentation im Projekt FabAccess`
*
2024-07-02 20:14:21 +02:00
### unsere Ansprechpartner
2024-07-02 20:41:00 +02:00
Maximilian Voigt (Hauptansprechpartner) (`ma vo` ): VOW-Element [@ma.mo:vow.chat ](@ma.mo:vow.chat ) Mail max@offene -werkstaetten.org
2024-07-02 20:28:57 +02:00
2024-07-02 20:28:39 +02:00
Joseph (Technik, Software, Hardware) [@thejoklla ](@thejoklla:matrix.org ) josephlangosch[ät]posteo[punkt]de
2024-07-02 20:14:21 +02:00
### 35services bei Matrix
2024-07-02 20:14:43 +02:00
* @tooooooobi:matrix .org -> Tobi
* @patrick35services:matrix .org -> Patrick
* @volkersfreunde:matrix .org -> Falko
* @thulduro:matrix .org -> Alf
* @EojjN:matrix .org -> AJ (Alexander-Joseph Pidgeon)
2024-07-02 20:14:21 +02:00
2023-12-13 09:18:58 +01:00
### 35services intern
* fabaccess[ät]35services[punkt]in-berlin[punkt]de
* [Slack Kanal ](https://35services.slack.com/archives/C069XFDTC9G ) (intern bei 35services.slack.com)
2024-05-24 12:41:42 +02:00
* [google doc ](https://docs.google.com/document/d/1mZ4q9aeXbiIsVolyeHUPPtWCRi8ltKP_bN-eaYpCWPk/edit ) ist privat und hat auch passwörter für unser lokales setup
2023-12-13 09:18:58 +01:00
# Zeitstrahl
2024-05-27 09:03:17 +02:00
## 204-05-27
2024-05-27 09:05:38 +02:00
* Tailscale installiert https://tailscale.com/
2024-05-27 09:03:17 +02:00
* wow ist das geil!
* it just works
* mqtt server ist aus der Ferne erreichbar
* tested on MacOSX, Android, Raspberry Pi
2024-05-27 09:03:39 +02:00
* Pi key läuft nicht ab [key-expiry ](https://tailscale.com/kb/1028/key-expiry )
2024-05-27 09:05:38 +02:00
* https://tailscale.com/kb/1281/app-connectors ist vielleicht spannend?
* https://github.com/wg-easy/wg-easy wurde empfohlen
* habe einfach https://tailscale.com/ geklickt
* protokoll ist [wireguard.com ](https://www.wireguard.com/ )
2024-05-27 09:03:17 +02:00
2024-05-24 12:26:23 +02:00
## 204-05-24
2024-05-24 10:48:12 +02:00
2024-05-24 12:26:23 +02:00
trying to install fabaccess
2024-05-24 12:14:38 +02:00
```
2024-05-24 12:46:49 +02:00
git clone https://gitlab.com/fabinfra/fabaccess/dockercompose fabaccess-server
```
2024-05-24 10:48:12 +02:00
2024-05-24 12:14:38 +02:00
`docker-compose` fehlt
2024-05-24 12:46:49 +02:00
* https://intux.de/2023/03/03/docker-und-docker-compose-auf-dem-raspberrypi/
* https://fab-access.readthedocs.io/en/v0.3/installation/server_docker.html
2024-05-24 12:14:38 +02:00
2024-05-24 12:46:49 +02:00
folling https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo :
2024-05-24 12:26:23 +02:00
confirming
```
groups ${USER}
35services : 35services adm dialout cdrom sudo audio video plugdev games users input render netdev spi i2c gpio lpadmin docker
```
2024-05-24 12:46:49 +02:00
install docker-compose:
2024-05-24 12:26:23 +02:00
```
sudo apt-get install libffi-dev libssl-dev
sudo apt install python3-dev
sudo apt-get install -y python3 python3-pip
~~sudo pip3 install docker-compose~~
sudo systemctl enable docker
```
https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo hilft auch nur bedingt
`apt install docker-compose` hat funktioniert
reboot
2024-05-24 12:46:49 +02:00
2024-05-24 12:14:38 +02:00
**tried to generate a config:**
```
docker run registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest --print-default
Unable to find image 'registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest' locally
dev-latest: Pulling from fabinfra/fabaccess/bffh
dc1f00a5d701: Pull complete
7f489e95c7bd: Pull complete
Digest: sha256:98f3dccf61f2a8301a2f50705536e9433c1284901113d7e1fc2fcc4106d0c4d0
Status: Downloaded newer image for registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest
```
with error
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Dhall(Error { kind: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) }))', bin/bffhd/main.rs:119:76
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Dhall(Error { kind: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) }))', bin/bffhd/main.rs:119:76
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
2024-05-24 12:55:45 +02:00
### config changes
https://gitlab.com/volkersfreunde/dockercompose habe ich geforkt
2024-05-27 12:42:55 +02:00
```
2024-05-24 12:55:45 +02:00
git remote add falko https://gitlab.com/volkersfreunde/dockercompose.git
git pull falko main
```
mosquito config [versucht zu öffnen ](https://gitlab.com/volkersfreunde/dockercompose/-/blob/main/config/mosquitto/mosquitto.conf?ref_type=heads )
2024-05-24 14:37:10 +02:00
### shelly config (offen)
* https://fab-access.readthedocs.io/en/v0.3/usage/setup_steps.html
2024-05-27 12:42:55 +02:00
* namen https://www.ranker.com/list/famous-engineers-from-germany/reference
2024-05-24 12:55:45 +02:00
2024-05-24 10:48:12 +02:00
2024-01-08 08:19:41 +01:00
## 2024-01-08 Falko baut lokal ein MQTT/testsetup
* https://fab-access.readthedocs.io/en/v0.3/installation/server_docker.html
2024-01-08 08:51:21 +01:00
* erster PR https://gitlab.com/fabinfra/fabaccess/docs/-/merge_requests/6
2024-01-08 08:55:50 +01:00
* Falko hat unter https://github.com/falkorichter/mqtt-learnings/ mal (wieder) ein bisschen `MQTT` und `node-red` bespielt für fabaccess bereit zu sein.
2024-01-08 08:19:41 +01:00
2023-12-13 09:18:58 +01:00
## 2023-12-13 Schulung + Setup
2023-12-13 09:25:51 +01:00
* 16:30 zweite Schulung
2023-12-14 00:34:09 +01:00
* fabaccess[ät]35services[punkt]in-berlin[punkt]de angelegt [admin ](https://mailman.35services.in-berlin.de/mailman/listinfo/fabaccess-35services.in-berlin.de )
2023-12-13 09:25:51 +01:00
* Falko hat Damian, Patrick, Billy, Arne, Tobias, Ploenne direkt angefragt
2023-12-13 09:18:58 +01:00
## 2023-12-12 erste Schulung
* Falko war dabei
* Es wird eine Aufzeichnung geben
* Matrix angefragt
2023-12-13 09:25:51 +01:00
## 2023-12-07 Wir sind dabei
* wir bekommen unsere Zusage - Yipee
2023-12-13 09:18:58 +01:00
* https://www.offene-werkstaetten.org/de/seite/ein-zugangssystem-fuer-offene-werkstaetten