pawelka / sofarsolar_esp_rs485_logger

57 stars 21 forks source link

Missing Data #16

Closed tempod closed 2 years ago

tempod commented 2 years ago

Hello. Congratulations again for the excellent work I switched from custom firmware to esphome I noticed that this data is missing

pv1_insulation_resistance pv2_insulation_resistance isolation_impedance

is it possible to add them?

pawelka commented 2 years ago

You can check below sensor, it's a little beat guess and info what I have, because I don't scale and data type.

  - platform: modbus_controller
    modbus_controller_id: sofarsolar
    name: ${friendly_name} PV1 insulation resistance
    id: pv1_insulation_resistance
    register_type: holding
    address: 0x0024
    unit_of_measurement: "Ω"
    value_type: U_WORD
  - platform: modbus_controller
    modbus_controller_id: sofarsolar
    name: ${friendly_name} PV2 insulation resistance
    id: pv2_insulation_resistance
    register_type: holding
    address: 0x0025
    unit_of_measurement: "Ω"
    value_type: U_WORD
  - platform: modbus_controller
    modbus_controller_id: sofarsolar
    name: ${friendly_name} PV insulation 
    id: pv_insulation_resistance
    register_type: holding
    address: 0x0026
    unit_of_measurement: "Ω"
    value_type: U_WORD
tempod commented 2 years ago

It works perfectly. Thank you.