Commit Graph

3 Commits

Author SHA1 Message Date
admin 534c055598 Migrate from Next.js to SvelteKit
- Replace Next.js app with SvelteKit + adapter-node
- basePath /bodenfeuchte configured in svelte.config.js
- MQTT listener starts via hooks.server.ts on server boot
- Chart.js replaces Recharts for the moisture graph
- Dockerfile simplified: single build step, node build output
- Removed custom server.ts (no longer needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:49:33 +02:00
admin 635b3ce598 Implement Bodenfeuchte app: MQTT listener, SQLite storage, chart UI, Docker
- Custom Next.js server starts MQTT listener on boot
- Subscribes to zigbee2mqtt/Bodenfeuchte_1, stores soil_moisture in SQLite
- API route /api/data returns last 6 hours of measurements
- Frontend shows current value + Recharts line chart, auto-refresh every 60s
- Dockerfile + docker-compose with persistent volume for SQLite DB

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 18:10:18 +02:00
admin 1bd28d71b1 Initial commit from Create Next App 2026-05-15 17:48:14 +02:00