docs: update README for PWM/MOSFET + level table, add secrets.h.example

Rewrite README to describe the 5-level temperature-driven PWM fan
control (replacing the old relay on/off description), and add a
secrets.h.example template so new clones have a reference.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-09 01:18:37 +02:00
parent cdf9b081bc
commit 079f2bcc9a
2 changed files with 73 additions and 37 deletions

13
main/secrets.h.example Normal file
View File

@@ -0,0 +1,13 @@
// Copy this file to `secrets.h` and fill in your values.
// `secrets.h` is gitignored so credentials stay out of version control.
// --- WiFi ---
#define WIFI_SSID "your_wifi_ssid"
#define WIFI_PASS "your_wifi_password"
// --- MQTT ---
#define MQTT_HOST "192.168.1.X" // Home Assistant / broker IP
#define MQTT_PORT 1883
#define MQTT_USER "mqtt_user"
#define MQTT_PASS "mqtt_password"
#define MQTT_CLIENT "esp32c3_fan"