No description
Find a file
2025-03-22 14:09:45 +01:00
devices rename raspi-gpio.go to libgpiod.go 2025-03-22 14:09:45 +01:00
routes first commit 2025-03-22 13:19:55 +01:00
sessions first commit 2025-03-22 13:19:55 +01:00
.gitignore libgpiod support and better docs 2025-03-22 14:09:00 +01:00
cron.go first commit 2025-03-22 13:19:55 +01:00
env.go libgpiod support and better docs 2025-03-22 14:09:00 +01:00
example.sh update example 2025-03-22 13:21:25 +01:00
go.mod first commit 2025-03-22 13:19:55 +01:00
index.tmpl first commit 2025-03-22 13:19:55 +01:00
LICENSE.md first commit 2025-03-22 13:19:55 +01:00
main.go libgpiod support and better docs 2025-03-22 14:09:00 +01:00
README.md libgpiod support and better docs 2025-03-22 14:09:00 +01:00

WoLBodge

Configuration

Configuration is done using environment variables.

  • WOLBODGE_ADDRESS: The address that WoLBodge should listen on, defaults to :3000.
  • WOLBODGE_STORAGE_TYPE: Storage type to pick, defaults to ram.
    • ram: Sessions are stored in RAM.
  • WOLBODGE_DEVICE_TYPE: Device type to pick, defaults to test-
    • test: A dummy device, used for testing.
    • libgpiod: Uses the libgpiod commands under the hood. The gpio chip is specified using WOLBODGE_DEVICE_GPIOCHIP, the power button pin using WOLBODGE_DEVICE_POWER_BUTTON_PIN and the power LED pin using WOLBODGE_DEVICE_POWER_LED_PIN.