Closed jamespreedy closed 1 year ago
Just released 2023.09.4b4 with the missing Endian.BIG from plugin_sofar and plugin_solax_a1j1
Das nenne ich Super Service, also dann spendiert alle mal dem guten Menschen auch ein paar Kaffee.
Grüße und Danke
Keep getting these errors with 4b4:
unrecognized Growatt_Modbus inverter type - firmware version : unknown
10:34:33 – (ERROR) SolaX Inverter Modbus (custom integration)
Growatt_Modbus: cannot find firmware version, even not for other Inverter
10:34:33 – (ERROR) SolaX Inverter Modbus (custom integration)
Growatt_Modbus: reading firmware number from address 0xbb9 failed; other address may succeed
10:34:33 – (WARNING) SolaX Inverter Modbus (custom integration)
Growatt_Modbus: reading firmware number from address 0x9 failed; other address may succeed
10:34:28 – (WARNING) SolaX Inverter Modbus (custom integration)
Reverting back to 2023.09.3 works for me (after a couple of reboots)
How are you connecting? PocketWiFi, RS485-USB or RS485-Ethernet?
WaveShare RS485 TCP
Das nenne ich Super Service, also dann spendiert alle mal dem guten Menschen auch ein paar Kaffee.
Grüße und Danke
Thanks for sharing ... beer money sent! 🍺
Just released 2023.09.4b4 with the missing Endian.BIG from plugin_sofar and plugin_solax_a1j1
Perfect! Working like a charme
Just released 2023.09.4b5 with further code cleanup.
@wills106 - issues resolved, I'm back up an running! Thank you SO MUCH for all your help again. 🍺
For those of us who couldn't make 4b4 work, what would be the best installation process to get everything in the right order and pyModbus in the right version?
For those of us who couldn't make 4b4 work
b5 should work for you now, it's been tested on a Waveshare setup.
I'm sorry updated all to the latest b5 HA2023.9.2 with USB serial restarted incl coldstart 2 x Solax X3 Hybrid G4 Master-Slave get this
Cleanup recv buffer before send: 0xaa 0x55 0xf 0xc8 0xff 0x1 0x1 0................
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 336: return self._client.read_holding_registers(address, count, **kwargs)
unrecognized inverter type - serial number : unknown
SolaX: cannot find serial number, even not for MIC
SolaX: reading serial number from address 0x300 failed; other address may succeed
Cleanup recv buffer before send: 0x60 0xea 0x0 0x0 0x0 0x4e 0x60 .........
SolaX: reading serial number from address 0x0 failed; other address may succeed
hi tried now to install pymodbus with pip install -U pymodbus but pip list will not list it after reboot any recommendation how to run pymodbus?
hi tried now to install pymodbus with pip install -U pymodbus but pip list will not list it after reboot any recommendation how to run pymodbus?
I dont believe installing pymodbus manually is the way to go, especially since b5, we fixed the required version. A hard restart of the HA hardware sometimes helps You seem to have two inversters on the same modbus. I have no experience with the Master-Slave concept. Which modbus addresses are used by both inverters ?
custom_components/solax_modbus/init.py, line 336: return self._client.read_holding_registers(address, count, **kwargs)
Even though you have downloaded 2023.09.4b5 you actually have 2023.09.4b4 code loaded there. In 2023.09.4b5 than line of code is now at line 344
Remove the Integration from the Integration page and reconfigure it, it then should load the 2023.09.4b5 code.
Working perfectly with 2023.09.04. For those wanting to check HA pyModbus version in a VM environment, go to the console, then:
ha > login
# docker exec -it homeassistant /bin/bash
pip show pymodbus
As always, thank you so much @wills106
Working perfectly with 2023.09.04. For those wanting to check HA pyModbus version in a VM environment, go to the console, then:
ha > login # docker exec -it homeassistant /bin/bash pip show pymodbus
As always, thank you so much @wills106
Thanks for this usefull instruction, I always forget how to execute commands in another container
Working perfectly with 2023.09.04. For those wanting to check HA pyModbus version
Thanks I have updated the Readme with the Info.
I'm going to close this issue down now as it seems to be resolved.
Describe the bug The integration worked fine immediately after 2023.9 was released on Wednesday. On Thursday I noticed that my Solax device went dead and all my entities went unavailable. Rebooting the host brought it back to life. 2023.9.1 came out yesterday and the integration now won't load at all.
Mandatory details
Detailed Error Log
Additional context This custom component has been flawless since setting it up. Nothing I'm aware of has changed from a physical install perspective, and the Waveshare still has the blue connected light on it.
I believe there were a bunch of Modbus changes to HA 2023.9?
I also have a Nilan MVHR which also connects via Modbus (same Waveshare RS485 to Eth) - the custom integration for this also went dead following the 2023.9 HA update.
Appreciate this might be broken on the HA side, but just wanted to make sure I was reporting it. If there is any further information I can get for you to help resolve this, please let me know. 🍺