catalinsanda / org.openhab.binding.solarman

Binding used to communicate with Solarman (IGEN-Tech) v5 based solar inverter data loggers
Eclipse Public License 2.0
9 stars 3 forks source link

Missing individual Daily and Total Production channels on openHAB 4.3.0.M2 for (Deye-SUN-2000G3-EU - deye_4mppt) #37

Open bolausson opened 1 week ago

bolausson commented 1 week ago

Hello,

I am on openHAB 4.3.0.M2 and the solarman logger is back in a working state for Deye-SUN-2000G3-EU (deye_4mppt) with firmware MW3_SSL_5408_1.0B.

I am missing some counters (channels) though for the plugin which is distributed via the openHAB "store". Not sure if this is the right place to report this or if I should report it on the openHAB repo.

Before the last update (https://github.com/catalinsanda/org.openhab.binding.solarman/pull/36) there were was the "Total Production" and the "Total Production for each of the four panels" - now there is only the "Total Production" reported. Likewise for the "Daily Production"

I only have two solar pannels connected (just in case someone is wondering why there is only data for panel 1 and 2).

image image

Before: image

After: image

Greetings, Bjoern

catalinsanda commented 1 week ago

Hi Bjoern,

Yes, you're right. The new version of deye_4mppt.yaml is missing individual power per input like the old one did. I don't know why the upstream project home_assistant_solarman I get them from has decided to remove them. At the next update I'll try to add them back in.

In the meantime you can use the additionalRequests support to fetch them, even though they're not in the definitions. In your case you don't seem to need additional modbus requests as the whole range is being fetched, just the channels.

It should look something like this (I haven't tested as I don't have the inverter):

Thing solarman:logger:local [ hostname="x.x.x.x", inverterType="deye_sg04lp3", serialNumber="1234567890"] {
        Channels:
            Type number : daily_production_1 [scale="0.1", uom="kWh", rule="1", registers="0x0041"]
            Type number : daily_production_2 [scale="0.1", uom="kWh", rule="1", registers="0x0042"]
            Type number : daily_production_3 [scale="0.1", uom="kWh", rule="1", registers="0x0043"]
            Type number : daily_production_4 [scale="0.1", uom="kWh", rule="1", registers="0x0044"]
}

If you need other pieces of info from the old definition, just add them to the list of channels like above.

Hope this helps, Catalin

bolausson commented 1 week ago

Thanks a lot!

Should we keep this issue open until it was resolved for the "official" Add-On?