Growatt TL-X(H) Hybrid Inverter Sleep Mode
Is your feature request related to a problem? Please describe. Every night the my Growatt inverter goes to sleep and evcc spams error logs that its disconected Describe the solution you'd like When the inverter production goes to 0W it would not spam error logs or maybe displays that its online Describe alternatives you've considered Using some kind of schedule to disable the inverter when that feature is added Additional context I know this has been recently done with Tesla vechicles so something similar would be nice.
Thanks for the report. I looked into how evcc handles PV/inverter meter polling.
What's happening: the growatt-hybrid-tlxh (and growatt-hybrid) templates read power via plain Modbus registers (templates/definition/meter/growatt-hybrid-tlxh.yaml). When the inverter powers down at night (as many hybrid inverters do to save standby power), the Modbus TCP/RTU connection becomes unreachable, so every poll cycle fails with a connection/timeout error. That error is not api.ErrNotAvailable, so it gets logged at ERROR level on every poll in core/site.go (collectMeters, around line 585-590) — this is the source of the "spam".
This is a generic behavior of evcc's Modbus meter polling, not specific to Growatt — any Modbus-connected inverter that fully powers off at night (rather than staying reachable and reporting 0 W) will produce the same repeated connection errors. There's currently no concept of "meter/inverter asleep" analogous to the vehicle-asleep handling (core/loadpoint/error.go, eed3aece1) that suppresses log noise for vehicles that are known to be sleeping.
Assessment: this is a reasonable enhancement request, not a bug — evcc is behaving as designed (logging real connectivity errors), but there's no graceful "meter unreachable at night" state. Implementing it properly would need a design decision (e.g. detect connection-refused/timeout errors specifically and downgrade/suppress repeated logging after the first occurrence, similar to how vehicle-sleep errors are handled) rather than a small localized fix, so I'm not attempting a code change here.
Labeling as enhancement.
🤖 Generated with Claude Code
When the inverter production goes to 0W it would not spam error logs or maybe displays that its online
And how would we know if the inverter is sleeping or if it's truly broken/unavailable?
Well when the last reported production value is 0W or like below a certain treshold like 50W, If its truly broken well a solution would be if its more than 24hours of sleep it would display as error. This isnt an ideal solution but I think its better than it spamming error all night. Or just make this feature opt in and people who enable it would be aware that they wont know if its broken.
Again, this would never catch the case where the device does not return in the morning. I think the valid workaround here is to use another integration (HA, retained MQTT, whatever) and keep error handling as-is. Closing as unfortunate but wontfix.