Skip to content

Reduce energy publishing frequency - #94

Merged
marklynch merged 3 commits into
mainfrom
reduce-energy-publishing-frequency
Aug 3, 2026
Merged

Reduce energy publishing frequency#94
marklynch merged 3 commits into
mainfrom
reduce-energy-publishing-frequency

Conversation

@marklynch

Copy link
Copy Markdown
Owner

Changed

  • Energy sensors now publish every 5 minutes instead of every 10 seconds, which was flooding Home Assistant's event log and recorder database with rows carrying no extra information. The accumulator still samples power every 10 seconds, so totals are unchanged; 5 minutes matches HA's long-term statistics resolution. A channel also publishes one final value on the sample where it stops drawing, so a run's total lands in the right time bucket

- Energy sensors now publish every 5 minutes instead of every 10 seconds, which was flooding Home Assistant's event log and recorder database with rows carrying no extra information. The accumulator still samples power every 10 seconds, so totals are unchanged; 5 minutes matches HA's long-term statistics resolution. A channel also publishes one final value on the sample where it stops drawing, so a run's total lands in the right time bucket
# Conflicts:
#	CHANGELOG.md
#	main/channel_energy.c
@marklynch
marklynch merged commit 0a8b903 into main Aug 3, 2026
3 checks passed
@marklynch
marklynch deleted the reduce-energy-publishing-frequency branch August 3, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant