Custom Component: ABB/Power-One/FIMER PV Inverters - SunSpec Modbus TCP

After a couple of days of rainy weather, finally I’ve matched all the relevant values of the json response to the correct label in the chart!

I was looking for something like “integration for dummies guide”, since i can write some js…but really don’t know where to start! Any advice?

1 Like

In order to develop my custom component, I started from an existing one, otherwise it would have been impossible for me, not being a developer.

So you should find an existing component that does more or less what you intend to do, then you customize it.

You need some python knowledge though…the code is python.

Dear Specialist,

We are testing Fimer Inverter PVS by Modbus Master Simulator. It can exchange good with almost Modbus registers but there are two following registers types which meet the problem…

  1. Register contain the control function
    Example for the holding register 40233 (WMaxLimPct - Set power output to specified level). Modbus Master Simulator can write any value to this register but don’t receive the feedback value. Suppose if Operator change the setting in inverter’s local interface then Modbus Master Simulator don’t receive the new update value
  2. Event Bitfield 32 (Bit mask)
    Example for the holding register 41110 (Global Events). It is two registers 32 bit with each bit indicate one alarm signal (As bit 22 is Input DC undervoltage). Although Modbus Master Simulator can read this holding register with the status flag is good but the value always be equal to 0 (If right in the night, bit 21 of this holding register must indicate “1” corresponds to “Weak sunlight”)

Anyone can support me? Thank!

You need to contact FIMER support.

Hi Federico,
would you give some help on reaching the same result with NodeRed?
I’m now able to authenticate, but I guess I invoke the wrong API, since all I can receive in the JSON are the historical data for energy production…

Thanks in advance.

Hello,

I’m using your awesome custom component after failing with modbus and sensors. I have ABB uno and most of the sensors generated by the custom components registers right.

I’m not able to get only 3 sensors, the DC voltage it always shows -0.0 V and options sensor it shows hex figures and lastly the total energy shows as 0

The data I need most is available, so I don’t really need these data it is a feedback.

Thank you again
Cheers!

I got it reporting the total generated power correctly, it is reading from the 1st day of installation till today.

How to get for 1 day? I want to get the energy feature in HA reading the correct data

Thank you

that’s the lifetime produced energy counter. what do you mean by “got it reporting”? what did you do to fix it? it’s working fine here.

you don’t need to have it for 1 day, the sensor has the appropriate attributes for the energy integration to know how to manage the fact that it never resets. You just need to convert it from Wh to kWh, for that you can use a template sensor.

image

Read these before using the energy integration, so you understand how these energy sensors work and how the integration uses them:

nothing, It just reported correctly after a day from installing the component.
image

I don’t need to worry about the options right?

Thanks for the reply

probably you had a communication issue between HA and the inverter…

no, even though you should see a string of characters, not hex values. weird…:slight_smile:

1 Like

Ciao Alessandro,

I am a newbie in HA but since I have created my (primitive) home automation by using different systems (ewelink; broadlink; etc.) I’d like to integrate everything in one single interface (HA).

Now, I have an old “Aurora Power One” connected with a "Sollae CSE-H55 (RS485 - ethernet converter). Therefore I think, in order to utilize your project, I need to modify the parameters and the configurations. So, do you think this modification is possible? Can you suggest me how to proceed?

Thank you

cheers,

angelo

Ciao Angelo,

you just install the component and then configure the parameters: ip and tcp port of your converter, the slave id of the inverter, and the register map base address. It’s very simple.

Alex,

thank you for your quick reply.
Ok, I will try even if I haven’t seen TCP port open on my converter.
Unfortunately it comes from another (unsuccessfull) test with my Aurora Power One.
More over, as I said, I don’t have any experiences in HA so, even if simple, for me it could be very difficult…
:slight_smile:

I’ll let you know

cheers

angelo

First of allmake sure the converter works…otherwise you’re wasting time. An RS-485 to Ethernet converter has to be configured first, check the options, you should be able to configure the TCP port on which it will listen. Usually they have a web server embedded, or they provide a utility to configure it.

First configure that one, then when you have that working you move to the component.

You are installing a ready-made component, no experience is required, the component asks you for some parameters and that’s it. How could it be difficult? :slight_smile:

Hi Alex.

The converter comes with a program for the configuration. It doesn’t have a built-in web server.
The unit is working cause I can see the RTX leds flashing and I was able to send the data to a external PHP server, just for test. And it worked.
Anyway, these days I will try to follow your instructions again and set up HA

Thanks again

cheers

angelo

“Worked” doesn’t mean it supports ModBus TCP, it only means it can push data to a web server in your specific case. ModBus is the standard protocol used by these inverters to communicate, TCP specifies that it provides an interfacevia tcp/ip not serial RS485.

You should check its documentation: if it mentions ModBus TCP, you can open a TCP port and configure the component accordingly.

Instead of buying these converters, you could have bought the ABB VSN300, it costs €100, and you install it inside the specific port of the inverter, it provides wifi connection, ModBus TCP, and it also has a web server that you can access to read data/graphs.

Ciao,

Alessandro

Is there any other control unit available except VSN300 to pull data over LAN or WIFI from Aurora Power one?

VSN300 & VSN700: Data Loggers and Controllers | Fimer Spa

Here you can see the Compatibility Matrix of all the accessories: FIMER_Accessoriescompatibilitymatrix_ApplicationNote_EN.-RevC.pdf

Well it is not possible to find them anywhere. Even if there is some around price is crazy.
I paid less for inverter it self (PVI-3.6-TL-OUTD-S)

Is there any other alternatives to make it talk with HA wireless or LAN using RS485 adapters?

The VSN300 is cheap and there was availability 6 months ago, I found it for €100 in Italy.