You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running as an HA add-on, leave this true — credentials are injected automatically.
url
http://supervisor/core
HA API base URL. Only relevant if using HA Camera sources or MQTT auto-discovery. For external installs use e.g. http://homeassistant.local:8123.
token
""
Long-lived access token. Only needed when use_supervisor_token is false.
request_timeout_s
10
Seconds to wait for HA API responses. Increase if you see timeout errors.
Data retention
Key
Default
Description
max_history
200
Maximum history entries kept per meter. Oldest are pruned automatically.
max_evals
100
Maximum evaluation records kept per meter. Evaluations include digit images and are larger than history entries.
MQTT publishing
Key
Default
Description
publish_to
homeassistant/sensor/watermeter_{device}/
MQTT topic template for outgoing readings. {device} is replaced by the meter name. This path also controls Home Assistant MQTT auto-discovery.
Error correction
Key
Default
Description
allow_negative_correction
true
Allow the correction algorithm to adjust readings that appear to go backwards (caused by misread digits). Set to false for strict monotonic enforcement.
Authentication (optional)
Key
Default
Description
enable_auth
false
Require a Secret header on all API requests.
secret_key
"change_me"
The shared secret value. Change this if enabling auth on a public-facing instance.
Per-meter settings
These settings are configured per meter during the Setup wizard — the multi-step flow that opens when you click a newly discovered meter in the Discovery tab. They are not part of the main config file.
After initial setup you can revisit and adjust them by clicking the meter in the Watermeters tab and going to Setup.