odya / esphome-powmr-hybrid-inverter

ESPHome config for various PowMr Hybrid Inverter models.
MIT License
92 stars 13 forks source link

Not Getting any data returned from inverter #55

Open korishan opened 4 weeks ago

korishan commented 4 weeks ago

I have an ESP-WROOM-32D, the RS232->TTL shown in the documents and a PowMr 5kW hybrid inverter. I can communicate with the USB connection with the Windows app, so I know at least the inverter is outputting data.

I wired up the components as shown in the instructions and hooked it up to the unit. During boot up, I will get this message: [W][modbus_controller:027]: Modbus device=5 set offline

I'm guessing this may be why it won't retrieve any data. I don't know how to put it into 'online' status. Here's the following debug log entry:

[22:32:09][I][app:100]: ESPHome version 2024.7.3 compiled on Aug 14 2024, 22:31:31 [22:32:09][I][app:102]: Project odya.esphome-powmr-hybrid-inverter version 1.3.3

[22:32:09][C][wifi:427]: Local MAC: 30:AE:A4:97:B6:70 [22:32:09][C][wifi:432]: SSID: [redacted] [22:32:09][C][wifi:435]: IP Address: 192.168.2.124 [22:32:09][C][wifi:439]: BSSID: [redacted]

[22:32:09][C][wifi:442]: Signal strength: -35 dB ▂▄▆█ [22:32:09][V][wifi:444]: Priority: 0.0 [22:32:09][C][wifi:446]: Channel: 10 [22:32:09][C][wifi:447]: Subnet: 255.255.255.0 [22:32:09][C][wifi:448]: Gateway: 192.168.2.1 [22:32:09][C][wifi:449]: DNS1: 192.168.2.10 [22:32:09][C][wifi:450]: DNS2: 192.168.2.1 [22:32:09][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1399 count 1 [22:32:09][V][modbus:210]: Modbus write: 05.03.13.99.00.01.51.25 (8) [22:32:09][V][modbus_controller:557]: Command sent 3 0x1399 1

[22:32:09][C][logger:186]: Level: VERBOSE [22:32:09][C][logger:188]: Log Baud Rate: 0 [22:32:09][C][logger:189]: Hardware UART: UART0 [22:32:09][C][logger:193]: Level for 'component': ERROR [22:32:09][C][logger:193]: Level for 'modbus_controller': VERBOSE [22:32:09][C][logger:193]: Level for 'modbus_controller.text_sensor': WARN [22:32:09][C][logger:193]: Level for 'modbus_controller.sensor': WARN [22:32:09][C][logger:193]: Level for 'modbus_controller.binary_sensor': WARN [22:32:09][C][logger:193]: Level for 'modbus_controller.select': WARN [22:32:09][C][uart.idf:159]: UART Bus 0: [22:32:09][C][uart.idf:160]: TX Pin: GPIO17 [22:32:09][C][uart.idf:161]: RX Pin: GPIO16 [22:32:09][C][uart.idf:163]: RX Buffer Size: 256 [22:32:09][C][uart.idf:165]: Baud Rate: 2400 baud [22:32:09][C][uart.idf:166]: Data Bits: 8 [22:32:09][C][uart.idf:167]: Parity: NONE [22:32:09][C][uart.idf:168]: Stop bits: 1 [22:32:09][C][uart.idf:159]: UART Bus 1: [22:32:09][C][uart.idf:160]: TX Pin: GPIO1 [22:32:09][C][uart.idf:161]: RX Pin: GPIO3 [22:32:09][C][uart.idf:163]: RX Buffer Size: 256 [22:32:09][C][uart.idf:165]: Baud Rate: 9600 baud [22:32:09][C][uart.idf:166]: Data Bits: 8 [22:32:09][C][uart.idf:167]: Parity: NONE [22:32:09][C][uart.idf:168]: Stop bits: 1 [22:32:09][D][uart_debug:114]: >>> 05:03:13:99:00:01:51:25

[22:32:09][C][modbus:154]: Send Wait Time: 250 ms [22:32:09][C][modbus:155]: CRC Disabled: NO

[22:32:09][C][modbus:154]: Send Wait Time: 250 ms [22:32:09][C][modbus:155]: CRC Disabled: NO [22:32:09][C][template.sensor:022]: Template Sensor 'PV Current' [22:32:09][C][template.sensor:022]: Device Class: 'current' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'A' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 1

[22:32:09][C][template.sensor:023]: Update Interval: 60.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Battery Current' [22:32:09][C][template.sensor:022]: Device Class: 'current' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'A' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 1 [22:32:09][C][template.sensor:023]: Update Interval: 15.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Battery Power' [22:32:09][C][template.sensor:022]: Device Class: 'power' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'W' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 0 [22:32:09][C][template.sensor:023]: Update Interval: 15.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Load Power' [22:32:09][C][template.sensor:022]: Device Class: 'power' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'W' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 0 [22:32:09][C][template.sensor:023]: Update Interval: 10.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Load Current' [22:32:09][C][template.sensor:022]: Device Class: 'current' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'A' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 3 [22:32:09][C][template.sensor:023]: Update Interval: 15.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Load Power Factor' [22:32:09][C][template.sensor:022]: Device Class: 'power_factor' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: '' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 2 [22:32:09][C][template.sensor:023]: Update Interval: 15.0s [22:32:09][C][template.sensor:022]: Template Sensor 'Grid Power' [22:32:09][C][template.sensor:022]: Device Class: 'power' [22:32:09][C][template.sensor:022]: State Class: 'measurement' [22:32:09][C][template.sensor:022]: Unit of Measurement: 'W' [22:32:09][C][template.sensor:022]: Accuracy Decimals: 0 [22:32:09][C][template.sensor:023]: Update Interval: 15.0s [22:32:09][C][uptime.sensor:033]: Uptime Sensor 'Uptime' [22:32:09][C][uptime.sensor:033]: Device Class: 'duration' [22:32:09][C][uptime.sensor:033]: State Class: 'total_increasing' [22:32:09][C][uptime.sensor:033]: Unit of Measurement: 's' [22:32:09][C][uptime.sensor:033]: Accuracy Decimals: 0

[22:32:09][V][uptime.sensor:033]: Unique ID: '30aea497b670-uptime' [22:32:09][C][uptime.sensor:034]: Type: Seconds

[22:32:10][C][pzemac:068]: Address: 0x01

[22:32:10][C][pzemac:069]: Device Class: 'voltage' [22:32:10][C][pzemac:069]: State Class: 'measurement' [22:32:10][C][pzemac:069]: Unit of Measurement: 'V' [22:32:10][C][pzemac:069]: Accuracy Decimals: 1

[22:32:10][C][pzemac:070]: Device Class: 'current' [22:32:10][C][pzemac:070]: State Class: 'measurement' [22:32:10][C][pzemac:070]: Unit of Measurement: 'A' [22:32:10][C][pzemac:070]: Accuracy Decimals: 3

[22:32:10][C][pzemac:071]: Device Class: 'power' [22:32:10][C][pzemac:071]: State Class: 'measurement' [22:32:10][C][pzemac:071]: Unit of Measurement: 'W' [22:32:10][C][pzemac:071]: Accuracy Decimals: 2 [22:32:10][C][pzemac:074]: Power Factor 'Grid Power Factor' [22:32:10][C][pzemac:074]: Device Class: 'power_factor' [22:32:10][C][pzemac:074]: State Class: 'measurement' [22:32:10][C][pzemac:074]: Unit of Measurement: '' [22:32:10][C][pzemac:074]: Accuracy Decimals: 2 [22:32:10][C][internal_temperature:076]: Internal Temperature Sensor 'Controller Temperature' [22:32:10][C][internal_temperature:076]: Device Class: 'temperature' [22:32:10][C][internal_temperature:076]: State Class: 'measurement' [22:32:10][C][internal_temperature:076]: Unit of Measurement: '°C' [22:32:10][C][internal_temperature:076]: Accuracy Decimals: 1 [22:32:10][C][homeassistant.time:010]: Home Assistant Time:

[22:32:10][C][mdns:117]: Hostname: powmr-inverter

[22:32:10][V][mdns:120]: - _esphomelib, _tcp, 6053 [22:32:10][V][mdns:122]: TXT: friendly_name = PowMr Inverter 1 [22:32:10][V][mdns:122]: TXT: version = 2024.7.3 [22:32:10][V][mdns:122]: TXT: mac = 30aea497b670 [22:32:10][V][mdns:122]: TXT: platform = ESP32 [22:32:10][V][mdns:122]: TXT: board = esp32dev [22:32:10][V][mdns:122]: TXT: network = wifi [22:32:10][V][mdns:122]: TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256 [22:32:10][V][mdns:122]: TXT: project_name = odya.esphome-powmr-hybrid-inverter [22:32:10][V][mdns:122]: TXT: project_version = 1.3.3 [22:32:10][C][esphome.ota:073]: Over-The-Air updates: [22:32:10][C][esphome.ota:074]: Address: powmr-inverter.local:3232 [22:32:10][C][esphome.ota:075]: Version: 2 [22:32:10][C][esphome.ota:078]: Password configured [22:32:10][C][safe_mode:018]: Safe Mode: [22:32:10][C][safe_mode:020]: Boot considered successful after 60 seconds [22:32:10][C][safe_mode:021]: Invoke after 10 boot attempts [22:32:10][C][safe_mode:023]: Remain in safe mode for 300 seconds [22:32:10][C][api:139]: API Server: [22:32:10][C][api:140]: Address: powmr-inverter.local:6053 [22:32:10][C][api:142]: Using noise encryption: YES [22:32:10][C][wifi_signal.sensor:009]: WiFi Signal 'RSSI' [22:32:10][C][wifi_signal.sensor:009]: Device Class: 'signal_strength' [22:32:10][C][wifi_signal.sensor:009]: State Class: 'measurement' [22:32:10][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm' [22:32:10][C][wifi_signal.sensor:009]: Accuracy Decimals: 0 [22:32:10][V][wifi_signal.sensor:009]: Unique ID: '30aea497b670-wifisignal'

[22:32:10][C][modbus_controller:342]: Address: 0x05

[22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1399 offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x2 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x4 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x6 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x8 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0xA count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0xC count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0xE count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x10 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x12 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x14 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x16 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x18 count=21 size=42 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x42 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x44 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x46 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1196 offset=0x48 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x2 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x4 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x6 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x8 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0xA count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0xC count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0xE count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x10 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x12 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x14 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x16 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x18 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x1A count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x1C count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x1C count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x11BC offset=0x1E count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x138A offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x138F offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x1391 offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x139A offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x139E offset=0x0 count=1 size=2 [22:32:10][C][modbus_controller:348]: Sensor type=3 start=0x13A0 offset=0x0 count=1 size=2

[22:32:10][C][modbus_controller:353]: Range type=3 start=0x1399 count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x1196 count=37 skip_updates=0 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x11BC count=16 skip_updates=0 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x138A count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x138F count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x1391 count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x139A count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x139E count=1 skip_updates=2 [22:32:10][C][modbus_controller:353]: Range type=3 start=0x13A0 count=1 skip_updates=2 [22:32:10][C][modbus_controller:355]: server registers [22:32:10][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1399 count 1 [22:32:10][V][modbus:210]: Modbus write: 05.03.13.99.00.01.51.25 (8) [22:32:10][V][modbus_controller:557]: Command sent 3 0x1399 1 [22:32:10][D][uart_debug:114]: >>> 05:03:13:99:00:01:51:25 [22:32:10][V][internal_temperature:034]: Raw temperature value: 171 [22:32:10][V][sensor:043]: 'Controller Temperature': Received new state 77.222221 [22:32:10][D][sensor:094]: 'Controller Temperature': Sending state 77.22222 °C with 1 decimals of accuracy [22:32:11][V][sensor:043]: 'Load Power': Received new state nan [22:32:11][D][sensor:094]: 'Load Power': Sending state nan W with 0 decimals of accuracy [22:32:11][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1399 count 1 [22:32:11][V][modbus:210]: Modbus write: 05.03.13.99.00.01.51.25 (8) [22:32:11][V][modbus_controller:557]: Command sent 3 0x1399 1 [22:32:11][V][sensor:043]: 'Load Current': Received new state nan [22:32:11][D][sensor:094]: 'Load Current': Sending state nan A with 3 decimals of accuracy [22:32:11][D][uart_debug:114]: >>> 05:03:13:99:00:01:51:25 [22:32:12][V][modbus:210]: Modbus write: 01.04.00.00.00.0A.70.0D (8) [22:32:12][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1399 count 1 [22:32:12][V][modbus:210]: Modbus write: 05.03.13.99.00.01.51.25 (8) [22:32:12][V][modbus_controller:557]: Command sent 3 0x1399 1 [22:32:12][D][uart_debug:114]: >>> 05:03:13:99:00:01:51:25 [22:32:13][D][sensor:094]: 'Battery Current': Sending state nan A with 1 decimals of accuracy [22:32:13][W][modbus_controller:027]: Modbus device=5 set offline [22:32:13][D][modbus_controller:040]: Modbus command to device=5 register=0x1399 countdown=0 no response received - removed from send queue [22:32:13][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1196 count 37 [22:32:13][V][modbus:210]: Modbus write: 05.03.11.96.00.25.60.85 (8) [22:32:13][V][modbus_controller:557]: Command sent 3 0x1196 37 [22:32:14][D][uart_debug:114]: >>> 05:03:11:96:00:25:60:85 [22:32:14][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1196 count 37 [22:32:14][V][modbus:210]: Modbus write: 05.03.11.96.00.25.60.85 (8) [22:32:14][V][modbus_controller:557]: Command sent 3 0x1196 37 [22:32:15][D][uart_debug:114]: >>> 05:03:11:96:00:25:60:85 [22:32:15][V][sensor:043]: 'Battery Current': Received new state nan [22:32:15][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1196 count 37 [22:32:16][V][modbus:210]: Modbus write: 05.03.11.96.00.25.60.85 (8) [22:32:16][V][modbus_controller:557]: Command sent 3 0x1196 37 [22:32:16][D][uart_debug:114]: >>> 05:03:11:96:00:25:60:85 [22:32:17][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1196 count 37 [22:32:17][V][modbus:210]: Modbus write: 05.03.11.96.00.25.60.85 (8) [22:32:17][V][modbus_controller:557]: Command sent 3 0x1196 37 [22:32:17][D][uart_debug:114]: >>> 05:03:11:96:00:25:60:85 [22:32:17][V][modbus:210]: Modbus write: 01.04.00.00.00.0A.70.0D (8) [22:32:17][V][sensor:043]: 'Load Power Factor': Received new state nan [22:32:17][D][sensor:094]: 'Load Power Factor': Sending state nan with 2 decimals of accuracy [22:32:18][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x1196 count 37 [22:32:18][V][modbus:210]: Modbus write: 05.03.11.96.00.25.60.85 (8) [22:32:18][V][modbus_controller:557]: Command sent 3 0x1196 37 [22:32:18][D][uart_debug:114]: >>> 05:03:11:96:00:25:60:85 [22:32:18][V][sensor:043]: 'Battery Power': Received new state nan [22:32:18][D][sensor:094]: 'Battery Power': Sending state nan W with 0 decimals of accuracy [22:32:18][V][sensor:043]: 'Grid Power': Received new state nan [22:32:18][D][sensor:094]: 'Grid Power': Sending state nan W with 0 decimals of accuracy [22:32:19][D][modbus_controller:040]: Modbus command to device=5 register=0x1196 countdown=0 no response received - removed from send queue [22:32:19][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x11BC count 16 [22:32:19][V][modbus:210]: Modbus write: 05.03.11.BC.00.10.81.5A (8) [22:32:19][V][modbus_controller:557]: Command sent 3 0x11BC 16 [22:32:19][D][uart_debug:114]: >>> 05:03:11:BC:00:10:81:5A [22:32:20][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x11BC count 16 [22:32:20][V][modbus:210]: Modbus write: 05.03.11.BC.00.10.81.5A (8) [22:32:20][V][modbus_controller:557]: Command sent 3 0x11BC 16 [22:32:20][D][uart_debug:114]: >>> 05:03:11:BC:00:10:81:5A [22:32:20][V][internal_temperature:034]: Raw temperature value: 128 [22:32:20][D][internal_temperature:069]: Ignoring invalid temperature (success=0, value=53.3) [22:32:21][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x11BC count 16 [22:32:21][V][modbus:210]: Modbus write: 05.03.11.BC.00.10.81.5A (8) [22:32:21][V][modbus_controller:557]: Command sent 3 0x11BC 16 [22:32:21][D][uart_debug:114]: >>> 05:03:11:BC:00:10:81:5A [22:32:21][V][sensor:043]: 'Load Power': Received new state nan [22:32:21][D][sensor:094]: 'Load Power': Sending state nan W with 0 decimals of accuracy [22:32:21][V][modbus_controller:222]: 7 modbus commands already in queue [22:32:21][V][modbus_controller:191]: Range : 1399 Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 1196 Size: 25 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 11BC Size: 10 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 138A Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 138F Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 1391 Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 139A Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 139E Size: 1 (3) skip: 100 [22:32:21][V][modbus_controller:191]: Range : 13A0 Size: 1 (3) skip: 100 [22:32:22][V][modbus:210]: Modbus write: 01.04.00.00.00.0A.70.0D (8) [22:32:22][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x11BC count 16 [22:32:22][V][modbus:210]: Modbus write: 05.03.11.BC.00.10.81.5A (8) [22:32:22][V][modbus_controller:557]: Command sent 3 0x11BC 16 [22:32:22][D][uart_debug:114]: >>> 05:03:11:BC:00:10:81:5A [22:32:23][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x11BC count 16 [22:32:23][V][modbus:210]: Modbus write: 05.03.11.BC.00.10.81.5A (8) [22:32:23][V][modbus_controller:557]: Command sent 3 0x11BC 16 [22:32:23][D][sensor:094]: 'Battery Current': Sending state nan A with 1 decimals of accuracy [22:32:23][D][uart_debug:114]: >>> 05:03:11:BC:00:10:81:5A [22:32:24][D][modbus_controller:040]: Modbus command to device=5 register=0x11BC countdown=0 no response received - removed from send queue [22:32:24][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x138A count 1 [22:32:24][V][modbus:210]: Modbus write: 05.03.13.8A.00.01.A0.E0 (8) [22:32:24][V][modbus_controller:557]: Command sent 3 0x138A 1 [22:32:24][D][uart_debug:114]: >>> 05:03:13:8A:00:01:A0:E0 [22:32:25][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x138A count 1 [22:32:25][V][modbus:210]: Modbus write: 05.03.13.8A.00.01.A0.E0 (8) [22:32:25][V][modbus_controller:557]: Command sent 3 0x138A 1 [22:32:25][D][uart_debug:114]: >>> 05:03:13:8A:00:01:A0:E0 [22:32:26][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x138A count 1 [22:32:26][V][modbus:210]: Modbus write: 05.03.13.8A.00.01.A0.E0 (8) [22:32:26][V][modbus_controller:557]: Command sent 3 0x138A 1 [22:32:26][D][uart_debug:114]: >>> 05:03:13:8A:00:01:A0:E0 [22:32:26][V][sensor:043]: 'Load Current': Received new state nan [22:32:26][D][sensor:094]: 'Load Current': Sending state nan A with 3 decimals of accuracy [22:32:27][V][modbus:210]: Modbus write: 01.04.00.00.00.0A.70.0D (8) [22:32:27][V][modbus_controller:044]: Sending next modbus command to device 5 register 0x138A count 1 [22:32:27][V][modbus:210]: Modbus write: 05.03.13.8A.00.01.A0.E0 (8) [22:32:27][V][modbus_controller:557]: Command sent 3 0x138A 1 [22:32:27][D][uart_debug:114]: >>> 05:03:13:8A:00:01:A0:E0

Not sure how much more I need to include.

korishan commented 4 weeks ago

this seems off, I know the soc isn't that hot: Controller Temperature': Sending state 77.22222 °C with 1 decimals of accuracy So maybe there's more going on here than just not communicating?

korishan commented 4 weeks ago

powmr-inverter.yaml: substitutions: device_name: "powmr-inverter" node_name: "PowMr Inverter 1" node_id: powmr_inverter inverter_tx_pin: GPIO16 inverter_rx_pin: GPIO17 inverter_voltage_offset: "0" pzem_tx_pin: GPIO1 pzem_rx_pin: GPIO3 pzem_voltage_offset: "1" pzem_current_offset: "0.04" update_interval: 15s # Minimum 10s recommended to avoid duplicate command errors select_skip_updates: "2" pzem_update_interval: 5s # Needs to be 1/5 of update interval because of smoothing filter on pzem readings

esp32: board: esp32dev framework: type: esp-idf

packages: main: !include powmr-inverter/main.yaml common_defaults: !include includes/defaults.yaml common_sensors: !include powmr-inverter/common_sensors.yaml

logger: level: VERBOSE logs: component: ERROR # Fix for issue #4717 "Component xxxxxx took a long time for an operation" modbus_controller: VERBOSE modbus_controller.text_sensor: WARN modbus_controller.sensor: WARN modbus_controller.binary_sensor: WARN modbus_controller.select: WARN

====================== inverter.yaml:

uart:

modbus:

modbus_controller:

aver-ua commented 4 weeks ago

If everything is connected correctly, it looks like this model is not supported.. You can try this project: https://github.com/lufton/esphome-inv-8851

dimonezz commented 2 days ago

The problem is the same, I use the POW-HVM3.2H-24V inverter. The data I receive is Temperature Controller, RSSI, Uptime. All other values ​​are "unknown".

aver-ua commented 2 days ago

@dimonezz check your wirings, looks like there is no uart connection 3.2 model must be working

dimonezz commented 2 days ago

@dimonezz проверьте проводку, похоже, нет подключения UART, модель 3.2 должна работать

I looked at the wires, swapped them, changed the TTL-RS converter, I'll look again. Thank you