bump jsonrpc version
This commit is contained in:
parent
7893328534
commit
8e9b695eb6
@ -5,8 +5,8 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"
|
|||||||
NYMEA_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/nymea/plugins/
|
NYMEA_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/nymea/plugins/
|
||||||
|
|
||||||
# define protocol versions
|
# define protocol versions
|
||||||
JSON_PROTOCOL_VERSION_MAJOR=1
|
JSON_PROTOCOL_VERSION_MAJOR=2
|
||||||
JSON_PROTOCOL_VERSION_MINOR=15
|
JSON_PROTOCOL_VERSION_MINOR=0
|
||||||
REST_API_VERSION=1
|
REST_API_VERSION=1
|
||||||
|
|
||||||
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \
|
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
1.15
|
2.0
|
||||||
{
|
{
|
||||||
"methods": {
|
"methods": {
|
||||||
"Actions.ExecuteAction": {
|
"Actions.ExecuteAction": {
|
||||||
@ -1164,26 +1164,6 @@
|
|||||||
"$ref:ParamType"
|
"$ref:ParamType"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"BasicTag": [
|
|
||||||
"BasicTagService",
|
|
||||||
"BasicTagDevice",
|
|
||||||
"BasicTagSensor",
|
|
||||||
"BasicTagActuator",
|
|
||||||
"BasicTagLighting",
|
|
||||||
"BasicTagEnergy",
|
|
||||||
"BasicTagMultimedia",
|
|
||||||
"BasicTagWeather",
|
|
||||||
"BasicTagGateway",
|
|
||||||
"BasicTagHeating",
|
|
||||||
"BasicTagCooling",
|
|
||||||
"BasicTagNotification",
|
|
||||||
"BasicTagSecurity",
|
|
||||||
"BasicTagTime",
|
|
||||||
"BasicTagShading",
|
|
||||||
"BasicTagAppliance",
|
|
||||||
"BasicTagCamera",
|
|
||||||
"BasicTagLock"
|
|
||||||
],
|
|
||||||
"BasicType": [
|
"BasicType": [
|
||||||
"Uuid",
|
"Uuid",
|
||||||
"String",
|
"String",
|
||||||
@ -1244,13 +1224,9 @@
|
|||||||
"actionTypes": [
|
"actionTypes": [
|
||||||
"$ref:ActionType"
|
"$ref:ActionType"
|
||||||
],
|
],
|
||||||
"basicTags": [
|
|
||||||
"$ref:BasicTag"
|
|
||||||
],
|
|
||||||
"createMethods": [
|
"createMethods": [
|
||||||
"$ref:CreateMethod"
|
"$ref:CreateMethod"
|
||||||
],
|
],
|
||||||
"deviceIcon": "$ref:DeviceIcon",
|
|
||||||
"discoveryParamTypes": [
|
"discoveryParamTypes": [
|
||||||
"$ref:ParamType"
|
"$ref:ParamType"
|
||||||
],
|
],
|
||||||
@ -1263,9 +1239,6 @@
|
|||||||
"String"
|
"String"
|
||||||
],
|
],
|
||||||
"name": "String",
|
"name": "String",
|
||||||
"o:criticalStateTypeId": "Uuid",
|
|
||||||
"o:primaryActionTypeId": "Uuid",
|
|
||||||
"o:primaryStateTypeId": "Uuid",
|
|
||||||
"paramTypes": [
|
"paramTypes": [
|
||||||
"$ref:ParamType"
|
"$ref:ParamType"
|
||||||
],
|
],
|
||||||
@ -1311,44 +1284,6 @@
|
|||||||
"DeviceErrorPairingTransactionIdNotFound",
|
"DeviceErrorPairingTransactionIdNotFound",
|
||||||
"DeviceErrorParameterNotWritable"
|
"DeviceErrorParameterNotWritable"
|
||||||
],
|
],
|
||||||
"DeviceIcon": [
|
|
||||||
"DeviceIconNone",
|
|
||||||
"DeviceIconBed",
|
|
||||||
"DeviceIconBlinds",
|
|
||||||
"DeviceIconCeilingLamp",
|
|
||||||
"DeviceIconCouch",
|
|
||||||
"DeviceIconDeskLamp",
|
|
||||||
"DeviceIconDesk",
|
|
||||||
"DeviceIconHifi",
|
|
||||||
"DeviceIconPower",
|
|
||||||
"DeviceIconEnergy",
|
|
||||||
"DeviceIconRadio",
|
|
||||||
"DeviceIconSmartPhone",
|
|
||||||
"DeviceIconSocket",
|
|
||||||
"DeviceIconStandardLamp",
|
|
||||||
"DeviceIconSun",
|
|
||||||
"DeviceIconTablet",
|
|
||||||
"DeviceIconThermometer",
|
|
||||||
"DeviceIconTune",
|
|
||||||
"DeviceIconTv",
|
|
||||||
"DeviceIconBattery",
|
|
||||||
"DeviceIconDishwasher",
|
|
||||||
"DeviceIconWashingMachine",
|
|
||||||
"DeviceIconLaundryDryer",
|
|
||||||
"DeviceIconIrHeater",
|
|
||||||
"DeviceIconRadiator",
|
|
||||||
"DeviceIconSwitch",
|
|
||||||
"DeviceIconMotionDetectors",
|
|
||||||
"DeviceIconWeather",
|
|
||||||
"DeviceIconTime",
|
|
||||||
"DeviceIconLightBulb",
|
|
||||||
"DeviceIconGateway",
|
|
||||||
"DeviceIconMail",
|
|
||||||
"DeviceIconNetwork",
|
|
||||||
"DeviceIconCloud",
|
|
||||||
"DeviceIconGarage",
|
|
||||||
"DeviceIconRollerShutter"
|
|
||||||
],
|
|
||||||
"Event": {
|
"Event": {
|
||||||
"deviceId": "Uuid",
|
"deviceId": "Uuid",
|
||||||
"eventTypeId": "Uuid",
|
"eventTypeId": "Uuid",
|
||||||
@ -1370,8 +1305,6 @@
|
|||||||
"id": "Uuid",
|
"id": "Uuid",
|
||||||
"index": "Int",
|
"index": "Int",
|
||||||
"name": "String",
|
"name": "String",
|
||||||
"o:graphRelevant": "Bool",
|
|
||||||
"o:ruleRelevant": "Bool",
|
|
||||||
"paramTypes": [
|
"paramTypes": [
|
||||||
"$ref:ParamType"
|
"$ref:ParamType"
|
||||||
]
|
]
|
||||||
@ -1628,13 +1561,11 @@
|
|||||||
"id": "Uuid",
|
"id": "Uuid",
|
||||||
"index": "Int",
|
"index": "Int",
|
||||||
"name": "String",
|
"name": "String",
|
||||||
"o:graphRelevant": "Bool",
|
|
||||||
"o:maxValue": "Variant",
|
"o:maxValue": "Variant",
|
||||||
"o:minValue": "Variant",
|
"o:minValue": "Variant",
|
||||||
"o:possibleValues": [
|
"o:possibleValues": [
|
||||||
"Variant"
|
"Variant"
|
||||||
],
|
],
|
||||||
"o:ruleRelevant": "Bool",
|
|
||||||
"o:unit": "$ref:Unit",
|
"o:unit": "$ref:Unit",
|
||||||
"type": "$ref:BasicType"
|
"type": "$ref:BasicType"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user