Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103038

Modbus configuration: duplicate address, entity not loaded

$
0
0

Hi guys!
I have this modbus configuration for 5 shutters, a single address (570) and a single slave (66).

modbus:
  - name: hub1
    type: serial
    method: rtu
    port: /dev/ttyUSB0
    baudrate: 9600
    stopbits: 1
    bytesize: 8
    parity: E    
    sensors:
      - name: read_status_shutter
        slave: 66
        address: 606
        scale: 1
        data_type: int16
        scan_interval: 5

    switches:
      - name: shutter_stop
        slave: 66
        address: 570
        command_on: 40
        verify:
            input_type: holding
            address: 606
            state_off: 0

    covers:
      - name: "shutter 0"
        device_class: shutter
        state_open: 51
        state_opening: 1
        state_closed: 41
        state_closing: 64
        status_register: 606
        slave: 66
        address: 570
      - name: "shutter 1"
        device_class: shutter
        state_open: 52
        state_opening: 2
        state_closed: 42
        state_closing: 66
        status_register: 606
        slave: 66
        address: 570
      - name: "shutter 2"
        device_class: shutter
        state_open: 53
        state_opening: 4
        state_closed: 43
        state_closing: 68
        status_register: 606
        slave: 66
        address: 570
      - name: "shutter 3"
        device_class: shutter
        state_open: 54
        state_opening: 8
        state_closed: 44
        state_closing: 72
        status_register: 606
        slave: 66
        address: 570
      - name: "shutter 4"
        device_class: shutter
        state_open: 55
        state_opening: 16
        state_closed: 45
        state_closing: 80
        status_register: 606
        slave: 66
        address: 570

When I restart the HA server I have this problem

Logger: homeassistant.components.modbus.validators
Source: components/modbus/validators.py:202
Integration: Modbus (documentation, issues)
First occurred: 21:17:42 (4 occurrences)
Last logged: 21:17:42

  • Modbus cover/shutter 1 address 570_66 is duplicate, second entry not loaded!
  • Modbus cover/shutter 2 address 570_66 is duplicate, second entry not loaded!
  • Modbus cover/shutter 3 address 570_66 is duplicate, second entry not loaded!
  • Modbus cover/shutter 4 address 570_66 is duplicate, second entry not loaded!

So, I don’t have the 5 entities of my shutters, but only the first one is created.
Anyone have any advice for me?
Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>