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:
13
main/secrets.h.example
Normal file
13
main/secrets.h.example
Normal 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"
|
||||
Reference in New Issue
Block a user