Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors and Warnings (Slow to no updates at all) #326

Open
PokoLoko2014 opened this issue Aug 20, 2024 · 1 comment
Open

Errors and Warnings (Slow to no updates at all) #326

PokoLoko2014 opened this issue Aug 20, 2024 · 1 comment

Comments

@PokoLoko2014
Copy link

Issue related to

Sunsynk / mbusd Home Assistant Add-On

Describe the issue/bug

Since I connected the Felicity Battery today, the Addon no longer works properly. The values are no longer updated as quickly as before.

Your environment

  • Home Assistant version: 2023.8.x
  • Addon:
    • Name: sunsynk-multi
    • Version: 0.6.5
  • Inverter:
    • Make: Deye 12K 3 Phase LV

    • RS485/RS232 brand

You configuration

DRIVER: umodbus
INVERTERS:
  - SERIAL_NR: "123456"
    HA_PREFIX: Deye
    MODBUS_ID: 1
    DONGLE_SERIAL_NUMBER: "0"
    PORT: serial:///dev/ttyUSB0
SENSOR_DEFINITIONS: three-phase
SENSORS:
  - battery_temperature
  - battery_voltage
  - battery_soc
  - battery_power
  - battery_current
  - inverter_power
  - inverter l1_power
  - inverter l2_power
  - inverter l3_power
  - inverter_voltage
  - inverter_frequency
  - grid_frequency
  - grid_power
  - grid_l1_power
  - grid_l2_power
  - grid_l3_power
  - grid_voltage
  - grid_current
  - grid_ct_power
  - load_power
  - load_l1_power
  - load_l2_power
  - load_l3_power
  - pv1_power
  - pv1_voltage
  - pv1_current
  - pv2_power
  - pv2_voltage
  - pv2_current
  - gen_power
  - gen_l1_power
  - gen_l2_power
  - gen_l3_power
  - day_active_energy
  - day_battery_charge
  - day_battery_discharge
  - day_grid_export
  - day_grid_import
  - day_gen_energy
  - day_load_energy
  - day_pv_energy
  - total_active_energy
  - total_battery_charge
  - total_battery_discharge
  - total_grid_export
  - total_grid_import
  - total_load_energy
  - total_pv_energy
  - dc_transformer_temperature
  - radiator_temperature
SENSORS_FIRST_INVERTER: []
MANUFACTURER: Deye
READ_ALLOW_GAP: 2
READ_SENSORS_BATCH_SIZE: 20
SCHEDULES:
  - KEY: W
    READ_EVERY: 5
    REPORT_EVERY: 15
    CHANGE_ANY: false
    CHANGE_PERCENT: 0
  - KEY: KWH
    READ_EVERY: 15
    REPORT_EVERY: 15
  - KEY: any_unit
    READ_EVERY: 15
    REPORT_EVERY: 15
NUMBER_ENTITY_MODE: auto
MQTT_HOST: 192.168.178.21
MQTT_PORT: 1883
MQTT_USERNAME: xxx
MQTT_PASSWORD: xxx
DEBUG: 0
DEBUG_DEVICE: /dev/serial/by-id/usb-FTDI_USB_Serial_Converter_FTB6SPL3-if00-port0

Logs

    ; KeyError reading 6 registers from 622: 53; CRCError reading 6 registers from 633: CRC validation failed.; CRCError reading 4 registers from 664: CRC validation failed.; CRCError reading 2 registers from 672: CRC validation failed.; CRCError reading 4 registers from 676: CRC validation failed. poll_need_to_read
13:48:05 ERROR   OSError in read_deye: CRCError reading 1 registers from 590: CRC validation failed.; CRCError reading 1 registers from 619: CRC validation failed.; CRCError reading 4 registers from 622: CRC validation failed.; CRCError reading 4 registers from 633: CRC validation failed.; CRCError reading 2 registers from 672: CRC validation failed. poll_need_to_read
13:48:07 WARNING No history for TempSensor(address=(540,), name='DC transformer temperature', unit='°C', factor=0.1, bitmask=0)
13:48:07 WARNING No history for TempSensor(address=(541,), name='Radiator temperature', unit='°C', factor=0.1, bitmask=0)
13:48:10 ERROR   OSError in read_deye: KeyError reading 1 registers from 590: 32; CRCError reading 1 registers from 619: CRC validation failed.; CRCError reading 4 registers from 622: CRC validation failed.; CRCError reading 4 registers from 650: CRC validation failed.; MemoryParityError reading 4 registers from 664: ; KeyError reading 2 registers from 672: 0 poll_need_to_read
13:48:25 ERROR   OSError in read_deye: KeyError reading 1 registers from 502: 255; KeyError reading 2 registers from 506: 98; KeyError reading 16 registers from 514: 255; IllegalFunctionError reading 3 registers from 534: Function code is not an allowable action for the server.; KeyError reading 2 registers from 540: 0; IllegalFunctionError reading 6 registers from 586: Function code is not an allowable action for the server.; KeyError reading 1 registers from 600: 24; AttributeError reading 4 registers from 609: 'Serial' object has no attribute 'host'; CRCError reading 6 registers from 622: CRC validation failed.; CRCError reading 6 registers from 633: CRC validation failed.; CRCError reading 4 registers from 650: CRC validation failed.; CRCError reading 4 registers from 664: CRC validation failed.; CRCError reading 2 registers from 672: CRC validation failed. poll_need_to_read
13:48:27 WARNING No history for TempSensor(address=(540,), name='DC transformer temperature', unit='°C', factor=0.1, bitmask=0)
13:48:27 WARNING No history for TempSensor(address=(541,), name='Radiator temperature', unit='°C', factor=0.1, bitmask=
@kellerza
Copy link
Owner

kellerza commented Sep 6, 2024

Do you see a pattern with the register numbers? (Look at the definitions python file to link numbers to names)

maybe you can try less sensors as a start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants