-
Notifications
You must be signed in to change notification settings - Fork 9
0100: Localisation (language)
In this pair of packets, a TRV has had it's language set to de (German) by the user and so sent an RQ
. The controller has forced it back to en (English) via an RP
.
045 RQ --- 04:056057 01:145038 --:------ 0100 005 006465FFFF
047 RP --- 01:145038 04:056057 --:------ 0100 005 00656EFFFF
The controller will always respond to an 0100
with an empty payload, indicating its language:
045 RQ --- 04:056057 01:145038 --:------ 0100 005 00
047 RP --- 01:145038 04:056057 --:------ 0100 005 00656EFFFF
The language codes appear to be ISO 639-compatible.
segment | size | contents |
---|---|---|
unused | [0:2] | always 00 |
language | [2:6] | ISO 639 string |
unused | [6:8] | always FF |
It is assumed that the ISO 639 string could be 4 characters, such as de-ch (Swiss German), although none of these have been seen in the wild.
Using Python, the payload can be decoded as:
from curses.ascii import isprint
def _str(seqx) -> Optional[str]:
_string = bytearray([x for x in bytearray.fromhex(seqx) if x < 128 and isprint(x)])
return _string.decode() if _string else None
def parser_0100(payload, msg) -> Optional[dict]:
assert len(payload) / 2 == 5 # len(RQ) = 5 too
assert payload[:2] == "00"
assert payload[6:] == "FFFF"
return {"language": _str(payload[2:6])}
The Controller has a language setting.
There's also a setting in the TRVs where you can set the language; if it is changed, the controller will overrule it later on.
In both cases it looks like there's only a selection between about 5 languages, and no sublanguage (e.g. en-ca, fr-ca), although it appears there's a space for it inside the payload segment.
Supported languages: English, Deutsch, Italiano, Francais, Nederlands, Espanol, Polski, Cesky, Magyar, Romana, Slovencina & Dansk.
0001
RF Check0004
Zone name0008
Relay demand0009
Relay failsafe000A
Zone config000C
Zone actuators0016
RF signal test0100
Localisation0404
Zone schedule0418
System fault1030
Mix zone config1060
Battery state10A0
DHW setpoint10E0
Device info1100
Boiler relay info1260
DHW temperature12B0
Window sensor1F09
System Sync1F41
DHW mode1FC9
RF bind1FD4
Opentherm ticker22C9
UFH setpoint22D9
Boiler setpoint2309
Zone setpoint2349
Setpoint override2E04
Controller mode30C9
Zone temperature313F
System datetime3150
Heat demand3220
Opentherm message3B00
Actuator sync3EF0
Actuator info3EF1
Actuator unknown
0002
External sensor0005
Zone management0006
Schedule sync000E
Unknown01D0
Unknown01E9
Unknown042F
Unknown1280
Outdoor humidity1290
Outdoor temp12A0
Indoor humidity2249
Now/next setpoint22D0
UFH unknown22F1
Ventilation unit command22F3
Ventilation unit temp. high2389
Unknown2D49
Unknown3120
Unknown31D9
HVAC Unknown31DA
HVAC Unknown31E0
HVAC Unknown