diff --git a/libnymea/interfaces/heatpump.json b/libnymea/interfaces/heatpump.json new file mode 100644 index 00000000..94c1c68c --- /dev/null +++ b/libnymea/interfaces/heatpump.json @@ -0,0 +1,33 @@ +{ + "description": "The base for all heat pump interfaces. Can be used by the client to filter for heat pumps in the system.", + "states": [ + { + "name": "outdoorTemperature", + "type": "double", + "unit": "DegreeCelsius", + "logged": true, + "optional": true + }, + { + "name": "hotWaterTemperature", + "type": "double", + "unit": "DegreeCelsius", + "logged": true, + "optional": true + }, + { + "name": "returnTemperature", + "type": "double", + "unit": "DegreeCelsius", + "logged": true, + "optional": true + }, + { + "name": "flowTemperature", + "type": "double", + "unit": "DegreeCelsius", + "logged": true, + "optional": true + } + ] +} diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 3d6ee2ca..f821404e 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -89,5 +89,8 @@ airquality.json indoorairquality.json energystorage.json + heatpump.json + smartgridheatpump.json + simpleheatpump.json diff --git a/libnymea/interfaces/simpleheatpump.json b/libnymea/interfaces/simpleheatpump.json new file mode 100644 index 00000000..db80e450 --- /dev/null +++ b/libnymea/interfaces/simpleheatpump.json @@ -0,0 +1,4 @@ +{ + "description": "This interface can be used for heat pumps offering one digital input for switching on and off the entire heatpump. Some heat pumps have only this possibility to be controlled. Be aware what you are doing if you switch of a heat pump and for how long.", + "extends": ["heatpump", "power"] +} diff --git a/libnymea/interfaces/smartgridheatpump.json b/libnymea/interfaces/smartgridheatpump.json new file mode 100644 index 00000000..521d10ad --- /dev/null +++ b/libnymea/interfaces/smartgridheatpump.json @@ -0,0 +1,18 @@ +{ + "description": "This interface can be used for heat pumps offering the smart grid label \"SG-Ready\". The modes can be set to the heatpump either trough 2 digital outputs or directly using modbus registers. These modes should be used by an energy manager and are not intended to be set by an user since there are certain rules to consider when switchen the SG mode.", + "extends": "heatpump", + "states": [ + { + "name": "sgReadyMode", + "type": "QString", + "possibleValues": [ + "Off", + "Low", + "Standard", + "High" + ], + "writable": true, + "logged": true + } + ] +}