From 74a6cc9eb511c7fa6df7412eb28235a88e660523 Mon Sep 17 00:00:00 2001 From: Claudio Ruggeri - CR-Tech <41435902+crug80@users.noreply.github.com> Date: Mon, 13 Jan 2025 15:38:20 +0100 Subject: [PATCH] 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. --- source/_integrations/modbus.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_integrations/modbus.markdown b/source/_integrations/modbus.markdown index c578afd80da..8e6183ac9e1 100644 --- a/source/_integrations/modbus.markdown +++ b/source/_integrations/modbus.markdown @@ -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 <>_<>.