adebaumann
96998fb9e2
Persist MQTT settings when disabling MQTT
2026-06-27 01:48:35 +02:00
adebaumann
b10c89505c
Retain HA command messages so values survive restarts
2026-06-27 01:44:32 +02:00
adebaumann
acf63a3753
Escape < and > in escHtml to prevent stored XSS
2026-06-27 01:44:32 +02:00
adebaumann
eafdf87563
Wire MQTT availability into HA discovery
2026-06-27 01:40:57 +02:00
adebaumann
409eeb4895
Allow anonymous MQTT broker connections
2026-06-27 01:39:26 +02:00
adebaumann
5450d21c34
Shorten MQTT probe timeout to limit web server stalls
2026-06-27 01:36:47 +02:00
adebaumann
a09f1dec87
Clear retained HA discovery for removed meters
2026-06-27 01:34:57 +02:00
adebaumann
5bfe3890f2
Detach freed PWM channels in attachMeters()
2026-06-27 01:33:48 +02:00
adebaumann
9169bb0cb1
Clear reset counter after power-on delay to prevent false factory reset
2026-06-27 01:25:31 +02:00
adebaumann
8443260190
Update README.md
2026-06-26 08:02:33 +00:00
adebaumann
7ad099dc80
Redirect to root after handling configuration changes
2026-06-24 00:22:45 +02:00
adebaumann
3e79542304
Remove authentication requirement from handleSet function
2026-06-24 00:19:53 +02:00
adebaumann
0bf7c3a463
Remove currentValue from MeterConfig and related factory reset logic
2026-06-24 00:15:17 +02:00
adebaumann
9fb424fd68
Update factory reset procedure in README and main.cpp for clarity and functionality
2026-06-24 00:10:38 +02:00
adebaumann
c57c0c93fd
Add factory reset functionality and update README instructions
2026-06-23 23:53:23 +02:00
adebaumann
a08cc5e779
Update switch styling and adjust hostname parameter initialization
2026-06-23 23:42:01 +02:00
adebaumann
a3c7d9aa28
Authentication added
2026-06-23 23:39:43 +02:00
adebaumann
aed0d1a13e
Not saving to flash anymore (flash wear prevention)
2026-06-19 22:50:26 +02:00
adebaumann
36a638230f
Scale as SVG with text (requires GOST font) and paths added
2026-06-15 10:37:19 +02:00
adebaumann
16c38e51c1
Scale template added
2026-06-15 10:03:05 +02:00
adebaumann
1f89e70808
Documentation moved to the root directory
2026-06-15 00:29:08 +02:00
adebaumann
9a54c8142e
Range mapped, documentation added
2026-06-15 00:10:53 +02:00
adebaumann
097da42ea3
MQTT: add HA auto-discovery, meter metadata, drop maxduty
...
- Add name/unit/range fields per meter (saved to config, shown in web form)
- Publish Home Assistant MQTT discovery configs for each meter (number entity)
- Add MQTT_MANUFACTURER constant at top of file
- Increase PubSubClient buffer to 1024 bytes for discovery payloads
- Remove maxduty from MQTT subscription and HA discovery
- Publish current state on MQTT connect and on MQTT-set changes
2026-06-14 23:08:58 +02:00
adebaumann
e20ef2ffbb
MQTT works
2026-06-14 22:19:41 +02:00
adebaumann
0e01b0a333
Debug logging added
2026-06-14 22:09:53 +02:00
adebaumann
955fd24df6
MQTT - not working properly yet
2026-06-14 22:08:16 +02:00
adebaumann
42a4c89eee
Float for value
2026-06-14 21:34:16 +02:00
adebaumann
168d740595
MVP
2026-06-14 18:50:09 +02:00
adebaumann
dc39b3dc53
Hostname, Webserver, MDNS added
2026-06-14 16:51:37 +02:00
adebaumann
a60797ff7c
Base code with wifi and captive portal
2026-06-14 16:37:57 +02:00
adebaumann
42c1b51862
Initial commit
2026-06-14 14:06:18 +00:00