mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 10:39:09 +00:00
b6b66a7e5ba52316a593aa046658e161102e0255
fw-anwesenheit
Setup
In order to use the LED we need to enable the SPI interface on the Rpi.
You can enable it by running sudo raspi-config, or by manually adding dtparam=spi=on to /boot/firmware/config.txt.
Enable PWM -> add dtoverlay=pwm to /boot/config.txt
I²C fpr RTC sudo raspi-config -> interface -> enable I²C
Config
Environment variables:
PM3_BIN: Path to the pm3 binary. Seach in path if not set. Can also be set to thepm3_mock.shfor testing.LOG_LEVEL: Can be set to either "debug","warn","error","trace" or "info". Defaults to "warn" in production.HTTP_PORT: What port to listen on. Defaults to 80.HOTSPOT_IDS: A semicolon seperated list of ids to activate the hotspot with e.g.578B5DF2;c1532b57.
Description
Languages
Rust
69.4%
Svelte
15.1%
TypeScript
9.5%
JavaScript
3.6%
Lua
1.6%
Other
0.8%