09-03-2026, 02:31 AM
I'm continuing to investigate my situation. I was reading the modbus docs linked in the forum and noticed a nice feature that would be helpful while testing: the ability to reset the energy saved values.
But it doesn't seem to work.
I setup a yaml like this:
esphome.yaml.txt (Size: 31.6 KB / Downloads: 23)
But the results I get when running are:
log.txt (Size: 47.71 KB / Downloads: 22)
Writing to the coils doesn't seem to be clearing the kWh values as I'm expecting.
Am I doing something incorrect here to trigger a reset of the kWh values? Am I misunderstanding the purpose of the 5xx coils? Is it the correct value being written to them? Is this...not a supported feature, actually?
But it doesn't seem to work.
I setup a yaml like this:
esphome.yaml.txt (Size: 31.6 KB / Downloads: 23)
But the results I get when running are:
log.txt (Size: 47.71 KB / Downloads: 22)
Writing to the coils doesn't seem to be clearing the kWh values as I'm expecting.
Am I doing something incorrect here to trigger a reset of the kWh values? Am I misunderstanding the purpose of the 5xx coils? Is it the correct value being written to them? Is this...not a supported feature, actually?

