Open bengutt opened 11 months ago
I've spotted there is a similar issue raised #579 which has the same changes as I was thinking would make things work. I'd have a go at adding a pull request in, but I've got concerns about damaging my inverter by enabling and using something I shouldn't. What are the risks of turning things on and writing values that the inverter doesn't support?
I'd be looking to enable remotecontrol_trigger, remotecontrol_active_power and remotecontrol_power_control.
The logging error also reported is no longer present.
What are the risks of turning things on and writing values that the inverter doesn't support?
Short answer is I don't know. I would expect the Inverter to either Ignore them or give an error.
The current remotecontrol function takes into account 'pv_power_total' in the calculations, so in it's current format it probably wouldn't work correctly.
Describe the bug Unable to find most of the remotecontrol_xxx entites. I've tried looking for hidden and disabled ones.
I have number.solax_remotecontrol_autorepeat_duration, sensor.solax_remotecontrol_autorepeat_remaining and number.solax_remotecontrol_duration though.
From https://github.com/wills106/homeassistant-solax-modbus/wiki/Modbus-Power-Control-(remotecontrol-power)#why-use-modbus-power-control it suggests its only available on G4 Hybrids. Am I wrong to be hoping these should be visble to me?
Mandatory details
Detailed Error Log
I'm also seeing this a significant number of times in the log 17 per second for a couple of minutes, then a gap of approx 5 mins and then another batch. 2023-10-21 14:25:33.312 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for solax_modbus doing blocking calls at custom_components/solax_modbus/init.py, line 344: return self._client.read_holding_registers(address, count, **kwargs)
Additional context My serial number start was added earlier this year, see https://github.com/wills106/homeassistant-solax-modbus/discussions/26#discussioncomment-5333337