catalinsanda / org.openhab.binding.solarman

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

SUN800G3 - Connection problem #29

Closed fr3ts0n closed 1 year ago

fr3ts0n commented 1 year ago

I tried to use this binding for a Deye SUN800G3 inverter

Unfortunately it refuses to connect / show data

openhab console log shows following:

...
14:48:03.149 [DEBUG] [larman.internal.SolarmanLoggerHandler] - Found definition for deye_2mppt
14:48:03.203 [DEBUG] [larman.internal.SolarmanLoggerHandler] - Updated thing with id solarman:logger and 12 channels
14:48:03.208 [DEBUG] [ternal.updater.SolarmanChannelUpdater] - Fetching data from logger
14:48:03.227 [DEBUG] [ernal.modbus.SolarmanLoggerConnection] - Request frame: A51700104500009D62648902000000000000000000000000000001030003007E35EAFE15
14:48:03.265 [DEBUG] [ernal.modbus.SolarmanLoggerConnection] - Response frame: A5100010150065E76227EB0201EC0105001C1E000017A1E36406002915
14:48:03.268 [ERROR] [larman.internal.SolarmanLoggerHandler] - Unexpected control code in error response frame
14:48:03.273 [ERROR] [larman.internal.SolarmanLoggerHandler] - Modbus frame is too short or empty
14:48:03.277 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv1_voltage because its registers were not read
14:48:03.280 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_inverter_id because its registers were not read
14:48:03.284 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel grid_ac_output_frequency because its registers were not read
14:48:03.288 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_running_status because its registers were not read
14:48:03.291 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_daily_production because its registers were not read
14:48:03.294 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_total_ac_output_power_active because its registers were not read
14:48:03.297 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv1_current because its registers were not read
14:48:03.300 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv2_voltage because its registers were not read
14:48:03.303 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_radiator_temperature because its registers were not read
14:48:03.306 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_total_production because its registers were not read
14:48:03.309 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel grid_ac_voltage because its registers were not read
14:48:03.312 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv2_current because its registers were not read
114:48:03.268 [ERROR] [larman.internal.SolarmanLoggerHandler] - Unexpected control code in error response frame
14:48:03.273 [ERROR] [larman.internal.SolarmanLoggerHandler] - Modbus frame is too short or empty
14:48:03.277 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv1_voltage because its registers were not read
14:48:03.280 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_inverter_id because its registers were not read
14:48:03.284 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel grid_ac_output_frequency because its registers were not read
14:48:03.288 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_running_status because its registers were not read
14:48:03.291 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_daily_production because its registers were not read
14:48:03.294 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_total_ac_output_power_active because its registers were not read
14:48:03.297 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv1_current because its registers were not read
14:48:03.300 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv2_voltage because its registers were not read
14:48:03.303 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel inverter_radiator_temperature because its registers were not read
14:48:03.306 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_total_production because its registers were not read
14:48:03.309 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel grid_ac_voltage because its registers were not read
14:48:03.312 [ERROR] [ternal.updater.SolarmanChannelUpdater] - Unable to update channel solar_pv2_current because its registers were not read
...

Is there something I may need to change/configure?

Thank you

catalinsanda commented 1 year ago

@fr3ts0n - Parsing the request/response I get:

Request was from: 0x0003 to 0x0080 for logger with ID: 2305057437
Response was from logger with ID: 3945226983

So it seems you got the wrong logger ID.

Are you sure you're not using the inverter ID instead of the logger ID?

catalinsanda commented 1 year ago

Come to think about it, it makes sense to put a warning in the logs when this happens. It will probably help others troubleshoot the issue.

fr3ts0n commented 1 year ago

Thank you very much. With the correct ID configured it works like a charm. :+1: It's amazing how things work if you configure it correctly ...

Yes, I agree. A warning/error message could save some of your support time.