logo elektroda
logo elektroda
X
logo elektroda

How to Integrate TAC4300-CT and KWS-303L Meters via ET69C02 LAN/RS-485 in Home Assistant

kmarkot 72 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21691159
    kmarkot
    Level 29  
    LAN/RS-485 converter ET69C02

    ET69C02 converter board with Ethernet port and RS-485 terminal connectors .

    DHCP in this converter is disabled you can enable it
    https://youtu.be/QN_S2Ff1y04?si=EZ2IKUe2BmcGF-h4
    Configuration
    Screenshot of LAN/RS-485 converter configuration at IP 192.168.50.65

    TAC4300-CT bidirectional three-phase meter

    Three-phase energy meter with LCD display and three KCT16 100A/5A current transformers.

    https://github.com/esphome/feature-requests/issues/2727
    https://yizhantongimage.oss-accelerate.aliyuncs.com/UploadFiles/20221202134151415143.pdf
    You need to set the communication address according to instruction(2. Setting the modbus communication address) 255 in the configuration.yaml slave file: 255


    Counter KWS-303L

    KWS-303L meter with TFT screen and RS-485 port, front and side view .

    https://github.com/baldale/kws-303l

    https://www.nikom.biz/pic_info/A578019/KWS-30...CeZheOBComuL-5NjpN3FJNHneP4HM9k-fqnb3LWdVLkDk
    change language from Chinese to English there are some bushes with EN ending
    Set modbus address the same as in configuration.yaml slave: 101


    Configuration Home assistant https://www.home-assistant.io/integrations/modbus/
    configuration.yaml

    
    
    modbus:
      - name: Modbus
        type: tcp #rtuovertcp
        host: 192.168.50.65
        port: 502
        switches:
          - name: Switch on/off
            slave: 255
            address: 63
            command_on: 1
            command_off: 0
            verify:
                input_type: holding
                address: 63
                state_on: 1
                state_off: 0
        sensors:
          - name: KWS-303L Napięcie sieci
            unit_of_measurement: V
            scale: 0.01
            precision: 1
            slave: 255
            address: 14
          - name: KWS-303L Prąd
            unit_of_measurement: A
            scale: 0.001
            precision: 2
            slave: 255
            address: 18      
          - name: KWS-303L Moc
            unit_of_measurement: W
            scale: 0.1
            precision: 1
            slave: 255
            address: 26
          - name: KWS-303L Energia pobrana
            unit_of_measurement: kWh
            scale: 0.001
            precision: 2
            slave: 255
            address: 55    
    #
          - name: tac4300ct UL1
            data_type: uint32
            unit_of_measurement: V
            scale: 0.01
            precision: 1
            slave: 101
            address: 0
          - name: tac4300ct UL2
            data_type: uint32    
            unit_of_measurement: V
            scale: 0.01
            precision: 1
            slave: 101
            address: 2
          - name: tac4300ct UL3
            data_type: uint32      
            unit_of_measurement: V
            scale: 0.01
            precision: 1
            slave: 101
            address: 4        
          - name: tac4300ct Moc  L1 active
            data_type: int32
            unit_of_measurement: kW
            scale: 0.001
            precision: 3
            slave: 101
            address: 12
            device_class: power
            state_class: measurement            
          - name: tac4300ct Moc  L2 active
            data_type: int32
            unit_of_measurement: kW
            scale: 0.001
            precision: 3
            slave: 101
            address: 14
            device_class: power
            state_class: measurement
          - name: tac4300ct Moc  L3 active
            data_type: int32
            unit_of_measurement: kW
            scale: 0.001
            precision: 3
            slave: 101
            address: 16
            device_class: power
            state_class: measurement                 
          - name: tac4300ct Total import active energy.
            data_type: int32
            unit_of_measurement: kWh
            scale: 0.01
            precision: 3
            slave: 101
            address: 0x0400
            device_class: energy
            state_class: total_increasing
          - name: tac4300ct Total export active energy
            data_type: int32
            unit_of_measurement: kWh
            scale: 0.01
            precision: 3
            slave: 101
            address: 0x0402
            device_class: energy
            state_class: total_increasing 
    
    .

    Developer tools -> Check configuration

    Then click on "Modbus domain" ( if this option is not there then you need to restart HA)
  • ADVERTISEMENT
ADVERTISEMENT