mirror of https://github.com/nymea/nymea.git
Add extended energystorage interface and add evcharger DC interface
parent
5f4f2a9b78
commit
80ab01de5e
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "An interface for chargers such as AC / DC electrical vehicle chargers. Extends the power interface for charging/not charging an electric vehicle.",
|
||||
"extends": ["power"],
|
||||
"states": [
|
||||
{
|
||||
"name": "pluggedIn",
|
||||
"type": "bool",
|
||||
"optional": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"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.",
|
||||
"description": "Interfaces for devices that store electrical energy such as batteries. The 'currentPower' state represents the AC measurement and follows the usual convention that positive is 'consumed' energy and negative values represent 'produced' or in this case 'returned' energy.",
|
||||
"extends": ["battery", "smartmeter"],
|
||||
"states": [
|
||||
{
|
||||
|
|
@ -11,7 +11,8 @@
|
|||
{
|
||||
"name": "capacity",
|
||||
"type": "double",
|
||||
"unit": "KiloWattHour"
|
||||
"unit": "KiloWattHour",
|
||||
"optional": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"description": "An EV-charger. Extends the power interface for charging/not charging an electric vehicle. Supports regulation of the max. charging current in addition to be powered on or off.",
|
||||
"extends": ["power"],
|
||||
"description": "An AC electrical vehicle charger. Supports regulation of the max. charging current in addition to be powered on or off. Phase switching, if available, can be performed by setting the desired phase count. The session energy can provide information how much energy has been charged since the car has been plugged in.",
|
||||
"extends": ["charger"],
|
||||
"states": [
|
||||
{
|
||||
"name": "maxChargingCurrent",
|
||||
|
|
@ -10,11 +10,6 @@
|
|||
"minValue": "any",
|
||||
"maxValue": "any"
|
||||
},
|
||||
{
|
||||
"name": "pluggedIn",
|
||||
"type": "bool",
|
||||
"optional": true
|
||||
},
|
||||
{
|
||||
"name": "charging",
|
||||
"type": "bool",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"description": "A DC electrical vehicle charger. .",
|
||||
"extends": ["charger", "extendedenergystorage"]
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"description": "An extended energy storage can be controlled using the charging power. The 'chargingPower' state follows the usual convention that a positive value is charging (consuming) energy and a negative value discharging (returning) energy. Usualy there are limits for min/max charging and discharging. The limit values must have the same sign as the charging/discharging signs (+ charging, - discharging). The 'chargingCapabilities' indicate how the energystorage can be used and must be set.",
|
||||
"extends": ["energystorage"],
|
||||
"states": [
|
||||
{
|
||||
"name": "chargingPower",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"writable": true,
|
||||
"logged": true
|
||||
},
|
||||
{
|
||||
"name": "chargingCapabilities",
|
||||
"type": "QString",
|
||||
"allowedValues": ["charging", "discharging", "bidirectional"]
|
||||
},
|
||||
{
|
||||
"name": "maxChargingPower",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"logged": false
|
||||
},
|
||||
{
|
||||
"name": "minChargingPower",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"logged": false
|
||||
},
|
||||
{
|
||||
"name": "maxDischargingPower",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"logged": false
|
||||
},
|
||||
{
|
||||
"name": "minDischargingPower",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"logged": false
|
||||
},
|
||||
{
|
||||
"name": "totalEnergyConsumed",
|
||||
"type": "double",
|
||||
"unit": "KiloWattHour",
|
||||
"optional": true,
|
||||
"logged": true
|
||||
},
|
||||
{
|
||||
"name": "totalEnergyProduced",
|
||||
"type": "double",
|
||||
"unit": "KiloWattHour",
|
||||
"optional": true,
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -101,5 +101,8 @@
|
|||
<file>firesensor.json</file>
|
||||
<file>childlock.json</file>
|
||||
<file>networkdevice.json</file>
|
||||
<file>extendedenergystorage.json</file>
|
||||
<file>charger.json</file>
|
||||
<file>evchargerdc.json</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
|||
Loading…
Reference in New Issue