Skip to content

Commit 7ed7b83

Browse files
kroimonbdraco
andauthored
[uponor_smatrix] Use combined 32 bit addresses instead of separate 16 bit system and device addresses (#5452)
* [uponor_smatrix] Use combined 32 bit addresses instead of separate 16 bit system and device addresses * Remove blank line --------- Co-authored-by: J. Nick Koston <[email protected]>
1 parent 2085e28 commit 7ed7b83

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

content/components/uponor_smatrix.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The [UART Component](#uart) must be configured with a baud rate of 19200, 8 data
2222

2323
## Getting started
2424

25-
The controller and the thermostats have unique addresses used for communication that are not displayed anywhere but can only be found when scanning the bus.
25+
The thermostats have unique addresses used for communication that are not displayed anywhere but can only be found when scanning the bus.
2626
Start with a basic configuration that just contains the UART and Uponor hub components. Make sure that the UART pins are configured according to your wiring and the baud rate is set to 19200.
2727

2828
```yaml
@@ -32,28 +32,32 @@ uponor_smatrix:
3232
When you upload this configuration to your ESPHome device and connect it to the Uponor Smatrix bus, it will print a list of detected addresses to the log output.
3333
3434
```text
35-
[00:00:00][C][uponor_smatrix:019]: Uponor Smatrix
36-
[00:00:00][C][uponor_smatrix:020]: System address: 0x110B
35+
[00:00:00][C][uponor_smatrix:020]: Uponor Smatrix
3736
[00:00:00][C][uponor_smatrix:031]: Detected unknown device addresses:
38-
[00:00:00][C][uponor_smatrix:033]: 0xDE62
39-
[00:00:00][C][uponor_smatrix:033]: 0xDDFF
40-
[00:00:00][C][uponor_smatrix:033]: 0xDE72
41-
[00:00:00][C][uponor_smatrix:033]: 0xDE4A
42-
[00:00:00][C][uponor_smatrix:033]: 0xDE13
37+
[00:00:00][C][uponor_smatrix:033]: 0x110BDE62
38+
[00:00:00][C][uponor_smatrix:033]: 0x110BDDFF
39+
[00:00:00][C][uponor_smatrix:033]: 0x110BDE72
40+
[00:00:00][C][uponor_smatrix:033]: 0x110BDE4A
41+
[00:00:00][C][uponor_smatrix:033]: 0x110BDE13
4342
```
4443
45-
With that you can then add `climate` or `sensor` components for the detected devices. Optionally, you can also statically add the detected system address to your `uponor_smatrix` configuration.
44+
With that you can then add `climate` or `sensor` components for the detected devices.
4645

4746
```yaml
4847
uponor_smatrix:
49-
address: 0x110B
5048
5149
climate:
5250
- platform: uponor_smatrix
53-
address: 0xDE13
51+
address: 0x110BDE13
5452
name: Thermostat Living Room
5553
```
5654

55+
> [!IMPORTANT]
56+
> Previous versions of the component used a 16 bit system address in addition to 16 bit device addresses.
57+
> This has now been combined into 32 bit device addresses.
58+
> Please update your configuration by prepending the old system address to your device addresses.
59+
> **Example:** The system address 0x110B and device address 0xDE13 should now become 0x110BDE13.
60+
5761
## Component/Hub
5862

5963
The main `uponor_smatrix` component is responsible for the communication with the controller and thermostats and distributes data to the climate and sensor components described below.
@@ -62,35 +66,33 @@ It is also able to synchronize the date and time of the thermostats with a time
6266

6367
```yaml
6468
uponor_smatrix:
65-
address: 0x110B
6669
uart_id: my_uart
6770
time_id: my_time
6871
```
6972

7073
### Configuration variables
7174

72-
- **address** (*Optional*, int): The 16 bit system/controller address. This will be automatically detected from the bus if not specified. See [Getting started](#uponor-gettingstarted) on how to find the address.
7375
- **uart_id** (*Optional*, [ID](#config-id)): Manually specify the ID of the [UART Component](#uart) if you want to use multiple UART buses.
7476
- **time_id** (*Optional*, [ID](#config-id)): Specify the ID of the {{< docref "time/index" "Time Component" >}} to use as the time source if you want ESPHome to automatically synchronize the date and time of the thermostats.
75-
- **time_device_address** (*Optional*, int): The 16 bit device address of the thermostat that keeps the system time. This will be automatically detected from the bus if not specified.
77+
- **time_device_address** (*Optional*, int): The 32 bit device address of the thermostat that keeps the system time. This will be automatically detected from the bus if not specified.
7678
It needs to be the device address of the first thermostat that was paired to the controller, and the one where you can manually change the date and time via the buttons on the thermostat.
7779

7880
> [!NOTE]
79-
> The system address and the address of the thermostat keeping the time will be automatically detected from the bus if not specified in the configuration!
80-
> You can safely leave out those parameters in almost all cases.
81+
> The address of the thermostat keeping the time will be automatically detected from the bus if not specified in the configuration!
82+
> You can safely leave it out in almost all cases. Time synchronization should work automatically as long as you add any time component to your configuration.
8183

8284
## Climate
8385

8486
```yaml
8587
climate:
8688
- platform: uponor_smatrix
87-
address: 0xDE13
89+
address: 0x110BDE13
8890
name: Thermostat Living Room
8991
```
9092

9193
### Configuration variables
9294

93-
- **address** (**Required**, int): The 16 bit device address of the thermostat. See [Getting started](#uponor-gettingstarted) on how to find the address.
95+
- **address** (**Required**, int): The 32 bit device address of the thermostat. See [Getting started](#uponor-gettingstarted) on how to find the address.
9496
- **uponor_smatrix_id** (*Optional*, [ID](#config-id)): Manually specify the ID of the `uponor_smatrix` hub component if you want to use multiple hub components on one ESPHome device.
9597
- All options from [Climate](#config-climate).
9698

@@ -99,7 +101,7 @@ climate:
99101
```yaml
100102
sensor:
101103
- platform: uponor_smatrix
102-
address: 0xDE13
104+
address: 0x110BDE13
103105
humidity:
104106
name: Humidity Living Room
105107
temperature:
@@ -112,7 +114,7 @@ sensor:
112114

113115
### Configuration variables
114116

115-
- **address** (**Required**, int): The 16 bit device address of the thermostat. See [Getting started](#uponor-gettingstarted) on how to find the address.
117+
- **address** (**Required**, int): The 32 bit device address of the thermostat. See [Getting started](#uponor-gettingstarted) on how to find the address.
116118
- **uponor_smatrix_id** (*Optional*, [ID](#config-id)): Manually specify the ID of the `uponor_smatrix` hub component if you want to use multiple hub components on one ESPHome device.
117119
- **humidity** (*Optional*): A sensor reading the current humidity the thermostat reports.
118120
All options from [Sensor](#config-sensor).

0 commit comments

Comments
 (0)