Solar Inverter Protocol Identification

Hi

I am getting the following error when I validate the setting

sensor.modbus_controller: [source /config/esphome/solar.yaml:136]
  platform: modbus_controller
  modbus_controller_id: smg0
  name: smg-ii ac frequency
  address: 203
  register_type: holding
  value_type: S_WORD
  unit_of_measurement: Hz
  
  Unknown value 'frequency', valid options are '', 'aqi', 'battery', 'carbon_dioxide', 'carbon_monoxide', 'current', 'energy', 'gas', 'humidity', 'illuminance', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'pm1', 'pm10', 'pm25', 'power', 'power_factor', 'pressure', 'signal_strength', 'sulphur_dioxide', 'temperature', 'timestamp', 'volatile_organic_compounds', 'voltage'.
  device_class: frequency [source /config/esphome/solar.yaml:143]

And also

sensor.modbus_controller: [source /config/esphome/solar.yaml:282]
  platform: modbus_controller
  modbus_controller_id: smg0
  name: smg-ii output apparent power
  address: 214
  register_type: holding
  value_type: S_WORD
  unit_of_measurement: VA
  
  Unknown value 'apparent_power', valid options are '', 'aqi', 'battery', 'carbon_dioxide', 'carbon_monoxide', 'current', 'energy', 'gas', 'humidity', 'illuminance', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'pm1', 'pm10', 'pm25', 'power', 'power_factor', 'pressure', 'signal_strength', 'sulphur_dioxide', 'temperature', 'timestamp', 'volatile_organic_compounds', 'voltage'.
  device_class: apparent_power [source /config/esphome/solar.yaml:289]
  state_class: measurement

Which ESPHome version do you use? Please make sure you are using the latest release.

Sorry for the last post.
I commented out the errors and I googled. and all i needed was to upgrade esphome. ill check the remaining and contact you.

Nope nothing. I guess I have a bad luck

Please check these logs

[17:07:40][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x1A4 count 1
[17:07:40][V][modbus:199]: Modbus write: 01.03.01.A4.00.01.C4.15 (8)
[17:07:40][V][modbus_controller:486]: Command sent 3 0x1A4 1
[17:07:40][C][logger:293]: Logger:
[17:07:40][C][logger:294]:   Level: VERBOSE
[17:07:40][C][logger:295]:   Log Baud Rate: 115200
[17:07:40][C][logger:296]:   Hardware UART: UART0
[17:07:40][C][uart.idf:116]: UART Bus:
[17:07:40][C][uart.idf:117]:   Number: 1
[17:07:40][C][uart.idf:118]:   TX Pin: GPIO17
[17:07:40][C][uart.idf:119]:   RX Pin: GPIO16
[17:07:40][C][uart.idf:121]:   RX Buffer Size: 256
[17:07:40][C][uart.idf:123]:   Baud Rate: 9600 baud
[17:07:40][C][uart.idf:124]:   Data Bits: 8
[17:07:40][C][uart.idf:125]:   Parity: NONE
[17:07:40][C][uart.idf:126]:   Stop bits: 1
[17:07:40][C][modbus:143]: Modbus:
[17:07:40][C][modbus:145]:   Send Wait Time: 200 ms
[17:07:40][C][modbus:146]:   CRC Disabled: NO
[17:07:40][D][uart_debug:114]: >>> 01:03:01:A4:00:01:C4:15
[17:07:40][C][modbus.number:083]: modbus.numberModbus Number 'smg-ii battery equalization time'
[17:07:40][C][modbus.number:083]: modbus.number  Unit of Measurement: 'min'
[17:07:40][C][modbus.number:083]: modbus.numberModbus Number 'smg-ii equalization Timeout exit'
[17:07:40][C][modbus.number:083]: modbus.number  Unit of Measurement: 'min'
[17:07:40][C][modbus.number:083]: modbus.numberModbus Number 'smg-ii two equalization charging intervals'
[17:07:40][C][modbus.number:083]: modbus.number  Unit of Measurement: 'day'
[17:07:40][C][modbus_controller:275]: ModbusController:
[17:07:40][C][modbus_controller:276]:   Address: 0x01
[17:07:40][C][modbus_controller:278]: sensormap
[17:07:40][C][modbus_controller:282]:  Sensor type=3 start=0x64 offset=0x0 count=2 size=4
[17:07:40][C][modbus_controller:282]:  Sensor type=3 start=0x64 offset=0x0 count=2 size=4
[17:07:40][C][modbus_controller:282]:  Sensor type=3 start=0x64 offset=0x0 count=2 size=4
[17:07:40][C][modbus_controller:282]:  Sensor type=3 start=0x6C offset=0x0 count=2 size=4
[17:07:40][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x8 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0xA count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0xC count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0xE count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x10 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x12 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x14 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x16 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x18 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x1A count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x1C count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x1E count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xC9 offset=0x20 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDB offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDB offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDF offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDF offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDF offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDF offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xDF offset=0x8 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xE5 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xE8 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xE8 offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0xE8 offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x12C offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x12C offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x12C offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x12C offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0x8 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x131 offset=0xA count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x139 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x140 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x140 offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x143 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x143 offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x143 offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x143 offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x143 offset=0x8 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x149 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0x2 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0x4 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0x6 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0x8 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0xA count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x14B offset=0xC count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x196 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x1A4 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:282]:  Sensor type=3 start=0x283 offset=0x0 count=1 size=2
[17:07:41][C][modbus_controller:284]: ranges
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x64 count=2 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x6C count=2 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0xC9 count=17 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0xDB count=2 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0xDF count=5 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0xE5 count=1 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0xE8 count=3 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x12C count=4 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x131 count=6 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x139 count=1 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x140 count=2 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x143 count=5 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x149 count=1 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x14B count=7 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x196 count=1 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x1A4 count=1 skip_updates=0
[17:07:41][C][modbus_controller:287]:   Range type=3 start=0x283 count=1 skip_updates=0
[17:07:41][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x1A4 count 1
[17:07:41][V][modbus:199]: Modbus write: 01.03.01.A4.00.01.C4.15 (8)
[17:07:41][V][modbus_controller:486]: Command sent 3 0x1A4 1
[17:07:41][C][total_daily_energy:023]: Total Daily Energy 'smg-ii PV energy today'
[17:07:41][C][total_daily_energy:023]:   Device Class: 'energy'
[17:07:41][C][total_daily_energy:023]:   State Class: 'total_increasing'
[17:07:41][C][total_daily_energy:023]:   Unit of Measurement: 'kWh'
[17:07:41][C][total_daily_energy:023]:   Accuracy Decimals: 2
[17:07:41][C][total_daily_energy:023]:   Icon: 'mdi:counter'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii fault code'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii warning code'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:41][D][uart_debug:114]: >>> 01:03:01:A4:00:01:C4:15
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii operation mode id'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii ac voltage'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'voltage'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii ac frequency'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'frequency'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'Hz'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 2
[17:07:41][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x1A4 count 1
[17:07:41][V][modbus:199]: Modbus write: 01.03.01.A4.00.01.C4.15 (8)
[17:07:41][V][modbus_controller:486]: Command sent 3 0x1A4 1
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii average mains power'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'power'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii effective inverter voltage'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'voltage'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:41][D][uart_debug:114]: >>> 01:03:01:A4:00:01:C4:15
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii effective inverter current'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'current'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'A'
[17:07:41][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii inverter frequency'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'frequency'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'Hz'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 2
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii average inverter power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:42][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x1A4 count 1
[17:07:42][V][modbus:199]: Modbus write: 01.03.01.A4.00.01.C4.15 (8)
[17:07:42][V][modbus_controller:486]: Command sent 3 0x1A4 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii inverter charging power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii output effective voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][D][uart_debug:114]: >>> 01:03:01:A4:00:01:C4:15
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii output effective Current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'A'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii output frequency'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'frequency'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'Hz'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 2
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii output active power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:42][D][modbus_controller:032]: Modbus command to device=1 register=0x1A4 countdown=0 no response received - removed from send queue
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii output apparent power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'apparent_power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'VA'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:42][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x283 count 1
[17:07:42][V][modbus:199]: Modbus write: 01.03.02.83.00.01.74.5A (8)
[17:07:42][V][modbus_controller:486]: Command sent 3 0x283 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii battery average voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii battery average Current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'A'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii battery average power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'power'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[17:07:42][D][uart_debug:114]: >>> 01:03:02:83:00:01:74:5A
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii pv average voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'voltage'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'smg-ii pv average current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'current'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'measurement'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'A'
[17:07:42][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 1
[17:07:42][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x283 count 1
1 Like

Logs are not posted here

Im send here the pastebin link

my Yaml is as follows

Could you swap the RX/TX pins (manually or by swapping the values at the YAML) and try again!

Just for the reference, the is the device ESP device I am using.



[23:27:21][D][uart_debug:114]: >>> 01:03:02:83:00:01:74:5A
[23:27:21][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x283 count 1
[23:27:21][V][modbus:199]: Modbus write: 01.03.02.83.00.01.74.5A (8)
[23:27:21][V][modbus_controller:486]: Command sent 3 0x283 1
[23:27:21][D][uart_debug:114]: >>> 01:03:02:83:00:01:74:5A
[23:27:21][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x283 count 1
[23:27:21][V][modbus:199]: Modbus write: 01.03.02.83.00.01.74.5A (8)
[23:27:21][V][modbus_controller:486]: Command sent 3 0x283 1
[23:27:21][D][uart_debug:114]: >>> 01:03:02:83:00:01:74:5A
[23:27:21][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x283 count 1
[23:27:21][V][modbus:199]: Modbus write: 01.03.02.83.00.01.74.5A (8)
[23:27:21][V][modbus_controller:486]: Command sent 3 0x283 1
[23:27:21][D][uart_debug:114]: >>> 01:03:02:83:00:01:74:5A
[23:27:21][D][modbus_controller:032]: Modbus command to device=1 register=0x283 countdown=0 no response received - removed from send queue
[23:27:21][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x64 count 2
[23:27:21][V][modbus:199]: Modbus write: 01.03.00.64.00.02.85.D4 (8)
[23:27:21][V][modbus_controller:486]: Command sent 3 0x64 2
[23:27:21][D][uart_debug:114]: >>> 01:03:00:64:00:02:85:D4
[23:27:22][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x64 count 2
[23:27:22][V][modbus:199]: Modbus write: 01.03.00.64.00.02.85.D4 (8)
[23:27:22][V][modbus_controller:486]: Command sent 3 0x64 2
[23:27:22][D][uart_debug:114]: >>> 01:03:00:64:00:02:85:D4
[23:27:22][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x64 count 2
[23:27:22][V][modbus:199]: Modbus write: 01.03.00.64.00.02.85.D4 (8)
[23:27:22][V][modbus_controller:486]: Command sent 3 0x64 2
[23:27:22][D][uart_debug:114]: >>> 01:03:00:64:00:02:85:D4
[23:27:22][V][modbus_controller:156]: 9 modbus commands already in queue
[23:27:22][V][modbus_controller:125]: Range : 64 Size: 2 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=100 count=2
[23:27:22][V][modbus_controller:125]: Range : 6C Size: 2 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : C9 Size: 11 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : DB Size: 2 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : DF Size: 5 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=223 count=5
[23:27:22][V][modbus_controller:125]: Range : E5 Size: 1 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=229 count=1
[23:27:22][V][modbus_controller:125]: Range : E8 Size: 3 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=232 count=3
[23:27:22][V][modbus_controller:125]: Range : 12C Size: 4 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=300 count=4
[23:27:22][V][modbus_controller:125]: Range : 131 Size: 6 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=305 count=6
[23:27:22][V][modbus_controller:125]: Range : 139 Size: 1 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=313 count=1
[23:27:22][V][modbus_controller:125]: Range : 140 Size: 2 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : 143 Size: 5 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : 149 Size: 1 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=329 count=1
[23:27:22][V][modbus_controller:125]: Range : 14B Size: 7 (3) skip: 0
[23:27:22][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=331 count=7
[23:27:22][V][modbus_controller:125]: Range : 196 Size: 1 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : 1A4 Size: 1 (3) skip: 0
[23:27:22][V][modbus_controller:125]: Range : 283 Size: 1 (3) skip: 0
[23:27:22][V][component:204]: Component modbus_controller took a long time for an operation (0.16 s).
[23:27:22][V][component:205]: Components should block for at most 20-30ms.
[23:27:22][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x64 count 2
[23:27:22][V][modbus:199]: Modbus write: 01.03.00.64.00.02.85.D4 (8)
[23:27:22][V][modbus_controller:486]: Command sent 3 0x64 2
[23:27:22][D][uart_debug:114]: >>> 01:03:00:64:00:02:85:D4
[23:27:22][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x64 count 2
[23:27:22][V][modbus:199]: Modbus write: 01.03.00.64.00.02.85.D4 (8)
[23:27:22][V][modbus_controller:486]: Command sent 3 0x64 2
[23:27:22][D][uart_debug:114]: >>> 01:03:00:64:00:02:85:D4
[23:27:23][D][modbus_controller:032]: Modbus command to device=1 register=0x64 countdown=0 no response received - removed from send queue
[23:27:23][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDF count 5
[23:27:23][V][modbus:199]: Modbus write: 01.03.00.DF.00.05.B4.33 (8)
[23:27:23][V][modbus_controller:486]: Command sent 3 0xDF 5
[23:27:23][D][uart_debug:114]: >>> 01:03:00:DF:00:05:B4:33
[23:27:23][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDF count 5
[23:27:23][V][modbus:199]: Modbus write: 01.03.00.DF.00.05.B4.33 (8)
[23:27:23][V][modbus_controller:486]: Command sent 3 0xDF 5
[23:27:23][D][uart_debug:114]: >>> 01:03:00:DF:00:05:B4:33
[23:27:23][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDF count 5
[23:27:23][V][modbus:199]: Modbus write: 01.03.00.DF.00.05.B4.33 (8)
[23:27:23][V][modbus_controller:486]: Command sent 3 0xDF 5
[23:27:23][D][uart_debug:114]: >>> 01:03:00:DF:00:05:B4:33
[23:27:23][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDF count 5
[23:27:23][V][modbus:199]: Modbus write: 01.03.00.DF.00.05.B4.33 (8)
[23:27:23][V][modbus_controller:486]: Command sent 3 0xDF 5
[23:27:23][D][uart_debug:114]: >>> 01:03:00:DF:00:05:B4:33
[23:27:23][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDF count 5
[23:27:23][V][modbus:199]: Modbus write: 01.03.00.DF.00.05.B4.33 (8)
[23:27:23][V][modbus_controller:486]: Command sent 3 0xDF 5
[23:27:24][D][uart_debug:114]: >>> 01:03:00:DF:00:05:B4:33
[23:27:24][D][modbus_controller:032]: Modbus command to device=1 register=0xDF countdown=0 no response received - removed from send queue
[23:27:24][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE5 count 1
[23:27:24][V][modbus:199]: Modbus write: 01.03.00.E5.00.01.95.FD (8)
[23:27:24][V][modbus_controller:486]: Command sent 3 0xE5 1
[23:27:24][D][uart_debug:114]: >>> 01:03:00:E5:00:01:95:FD
[23:27:24][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE5 count 1
[23:27:24][V][modbus:199]: Modbus write: 01.03.00.E5.00.01.95.FD (8)
[23:27:24][V][modbus_controller:486]: Command sent 3 0xE5 1
[23:27:24][D][uart_debug:114]: >>> 01:03:00:E5:00:01:95:FD
[23:27:24][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE5 count 1
[23:27:24][V][modbus:199]: Modbus write: 01.03.00.E5.00.01.95.FD (8)
[23:27:24][V][modbus_controller:486]: Command sent 3 0xE5 1
[23:27:24][D][uart_debug:114]: >>> 01:03:00:E5:00:01:95:FD
[23:27:24][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE5 count 1
[23:27:24][V][modbus:199]: Modbus write: 01.03.00.E5.00.01.95.FD (8)
[23:27:24][V][modbus_controller:486]: Command sent 3 0xE5 1
[23:27:24][D][uart_debug:114]: >>> 01:03:00:E5:00:01:95:FD
[23:27:25][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE5 count 1
[23:27:25][V][modbus:199]: Modbus write: 01.03.00.E5.00.01.95.FD (8)
[23:27:25][V][modbus_controller:486]: Command sent 3 0xE5 1
[23:27:25][D][uart_debug:114]: >>> 01:03:00:E5:00:01:95:FD
[23:27:25][D][modbus_controller:032]: Modbus command to device=1 register=0xE5 countdown=0 no response received - removed from send queue
[23:27:25][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE8 count 3
[23:27:25][V][modbus:199]: Modbus write: 01.03.00.E8.00.03.85.FF (8)
[23:27:25][V][modbus_controller:486]: Command sent 3 0xE8 3
[23:27:25][D][uart_debug:114]: >>> 01:03:00:E8:00:03:85:FF
[23:27:25][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE8 count 3
[23:27:25][V][modbus:199]: Modbus write: 01.03.00.E8.00.03.85.FF (8)
[23:27:25][V][modbus_controller:486]: Command sent 3 0xE8 3
[23:27:25][D][uart_debug:114]: >>> 01:03:00:E8:00:03:85:FF
[23:27:25][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE8 count 3
[23:27:25][V][modbus:199]: Modbus write: 01.03.00.E8.00.03.85.FF (8)
[23:27:25][V][modbus_controller:486]: Command sent 3 0xE8 3
[23:27:25][D][uart_debug:114]: >>> 01:03:00:E8:00:03:85:FF
[23:27:25][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE8 count 3
[23:27:25][V][modbus:199]: Modbus write: 01.03.00.E8.00.03.85.FF (8)
[23:27:25][V][modbus_controller:486]: Command sent 3 0xE8 3
[23:27:26][D][uart_debug:114]: >>> 01:03:00:E8:00:03:85:FF
[23:27:26][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xE8 count 3
[23:27:26][V][modbus:199]: Modbus write: 01.03.00.E8.00.03.85.FF (8)
[23:27:26][V][modbus_controller:486]: Command sent 3 0xE8 3
[23:27:26][D][uart_debug:114]: >>> 01:03:00:E8:00:03:85:FF
[23:27:26][D][modbus_controller:032]: Modbus command to device=1 register=0xE8 countdown=0 no response received - removed from send queue
[23:27:26][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x12C count 4
[23:27:26][V][modbus:199]: Modbus write: 01.03.01.2C.00.04.84.3C (8)
[23:27:26][V][modbus_controller:486]: Command sent 3 0x12C 4
[23:27:26][D][uart_debug:114]: >>> 01:03:01:2C:00:04:84:3C
[23:27:26][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x12C count 4
[23:27:26][V][modbus:199]: Modbus write: 01.03.01.2C.00.04.84.3C (8)
[23:27:26][V][modbus_controller:486]: Command sent 3 0x12C 4
[23:27:26][D][uart_debug:114]: >>> 01:03:01:2C:00:04:84:3C
[23:27:26][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x12C count 4
[23:27:26][V][modbus:199]: Modbus write: 01.03.01.2C.00.04.84.3C (8)
[23:27:26][V][modbus_controller:486]: Command sent 3 0x12C 4
[23:27:26][D][uart_debug:114]: >>> 01:03:01:2C:00:04:84:3C
[23:27:27][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x12C count 4
[23:27:27][V][modbus:199]: Modbus write: 01.03.01.2C.00.04.84.3C (8)
[23:27:27][V][modbus_controller:486]: Command sent 3 0x12C 4
[23:27:27][D][uart_debug:114]: >>> 01:03:01:2C:00:04:84:3C
[23:27:27][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x12C count 4
[23:27:27][V][modbus:199]: Modbus write: 01.03.01.2C.00.04.84.3C (8)
[23:27:27][V][modbus_controller:486]: Command sent 3 0x12C 4
[23:27:27][D][uart_debug:114]: >>> 01:03:01:2C:00:04:84:3C
[23:27:27][D][modbus_controller:032]: Modbus command to device=1 register=0x12C countdown=0 no response received - removed from send queue
[23:27:27][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x131 count 6
[23:27:27][V][modbus:199]: Modbus write: 01.03.01.31.00.06.95.FB (8)
[23:27:27][V][modbus_controller:486]: Command sent 3 0x131 6
[23:27:27][D][uart_debug:114]: >>> 01:03:01:31:00:06:95:FB
[23:27:27][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x131 count 6
[23:27:27][V][modbus:199]: Modbus write: 01.03.01.31.00.06.95.FB (8)
[23:27:27][V][modbus_controller:486]: Command sent 3 0x131 6
[23:27:27][D][uart_debug:114]: >>> 01:03:01:31:00:06:95:FB
[23:27:27][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x131 count 6
[23:27:27][V][modbus:199]: Modbus write: 01.03.01.31.00.06.95.FB (8)
[23:27:27][V][modbus_controller:486]: Command sent 3 0x131 6
[23:27:28][D][uart_debug:114]: >>> 01:03:01:31:00:06:95:FB
[23:27:28][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x131 count 6
[23:27:28][V][modbus:199]: Modbus write: 01.03.01.31.00.06.95.FB (8)
[23:27:28][V][modbus_controller:486]: Command sent 3 0x131 6
[23:27:28][D][uart_debug:114]: >>> 01:03:01:31:00:06:95:FB
[23:27:28][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x131 count 6
[23:27:28][V][modbus:199]: Modbus write: 01.03.01.31.00.06.95.FB (8)
[23:27:28][V][modbus_controller:486]: Command sent 3 0x131 6
[23:27:28][D][uart_debug:114]: >>> 01:03:01:31:00:06:95:FB
[23:27:28][D][modbus_controller:032]: Modbus command to device=1 register=0x131 countdown=0 no response received - removed from send queue
[23:27:28][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x139 count 1
[23:27:28][V][modbus:199]: Modbus write: 01.03.01.39.00.01.55.FB (8)
[23:27:28][V][modbus_controller:486]: Command sent 3 0x139 1
[23:27:28][D][uart_debug:114]: >>> 01:03:01:39:00:01:55:FB
[23:27:28][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x139 count 1
[23:27:28][V][modbus:199]: Modbus write: 01.03.01.39.00.01.55.FB (8)
[23:27:28][V][modbus_controller:486]: Command sent 3 0x139 1
[23:27:28][D][uart_debug:114]: >>> 01:03:01:39:00:01:55:FB
[23:27:29][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x139 count 1
[23:27:29][V][modbus:199]: Modbus write: 01.03.01.39.00.01.55.FB (8)
[23:27:29][V][modbus_controller:486]: Command sent 3 0x139 1
[23:27:29][D][uart_debug:114]: >>> 01:03:01:39:00:01:55:FB
[23:27:29][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x139 count 1
[23:27:29][V][modbus:199]: Modbus write: 01.03.01.39.00.01.55.FB (8)
[23:27:29][V][modbus_controller:486]: Command sent 3 0x139 1
[23:27:29][D][uart_debug:114]: >>> 01:03:01:39:00:01:55:FB
[23:27:29][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x139 count 1
[23:27:29][V][modbus:199]: Modbus write: 01.03.01.39.00.01.55.FB (8)
[23:27:29][V][modbus_controller:486]: Command sent 3 0x139 1
[23:27:29][D][uart_debug:114]: >>> 01:03:01:39:00:01:55:FB
[23:27:29][D][modbus_controller:032]: Modbus command to device=1 register=0x139 countdown=0 no response received - removed from send queue
[23:27:29][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x149 count 1
[23:27:29][V][modbus:199]: Modbus write: 01.03.01.49.00.01.54.20 (8)
[23:27:29][V][modbus_controller:486]: Command sent 3 0x149 1
[23:27:29][D][uart_debug:114]: >>> 01:03:01:49:00:01:54:20
[23:27:29][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x149 count 1
[23:27:29][V][modbus:199]: Modbus write: 01.03.01.49.00.01.54.20 (8)
[23:27:29][V][modbus_controller:486]: Command sent 3 0x149 1
[23:27:30][D][uart_debug:114]: >>> 01:03:01:49:00:01:54:20
[23:27:30][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x149 count 1
[23:27:30][V][modbus:199]: Modbus write: 01.03.01.49.00.01.54.20 (8)
[23:27:30][V][modbus_controller:486]: Command sent 3 0x149 1
[23:27:30][D][uart_debug:114]: >>> 01:03:01:49:00:01:54:20
[23:27:30][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x149 count 1
[23:27:30][V][modbus:199]: Modbus write: 01.03.01.49.00.01.54.20 (8)
[23:27:30][V][modbus_controller:486]: Command sent 3 0x149 1
[23:27:30][D][uart_debug:114]: >>> 01:03:01:49:00:01:54:20
[23:27:30][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x149 count 1
[23:27:30][V][modbus:199]: Modbus write: 01.03.01.49.00.01.54.20 (8)
[23:27:30][V][modbus_controller:486]: Command sent 3 0x149 1
[23:27:30][D][uart_debug:114]: >>> 01:03:01:49:00:01:54:20
[23:27:30][D][modbus_controller:032]: Modbus command to device=1 register=0x149 countdown=0 no response received - removed from send queue
[23:27:30][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x14B count 7
[23:27:30][V][modbus:199]: Modbus write: 01.03.01.4B.00.07.75.E2 (8)
[23:27:30][V][modbus_controller:486]: Command sent 3 0x14B 7
[23:27:30][D][uart_debug:114]: >>> 01:03:01:4B:00:07:75:E2
[23:27:31][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x14B count 7
[23:27:31][V][modbus:199]: Modbus write: 01.03.01.4B.00.07.75.E2 (8)
[23:27:31][V][modbus_controller:486]: Command sent 3 0x14B 7
[23:27:31][D][uart_debug:114]: >>> 01:03:01:4B:00:07:75:E2
[23:27:31][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x14B count 7
[23:27:31][V][modbus:199]: Modbus write: 01.03.01.4B.00.07.75.E2 (8)
[23:27:31][V][modbus_controller:486]: Command sent 3 0x14B 7
[23:27:31][D][uart_debug:114]: >>> 01:03:01:4B:00:07:75:E2
[23:27:31][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x14B count 7
[23:27:31][V][modbus:199]: Modbus write: 01.03.01.4B.00.07.75.E2 (8)
[23:27:31][V][modbus_controller:486]: Command sent 3 0x14B 7
[23:27:31][D][uart_debug:114]: >>> 01:03:01:4B:00:07:75:E2
[23:27:31][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x14B count 7
[23:27:31][V][modbus:199]: Modbus write: 01.03.01.4B.00.07.75.E2 (8)
[23:27:31][V][modbus_controller:486]: Command sent 3 0x14B 7
[23:27:31][D][uart_debug:114]: >>> 01:03:01:4B:00:07:75:E2
[23:27:31][D][modbus_controller:032]: Modbus command to device=1 register=0x14B countdown=0 no response received - removed from send queue
[23:27:31][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x6C count 2
[23:27:31][V][modbus:199]: Modbus write: 01.03.00.6C.00.02.04.16 (8)
[23:27:31][V][modbus_controller:486]: Command sent 3 0x6C 2
[23:27:32][D][uart_debug:114]: >>> 01:03:00:6C:00:02:04:16
[23:27:32][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x6C count 2
[23:27:32][V][modbus:199]: Modbus write: 01.03.00.6C.00.02.04.16 (8)
[23:27:32][V][modbus_controller:486]: Command sent 3 0x6C 2
[23:27:32][D][uart_debug:114]: >>> 01:03:00:6C:00:02:04:16
[23:27:32][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x6C count 2
[23:27:32][V][modbus:199]: Modbus write: 01.03.00.6C.00.02.04.16 (8)
[23:27:32][V][modbus_controller:486]: Command sent 3 0x6C 2
[23:27:32][V][modbus_controller:156]: 8 modbus commands already in queue
[23:27:32][V][modbus_controller:125]: Range : 64 Size: 2 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 6C Size: 2 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=108 count=2
[23:27:32][V][modbus_controller:125]: Range : C9 Size: 11 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=201 count=17
[23:27:32][V][modbus_controller:125]: Range : DB Size: 2 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=219 count=2
[23:27:32][V][modbus_controller:125]: Range : DF Size: 5 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : E5 Size: 1 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : E8 Size: 3 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 12C Size: 4 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 131 Size: 6 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 139 Size: 1 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 140 Size: 2 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=320 count=2
[23:27:32][V][modbus_controller:125]: Range : 143 Size: 5 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=323 count=5
[23:27:32][V][modbus_controller:125]: Range : 149 Size: 1 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 14B Size: 7 (3) skip: 0
[23:27:32][V][modbus_controller:125]: Range : 196 Size: 1 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=406 count=1
[23:27:32][V][modbus_controller:125]: Range : 1A4 Size: 1 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=420 count=1
[23:27:32][V][modbus_controller:125]: Range : 283 Size: 1 (3) skip: 0
[23:27:32][W][modbus_controller:113]: Duplicate modbus command found: type=0x3 address=643 count=1
[23:27:32][V][component:204]: Component modbus_controller took a long time for an operation (0.15 s).
[23:27:32][V][component:205]: Components should block for at most 20-30ms.
[23:27:32][D][uart_debug:114]: >>> 01:03:00:6C:00:02:04:16
[23:27:32][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x6C count 2
[23:27:32][V][modbus:199]: Modbus write: 01.03.00.6C.00.02.04.16 (8)
[23:27:32][V][modbus_controller:486]: Command sent 3 0x6C 2
[23:27:32][D][uart_debug:114]: >>> 01:03:00:6C:00:02:04:16
[23:27:32][V][modbus_controller:036]: Sending next modbus command to device 1 register 0x6C count 2
[23:27:32][V][modbus:199]: Modbus write: 01.03.00.6C.00.02.04.16 (8)
[23:27:32][V][modbus_controller:486]: Command sent 3 0x6C 2
[23:27:32][D][uart_debug:114]: >>> 01:03:00:6C:00:02:04:16
[23:27:33][D][modbus_controller:032]: Modbus command to device=1 register=0x6C countdown=0 no response received - removed from send queue
[23:27:33][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xC9 count 17
[23:27:33][V][modbus:199]: Modbus write: 01.03.00.C9.00.11.55.F8 (8)
[23:27:33][V][modbus_controller:486]: Command sent 3 0xC9 17
[23:27:33][D][uart_debug:114]: >>> 01:03:00:C9:00:11:55:F8
[23:27:33][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xC9 count 17
[23:27:33][V][modbus:199]: Modbus write: 01.03.00.C9.00.11.55.F8 (8)
[23:27:33][V][modbus_controller:486]: Command sent 3 0xC9 17
[23:27:33][D][uart_debug:114]: >>> 01:03:00:C9:00:11:55:F8
[23:27:33][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xC9 count 17
[23:27:33][V][modbus:199]: Modbus write: 01.03.00.C9.00.11.55.F8 (8)
[23:27:33][V][modbus_controller:486]: Command sent 3 0xC9 17
[23:27:33][D][uart_debug:114]: >>> 01:03:00:C9:00:11:55:F8
[23:27:33][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xC9 count 17
[23:27:33][V][modbus:199]: Modbus write: 01.03.00.C9.00.11.55.F8 (8)
[23:27:33][V][modbus_controller:486]: Command sent 3 0xC9 17
[23:27:33][D][uart_debug:114]: >>> 01:03:00:C9:00:11:55:F8
[23:27:33][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xC9 count 17
[23:27:33][V][modbus:199]: Modbus write: 01.03.00.C9.00.11.55.F8 (8)
[23:27:33][V][modbus_controller:486]: Command sent 3 0xC9 17
[23:27:34][D][uart_debug:114]: >>> 01:03:00:C9:00:11:55:F8
[23:27:34][D][modbus_controller:032]: Modbus command to device=1 register=0xC9 countdown=0 no response received - removed from send queue
[23:27:34][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDB count 2
[23:27:34][V][modbus:199]: Modbus write: 01.03.00.DB.00.02.B4.30 (8)
[23:27:34][V][modbus_controller:486]: Command sent 3 0xDB 2
[23:27:34][D][uart_debug:114]: >>> 01:03:00:DB:00:02:B4:30
[23:27:34][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDB count 2
[23:27:34][V][modbus:199]: Modbus write: 01.03.00.DB.00.02.B4.30 (8)
[23:27:34][V][modbus_controller:486]: Command sent 3 0xDB 2
[23:27:34][D][uart_debug:114]: >>> 01:03:00:DB:00:02:B4:30
[23:27:34][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDB count 2
[23:27:34][V][modbus:199]: Modbus write: 01.03.00.DB.00.02.B4.30 (8)
[23:27:34][V][modbus_controller:486]: Command sent 3 0xDB 2
[23:27:34][D][uart_debug:114]: >>> 01:03:00:DB:00:02:B4:30
[23:27:34][V][modbus_controller:036]: Sending next modbus command to device 1 register 0xDB count 2
[23:27:34][V][modbus:199]: Modbus write: 01.03.00.DB.00.02.B4.30 (8)
[23:27:34][V][modbus_controller:486]: Command sent 3 0xDB 2
[23:27:34][D][uart_debug:114]: >>> 01:03:00:DB:00:02:B4:30

And I have changed it to following:

substitutions:
  name: smg-ii
  device_description: "Monitor and control a ISolar/EASUN SMG II inverter via RS232"
  tx_pin: GPIO16
  rx_pin: GPIO17

Not physically but from the settings.

I think there is still no hope :frowning:

Don’t give up. I don’t trust the wiring of your max3232. There are a lot of wrong examples at the net. I will try to find your max3232 board tomorrow to get an idea which pins of the max3232 are connected to “in” and “out”. I assume the RS232 side must be swapped too.

Please compare your wiring (RS232 side: orange-white, orange) with this (working) setup:

Please ignore the stepdown converter to power the ESP. It looks like you have attached pin1 and pin2 of the RJ45 connector reversed.

I also have this. But I dont know the wiring of this. I have a db9 female to rj45 Console cable. I have ordered a gender changer (male to male) I will also check it with that.


Brother. Many many thanks

Again Thanks

Best wishes and Regards,

I use that to configure Cisco Routers/Switches

I like your alternative RS232 converter. This is the correct & testing schematics:

1 Like

Hi.
Something is received.

uart_debug:114]: <<< 00:78:80:80:78:00:78:78:78:80:78:80:78:F8:00

Im pasting the complete logs in pastebin

Following is when I made dummy_receiver = True

Please try the protocol test another time.

1 Like

I will do the testing today. By the way, I did the RS232 wiring the way you showed in the Git page.

Thanks in advance.

Hi,

Just wondering if you got this to work finally.

I am wondeing if this worked, but also why would the PIP proctocole not work if it was a SmartESS compatible device?

I am trying to setup communication with a solar inverter (MPPT - axpert max 8000). Issue is I have no way to do any experimentation, as the inverter is not accesible to me (and when it is accesible i would be unable to buy any additional components). I found 2 possible solutions for this, either use your way with esphome, or use a docker based solution (by ned-kelly) but which would you recommend? (Sorry if this question seems obnoxious, but I really am lost)

I have a Voltronic Inverter with RS232 port. It didn’t work for me. I was not getting any data from the inverter. Not sure if it was because this does not work with Voltronic. I am looking into the docker based solution by ned kelly but it’s a little over my head, because I have no idea about docker portainer. I have an Orange Pi 3 LTS, so I am going to install docker on it and then see how it goes. Right now I am using ICC software with Voltronic and it’s much better than Solar Power. It sends data to PVOutput and then I use the PVOutput Integration to import data into Home Assistant.

1 Like

No I havent been able to work this out. I am still at the point where me @syssi stoped that day.

I havent been able to make this work. But I am sure that if he helps, we will be able to make this work.
I am requesting @syssi

1 Like

You might also want to look at these alternatives below. They will give you the MQTT data you need to integrate it into home assistant. The windows based didn’t work for me. The other two I have yet to try. Currently I am using ICC software to get data from my inverter. It is windows based. It has an MQTT component, but that doesn’t work. But it can send data to PVOutput and home assistant has a PVOutput integration using which I can import the inverter data. But it’s a roundabout way of doing things, and the data I get from PVOutput is limited.

Docker component
https://github.com/ned-kelly/docker-voltronic-homeassistant

Windows based
https://github.com/gadget78/inverter-homeassistant/

Raspberry pi based
https://github.com/njfaria/SolPipLog