|
78 | 78 | </supported-bridge-type-refs>
|
79 | 79 |
|
80 | 80 | <label>Sure Petcare Hub Device</label>
|
81 |
| - <description>A Sure Petcare hub device (connects cat flaps, feeders etc. to a network)</description> |
| 81 | + <description>A Sure Petcare hub device (connects pet/cat flaps, feeders and waterstations to a network)</description> |
82 | 82 |
|
83 | 83 | <channels>
|
84 | 84 | <channel id="id" typeId="idType"/>
|
|
192 | 192 | <representation-property>id</representation-property>
|
193 | 193 | </thing-type>
|
194 | 194 |
|
| 195 | + <thing-type id="waterDevice"> |
| 196 | + <supported-bridge-type-refs> |
| 197 | + <bridge-type-ref id="bridge"/> |
| 198 | + </supported-bridge-type-refs> |
| 199 | + |
| 200 | + <label>Sure Petcare Waterstation Device</label> |
| 201 | + <description>A Sure Petcare pet waterstation device</description> |
| 202 | + |
| 203 | + <channels> |
| 204 | + <channel id="id" typeId="idType"/> |
| 205 | + <channel id="name" typeId="nameType"/> |
| 206 | + <channel id="product" typeId="productType"/> |
| 207 | + <channel id="lowBattery" typeId="system.low-battery"/> |
| 208 | + <channel id="batteryLevel" typeId="system.battery-level"/> |
| 209 | + <channel id="batteryVoltage" typeId="batteryVoltageType"/> |
| 210 | + <channel id="online" typeId="onlineType"/> |
| 211 | + <channel id="deviceRSSI" typeId="rssiDeviceType"/> |
| 212 | + <channel id="hubRSSI" typeId="rssiHubType"/> |
| 213 | + </channels> |
| 214 | + |
| 215 | + <properties> |
| 216 | + <property name="id"/> |
| 217 | + <property name="version"/> |
| 218 | + <property name="createdAt"/> |
| 219 | + <property name="updatedAt"/> |
| 220 | + <property name="householdId"/> |
| 221 | + <property name="productType"/> |
| 222 | + <property name="productName"/> |
| 223 | + <property name="pairingAt"/> |
| 224 | + <property name="thingTypeVersion">1</property> |
| 225 | + </properties> |
| 226 | + <representation-property>id</representation-property> |
| 227 | + </thing-type> |
| 228 | + |
195 | 229 | <thing-type id="pet">
|
196 | 230 | <supported-bridge-type-refs>
|
197 | 231 | <bridge-type-ref id="bridge"/>
|
|
220 | 254 | <channel id="feederLastChange" typeId="feederLastChangeType"/>
|
221 | 255 | <channel id="feederLastChangeLeft" typeId="feederLastChangeLeftType"/>
|
222 | 256 | <channel id="feederLastChangeRight" typeId="feederLastChangeRightType"/>
|
| 257 | + <channel id="waterDevice" typeId="waterDeviceType"/> |
| 258 | + <channel id="waterLastDrinking" typeId="waterLastDrinkingType"/> |
| 259 | + <channel id="waterLastChange" typeId="waterLastChangeType"/> |
223 | 260 | </channels>
|
224 | 261 |
|
225 | 262 | <properties>
|
|
272 | 309 | <option value="3">Pet Flap</option>
|
273 | 310 | <option value="4">Pet Feeder</option>
|
274 | 311 | <option value="6">Cat Flap</option>
|
| 312 | + <option value="8">Waterstation</option> |
275 | 313 | </options>
|
276 | 314 | </state>
|
277 | 315 | </channel-type>
|
|
527 | 565 | <state readOnly="true" pattern="%.2f %unit%"/>
|
528 | 566 | </channel-type>
|
529 | 567 |
|
| 568 | + <channel-type id="waterDeviceType"> |
| 569 | + <item-type>String</item-type> |
| 570 | + <label>Pet Waterstation Device Name</label> |
| 571 | + <description>The pet waterstation device name</description> |
| 572 | + <state readOnly="true" pattern="%s"/> |
| 573 | + </channel-type> |
| 574 | + |
| 575 | + <channel-type id="waterLastDrinkingType"> |
| 576 | + <item-type>DateTime</item-type> |
| 577 | + <label>Pet Last Drinking</label> |
| 578 | + <description>The last pet drinking</description> |
| 579 | + <state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/> |
| 580 | + </channel-type> |
| 581 | + |
| 582 | + <channel-type id="waterLastChangeType"> |
| 583 | + <item-type>Number:Volume</item-type> |
| 584 | + <label>Pet Drinking Last Change</label> |
| 585 | + <description>The pet drinking last change</description> |
| 586 | + <state readOnly="true" pattern="%.2f %unit%"/> |
| 587 | + </channel-type> |
| 588 | + |
530 | 589 | <channel-type id="lockingModeType">
|
531 | 590 | <item-type>String</item-type>
|
532 | 591 | <label>Locking Mode</label>
|
|
0 commit comments