This custom_componet won’t work with the Pocket WiFi or Pocket Lan.
You need to look into SolaX Power - Home Assistant
To use this custom_componet with your Gen4 X1 you will need to either use a RS485 - USB adaptor or a RS485 - Ethernet adaptor like I have previously mentioned.
Hello Wills, it would be possible to add an input number in the next revisions to modify sensor.solax_export_control_user_limit Thanks for the great work!!!
Yes, I want to be able to limit the export to my convenience.
I have tried to select 100w and it effectively exports 100w. It makes no sense that the limit is 60 kWh, but it is.
Thanks.
Ok, I’ll just set the max to the limit of the Inverter, otherwise the slider would be hard to set if it was 0 - 60,000.
I’ll keep it a more sensible 0 - 6,000 or what ever the maximum the Inverter can handle. I can do this based off the Serial Number and what’s in the manuals for the different models.
Hello again @wills106
I finally managed to reorder and to install the SolaX meter SDM 630. After connecting it to the SolaX X3 inverter and installing your custom integration I succeded in getting the lovelace panel from your integration with the right data. However I fail to read the modbus registers via the yaml file. I’m using the TCP connection(the same address I connected your integration ). So basically after saving the file in the packaged directory and rebooting the Raspberry I don’t see any sensors in the state folder. What I’m doing wrong? Appriciate your help.
If you are using the custom integration you don’t need any of the yaml files.
The Integration has replaced the yaml packages and offers a lot more functionality.
I don’t even know if the yaml files work at all, as I haven’t been following any breaking changes from the built in Modbus component.
Hi,
I have a Solax X3-MIC Inverter (model: X3-9.0-T-D). I want to use this integration to get data from Solax Inverter into my Home Assistant, but I have a modbus RS485 port connected to SDM630 via pins 7-8. According to the user manual, the RS485 on this model has another interface “provided for the inverter setup engine” on pins 4-5.
Does anyone have experience with interface on pins 4-5?
I would like to use these pins 4-5 for connection with Waveshare RS485 to RJ45 Ethernet Converter Module. Will it be a functional solution?
For the gen4, pins 4-5 are used on a different connector than the SDM640 meter connector. So unsure if the MIC pins 4-5 speak the modbus protocol. Worth trying however. You can first try with a low cost usb RS485 before buying the slightly more expensive Ethernet converter.
I’m assuming that I need a RS-485-to-Modbus-TCP converter, and connect to pins 4 and 5.
Is there any point in connecting an energy meter to the inverter if there is no battery storage? Or would that only be for showing that information in the SolaX cloud portal?
If you have a Modbus Energy Meter you will have a better idea of what you are importing or exporting from the grid. Are there any CT clamps wired to your Inverter? You may already be able to see what you are importing / exporting anyway.
I will add that serial number into the Integration and release a new version. Looking at the Modbus docs, I am not expecting it to work straight away. The registers seem to be in a different place on the X3 Mic and no one has confirmed if it works or not.
We can get it working if the registers need changing to suit your Inverter, you will just have to help with testing.
I have just released 0.5.8, like previously mentioned it might fail the Serial number check.
If you get an error like “unrecognized inverter type - serial number : {your_serial_number_here}” can you let me know what it is? It might actually return blank.
Or possibly something like:
File "/config/custom_components/solax_modbus/__init__.py", line 93, in read_modbus_holding_registers
seriesnumber = decoder.decode_string(14).decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0x96 in position 8: ordinal not in range(128)
No, no CT clamps. I only have the utility energy meter, which of course does measure the import/export, but not the self-consumption.
I wonder how you would connect the kWh-meter as shown in the picture (it shows 3 connections, I would assume it only has 2…). What I usually see is that the kWh-meter for the PV is connected between the inverter and the connection to the house bus. Then you can calculate your self-consumption by subtracting the export from its value, but it is not measured directly.
No problem, I can do that, just not right now (I don’t have the key yet, and I first need to install some infra).
The diagram is a bit crude (I also now have a third battery and a Solar Diverter for hot water), but the Energy Monitor sits between your Grid connection and your Consumer Unit / Fuse Board. I only have a single Phase Inverter, so you will need the corresponding 3 Phase version if you wished to add an Energy Monitor.
You will also need to by a Specific Eastron that has the SolaX firmware on it, as it uses a slightly different communication protocol to a Standard Eastron.