-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Solax X1 Boost not working via modbus with latest 2024.05.4 #907
Comments
update: 2024.05.3 works well |
Updated to 2024.05.4 Connection lost/no data updates. Removed the Integration. Restarted HA No data. Integration reports No Devices and No entities. |
Yea the "Device Info" bit of 2024.05.4 has broken PV only SolaX Inverters. |
Yep. I did wonder that. I'm a newbie so need to figure out how to roll back to the previous version.... |
Thanks for your guidance. HACS is installed and downloaded the version that worked so assuming HACS already managing the repository. Not sure where to find the relevant card in HA on my Green RPI set up. Clicking on the Solax integration 3 dots does not bring up any options as mention on https://hacs.xyz/docs/faq/select_version I must be looking in the wrong place in my ignorance/inexperience. |
Just released 2024.05.5 can take 15mins or more to show up in HACS |
Installed 2024.05.5 Rebooted RPi and also removed integration card. After configuring the Integration it gets stuck on "initialising". I know the inverter and network are still sending data as I have another instance of HA with the SOlax Modbus installed and running OK with updating data. Both HA instances ran concurrently for two weeks and the RPI Green only broke when the update was installed earlier today. Solax X1 Gen 4 inverter. HA Core 2024.5.4 |
It should correct in the morning when enough sunlight. Your PV only inverter goes to sleep at night. |
Noted. Inverter was just about generating and not asleep. NAS Instance of HA/Solax still updating. I'll check in the morning. |
No data coming in this morning. Generation is low due to very overcast skies but the inverter is definitely awake. HA restarted this morning whilst the inverter was awake. Integration re configured with same settings as before update and the same with HA running on my NAS. Perhaps I am doing something "wrong" in the restart sequence. Various restarts and reinstalls of Solax Modbus but will not start up/initialise. Terminal shows error I've been unable to roll back to 2024.05.3 which was the previous working version as the card defaults back to 2024.05.5 in the drop down version box. Any suggestions? Update - Did a full restore from a system back up from 14th May before HA core and Solax Modbus was updated. Entities are still not being updated and are marked as unavailable. It seems that perhaps a config setting or file that is common to both versions is not updating or perhaps corrupt and preventing the comms to the inverter from starting. I can ping the inverter OK on the same IP as set in Solax Modbus |
Strange, I have a SolaX X3-MIC (PV only) and it doesn't go offline at night, and I also don't have any issues with 2024.05.4. |
The integration did run with version 2024.05.3 and Core 2024.5.4. and a Solax X3-Hybrid-G4. When updating to integration 2024.05.5 and Core 2024.5.5 it got stuck initializing. On the Solax side nothing changed. Logger: custom_components.solax_modbus.plugin_solax SolaX: reading serial number from address 0x0 failed; other address may succeed |
|
After disconnecting the Solax Pocket V3.0 WiFi & LAN Dongle and connecting it again, everything works again with the latest software versions. |
The Wiki does mention unplugging PocketWiFi when it stops working. Are you on an older Firmware Version for your PocketWiFi? |
Update. I completely removed the integration and re installed. It connected ok but had lost the historical data except for the first few days after I originally installed it. I think this may be due to the integration using a file that was part of a back up on the same date that the data is still available. Ironically a day later my NAS instance stopped working. |
The Historical Data is stored in the HA Database. If you named the Inverter the same as before it should carry on displaying all of the Data. Was the Database deleted? |
Ah. May have give it a slightly different name. I did look for the data failed but was not sure what it was called or where it resides. Only one file was not deleted. From memory it was the Solax_data.json file in config directory |
Is this now the daily fix? My X1 drops daily, my X3 doesn't... What do we need to analyse this in sense of logging and how do I get it? Then I can provide it. |
What firmware version does it display on the Pocket WiFi + LAN (Internal Code) Sounds like the Pocket WiFi + LAN could be having similar issues to early PocketWiFi 3.0 where they would internally shutdown the Modbus connection. This was resolved in a later Firmware update for them. If that's the case then you'll need to contact SolaX to ask if there is a firmware update for it. Extra logging can be enabled detailed-error-log |
I just requested an update and have the latest firmwares now. I willl keep you posted when issues re-occur. |
Do you know what version you were on and what your on now? |
Yes, I was on 3.010.16 and I am now on 3.015.02 |
Just an update for completeness. A few days ago I did a full reinstall of the Integration and the data started coming in again. A day later my HA instance on my NAS stopped seeing the data...it had been running for about 2 weeks faultlessly. I then saw a comment to unplug the dongle on the inverter and wait 30 seconds. I did this and everything is back to normal. The lesson....turn it off and on again buy pulling the Dongle to save days of head scratching ;-) |
I never scratched my head on this and already applied it on a regular base.... but I preferably would like to see stable and recovering connections ;). Then I can rely on it in a later stage for my power management (and everybody else too of course..). |
Hi guys, yesterday I updated the Integration to 2024.05.7. After HA restart, no data from inverter. Its a Q.VOLT HYB-G3-3P. Had to reseat (pull and replug) the wifi dongle. Than everything worked fine again. No big deal when you know what to do. Thanks to this thread ❤️ |
2024-06-04 15:27:12.533 ERROR (MainThread) [custom_components.solax_modbus.plugin_solax] SolaX: cannot find serial number, even not for MIC I get this one on the X1.. X3 works fine... :) And then after reboot of the inverter it works. After reboot, this was also logged: |
Describe the bug
Hi @wills106 , integration is not working with my Solax X1 boost inverter after installing latest version 2024.05.4
I have tried remove integration completely and add it again but I have no devices and entities now.
I was working well via modbus & usb until now.
Integration Version
2024.05.4
Homeassistant core version
2024.5.4
Inverter brand
Solax
Plugin used
plugin_solax.py
Serial prefix
XB33
Inverter firmware versions
ARM 1.50 DSP 2.32
Connection Method
usb modbus adaptor
Dongle firmware
3.001.02
Detailed Error Log
Logger: homeassistant.config_entries
Zdroj: config_entries.py:772
Prvýkrát sa vyskytol: 08:50:18 (2 výskytov)
Naposledy prihlásený: 08:50:18
Error unloading entry SolaX for button
Error unloading entry SolaX for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 772, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 75, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 203, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
Táto chyba pochádza z vlastnej integrácie.
Logger: homeassistant
Zdroj: custom_components/solax_modbus/plugin_solax.py:7014
Integrácia: SolaX Inverter Modbus (dokumentácia, problémy)
Prvýkrát sa vyskytol: 08:47:58 (1 výskytov)
Naposledy prihlásený: 08:47:58
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/solax_modbus/init.py", line 302, in async_init
self._invertertype = await self.plugin.async_determineInverterType(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solax_modbus/plugin_solax.py", line 7014, in async_determineInverterType
model_power = await _read_model_power(hub) /1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
Additional context
No response
The text was updated successfully, but these errors were encountered: