This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/libnymea/interfaces/energystorage.json
2021-10-07 14:10:58 +02:00

18 lines
619 B
JSON

{
"description": "Interfaces for devices that store electrical energy and can return it at a later point, such as batteries. The currentPower state follows the usual convention that positive is 'consumed' energy and negative values represent 'produced' or in this case 'returned' energy.",
"extends": ["battery", "smartmeter"],
"states": [
{
"name": "currentPower",
"type": "double",
"unit": "Watt",
"logged": true
},
{
"name": "capacity",
"type": "double",
"unit": "KiloWattHour"
}
]
}