Skip to content

Commit

Permalink
Add resource item for external temperature measurement for Bosch Ther…
Browse files Browse the repository at this point in the history
…mostat II (#7467)
  • Loading branch information
SwoopX authored Dec 27, 2023
1 parent 5fc6751 commit 50ccce7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
39 changes: 38 additions & 1 deletion devices/bosch/thermostat2.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,35 @@
},
"default": false
},
{
"name": "config/externalsensortemp",
"refresh.interval": 360,
"read": {
"at": "0x4040",
"cl": "0x0201",
"ep": 1,
"fn": "zcl:attr",
"mf": "0x1209"
},
"parse": {
"at": "0x4040",
"cl": "0x0201",
"ep": 1,
"eval": "Item.val = Attr.val;",
"fn": "zcl:attr",
"mf": "0x1209"
},
"write": {
"at": "0x4040",
"cl": "0x0201",
"dt": "0x29",
"ep": 1,
"eval": "Item.val = Attr.val;",
"fn": "zcl:attr",
"mf": "0x1209"
},
"default": 0
},
{
"name": "config/externalwindowopen",
"refresh.interval": 3660,
Expand Down Expand Up @@ -209,7 +238,15 @@
"name": "config/reachable"
},
{
"name": "config/schedule"
"name": "config/schedule",
"refresh.interval": 3660,
"read": {
"fn": "zcl:cmd",
"ep": "0x01",
"cl": "0x0201",
"cmd": "0x02",
"eval": "'7F01'"
}
},
{
"name": "config/schedule_on",
Expand Down
2 changes: 1 addition & 1 deletion general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,7 @@ Note: It does not clear or delete previous weekly schedule programming configura
<value name="3" value="0x03"></value>
<value name="4" value="0x04"></value>
</attribute>
<attribute id="0x4040" name="Unknown" type="s16" access="rw" required="o" mfcode="0x1209"></attribute>
<attribute id="0x4040" name="External Measured Room Sensor" type="s16" access="rw" required="o" mfcode="0x1209"></attribute>
<attribute id="0x4041" name="Unknown" type="enum8" access="rw" required="o" mfcode="0x1209">
<value name="0" value="0x00"></value>
<value name="1" value="0x01"></value>
Expand Down

0 comments on commit 50ccce7

Please sign in to comment.