|
57 | 57 | </config-description> |
58 | 58 | </thing-type> |
59 | 59 |
|
60 | | - <!-- Battery Thing Type (maps to Storage Controller fields) --> |
| 60 | + <!-- Battery Thing Type --> |
61 | 61 | <thing-type id="battery"> |
62 | 62 | <supported-bridge-type-refs> |
63 | 63 | <bridge-type-ref id="bridge"/> |
|
465 | 465 | <state pattern="%.1f %%" readOnly="true"></state> |
466 | 466 | </channel-type> |
467 | 467 |
|
468 | | - <!-- Battery specific channel-types (map to Storage Controller fields) --> |
| 468 | + <!-- Battery specific channel-types --> |
469 | 469 | <channel-type id="batteryMaximumCapacity"> |
470 | 470 | <item-type>Number:Energy</item-type> |
471 | 471 | <label>Current Maximum Battery Capacity</label> |
472 | 472 | <description>Current maximum battery capacity in Wh</description> |
| 473 | + <tags> |
| 474 | + <tag>Measurement</tag> |
| 475 | + <tag>Energy</tag> |
| 476 | + </tags> |
473 | 477 | <state pattern="%.0f Wh" readOnly="true"></state> |
474 | 478 | </channel-type> |
475 | 479 | <channel-type id="batteryDesignedCapacity"> |
|
484 | 488 | <description>Current state of charge of the battery in percent</description> |
485 | 489 | <tags> |
486 | 490 | <tag>Status</tag> |
487 | | - <tag>Power</tag> |
| 491 | + <tag>StateOfCharge</tag> |
488 | 492 | </tags> |
489 | 493 | <state pattern="%.1f %%" readOnly="true"></state> |
490 | 494 | </channel-type> |
491 | 495 | <channel-type id="batteryTemperature"> |
492 | 496 | <item-type>Number:Temperature</item-type> |
493 | 497 | <label>Battery Cell Temperature</label> |
494 | 498 | <description>Temperature of the battery cell</description> |
| 499 | + <tags> |
| 500 | + <tag>Measurement</tag> |
| 501 | + <tag>Temperature</tag> |
| 502 | + </tags> |
495 | 503 | <state pattern="%.2f %unit%" readOnly="true"></state> |
496 | 504 | </channel-type> |
497 | 505 | <channel-type id="batteryTimestamp"> |
|
506 | 514 | <description>Status code coming from Status_BatteryCell</description> |
507 | 515 | <state pattern="%d" readOnly="true"></state> |
508 | 516 | </channel-type> |
509 | | - |
510 | 517 | <channel-type id="batteryEnable"> |
511 | 518 | <item-type>Number</item-type> |
512 | 519 | <label>Battery Enabled</label> |
|
0 commit comments