Changed default slave/device address to 1 (#36876)

Pymodbus version 3.7.0 changed the default address to 1 from 0, that it is identified as brodcast address. I forgot to change the doc when I bumped pymodbus 3.7.4.
This commit is contained in:
Claudio Ruggeri - CR-Tech 2025-01-13 15:38:20 +01:00 committed by GitHub
parent afa68c45f6
commit 74a6cc9eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,12 +369,12 @@ slave:
description: "Identical to `device_address`"
required: false
type: integer
default: 0
default: 1
device_address:
description: "Id of the device. Used to address multiple devices on a rs485 bus or devices connected to a modbus repeater."
description: "Id of the device. Used to address multiple devices on a rs485 bus or devices connected to a modbus repeater. 0 is the broadcast id. "
required: false
type: integer
default: 0
default: 1
unique_id:
description: "ID that uniquely identifies this entity.
Slaves will be given a unique_id of <<unique_id>>_<<slave_index>>.