feat: add MQTT sensor publishing for Home Assistant

Adds a new s6 service (svc-foldingathome-mqtt) that polls the FAH 8 API
on port 7396 every 30 seconds and publishes 4 sensors to HA via MQTT
autodiscovery: Status, PPD, Work Unit Progress, and Credit estimate.

Requires the Mosquitto broker add-on; declared as mqtt:want so the
add-on remains functional without it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 19:50:49 +02:00
parent f63d13a8dc
commit b48c3868e0
6 changed files with 103 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ ports_description:
7396/tcp: Folding@home Web Interface
map:
- config:rw
services:
- mqtt:want
options:
user: ""
team: "247478"