diff --git a/.pylintrc b/.pylintrc index 2c3aafc8..0f271aac 100644 --- a/.pylintrc +++ b/.pylintrc @@ -4,6 +4,9 @@ good-names=id,tb [LOGGING] logging-format-style=new +[FORMAT] +max-line-length=140 + [MESSAGES CONTROL] disable= logging-fstring-interpolation, diff --git a/pyhoma/client.py b/pyhoma/client.py index 454e5224..ae53b728 100644 --- a/pyhoma/client.py +++ b/pyhoma/client.py @@ -47,6 +47,7 @@ OverkizServer, Place, Scenario, + Setup, State, ) @@ -61,6 +62,9 @@ async def refresh_listener(invocation: dict[str, Any]) -> None: await invocation["args"][0].register_event_listener() +# pylint: disable=too-many-instance-attributes + + class TahomaClient: """Interface class for the Overkiz API""" @@ -84,6 +88,7 @@ def __init__( self.password = password self.server = server + self.setup: Setup | None = None self.devices: list[Device] = [] self.gateways: list[Gateway] = [] self.event_listener_id: str | None = None @@ -226,6 +231,42 @@ async def nexity_login(self) -> str: return token["token"] + @backoff.on_exception( + backoff.expo, + (NotAuthenticatedException, ServerDisconnectedError), + max_tries=2, + on_backoff=relogin, + ) + async def get_setup(self, refresh: bool = False) -> Setup: + """ + Get all data about the connected user setup + -> gateways data (serial number, activation state, ...): + -> setup location: + -> house places (rooms and floors): + -> setup devices: + + A gateway may be in different modes (mode) regarding to the activated functions (functions). + A house may be composed of several floors and rooms. The house, floors and rooms are viewed as a place. + Devices in the house are grouped by type called uiClass. Each device has an associated widget. + The widget is used to control or to know the device state, whatever the device protocol (controllable): IO, RTS, X10, ... . + A device can be either an actuator (type=1) or a sensor (type=2). + Data of one or several devices can be also get by setting the device(s) url as request parameter. + + Per-session rate-limit : 1 calls per 1d period for this particular operation (bulk-load) + """ + if self.setup and not refresh: + return self.setup + + response = await self.__get("setup") + setup = Setup(**humps.decamelize(response)) + + # Cache response + self.setup = setup + self.gateways = setup.gateways + self.devices = setup.devices + + return setup + @backoff.on_exception( backoff.expo, (NotAuthenticatedException, ServerDisconnectedError), @@ -235,13 +276,18 @@ async def nexity_login(self) -> str: async def get_devices(self, refresh: bool = False) -> list[Device]: """ List devices + Per-session rate-limit : 1 calls per 1d period for this particular operation (bulk-load) """ if self.devices and not refresh: return self.devices response = await self.__get("setup/devices") devices = [Device(**d) for d in humps.decamelize(response)] + + # Cache response self.devices = devices + if self.setup: + self.setup.devices = devices return devices @@ -253,14 +299,19 @@ async def get_devices(self, refresh: bool = False) -> list[Device]: ) async def get_gateways(self, refresh: bool = False) -> list[Gateway]: """ - List gateways + Get every gateways of a connected user setup + Per-session rate-limit : 1 calls per 1d period for this particular operation (bulk-load) """ if self.gateways and not refresh: return self.gateways response = await self.__get("setup/gateways") gateways = [Gateway(**g) for g in humps.decamelize(response)] + + # Cache response self.gateways = gateways + if self.setup: + self.setup.gateways = gateways return gateways diff --git a/pyhoma/models.py b/pyhoma/models.py index 9f4ccedb..72782bdc 100644 --- a/pyhoma/models.py +++ b/pyhoma/models.py @@ -22,13 +22,124 @@ def obfuscate_id(id: str | None) -> str: - return re.sub(r"\d+-", "****-", str(id)) + return re.sub(r"(SETUP)?\d+-", "****-", str(id)) def obfuscate_email(email: str | None) -> str: return re.sub(r"(.).*@.*(.\..*)", r"\1****@****\2", str(email)) +def mask(input: str) -> str: + return re.sub(r"[a-zA-Z0-9_.-]*", "*", str(input)) + + +@attr.s(auto_attribs=True, init=False, slots=True, kw_only=True) +class Setup: + creation_time: str + last_update_time: str + id: str = attr.ib(repr=obfuscate_id, default=None) + location: Location + gateways: list[Gateway] + devices: list[Device] + zones: list[Zone] + reseller_delegation_type: str + oid: str + root_place: Place + features: list[Feature] | None = None + + def __init__( + self, + *, + creation_time: str, + last_update_time: str, + id: str = attr.ib(repr=obfuscate_id, default=None), + location: dict[str, Any], + gateways: list[dict[str, Any]], + devices: list[dict[str, Any]], + zones: list[dict[str, Any]], + reseller_delegation_type: str, + oid: str, + root_place: dict[str, Any], + features: list[dict[str, Any]] | None = None, + **_: Any, + ) -> None: + self.id = id + self.creation_time = creation_time + self.last_update_time = last_update_time + self.location = Location(**location) + self.gateways = [Gateway(**g) for g in gateways] + self.devices = [Device(**d) for d in devices] + self.zones = [Zone(**z) for z in zones] + self.reseller_delegation_type = reseller_delegation_type + self.oid = oid + self.root_place = Place(**root_place) + self.features = [Feature(**f) for f in features] if features else None + + +@attr.s(auto_attribs=True, init=False, slots=True, kw_only=True) +class Location: + creation_time: str + last_update_time: str + city: str = attr.ib(repr=mask, default=None) + country: str = attr.ib(repr=mask, default=None) + postal_code: str = attr.ib(repr=mask, default=None) + address_line1: str = attr.ib(repr=mask, default=None) + address_line2: str = attr.ib(repr=mask, default=None) + timezone: str + longitude: str = attr.ib(repr=mask, default=None) + latitude: str = attr.ib(repr=mask, default=None) + twilight_mode: int + twilight_angle: str + twilight_city: str + summer_solstice_dusk_minutes: str + winter_solstice_dusk_minutes: str + twilight_offset_enabled: bool + dawn_offset: int + dusk_offset: int + + def __init__( + self, + *, + creation_time: str, + last_update_time: str, + city: str = attr.ib(repr=mask, default=None), + country: str = attr.ib(repr=mask, default=None), + postal_code: str = attr.ib(repr=mask, default=None), + address_line1: str = attr.ib(repr=mask, default=None), + address_line2: str = attr.ib(repr=mask, default=None), + timezone: str, + longitude: str = attr.ib(repr=mask, default=None), + latitude: str = attr.ib(repr=mask, default=None), + twilight_mode: int, + twilight_angle: str, + twilight_city: str, + summer_solstice_dusk_minutes: str, + winter_solstice_dusk_minutes: str, + twilight_offset_enabled: bool, + dawn_offset: int, + dusk_offset: int, + **_: Any, + ) -> None: + self.creation_time = creation_time + self.last_update_time = last_update_time + self.city = city + self.country = country + self.postal_code = postal_code + self.address_line1 = address_line1 + self.address_line2 = address_line2 + self.timezone = timezone + self.longitude = longitude + self.latitude = latitude + self.twilight_mode = twilight_mode + self.twilight_angle = twilight_angle + self.twilight_city = twilight_city + self.summer_solstice_dusk_minutes = summer_solstice_dusk_minutes + self.winter_solstice_dusk_minutes = winter_solstice_dusk_minutes + self.twilight_offset_enabled = twilight_offset_enabled + self.dawn_offset = dawn_offset + self.dusk_offset = dusk_offset + + @attr.s(auto_attribs=True, init=False, slots=True, kw_only=True) class Device: id: str = attr.ib(repr=False) @@ -205,7 +316,6 @@ def __init__(self, name: str, parameters: list[str] | None = None, **_: Any): dict.__init__(self, name=name, parameters=parameters) -# pylint: disable-msg=too-many-locals @attr.s(auto_attribs=True, init=False, slots=True, kw_only=True) class Event: timestamp: int @@ -509,6 +619,51 @@ def __init__( self.sub_places = [Place(**p) for p in sub_places] if sub_places else [] +@attr.s(auto_attribs=True, slots=True, kw_only=True) +class Feature: + name: str + source: str + + +@attr.s(auto_attribs=True, slots=True, kw_only=True) +class ZoneItem: + item_type: str + device_oid: str + device_url: str + + +@attr.s(auto_attribs=True, init=False, slots=True, kw_only=True) +class Zone: + creation_time: str + last_update_time: str + label: str + type: int + items: list[ZoneItem] | None + external_oid: str + metadata: str + oid: str + + def __init__( + self, + *, + last_update_time: str, + label: str, + type: int, + items: list[dict[str, Any]] | None, + external_oid: str, + metadata: str, + oid: str, + **_: Any, + ) -> None: + self.last_update_time = last_update_time + self.label = label + self.type = type + self.items = [ZoneItem(**z) for z in items] if items else [] + self.external_oid = external_oid + self.metadata = metadata + self.oid = oid + + @attr.s(auto_attribs=True, slots=True, kw_only=True) class OverkizServer: """Class to describe an Overkiz server.""" diff --git a/tests/fixtures/setup/setup_cozytouch.json b/tests/fixtures/setup/setup_cozytouch.json new file mode 100644 index 00000000..7ed2a09e --- /dev/null +++ b/tests/fixtures/setup/setup_cozytouch.json @@ -0,0 +1,2453 @@ +{ + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "id": "SETUP-1234-1234-3293", + "location": { + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "city": "*", + "country": "*", + "postalCode": "* *", + "addressLine1": "* *", + "addressLine2": "", + "timezone": "Europe/Amsterdam", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "amsterdam", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "NL" + }, + "gateways": [ + { + "gatewayId": "1234-1234-3293", + "type": 29, + "subType": 14, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.4.4" + }, + "upToDate": false, + "updateStatus": "READY_TO_UPDATE", + "syncInProgress": false, + "updateCriticityLevel": "BUG_FIX", + "automaticUpdate": true, + "mode": "ACTIVE", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS" + } + ], + "devices": [ + { + "creationTime": 1606817819000, + "lastUpdateTime": 1606817819000, + "label": "* (*)", + "deviceURL": "homekit://1234-1234-3293/stack", + "shortcut": false, + "controllableName": "homekit:StackComponent", + "definition": { + "commands": [ + { + "commandName": "deleteControllers", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "HomekitStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "homekit:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "attributes": [ + { + "name": "homekit:SetupPayload", + "type": 3, + "value": "*" + }, + { + "name": "homekit:SetupCode", + "type": 3, + "value": "*" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "HomekitStack", + "type": 5, + "oid": "7d689bb6-744b-4e1a-8353-19228a0ab6cf", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1586342112000, + "lastUpdateTime": 1586342112000, + "label": "*", + "deviceURL": "internal://1234-1234-3293/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 30 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "TSKAlarmController", + "type": 1, + "oid": "ebf12ec8-1b02-4aa1-8eef-b1ef40a43963", + "uiClass": "Alarm" + }, + { + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "label": "* *", + "deviceURL": "internal://1234-1234-3293/pod/0", + "shortcut": false, + "controllableName": "internal:PodV2Component", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":true}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshBatteryStatus", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "pressed", + "stop" + ], + "qualifiedName": "core:CyclicButtonState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:BatteryStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodV2Component", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:BatteryStatusState", + "type": 3, + "value": "no" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "NL" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.11.36" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "Pod", + "type": 1, + "oid": "91d89eee-5e61-4c16-a9b5-909a602ffa56", + "uiClass": "Pod" + }, + { + "creationTime": 1600767780000, + "lastUpdateTime": 1600767780000, + "label": "* (*)", + "deviceURL": "io://1234-1234-3293/16483707", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "IOStack", + "type": 5, + "oid": "d3da52e2-c26c-4ff3-96c1-5874fe3888db", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1586342605000, + "lastUpdateTime": 1586342605000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/3541212", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 62.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 89 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "set_auto_end_limits", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "set_unstressing_status", + "set_obstacle_detection", + "set_type_lock", + "save_auxiliary_end_limit_entry", + "save_auxiliary_end_limit_exit", + "set_dbe_up", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position", + "set_x_time" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5121525A07" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "8fec16cf-4790-4a46-b0b6-49c3f1ae74f3", + "widget": "PositionableScreen", + "type": 1, + "oid": "6940d1da-762d-4a0c-bde3-a8ea675925d8", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1587481961000, + "lastUpdateTime": 1587481961000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5046564", + "shortcut": false, + "controllableName": "io:DimmableLightIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "io:DimmableLightIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 44.0 + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 0 + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 82 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5133033A02" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DimmerLight", + "type": 1, + "oid": "aab8630e-1c36-439f-b943-a0a0c9747289", + "uiClass": "Light" + }, + { + "creationTime": 1586342695000, + "lastUpdateTime": 1586342695000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5353900", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "low" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 90 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "set_auto_end_limits", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "set_unstressing_status", + "set_obstacle_detection", + "set_type_lock", + "save_auxiliary_end_limit_entry", + "save_auxiliary_end_limit_exit", + "set_dbe_up", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position", + "set_x_time" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5121525A07" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "1d8338a3-66df-49f5-93ce-ef4d82dd7846", + "widget": "PositionableScreen", + "type": 1, + "oid": "f81add98-cdf7-477a-97bf-8f3cddbfe3ad", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1586342429000, + "lastUpdateTime": 1586342429000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5770898", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 60.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 80 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5104761X04" + } + ], + "available": true, + "enabled": true, + "placeOID": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "widget": "PositionableScreen", + "type": 1, + "oid": "526c2dfc-32f0-448c-aeb6-bda22bc0119b", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1586342365000, + "lastUpdateTime": 1586342365000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/7614902", + "shortcut": false, + "controllableName": "io:SimpleBioclimaticPergolaIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "closeSlats", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "openSlats", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Orientation", + "nparams": 0 + }, + { + "commandName": "setMemorized1Orientation", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setSecuredOrientation", + "nparams": 1 + }, + { + "commandName": "setOrientation", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1OrientationState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredOrientationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SlateOrientationState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:SlatsOpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SlatsOrientationState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "BioclimaticPergola", + "uiProfiles": [ + "StatefulBioClimaticPergola", + "StatefulOrientableSlats", + "OrientableSlats" + ], + "uiClass": "Pergola", + "qualifiedName": "io:SimpleBioclimaticPergolaIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 42.0 + }, + { + "name": "core:SlatsOpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:SlatsOrientationState", + "type": 1, + "value": 100 + }, + { + "name": "core:SlateOrientationState", + "type": 1, + "value": 100 + }, + { + "name": "core:SecuredOrientationState", + "type": 1, + "value": 105 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5133756X72" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "widget": "BioclimaticPergola", + "type": 1, + "oid": "3d075e82-68ee-4b39-9232-a73415e1997c", + "uiClass": "Pergola" + }, + { + "creationTime": 1593694963000, + "lastUpdateTime": 1593694963000, + "label": "* (*)", + "deviceURL": "ogp://1234-1234-3293/00000BE8", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "sendPrivate", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:Private10State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private1State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private2State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private3State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private4State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private5State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private6State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private7State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private8State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private9State" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "private" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "586ea4a3-8bcb-4ca3-a0d9-db9f8c9ec058", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593694964000, + "lastUpdateTime": 1593694964000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-3293/039575E9", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:Technology", + "type": 3, + "value": "Siegenia" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Siegenia Bridge" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "5660a0c3-5198-459e-ac19-b5a22f1bb1ea", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593694963000, + "lastUpdateTime": 1593694963000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-3293/09E45393", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Intesis Bridge" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Intesis" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "8a9ab23a-3531-4b9a-aa25-7451d8edb175", + "uiClass": "ProtocolGateway" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "disconnectionConfiguration": { + "targetPushSubscriptions": [ + "7290697a-e729-4b20-9166-1e913e206f4a" + ], + "notificationType": "PUSH" + }, + "oid": "4eee1f79-a10f-4dec-9495-23f5ab739f44", + "rootPlace": { + "creationTime": 1586341957000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 200, + "oid": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "subPlaces": [ + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "* *", + "type": 101, + "oid": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "subPlaces": [ + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "1d8338a3-66df-49f5-93ce-ef4d82dd7846", + "subPlaces": [] + }, + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 2, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "8fec16cf-4790-4a46-b0b6-49c3f1ae74f3", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 24, + "metadata": "{\"tahoma\":{\"position\":0.25,\"decor\":[]}}", + "oid": "54e2b008-ecd9-4e1a-bf58-fc2240a2a53e", + "subPlaces": [] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_hi_kumo.json b/tests/fixtures/setup/setup_hi_kumo.json new file mode 100644 index 00000000..b4be5518 --- /dev/null +++ b/tests/fixtures/setup/setup_hi_kumo.json @@ -0,0 +1,356 @@ +{ + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "id": "SETUP-1234-1234-6362", + "location": { + "creationTime": 1613674982000, + "lastUpdateTime": 1632527573000, + "city": "*", + "country": "*", + "postalCode": "*/*", + "addressLine1": "*", + "addressLine2": "", + "timezone": "Asia/Bangkok", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "TH" + }, + "gateways": [ + { + "gatewayId": "1234-1234-6362", + "type": 53, + "subType": 1, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.2.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS", + "mode": "ACTIVE" + } + ], + "devices": [ + { + "creationTime": 1613675393000, + "lastUpdateTime": 1613675393000, + "label": "*", + "deviceURL": "internal://1234-1234-6362/pod/0", + "shortcut": false, + "controllableName": "internal:PodMiniComponent", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "doublePress", + "longPress", + "simplePress", + "triplePress", + "veryLongPress" + ], + "qualifiedName": "internal:LastActionConfigButtonState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodMiniComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "TH" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "N/A" + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "Pod", + "type": 1, + "oid": "2dfeb3c8-a71d-4552-9e9b-875baf906a6c", + "uiClass": "Pod" + }, + { + "creationTime": 1613676516000, + "lastUpdateTime": 1613676516000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16730022", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "d4da34c9-5cbf-4278-b8ec-ae66428b9522", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1613676640000, + "lastUpdateTime": 1613676640000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16749917", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "ef870fe7-daf3-4f33-b91e-62b2a809ef4e", + "uiClass": "RollerShutter" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "fee37cf6-1d39-49fc-8d67-af71dfe20c4d", + "rootPlace": { + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "label": "* *", + "type": 0, + "oid": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "subPlaces": [] + }, + "features": [ + { + "name": "connexoon-rts-window", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_hi_kumo2.json b/tests/fixtures/setup/setup_hi_kumo2.json new file mode 100644 index 00000000..b4be5518 --- /dev/null +++ b/tests/fixtures/setup/setup_hi_kumo2.json @@ -0,0 +1,356 @@ +{ + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "id": "SETUP-1234-1234-6362", + "location": { + "creationTime": 1613674982000, + "lastUpdateTime": 1632527573000, + "city": "*", + "country": "*", + "postalCode": "*/*", + "addressLine1": "*", + "addressLine2": "", + "timezone": "Asia/Bangkok", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "TH" + }, + "gateways": [ + { + "gatewayId": "1234-1234-6362", + "type": 53, + "subType": 1, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.2.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS", + "mode": "ACTIVE" + } + ], + "devices": [ + { + "creationTime": 1613675393000, + "lastUpdateTime": 1613675393000, + "label": "*", + "deviceURL": "internal://1234-1234-6362/pod/0", + "shortcut": false, + "controllableName": "internal:PodMiniComponent", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "doublePress", + "longPress", + "simplePress", + "triplePress", + "veryLongPress" + ], + "qualifiedName": "internal:LastActionConfigButtonState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodMiniComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "TH" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "N/A" + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "Pod", + "type": 1, + "oid": "2dfeb3c8-a71d-4552-9e9b-875baf906a6c", + "uiClass": "Pod" + }, + { + "creationTime": 1613676516000, + "lastUpdateTime": 1613676516000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16730022", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "d4da34c9-5cbf-4278-b8ec-ae66428b9522", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1613676640000, + "lastUpdateTime": 1613676640000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16749917", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "ef870fe7-daf3-4f33-b91e-62b2a809ef4e", + "uiClass": "RollerShutter" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "fee37cf6-1d39-49fc-8d67-af71dfe20c4d", + "rootPlace": { + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "label": "* *", + "type": 0, + "oid": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "subPlaces": [] + }, + "features": [ + { + "name": "connexoon-rts-window", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_hue_and_low_speed.json b/tests/fixtures/setup/setup_hue_and_low_speed.json new file mode 100644 index 00000000..1b943636 --- /dev/null +++ b/tests/fixtures/setup/setup_hue_and_low_speed.json @@ -0,0 +1,8308 @@ +{ + "creationTime": 1452098914000, + "lastUpdateTime": 1452098914000, + "id": "SETUP-1234-1234-4411", + "location": { + "creationTime": 1452098914000, + "lastUpdateTime": 1532452698000, + "city": "*", + "country": "*", + "postalCode": "*", + "addressLine1": "*", + "timezone": "Europe/Amsterdam", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "amsterdam", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": true, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "NL" + }, + "gateways": [ + { + "gatewayId": "1234-1234-4411", + "type": 15, + "subType": 14, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2018.4.4.7" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "mode": "NO_AUTO", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS" + } + ], + "devices": [ + { + "creationTime": 1536832699000, + "lastUpdateTime": 1536832699000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde", + "shortcut": false, + "controllableName": "hue:BridgeHUEV2Component", + "definition": { + "commands": [], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "HueBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "hue:BridgeHUEV2Component", + "type": "PROTOCOL_GATEWAY" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "HueBridge", + "type": 5, + "oid": "8a391470-b997-49b2-9b6b-35ba19d109ab", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1546202840000, + "lastUpdateTime": 1546202840000, + "label": "* * * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/10", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 24 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 75 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.534 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.385 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "0f8a7543-42cb-44fc-9577-c78e236ac9d2", + "uiClass": "Light" + }, + { + "creationTime": 1546202840000, + "lastUpdateTime": 1546202840000, + "label": "* * * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/11", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 24 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 75 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.534 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.385 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "458c7747-d98d-4f5c-86de-2b12c70d7904", + "uiClass": "Light" + }, + { + "creationTime": 1547396588000, + "lastUpdateTime": 1547396588000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/12", + "shortcut": false, + "controllableName": "hue:ExtendedColorLightCandleHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:ExtendedColorLightCandleHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 24 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 75 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.534 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.385 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "candle" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "907d8b48-c57c-4267-8e8d-1a67a627497a", + "uiClass": "Light" + }, + { + "creationTime": 1547396588000, + "lastUpdateTime": 1547396588000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/13", + "shortcut": false, + "controllableName": "hue:ExtendedColorLightCandleHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:ExtendedColorLightCandleHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 24 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 75 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.534 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.385 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "candle" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "364517eb-14a6-424d-b397-8b51f1989476", + "uiClass": "Light" + }, + { + "creationTime": 1547396588000, + "lastUpdateTime": 1547396588000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/14", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 7 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 91 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.6361 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.335 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "bf82f573-bae8-440a-9f57-f10866edc5bb", + "uiClass": "Light" + }, + { + "creationTime": 1547396588000, + "lastUpdateTime": 1547396588000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/15", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 48 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 82 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.4639 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4499 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2667 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "db30c2f6-0969-4d41-ba72-a67fac22424d", + "uiClass": "Light" + }, + { + "creationTime": 1547396588000, + "lastUpdateTime": 1547396588000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/16", + "shortcut": false, + "controllableName": "hue:LightStripsPlusHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:LightStripsPlusHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 48 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 82 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.4639 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4499 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2667 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "lightStrip" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "4557550b-29b9-4ad3-b1dd-0efdff507b3d", + "uiClass": "Light" + }, + { + "creationTime": 1549185099000, + "lastUpdateTime": 1549185099000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/21", + "shortcut": false, + "controllableName": "hue:LightStripsPlusHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:LightStripsPlusHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 24 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 75 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.534 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.385 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "xy" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 77 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "lightStrip" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "68e11f3b-f883-40bc-affe-a13989ee4aa7", + "uiClass": "Light" + }, + { + "creationTime": 1549185099000, + "lastUpdateTime": 1549185099000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/22", + "shortcut": false, + "controllableName": "hue:ExtendedColorLightCandleHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:ExtendedColorLightCandleHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 195 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 5 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.3691 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.3723 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "hs" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 4348 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "candle" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "b63475cf-1281-430e-b9de-ee4a28f821a0", + "uiClass": "Light" + }, + { + "creationTime": 1549185099000, + "lastUpdateTime": 1549185099000, + "label": "* *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/23", + "shortcut": false, + "controllableName": "hue:ExtendedColorLightCandleHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:ExtendedColorLightCandleHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 195 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 5 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.3691 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.3723 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "hs" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 4348 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "candle" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "73f4eb82-dfca-4297-9753-c1246f88c803", + "uiClass": "Light" + }, + { + "creationTime": 1571464961000, + "lastUpdateTime": 1571464961000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/24", + "shortcut": false, + "controllableName": "hue:LightStripsPlusHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:LightStripsPlusHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 0 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 0 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.3804 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.3768 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "hs" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 4049 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "lightStrip" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "ff69a8e9-2123-4a12-965f-5f0e668637ad", + "uiClass": "Light" + }, + { + "creationTime": 1606140926000, + "lastUpdateTime": 1606140926000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/25", + "shortcut": false, + "controllableName": "hue:HueLuxHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:HueLuxHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "bulb" + } + ], + "available": false, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerLight", + "type": 1, + "oid": "f1c6332e-42b9-49de-ad1f-fd1a5d31ff9f", + "uiClass": "Light" + }, + { + "creationTime": 1606140926000, + "lastUpdateTime": 1606140926000, + "label": "* * * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/26", + "shortcut": false, + "controllableName": "hue:HueLuxHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:HueLuxHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "bulb" + } + ], + "available": false, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "DimmerLight", + "type": 1, + "oid": "fdbccb56-2c4e-4ec8-91b2-1c03d5dc7e05", + "uiClass": "Light" + }, + { + "creationTime": 1536832703000, + "lastUpdateTime": 1536832703000, + "label": "*", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/4", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 34 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 88 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.5267 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4133 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "ct" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 33 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "9a3dd28f-29b0-4a8a-8b1a-09a8c7b14899", + "uiClass": "Light" + }, + { + "creationTime": 1536832703000, + "lastUpdateTime": 1536832703000, + "label": "*’*", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/5", + "shortcut": false, + "controllableName": "hue:GenericExtendedColorLightHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:GenericExtendedColorLightHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 34 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 88 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.5267 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4133 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "ct" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "*’*" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 33 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "generic" + } + ], + "available": true, + "enabled": true, + "placeOID": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "be701830-79f8-46c1-a806-5f05aa7ea475", + "uiClass": "Light" + }, + { + "creationTime": 1536832703000, + "lastUpdateTime": 1536832703000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/8", + "shortcut": false, + "controllableName": "hue:HueSpotHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:HueSpotHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 59 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 89 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.5267 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4133 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "ct" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 50 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "spot" + } + ], + "available": true, + "enabled": true, + "placeOID": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "25854d79-a41b-4b99-97b7-e6fc4b793ddb", + "uiClass": "Light" + }, + { + "creationTime": 1536832703000, + "lastUpdateTime": 1536832703000, + "label": "* * *", + "deviceURL": "hue://1234-1234-4411/001788676dde/lights/9", + "shortcut": false, + "controllableName": "hue:HueSpotHUEComponent", + "definition": { + "commands": [ + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setCieColorSpaceXY", + "nparams": 2 + }, + { + "commandName": "setCTB", + "nparams": 2 + }, + { + "commandName": "setColorTemperature", + "nparams": 1 + }, + { + "commandName": "setHSB", + "nparams": 3 + }, + { + "commandName": "setHueAndSaturation", + "nparams": 2 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setRGB", + "nparams": 3 + }, + { + "commandName": "setXYB", + "nparams": 3 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceXState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CieColorSpaceYState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorHueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorSaturationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ColorTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "DiscreteState", + "values": [ + "ct", + "hs", + "xy" + ], + "qualifiedName": "hue:HueColorModeState" + } + ], + "dataProperties": [ + { + "value": "3000", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerHueSatOrCTLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "hue:HueSpotHUEComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:ColorHueState", + "type": 1, + "value": 59 + }, + { + "name": "core:ColorSaturationState", + "type": 1, + "value": 89 + }, + { + "name": "core:CieColorSpaceXState", + "type": 2, + "value": 0.5267 + }, + { + "name": "core:CieColorSpaceYState", + "type": 2, + "value": 0.4133 + }, + { + "name": "hue:HueColorModeState", + "type": 3, + "value": "ct" + }, + { + "name": "core:ColorTemperatureState", + "type": 1, + "value": 2000 + }, + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 50 + } + ], + "attributes": [ + { + "name": "core:LampType", + "type": 3, + "value": "spot" + } + ], + "available": true, + "enabled": true, + "placeOID": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "widget": "DimmerHueSatOrCTLight", + "type": 1, + "oid": "fbc0a3d1-a261-4f0d-8850-89001c0f20a4", + "uiClass": "Light" + }, + { + "creationTime": 1487089519000, + "lastUpdateTime": 1487089519000, + "label": "*", + "deviceURL": "internal://1234-1234-4411/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 60 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "TSKAlarmController", + "type": 1, + "oid": "ba9dbd61-abe7-45ab-9b85-42fdef376018", + "uiClass": "Alarm" + }, + { + "creationTime": 1454428917000, + "lastUpdateTime": 1454428917000, + "label": "*", + "deviceURL": "internal://1234-1234-4411/pod/0", + "shortcut": false, + "controllableName": "internal:PodComponent", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":false}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "Specific" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "Pod", + "type": 1, + "oid": "44d8e7fb-793e-4c79-a228-2d1f07652704", + "uiClass": "Pod" + }, + { + "creationTime": 1534436705000, + "lastUpdateTime": 1534436705000, + "label": "* * *", + "deviceURL": "io://1234-1234-4411/10478127", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "2cd89334-3e24-4285-a0b8-886f9e815439", + "widget": "SmokeSensor", + "type": 2, + "oid": "88d40ab5-0491-4fdf-b31a-e8301ba577e2", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1533996382000, + "lastUpdateTime": 1533996382000, + "label": "*) * * *", + "deviceURL": "io://1234-1234-4411/10500796", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) * * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 90.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120725B12" + } + ], + "available": true, + "enabled": true, + "placeOID": "f8ab533a-10e5-425e-b5d8-cbeb97b85b78", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "823ddfa0-29e8-4094-ad20-ac8f901fd4b3", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1534446863000, + "lastUpdateTime": 1534446863000, + "label": "* * *", + "deviceURL": "io://1234-1234-4411/11089829", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "f8ab533a-10e5-425e-b5d8-cbeb97b85b78", + "widget": "SmokeSensor", + "type": 2, + "oid": "7904489f-11f4-49e6-ae82-fcb681df8020", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1557590944000, + "lastUpdateTime": 1557590944000, + "label": "*) * *", + "deviceURL": "io://1234-1234-4411/11186955", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120725B12" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "7fb4e493-7eca-450c-a63a-0cff8247c9b9", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1534596386000, + "lastUpdateTime": 1534596386000, + "label": "* *", + "deviceURL": "io://1234-1234-4411/11846395", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 90.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "7837dfa7-7a97-4de5-a165-754e96be15f8", + "widget": "SmokeSensor", + "type": 2, + "oid": "6d5de17b-2d05-4f80-bba5-f0a19d2c2652", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1578766499000, + "lastUpdateTime": 1578766499000, + "label": "*) *", + "deviceURL": "io://1234-1234-4411/12930111", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 60.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120725B12" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "5c163e21-71cb-40bb-958b-4d74daf73ec6", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1630588330000, + "lastUpdateTime": 1630588330000, + "label": "* *", + "deviceURL": "io://1234-1234-4411/13281820", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 54.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "SmokeSensor", + "type": 2, + "oid": "caa17248-cfe9-453a-b200-365353c0577d", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1628702112000, + "lastUpdateTime": 1628702112000, + "label": "* *", + "deviceURL": "io://1234-1234-4411/14789418", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 92.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "SmokeSensor", + "type": 2, + "oid": "a83ccfeb-f622-4db6-9c16-b1a9123b176d", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1557854129000, + "lastUpdateTime": 1557854129000, + "label": "*) * *", + "deviceURL": "io://1234-1234-4411/1597881", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120727B12" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "d0419707-0efa-4a51-9aec-488fa86b26fd", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1533975725000, + "lastUpdateTime": 1533975725000, + "label": "*) * *", + "deviceURL": "io://1234-1234-4411/2372876", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 72.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120726B12" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "0b27f946-7700-47af-ad80-3f2520962b5d", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "21e3120b-07ce-45b5-a9e0-304af0f6df7e", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1528552244000, + "lastUpdateTime": 1528552244000, + "label": "*) *", + "deviceURL": "io://1234-1234-4411/3604448", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 98.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120726B09" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "40a044a3-8eb7-453d-8c97-3aaf66b5061d", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1628703685000, + "lastUpdateTime": 1628703685000, + "label": "* *", + "deviceURL": "io://1234-1234-4411/3843959", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 74.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "SmokeSensor", + "type": 2, + "oid": "a971b72d-b6f1-46df-96e9-d7559ba2761f", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1532108754000, + "lastUpdateTime": 1532108754000, + "label": "*) *", + "deviceURL": "io://1234-1234-4411/414926", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 86.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "set_auto_end_limits", + "set_auto_upper_end_limit", + "set_auto_lower_end_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "set_smart_protect", + "set_open_level", + "set_security_level", + "set_discreet_mode_speed", + "set_nominal_mode_speed", + "set_soft_start", + "set_soft_stop", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120725B12" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "6cf423d9-ab02-4ae5-ab9b-e33647c6dfda", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1600767320000, + "lastUpdateTime": 1600767320000, + "label": "* (*)", + "deviceURL": "io://1234-1234-4411/5585847", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "IOStack", + "type": 5, + "oid": "8cf66ded-2c0a-4adf-b4ab-9528413edcb4", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1578766019000, + "lastUpdateTime": 1578766019000, + "label": "*) *", + "deviceURL": "io://1234-1234-4411/7562967", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 70.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120725B12" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "0919f7d9-c433-4be5-9444-3dccf17d686d", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1527784219000, + "lastUpdateTime": 1527784219000, + "label": "*", + "deviceURL": "io://1234-1234-4411/7660951", + "shortcut": false, + "controllableName": "io:HorizontalAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableHorizontalAwning", + "uiProfiles": [ + "StatefulDeployableAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "Awning", + "qualifiedName": "io:HorizontalAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 68.0 + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5071665X10" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "widget": "PositionableHorizontalAwning", + "type": 1, + "oid": "dba0c0a6-e64c-499e-843e-008049cbb3db", + "uiClass": "Awning" + }, + { + "creationTime": 1557580546000, + "lastUpdateTime": 1557580546000, + "label": "*) * *", + "deviceURL": "io://1234-1234-4411/7712057", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 62.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120726B12" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "bb21011e-5fad-46aa-90fd-66ca7dc88171", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1452203457000, + "lastUpdateTime": 1452203457000, + "label": "* *", + "deviceURL": "io://1234-1234-4411/8547272", + "shortcut": false, + "controllableName": "io:IORemoteController", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "down", + "prog", + "stop", + "up" + ], + "qualifiedName": "io:OneWayControllerButtonState" + } + ], + "dataProperties": [], + "widgetName": "RemoteControllerOneWay", + "uiProfiles": [ + "Specific" + ], + "uiClass": "RemoteController", + "qualifiedName": "io:IORemoteController", + "type": "REMOTE_CONTROLLER" + }, + "states": [ + { + "name": "io:OneWayControllerButtonState", + "type": 3, + "value": "down" + } + ], + "available": true, + "enabled": true, + "placeOID": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "widget": "RemoteControllerOneWay", + "type": 4, + "oid": "f0d3faf3-c357-4122-a13c-fc22d7f4ee9c", + "uiClass": "RemoteController" + }, + { + "creationTime": 1528534686000, + "lastUpdateTime": 1528534686000, + "label": "*) *", + "deviceURL": "io://1234-1234-4411/8707134", + "shortcut": false, + "controllableName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosureAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPositionAndLinearSpeed", + "nparams": 2 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutterWithLowSpeedManagement", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterWithLowSpeedManagementIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*) *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 76.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 98 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 98 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5120728B12" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "PositionableRollerShutterWithLowSpeedManagement", + "type": 1, + "oid": "d42125ec-f793-4ea5-918d-a01112561a11", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1534438170000, + "lastUpdateTime": 1534438170000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-4411/uuid:RINCON_000E586B571601400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayFiveComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayFiveComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.1.41" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos Play:5" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Woonkamer" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_000E586B571601400:2418924029" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + } + ], + "available": true, + "enabled": true, + "placeOID": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "widget": "MediaRenderer", + "type": 1, + "oid": "825c5e2e-dfc5-4433-9379-4104aa672f6f", + "uiClass": "MusicPlayer" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "disconnectionConfiguration": { + "targetPushSubscriptions": [ + "7ff9df9d-e7a9-4b12-8fb2-cec23ae62ab0" + ], + "notificationType": "PUSH" + }, + "oid": "7130e2e6-e081-4670-957f-e2e0214dc717", + "rootPlace": { + "creationTime": 1452098914000, + "lastUpdateTime": 1452111467000, + "label": "*", + "type": 200, + "oid": "7639a7c6-8a50-436d-8815-9b91bdb911eb", + "subPlaces": [ + { + "creationTime": 1452111467000, + "lastUpdateTime": 1452111467000, + "label": "* *", + "type": 101, + "oid": "a401d2e6-eb82-41d1-897f-791b2c994d15", + "subPlaces": [ + { + "creationTime": 1452111468000, + "lastUpdateTime": 1452111468000, + "label": "*", + "type": 14, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "cb03bb84-5f66-40e0-88cf-f7585c928dde", + "subPlaces": [] + }, + { + "creationTime": 1547378518000, + "lastUpdateTime": 1547378518000, + "label": "*", + "type": 23, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "2cd89334-3e24-4285-a0b8-886f9e815439", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1452111586000, + "lastUpdateTime": 1452111586000, + "label": "* *", + "type": 102, + "oid": "6801bf98-ffd2-4e71-8833-560769494e62", + "subPlaces": [ + { + "creationTime": 1452111587000, + "lastUpdateTime": 1452111587000, + "label": "*", + "type": 8, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "74a85ed3-2c83-4a9f-9f91-5ac6d3fe6d96", + "subPlaces": [] + }, + { + "creationTime": 1534092304000, + "lastUpdateTime": 1534092304000, + "label": "*", + "type": 23, + "metadata": "{\"tahoma\":{\"order\":4}}", + "oid": "f8ab533a-10e5-425e-b5d8-cbeb97b85b78", + "subPlaces": [] + }, + { + "creationTime": 1452111587000, + "lastUpdateTime": 1547378518000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "1bf302c7-beb3-4ef4-acd2-5fca9fcb87a1", + "subPlaces": [] + }, + { + "creationTime": 1452111587000, + "lastUpdateTime": 1452111587000, + "label": "*", + "type": 16, + "metadata": "{\"tahoma\":{\"order\":3}}", + "oid": "0b27f946-7700-47af-ad80-3f2520962b5d", + "subPlaces": [] + }, + { + "creationTime": 1452111587000, + "lastUpdateTime": 1452111587000, + "label": "*", + "type": 11, + "metadata": "{\"tahoma\":{\"order\":2}}", + "oid": "8df520b0-803d-445c-a398-99573f82f44d", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1452111587000, + "lastUpdateTime": 1452111587000, + "label": "* *", + "type": 103, + "oid": "7837dfa7-7a97-4de5-a165-754e96be15f8", + "subPlaces": [] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_local.json b/tests/fixtures/setup/setup_local.json new file mode 100644 index 00000000..7b1ec9e9 --- /dev/null +++ b/tests/fixtures/setup/setup_local.json @@ -0,0 +1,441 @@ +{ + "gateways": [ + { + "connectivity": { + "status": "OK", + "protocolVersion": "2021.2.4-17" + }, + "gatewayId": "1234-1234-1234" + } + ], + "devices": [ + { + "deviceURL": "internal://1234-1234-1234/pod/0", + "available": true, + "synced": true, + "type": 1, + "states": [ + { + "type": 3, + "name": "core:CountryCodeState", + "value": "NL" + }, + { + "type": 1, + "name": "internal:LightingLedPodModeState", + "value": 1 + }, + { + "type": 3, + "name": "core:NameState", + "value": "*" + }, + { + "type": 3, + "name": "core:ConnectivityState", + "value": "online" + }, + { + "type": 3, + "name": "core:LocalIPv4AddressState", + "value": "192.168.150.8" + } + ], + "label": "*", + "subsystemId": 0, + "attributes": [], + "enabled": true, + "controllableName": "internal:PodMiniComponent", + "definition": { + "states": [ + { + "name": "core:ConnectivityState" + }, + { + "name": "core:CountryCodeState" + }, + { + "name": "core:LocalIPv4AddressState" + }, + { + "name": "core:NameState" + }, + { + "name": "internal:LastActionConfigButtonState" + }, + { + "name": "internal:LightingLedPodModeState" + } + ], + "widgetName": "Pod", + "type": "ACTUATOR", + "commands": [ + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "setCalendar", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setCountryCode", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setLightingLedPodMode", + "paramsSig": "p1" + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + } + ], + "uiClass": "Pod" + } + }, + { + "deviceURL": "io://1234-1234-1234/5928357", + "available": true, + "synced": true, + "type": 1, + "states": [ + { + "type": 3, + "name": "core:StatusState", + "value": "available" + }, + { + "type": 3, + "name": "core:DiscreteRSSILevelState", + "value": "good" + }, + { + "type": 1, + "name": "core:RSSILevelState", + "value": 88 + }, + { + "type": 1, + "name": "core:DeploymentState", + "value": 0 + }, + { + "type": 11, + "name": "core:ManufacturerSettingsState", + "value": { + "currentPosition": 0 + } + }, + { + "type": 3, + "name": "core:OpenClosedState", + "value": "closed" + }, + { + "type": 1, + "name": "core:TargetClosureState", + "value": 0 + }, + { + "type": 6, + "name": "core:MovingState", + "value": false + }, + { + "type": 3, + "name": "core:NameState", + "value": "*" + }, + { + "type": 1, + "name": "core:Memorized1PositionState", + "value": 105 + } + ], + "label": "*", + "subsystemId": 0, + "attributes": [ + { + "type": 3, + "name": "core:Manufacturer", + "value": "Somfy" + }, + { + "type": 3, + "name": "core:FirmwareRevision", + "value": "5071665X10\u0003" + } + ], + "enabled": true, + "controllableName": "io:HorizontalAwningIOComponent", + "definition": { + "states": [ + { + "name": "core:AdditionalStatusState" + }, + { + "name": "core:DeploymentState" + }, + { + "name": "core:DiscreteRSSILevelState" + }, + { + "name": "core:ManufacturerSettingsState" + }, + { + "name": "core:Memorized1PositionState" + }, + { + "name": "core:MovingState" + }, + { + "name": "core:NameState" + }, + { + "name": "core:OpenClosedState" + }, + { + "name": "core:RSSILevelState" + }, + { + "name": "core:SecuredPositionState" + }, + { + "name": "core:StatusState" + }, + { + "name": "core:TargetClosureState" + } + ], + "widgetName": "PositionableHorizontalAwning", + "type": "ACTUATOR", + "commands": [ + { + "nparams": 1, + "commandName": "advancedRefresh", + "paramsSig": "p1" + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "delayedStopIdentify", + "paramsSig": "p1" + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "pairOneWayController", + "paramsSig": "p1,*p2" + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "nparams": 2, + "commandName": "runManufacturerSettingsCommand", + "paramsSig": "p1,p2" + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "setClosure", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setConfigState", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setDeployment", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setMemorized1Position", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setName", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setPosition", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "setSecuredPosition", + "paramsSig": "p1" + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "unpairOneWayController", + "paramsSig": "p1,*p2" + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "nparams": 1, + "commandName": "wink", + "paramsSig": "p1" + } + ], + "uiClass": "Awning" + } + }, + { + "deviceURL": "io://1234-1234-1234/16516299", + "available": true, + "synced": true, + "type": 5, + "states": [], + "label": "* (*)", + "subsystemId": 0, + "attributes": [ + { + "type": 3, + "name": "core:Manufacturer", + "value": "Somfy" + } + ], + "enabled": true, + "controllableName": "io:StackComponent", + "definition": { + "states": [], + "widgetName": "IOStack", + "type": "PROTOCOL_GATEWAY", + "commands": [ + { + "nparams": 1, + "commandName": "advancedSomfyDiscover", + "paramsSig": "p1" + }, + { + "nparams": 0, + "commandName": "discover1WayController", + "paramsSig": "*p1,*p2" + }, + { + "nparams": 1, + "commandName": "discoverActuators", + "paramsSig": "p1" + }, + { + "nparams": 1, + "commandName": "discoverSensors", + "paramsSig": "p1" + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "uiClass": "ProtocolGateway" + } + } + ] +} diff --git a/tests/fixtures/setup/setup_nexity.json b/tests/fixtures/setup/setup_nexity.json new file mode 100644 index 00000000..f2332922 --- /dev/null +++ b/tests/fixtures/setup/setup_nexity.json @@ -0,0 +1,3800 @@ +{ + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "id": "SETUP-1234-1234-2813", + "location": { + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "city": "*", + "country": "*", + "postalCode": "*", + "addressLine1": "* *", + "timezone": "Europe/Paris", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "FR" + }, + "gateways": [ + { + "gatewayId": "1234-1234-2813", + "type": 74, + "subType": 0, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.3.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "mode": "ACTIVE", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS" + } + ], + "devices": [ + { + "creationTime": 1589176555000, + "lastUpdateTime": 1589176555000, + "label": "*", + "deviceURL": "internal://1234-1234-2813/pod/0", + "shortcut": false, + "controllableName": "internal:PodMiniComponent", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "doublePress", + "longPress", + "simplePress", + "triplePress", + "veryLongPress" + ], + "qualifiedName": "internal:LastActionConfigButtonState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodMiniComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "FR" + }, + { + "name": "internal:LastActionConfigButtonState", + "type": 3, + "value": "longPress" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.1.27" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "Pod", + "type": 1, + "oid": "b6d795e9-fd16-493f-a66b-e848dae79072", + "uiClass": "Pod" + }, + { + "creationTime": 1592321018000, + "lastUpdateTime": 1592321018000, + "label": "* *ê* ", + "deviceURL": "io://1234-1234-2813/10893297", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'28fdc3cc-8e36-43ec-b6f7-a37c473dd265'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "unavailable" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 76.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 6 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": false, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "7deebcb6-0054-48e6-b217-7e990e7e8d39", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321237000, + "lastUpdateTime": 1592321237000, + "label": "* *", + "deviceURL": "io://1234-1234-2813/13587394", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'58017180-c81c-498b-b24b-488fdcd9df87'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 78.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "7fc62a87-e008-49f9-a2f7-5e6805821a40", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321177000, + "lastUpdateTime": 1592321177000, + "label": "*", + "deviceURL": "io://1234-1234-2813/16079171", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'35cb1bd4-006b-4192-a1e4-4d1e286027fa'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *é *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 80.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "778fa2f1-f1fd-45ce-b725-f545aaafa982", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1591357257000, + "lastUpdateTime": 1591357257000, + "label": "* * *é* ", + "deviceURL": "io://1234-1234-2813/3727423", + "shortcut": false, + "controllableName": "io:TemperatureIOSystemSensor", + "metadata": "{'id':'95bfd0e7-608b-4095-bcd0-395c07d18898'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:TemperatureIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 24.80000000000001 + } + ], + "attributes": [ + { + "name": "core:MaxSensedValue", + "type": 1, + "value": 60 + }, + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:MinSensedValue", + "type": 1, + "value": -20 + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "TemperatureSensor", + "type": 2, + "oid": "798a1cab-2b49-4c4b-8b61-29520f2ba6d7", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1591357187000, + "lastUpdateTime": 1591357187000, + "label": "*é* * *é* ", + "deviceURL": "io://1234-1234-2813/3829539", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "metadata": "{'id':'518d15e3-a673-43ed-8bcb-b15dd6dc8e1f'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 88.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "SmokeSensor", + "type": 2, + "oid": "a89cc808-5c13-44a0-9f67-f03ed6a327c2", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1592321061000, + "lastUpdateTime": 1592321061000, + "label": "*", + "deviceURL": "io://1234-1234-2813/4648912", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'c6236cae-cd68-42b3-a0c5-9c0e81d52a34'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 90.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "374e3c8e-2e54-4dc2-ac62-95d983b9e4cf", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321269000, + "lastUpdateTime": 1592321269000, + "label": "* *", + "deviceURL": "io://1234-1234-2813/4922525", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'1ca0fa18-5a2a-47bf-b3c2-3c914a37b3db'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 50.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 50 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 50 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5137443A01?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "26cc3526-915d-4e84-aaeb-944e3bb9ae73", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1614679637000, + "lastUpdateTime": 1614679637000, + "label": "* (*)", + "deviceURL": "io://1234-1234-2813/618180", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "IOStack", + "type": 5, + "oid": "842c3f98-fc37-4ff2-86fd-92d48b176dbd", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1592320982000, + "lastUpdateTime": 1592320982000, + "label": "*ê* *", + "deviceURL": "io://1234-1234-2813/6282633", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'a88c9b56-8c8f-446a-adf0-798f5beac8b1'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*ê* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "0653b46d-2ff7-4a96-a567-44048a49981e", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1591347378000, + "lastUpdateTime": 1591347378000, + "label": "* (*#*)", + "deviceURL": "zwave://1234-1234-2813/1#1", + "shortcut": false, + "controllableName": "zwave:NodeComponent", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + } + ], + "dataProperties": [], + "widgetName": "Node", + "uiProfiles": [ + "Specific" + ], + "uiClass": "NetworkComponent", + "qualifiedName": "zwave:NodeComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:DeviceDefectState", + "type": 3, + "value": "5,6" + }, + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "5,6" + } + ], + "attributes": [ + { + "name": "zwave:HighestSupportedSecurityType", + "type": 3, + "value": "S2" + }, + { + "name": "zwave:SupportedSecurityTypes", + "type": 3, + "value": "S2,S0,CRC16" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "Node", + "type": 1, + "oid": "6503ec4b-ecab-4b2a-b502-da7ccdf310da", + "uiClass": "NetworkComponent" + }, + { + "creationTime": 1591347378000, + "lastUpdateTime": 1591347378000, + "label": "* (*#*)", + "deviceURL": "zwave://1234-1234-2813/1#2", + "shortcut": false, + "controllableName": "zwave:TransceiverZWaveComponent", + "definition": { + "commands": [ + { + "commandName": "startExclusion", + "nparams": 1 + }, + { + "commandName": "startExclusionWithMode", + "nparams": 2 + }, + { + "commandName": "stopExclusion", + "nparams": 0 + }, + { + "commandName": "startInclusion", + "nparams": 1 + }, + { + "commandName": "startInclusionWithModeAndSecurityLevel", + "nparams": 3 + }, + { + "commandName": "startInclusionWithMode", + "nparams": 2 + }, + { + "commandName": "stopInclusion", + "nparams": 0 + }, + { + "commandName": "startLearn", + "nparams": 1 + }, + { + "commandName": "startLearnWithMode", + "nparams": 2 + }, + { + "commandName": "stopLearn", + "nparams": 0 + }, + { + "commandName": "isFailedDevice", + "nparams": 1 + }, + { + "commandName": "removeFailedNode", + "nparams": 1 + }, + { + "commandName": "replaceFailedDevice", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:TransceiverStatusState" + } + ], + "dataProperties": [], + "widgetName": "ZWaveTransceiver", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "zwave:TransceiverZWaveComponent", + "type": "PROTOCOL_GATEWAY" + }, + "states": [ + { + "name": "core:TransceiverStatusState", + "type": 3, + "value": "normal" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ZWaveTransceiver", + "type": 5, + "oid": "7b0b43a0-4c05-4cbf-8b50-02548cb6df75", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1591357277000, + "lastUpdateTime": 1591357277000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/2", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'09f9f6da-81eb-40bb-84cd-1b32d513b7ac'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 19.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 100 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "full" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1592320957432 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + }, + { + "name": "core:DeviceDefectState", + "type": 3, + "value": "failed" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": false, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "b2699930-6e93-4dd1-b790-3fb1232e5366", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357296000, + "lastUpdateTime": 1591357296000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/3", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'bd0bdfb1-fe87-4c12-82cd-02da129611bf'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 75 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1632415043748 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "658f564a-9fca-4526-a790-d83260c08676", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357313000, + "lastUpdateTime": 1591357313000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/4", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'9fd1a2b3-dc07-4c52-8678-ee117856be65'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 73 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1632414318438 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "c27fd191-9ee8-4f78-a265-609a455116dc", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357336000, + "lastUpdateTime": 1591357336000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/5", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'b3fdb146-58df-44ca-8025-b82f78825e93'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,6" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "8dadf58d-cd7b-4f77-8639-bce5a93ae349", + "uiClass": "Light" + }, + { + "creationTime": 1591357374000, + "lastUpdateTime": 1591357374000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/6", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'09222757-1386-45e4-b79d-183c1cc5b2e3'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,7" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "0513fc1a-7f9f-4f64-964f-5945cdc029fb", + "uiClass": "Light" + }, + { + "creationTime": 1591357409000, + "lastUpdateTime": 1591357409000, + "label": "*é* ", + "deviceURL": "zwave://1234-1234-2813/7", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'4a44fe95-54e3-49f4-ba1d-b1602ff22724'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "6" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "ac3ac24a-9e36-4e52-968e-d9a1203b5f13", + "uiClass": "Light" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "24ce9730-3d47-468a-ab1c-b4e66736b917", + "rootPlace": { + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "label": "* *", + "type": 0, + "oid": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "subPlaces": [] + }, + "features": [] +} diff --git a/tests/fixtures/setup/setup_rexel.json b/tests/fixtures/setup/setup_rexel.json new file mode 100644 index 00000000..778564a3 --- /dev/null +++ b/tests/fixtures/setup/setup_rexel.json @@ -0,0 +1,3800 @@ +{ + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "id": "SETUP-1234-1234-2813", + "location": { + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "city": "*", + "country": "*", + "postalCode": "*", + "addressLine1": "* *", + "timezone": "Europe/Paris", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "FR" + }, + "gateways": [ + { + "gatewayId": "1234-1234-2813", + "type": 74, + "subType": 0, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.3.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "mode": "ACTIVE", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS" + } + ], + "devices": [ + { + "creationTime": 1589176555000, + "lastUpdateTime": 1589176555000, + "label": "*", + "deviceURL": "internal://1234-1234-2813/pod/0", + "shortcut": false, + "controllableName": "internal:PodMiniComponent", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "doublePress", + "longPress", + "simplePress", + "triplePress", + "veryLongPress" + ], + "qualifiedName": "internal:LastActionConfigButtonState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodMiniComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "FR" + }, + { + "name": "internal:LastActionConfigButtonState", + "type": 3, + "value": "longPress" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.1.27" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "Pod", + "type": 1, + "oid": "b6d795e9-fd16-493f-a66b-e848dae79072", + "uiClass": "Pod" + }, + { + "creationTime": 1592321018000, + "lastUpdateTime": 1592321018000, + "label": "* *ê* ", + "deviceURL": "io://1234-1234-2813/10893297", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'28fdc3cc-8e36-43ec-b6f7-a37c473dd265'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "unavailable" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 76.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 6 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": false, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "7deebcb6-0054-48e6-b217-7e990e7e8d39", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321237000, + "lastUpdateTime": 1592321237000, + "label": "* *", + "deviceURL": "io://1234-1234-2813/13587394", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'58017180-c81c-498b-b24b-488fdcd9df87'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 78.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "7fc62a87-e008-49f9-a2f7-5e6805821a40", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321177000, + "lastUpdateTime": 1592321177000, + "label": "* *é *", + "deviceURL": "io://1234-1234-2813/16079171", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'35cb1bd4-006b-4192-a1e4-4d1e286027fa'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *é *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 80.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "778fa2f1-f1fd-45ce-b725-f545aaafa982", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1591357257000, + "lastUpdateTime": 1591357257000, + "label": "* * *é* ", + "deviceURL": "io://1234-1234-2813/3727423", + "shortcut": false, + "controllableName": "io:TemperatureIOSystemSensor", + "metadata": "{'id':'95bfd0e7-608b-4095-bcd0-395c07d18898'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:TemperatureIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 24.80000000000001 + } + ], + "attributes": [ + { + "name": "core:MaxSensedValue", + "type": 1, + "value": 60 + }, + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:MinSensedValue", + "type": 1, + "value": -20 + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "TemperatureSensor", + "type": 2, + "oid": "798a1cab-2b49-4c4b-8b61-29520f2ba6d7", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1591357187000, + "lastUpdateTime": 1591357187000, + "label": "*é* * *é* ", + "deviceURL": "io://1234-1234-2813/3829539", + "shortcut": false, + "controllableName": "io:SomfySmokeIOSystemSensor", + "metadata": "{'id':'518d15e3-a673-43ed-8bcb-b15dd6dc8e1f'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "checkEventTrigger", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceRadioPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "low", + "normal" + ], + "qualifiedName": "io:MaintenanceSensorPartBatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "clean", + "dirty" + ], + "qualifiedName": "io:SensorRoomState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "io:SomfySmokeIOSystemSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + }, + { + "name": "io:MaintenanceRadioPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "io:MaintenanceSensorPartBatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 88.0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "SmokeSensor", + "type": 2, + "oid": "a89cc808-5c13-44a0-9f67-f03ed6a327c2", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1592321061000, + "lastUpdateTime": 1592321061000, + "label": "*", + "deviceURL": "io://1234-1234-2813/4648912", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'c6236cae-cd68-42b3-a0c5-9c0e81d52a34'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 90.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "374e3c8e-2e54-4dc2-ac62-95d983b9e4cf", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1592321269000, + "lastUpdateTime": 1592321269000, + "label": "* *", + "deviceURL": "io://1234-1234-2813/4922525", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'1ca0fa18-5a2a-47bf-b3c2-3c914a37b3db'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 50.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 50 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 50 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5137443A01?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "26cc3526-915d-4e84-aaeb-944e3bb9ae73", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1614679637000, + "lastUpdateTime": 1614679637000, + "label": "* (*)", + "deviceURL": "io://1234-1234-2813/618180", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "IOStack", + "type": 5, + "oid": "842c3f98-fc37-4ff2-86fd-92d48b176dbd", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1592320982000, + "lastUpdateTime": 1592320982000, + "label": "*ê* *", + "deviceURL": "io://1234-1234-2813/6282633", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "metadata": "{'id':'a88c9b56-8c8f-446a-adf0-798f5beac8b1'}", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*ê* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "0653b46d-2ff7-4a96-a567-44048a49981e", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1591347378000, + "lastUpdateTime": 1591347378000, + "label": "* (*#*)", + "deviceURL": "zwave://1234-1234-2813/1#1", + "shortcut": false, + "controllableName": "zwave:NodeComponent", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + } + ], + "dataProperties": [], + "widgetName": "Node", + "uiProfiles": [ + "Specific" + ], + "uiClass": "NetworkComponent", + "qualifiedName": "zwave:NodeComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:DeviceDefectState", + "type": 3, + "value": "5,6" + }, + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "5,6" + } + ], + "attributes": [ + { + "name": "zwave:HighestSupportedSecurityType", + "type": 3, + "value": "S2" + }, + { + "name": "zwave:SupportedSecurityTypes", + "type": 3, + "value": "S2,S0,CRC16" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "Node", + "type": 1, + "oid": "6503ec4b-ecab-4b2a-b502-da7ccdf310da", + "uiClass": "NetworkComponent" + }, + { + "creationTime": 1591347378000, + "lastUpdateTime": 1591347378000, + "label": "* (*#*)", + "deviceURL": "zwave://1234-1234-2813/1#2", + "shortcut": false, + "controllableName": "zwave:TransceiverZWaveComponent", + "definition": { + "commands": [ + { + "commandName": "startExclusion", + "nparams": 1 + }, + { + "commandName": "startExclusionWithMode", + "nparams": 2 + }, + { + "commandName": "stopExclusion", + "nparams": 0 + }, + { + "commandName": "startInclusion", + "nparams": 1 + }, + { + "commandName": "startInclusionWithModeAndSecurityLevel", + "nparams": 3 + }, + { + "commandName": "startInclusionWithMode", + "nparams": 2 + }, + { + "commandName": "stopInclusion", + "nparams": 0 + }, + { + "commandName": "startLearn", + "nparams": 1 + }, + { + "commandName": "startLearnWithMode", + "nparams": 2 + }, + { + "commandName": "stopLearn", + "nparams": 0 + }, + { + "commandName": "isFailedDevice", + "nparams": 1 + }, + { + "commandName": "removeFailedNode", + "nparams": 1 + }, + { + "commandName": "replaceFailedDevice", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:TransceiverStatusState" + } + ], + "dataProperties": [], + "widgetName": "ZWaveTransceiver", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "zwave:TransceiverZWaveComponent", + "type": "PROTOCOL_GATEWAY" + }, + "states": [ + { + "name": "core:TransceiverStatusState", + "type": 3, + "value": "normal" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ZWaveTransceiver", + "type": 5, + "oid": "7b0b43a0-4c05-4cbf-8b50-02548cb6df75", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1591357277000, + "lastUpdateTime": 1591357277000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/2", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'09f9f6da-81eb-40bb-84cd-1b32d513b7ac'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 19.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 100 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "full" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1592320957432 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + }, + { + "name": "core:DeviceDefectState", + "type": 3, + "value": "failed" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": false, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "b2699930-6e93-4dd1-b790-3fb1232e5366", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357296000, + "lastUpdateTime": 1591357296000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/3", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'bd0bdfb1-fe87-4c12-82cd-02da129611bf'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 75 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1632415043748 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "658f564a-9fca-4526-a790-d83260c08676", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357313000, + "lastUpdateTime": 1591357313000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/4", + "shortcut": false, + "controllableName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "metadata": "{'id':'9fd1a2b3-dc07-4c52-8678-ee117856be65'}", + "definition": { + "commands": [ + { + "commandName": "refreshBatteryLevel", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setComfortTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setFrostProtectionTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHolidaysTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setTargetTemperature", + "nparams": 1 + }, + { + "commandName": "refreshManufacturerSpecific", + "nparams": 0 + }, + { + "commandName": "refreshThermostatSetPoint", + "nparams": 1 + }, + { + "commandName": "refreshThermostatSetpointSupported", + "nparams": 0 + }, + { + "commandName": "refreshWakeUpInterval", + "nparams": 0 + }, + { + "commandName": "setSetPointTypeAndTargetTemperature", + "nparams": 2 + }, + { + "commandName": "setTargetWakeUpInterval", + "nparams": 1 + }, + { + "commandName": "setThermostatSetpoint", + "nparams": 4 + }, + { + "commandName": "setTargetModeAlias", + "nparams": 1 + }, + { + "commandName": "setWakeUpInterval", + "nparams": 1 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:BatteryLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:FrostProtectionTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HolidaysTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ThermostatOffsetState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificManufacturerIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductIdState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:ManufacturerSpecificProductTypeIdState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAutochangeoverValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwaycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointAwayheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointCoolingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointDryValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergycoolValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointEnergyheatValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFullpowerValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointFurnaceValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointHeatingValueState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:SetPointMoistValueState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:SetPointSupportedState" + }, + { + "type": "DiscreteState", + "values": [ + "autochangeover", + "awaycool", + "awayheat", + "cooling", + "dry", + "energycool", + "energyheat", + "fullpower", + "furnace", + "heating", + "moist" + ], + "qualifiedName": "zwave:SetPointTypeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:TargetWakeUpIntervalState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatModeAliasState" + }, + { + "type": "DiscreteState", + "values": [ + "comfort", + "eco", + "frostprotection", + "holidays", + "manu" + ], + "qualifiedName": "zwave:ThermostatTargetModeAliasState" + }, + { + "type": "ContinuousState", + "qualifiedName": "zwave:WakeUpIntervalTimeState" + }, + { + "type": "DataState", + "qualifiedName": "zwave:WakeUpNotificationTimeState" + } + ], + "dataProperties": [], + "widgetName": "ProgrammableAndProtectableThermostatSetPoint", + "uiProfiles": [ + "StatefulThermostat", + "Thermostat", + "ThermostatOffsetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter" + ], + "qualifiedName": "zwave:ProgrammableAndProtectableThermostatSetPointZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,6,7" + }, + { + "name": "zwave:SetPointTypeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:SetPointHeatingValueState", + "type": 2, + "value": 17.0 + }, + { + "name": "zwave:ManufacturerSpecificManufacturerIdState", + "type": 1, + "value": 2 + }, + { + "name": "zwave:ManufacturerSpecificProductTypeIdState", + "type": 1, + "value": 5 + }, + { + "name": "zwave:ManufacturerSpecificProductIdState", + "type": 1, + "value": 4 + }, + { + "name": "core:BatteryLevelState", + "type": 1, + "value": 73 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "zwave:WakeUpIntervalTimeState", + "type": 1, + "value": 1800 + }, + { + "name": "zwave:WakeUpNotificationTimeState", + "type": 1, + "value": 1632414318438 + }, + { + "name": "zwave:ThermostatModeAliasState", + "type": 3, + "value": "manu" + }, + { + "name": "zwave:TargetWakeUpIntervalState", + "type": 1, + "value": 1800 + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "ProgrammableAndProtectableThermostatSetPoint", + "type": 1, + "oid": "c27fd191-9ee8-4f78-a265-609a455116dc", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1591357336000, + "lastUpdateTime": 1591357336000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/5", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'b3fdb146-58df-44ca-8025-b82f78825e93'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,6" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "on" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "8dadf58d-cd7b-4f77-8639-bce5a93ae349", + "uiClass": "Light" + }, + { + "creationTime": 1591357374000, + "lastUpdateTime": 1591357374000, + "label": "*", + "deviceURL": "zwave://1234-1234-2813/6", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'09222757-1386-45e4-b79d-183c1cc5b2e3'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "1,5,7" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "0513fc1a-7f9f-4f64-964f-5945cdc029fb", + "uiClass": "Light" + }, + { + "creationTime": 1591357409000, + "lastUpdateTime": 1591357409000, + "label": "*é* ", + "deviceURL": "zwave://1234-1234-2813/7", + "shortcut": false, + "controllableName": "zwave:OnOffLightZWaveComponent", + "metadata": "{'id':'4a44fe95-54e3-49f4-ba1d-b1602ff22724'}", + "definition": { + "commands": [ + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshOnOffState", + "nparams": 0 + }, + { + "commandName": "setOnOff", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "failed" + ], + "qualifiedName": "core:DeviceDefectState" + }, + { + "type": "DataState", + "qualifiedName": "core:NeighboursAddressesState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + } + ], + "dataProperties": [], + "widgetName": "StatefulOnOffLight", + "uiProfiles": [ + "StatefulSwitchableLight", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "zwave:OnOffLightZWaveComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NeighboursAddressesState", + "type": 3, + "value": "6" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "zwave:SupportedFeatures", + "type": 10, + "value": [ + "association" + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "widget": "StatefulOnOffLight", + "type": 1, + "oid": "ac3ac24a-9e36-4e52-968e-d9a1203b5f13", + "uiClass": "Light" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "24ce9730-3d47-468a-ab1c-b4e66736b917", + "rootPlace": { + "creationTime": 1575558559000, + "lastUpdateTime": 1575558559000, + "label": "* *", + "type": 0, + "oid": "9df357a0-0bc2-4b7e-b4d6-cc42ebd5f071", + "subPlaces": [] + }, + "features": [] +} diff --git a/tests/fixtures/setup/setup_tahoma_3.json b/tests/fixtures/setup/setup_tahoma_3.json new file mode 100644 index 00000000..f02a7d3f --- /dev/null +++ b/tests/fixtures/setup/setup_tahoma_3.json @@ -0,0 +1,7373 @@ +{ + "creationTime": 1501224054000, + "lastUpdateTime": 1501224054000, + "id": "SETUP-1234-1234-6233", + "location": { + "creationTime": 1501224054000, + "lastUpdateTime": 1536691223000, + "city": "* * *", + "country": "*", + "postalCode": "*", + "addressLine1": "*, * * *", + "addressLine2": "", + "timezone": "Europe/Paris", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": true, + "dawnOffset": 0, + "duskOffset": -70, + "countryCode": "FR" + }, + "gateways": [ + { + "gatewayId": "1234-1234-6233", + "type": 29, + "subType": 13, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.2.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS", + "mode": "ACTIVE" + } + ], + "devices": [ + { + "creationTime": 1527329167000, + "lastUpdateTime": 1527329167000, + "label": "* *", + "deviceURL": "camera://1234-1234-6233/00408cbef1e6", + "shortcut": false, + "controllableName": "camera:GenericCameraComponent", + "definition": { + "commands": [ + { + "commandName": "takePicture", + "nparams": 0 + }, + { + "commandName": "takePictureSequence", + "nparams": 2 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "GenericCamera", + "uiProfiles": [ + "PictureCamera" + ], + "uiClass": "Camera", + "qualifiedName": "camera:GenericCameraComponent", + "type": "ACTUATOR" + }, + "available": false, + "enabled": false, + "placeOID": "bcbb34ef-2241-43a1-9c5b-523aa0563ec3", + "widget": "GenericCamera", + "type": 1, + "oid": "62747028-82a6-4770-a556-4858f879d1bd", + "uiClass": "Camera" + }, + { + "creationTime": 1606823644000, + "lastUpdateTime": 1606823644000, + "label": "* (*)", + "deviceURL": "homekit://1234-1234-6233/stack", + "shortcut": false, + "controllableName": "homekit:StackComponent", + "definition": { + "commands": [ + { + "commandName": "deleteControllers", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "HomekitStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "homekit:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "attributes": [ + { + "name": "homekit:SetupPayload", + "type": 3, + "value": "*://*" + }, + { + "name": "homekit:SetupCode", + "type": 3, + "value": "*" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "HomekitStack", + "type": 5, + "oid": "7cd791e0-19e3-43b1-9c02-44b457ca0ff7", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1501224146000, + "lastUpdateTime": 1501224146000, + "label": "*", + "deviceURL": "internal://1234-1234-6233/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 30 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "TSKAlarmController", + "type": 1, + "oid": "7378d395-a3df-4ee5-bd3d-ab958dc649dd", + "uiClass": "Alarm" + }, + { + "creationTime": 1501224054000, + "lastUpdateTime": 1501224054000, + "label": "* *", + "deviceURL": "internal://1234-1234-6233/pod/0", + "shortcut": false, + "controllableName": "internal:PodV2Component", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":true}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshBatteryStatus", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "pressed", + "stop" + ], + "qualifiedName": "core:CyclicButtonState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:BatteryStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodV2Component", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:BatteryStatusState", + "type": 3, + "value": "no" + }, + { + "name": "core:CyclicButtonState", + "type": 3, + "value": "pressed" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 0.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "FR" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.50.4" + } + ], + "available": true, + "enabled": true, + "placeOID": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "widget": "Pod", + "type": 1, + "oid": "e6f12045-b956-4e32-874d-8096860a9df4", + "uiClass": "Pod" + }, + { + "creationTime": 1521964729000, + "lastUpdateTime": 1521964729000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/1166863", + "shortcut": false, + "controllableName": "io:GarageOpenerIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open", + "unknown" + ], + "qualifiedName": "core:OpenClosedUnknownState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableGarageDoor", + "uiProfiles": [ + "StatefulCloseableGarageOpener", + "StatefulCloseable", + "Closeable", + "OpenClose" + ], + "uiClass": "GarageDoor", + "qualifiedName": "io:GarageOpenerIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 80.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedUnknownState", + "type": 3, + "value": "closed" + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5047247X47?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "bcbb34ef-2241-43a1-9c5b-523aa0563ec3", + "widget": "PositionableGarageDoor", + "type": 1, + "oid": "0df95043-359c-4b3d-9147-f49b2b35053c", + "uiClass": "GarageDoor" + }, + { + "creationTime": 1552163547000, + "lastUpdateTime": 1552163547000, + "label": "* *&*", + "deviceURL": "io://1234-1234-6233/12184029", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *&*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 98.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "f4f6bdb1-3228-4da2-8312-7a19f4ef3b55", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "e62870b2-0c90-41d7-a188-7972ea373299", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1547156714000, + "lastUpdateTime": 1547156714000, + "label": "* à *", + "deviceURL": "io://1234-1234-6233/13064380", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* à *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 68.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "972455eb-4f91-4095-bf42-55c234bb6238", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "f2fc138e-ad20-4a92-b834-957e047737c6", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1537640682000, + "lastUpdateTime": 1537640682000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/13136078", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 66.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 87 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X22?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "c5559877-c35d-4486-9edb-d44dd2d27ba4", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1535908328000, + "lastUpdateTime": 1535908328000, + "label": "* * *", + "deviceURL": "io://1234-1234-6233/13911608", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 70.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 72 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X22?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "858aaac0-0fad-474a-9d95-1cc2a0938b6b", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1501224336000, + "lastUpdateTime": 1501224336000, + "label": "* * *&*", + "deviceURL": "io://1234-1234-6233/16168460", + "shortcut": false, + "controllableName": "io:OnOffIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "StatefulOnOff", + "uiProfiles": [ + "StatefulSwitchablePlug", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "OnOff", + "qualifiedName": "io:OnOffIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *&*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 64.0 + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "VELUX" + } + ], + "available": true, + "enabled": true, + "placeOID": "eb7f2ac0-953c-4a35-a511-afad8865e3e1", + "widget": "StatefulOnOff", + "type": 1, + "oid": "625d7c09-d464-4e47-8e3f-f44c7ead62bd", + "uiClass": "OnOff" + }, + { + "creationTime": 1600767469000, + "lastUpdateTime": 1600767469000, + "label": "* (*)", + "deviceURL": "io://1234-1234-6233/1684749", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "IOStack", + "type": 5, + "oid": "436039b9-906b-4c2f-8543-9e7eb3d451b5", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1538225691000, + "lastUpdateTime": 1538225691000, + "label": "* * *", + "deviceURL": "io://1234-1234-6233/180461", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 60.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 81 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X22?" + } + ], + "available": true, + "enabled": true, + "placeOID": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "6c21d1f9-1f20-4548-9376-a63ba323fa25", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1624791003000, + "lastUpdateTime": 1624791003000, + "label": "*", + "deviceURL": "io://1234-1234-6233/2155276", + "shortcut": false, + "controllableName": "io:AlarmIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "alarmZoneOn", + "nparams": 1 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "refreshState", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveZonesState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "StatefulAlarmController", + "uiProfiles": [ + "Alarm" + ], + "uiClass": "Alarm", + "qualifiedName": "io:AlarmIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:ActiveZonesState", + "type": 3, + "value": "" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5068650X07?" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "StatefulAlarmController", + "type": 1, + "oid": "f62d1cc0-8c2f-45bb-b500-8d785f68537b", + "uiClass": "Alarm" + }, + { + "creationTime": 1538767702000, + "lastUpdateTime": 1538767702000, + "label": "* * *", + "deviceURL": "io://1234-1234-6233/2487349", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 68.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 69 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X22?" + } + ], + "available": true, + "enabled": true, + "placeOID": "23eeca0a-9dbc-4e93-ae3d-c8ffe7e3464b", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "321566a2-9217-4b2d-a4f3-4b6bbf09e197", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1521829867000, + "lastUpdateTime": 1521829867000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/3880877", + "shortcut": false, + "controllableName": "io:GarageOpenerIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open", + "unknown" + ], + "qualifiedName": "core:OpenClosedUnknownState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableGarageDoor", + "uiProfiles": [ + "StatefulCloseableGarageOpener", + "StatefulCloseable", + "Closeable", + "OpenClose" + ], + "uiClass": "GarageDoor", + "qualifiedName": "io:GarageOpenerIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedUnknownState", + "type": 3, + "value": "closed" + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5047247X47?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "bcbb34ef-2241-43a1-9c5b-523aa0563ec3", + "widget": "PositionableGarageDoor", + "type": 1, + "oid": "b69253cd-12a7-4a9e-b593-f794fa907d4a", + "uiClass": "GarageDoor" + }, + { + "creationTime": 1544643386000, + "lastUpdateTime": 1544643386000, + "label": "* * *", + "deviceURL": "io://1234-1234-6233/6852535", + "shortcut": false, + "controllableName": "io:OnOffIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "StatefulOnOff", + "uiProfiles": [ + "StatefulSwitchablePlug", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "OnOff", + "qualifiedName": "io:OnOffIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 82.0 + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "VELUX" + } + ], + "available": true, + "enabled": true, + "placeOID": "a4482540-0184-42d5-828f-6a5585371025", + "widget": "StatefulOnOff", + "type": 1, + "oid": "ba8c9ad6-d68d-45fb-b488-bb0f4807206d", + "uiClass": "OnOff" + }, + { + "creationTime": 1549752813000, + "lastUpdateTime": 1549752813000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/7019474", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 68.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "52459599-50ab-4a8e-ac20-72a40209b922", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "8978f321-1d10-4a8c-8f37-5a2e79bfb84e", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1536436626000, + "lastUpdateTime": 1536436626000, + "label": "* * *", + "deviceURL": "io://1234-1234-6233/8170693", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 48.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 84 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X22?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "23eeca0a-9dbc-4e93-ae3d-c8ffe7e3464b", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "e364ff88-2e2e-40f2-bea6-691c75b8cf2a", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1561232093000, + "lastUpdateTime": 1561232093000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/8939545", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 68.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "4c6de3bc-4f72-486c-853c-12ac36833a11", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "e3404c9f-7118-462f-87cc-f81213540b90", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1576263695000, + "lastUpdateTime": 1576263695000, + "label": "* *", + "deviceURL": "io://1234-1234-6233/9474368", + "shortcut": false, + "controllableName": "io:OnOffIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "StatefulOnOff", + "uiProfiles": [ + "StatefulSwitchablePlug", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "OnOff", + "qualifiedName": "io:OnOffIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5136974A05?" + } + ], + "available": true, + "enabled": true, + "placeOID": "972455eb-4f91-4095-bf42-55c234bb6238", + "widget": "StatefulOnOff", + "type": 1, + "oid": "06bcb2a3-11d7-41e9-892c-0ae95675d29e", + "uiClass": "OnOff" + }, + { + "creationTime": 1558642434000, + "lastUpdateTime": 1558642434000, + "label": "* *é*", + "deviceURL": "io://1234-1234-6233/9749383", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 54.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 86 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 100 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5100394X23?" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "1f1d57f8-1471-4737-9498-4c8e312db332", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "18d9055a-5cd1-4efe-9000-1edbd2095330", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1593517355000, + "lastUpdateTime": 1593517355000, + "label": "* (*)", + "deviceURL": "ogp://1234-1234-6233/00000BE8", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "sendPrivate", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:Private10State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private1State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private2State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private3State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private4State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private5State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private6State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private7State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private8State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private9State" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "private" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "DynamicBridge", + "type": 1, + "oid": "21e41630-58b9-4bd3-bd6a-497f0103afd4", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593517357000, + "lastUpdateTime": 1593517357000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-6233/039575E9", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Siegenia Bridge" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Siegenia" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "DynamicBridge", + "type": 1, + "oid": "30302f1b-8afb-448b-8d5f-03541a6a5167", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593517356000, + "lastUpdateTime": 1593517356000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-6233/09E45393", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Technology", + "type": 3, + "value": "Intesis" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Intesis Bridge" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "DynamicBridge", + "type": 1, + "oid": "2059c114-b7a0-4b55-8124-c040477d9e52", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1501225111000, + "lastUpdateTime": 1501225111000, + "label": "*é*é* *", + "deviceURL": "rtds://1234-1234-6233/124768", + "shortcut": false, + "controllableName": "rtds:RTDSRemoteControllerComponent", + "definition": { + "commands": [], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerBatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerBipState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerOrderTypeState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerOriginatorState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerSensingState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerSirenState" + } + ], + "dataProperties": [], + "widgetName": "AlarmRemoteController", + "uiProfiles": [ + "Specific" + ], + "uiClass": "RemoteController", + "qualifiedName": "rtds:RTDSRemoteControllerComponent", + "type": "REMOTE_CONTROLLER" + }, + "states": [ + { + "name": "rtds:ControllerOriginatorState", + "type": 1, + "value": 2 + }, + { + "name": "rtds:ControllerSensingState", + "type": 3, + "value": "KO" + }, + { + "name": "rtds:ControllerBatteryState", + "type": 3, + "value": "OK" + }, + { + "name": "rtds:ControllerOrderTypeState", + "type": 3, + "value": "off" + } + ], + "available": true, + "enabled": true, + "placeOID": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "widget": "AlarmRemoteController", + "type": 4, + "oid": "41e932ea-c52b-48d2-98f2-aebc6f72c51b", + "uiClass": "RemoteController" + }, + { + "creationTime": 1501225074000, + "lastUpdateTime": 1501225074000, + "label": "*é*é* *", + "deviceURL": "rtds://1234-1234-6233/169771", + "shortcut": false, + "controllableName": "rtds:RTDSRemoteControllerComponent", + "definition": { + "commands": [], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerBatteryState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerBipState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerOrderTypeState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerOriginatorState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerSensingState" + }, + { + "type": "ContinuousState", + "qualifiedName": "rtds:ControllerSirenState" + } + ], + "dataProperties": [], + "widgetName": "AlarmRemoteController", + "uiProfiles": [ + "Specific" + ], + "uiClass": "RemoteController", + "qualifiedName": "rtds:RTDSRemoteControllerComponent", + "type": "REMOTE_CONTROLLER" + }, + "states": [ + { + "name": "rtds:ControllerOriginatorState", + "type": 1, + "value": 2 + }, + { + "name": "rtds:ControllerSensingState", + "type": 3, + "value": "KO" + }, + { + "name": "rtds:ControllerBatteryState", + "type": 3, + "value": "OK" + }, + { + "name": "rtds:ControllerOrderTypeState", + "type": 3, + "value": "off" + } + ], + "available": true, + "enabled": true, + "placeOID": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "widget": "AlarmRemoteController", + "type": 4, + "oid": "7a465c7b-aff4-462d-b03c-40a8918df12a", + "uiClass": "RemoteController" + }, + { + "creationTime": 1501224458000, + "lastUpdateTime": 1501224458000, + "label": "*", + "deviceURL": "rtds://1234-1234-6233/232949", + "shortcut": false, + "controllableName": "rtds:RTDSMotionSensor", + "definition": { + "commands": [], + "states": [ + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "noPersonInside", + "personInside" + ], + "qualifiedName": "core:OccupancyState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + } + ], + "dataProperties": [], + "widgetName": "MotionSensor", + "uiProfiles": [ + "OccupancyDetector" + ], + "uiClass": "OccupancySensor", + "qualifiedName": "rtds:RTDSMotionSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:OccupancyState", + "type": 3, + "value": "noPersonInside" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "bcbb34ef-2241-43a1-9c5b-523aa0563ec3", + "widget": "MotionSensor", + "type": 2, + "oid": "20171297-8c25-4107-ba0b-d750288e04d1", + "uiClass": "OccupancySensor" + }, + { + "creationTime": 1501224970000, + "lastUpdateTime": 1501224970000, + "label": "É*", + "deviceURL": "rtds://1234-1234-6233/246258", + "shortcut": false, + "controllableName": "rtds:RTDSMotionSensor", + "definition": { + "commands": [], + "states": [ + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "noPersonInside", + "personInside" + ], + "qualifiedName": "core:OccupancyState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + } + ], + "dataProperties": [], + "widgetName": "MotionSensor", + "uiProfiles": [ + "OccupancyDetector" + ], + "uiClass": "OccupancySensor", + "qualifiedName": "rtds:RTDSMotionSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:OccupancyState", + "type": 3, + "value": "noPersonInside" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "50b9c516-c47a-4e19-bb09-771869349f3f", + "widget": "MotionSensor", + "type": 2, + "oid": "bf1443a2-86ec-4b00-b2fd-173c3abea21a", + "uiClass": "OccupancySensor" + }, + { + "creationTime": 1501224664000, + "lastUpdateTime": 1501224664000, + "label": "*", + "deviceURL": "rtds://1234-1234-6233/288316", + "shortcut": false, + "controllableName": "rtds:RTDSMotionSensor", + "definition": { + "commands": [], + "states": [ + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "noPersonInside", + "personInside" + ], + "qualifiedName": "core:OccupancyState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + } + ], + "dataProperties": [], + "widgetName": "MotionSensor", + "uiProfiles": [ + "OccupancyDetector" + ], + "uiClass": "OccupancySensor", + "qualifiedName": "rtds:RTDSMotionSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:OccupancyState", + "type": 3, + "value": "noPersonInside" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "widget": "MotionSensor", + "type": 2, + "oid": "82db9927-fc29-483d-8727-0d8d75d44071", + "uiClass": "OccupancySensor" + }, + { + "creationTime": 1501224830000, + "lastUpdateTime": 1501224830000, + "label": "*é*", + "deviceURL": "rtds://1234-1234-6233/394765", + "shortcut": false, + "controllableName": "rtds:RTDSContactSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:ContactState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + } + ], + "dataProperties": [], + "widgetName": "ContactSensor", + "uiProfiles": [ + "DoorContactSensor", + "ContactDetector" + ], + "uiClass": "ContactSensor", + "qualifiedName": "rtds:RTDSContactSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:ContactState", + "type": 3, + "value": "closed" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "widget": "ContactSensor", + "type": 2, + "oid": "9cdaf8c7-2cd1-4260-9ff3-3908b023853c", + "uiClass": "ContactSensor" + }, + { + "creationTime": 1501224801000, + "lastUpdateTime": 1501224801000, + "label": "*", + "deviceURL": "rtds://1234-1234-6233/394781", + "shortcut": false, + "controllableName": "rtds:RTDSContactSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:ContactState" + }, + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + } + ], + "dataProperties": [], + "widgetName": "ContactSensor", + "uiProfiles": [ + "DoorContactSensor", + "ContactDetector" + ], + "uiClass": "ContactSensor", + "qualifiedName": "rtds:RTDSContactSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:ContactState", + "type": 3, + "value": "closed" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "widget": "ContactSensor", + "type": 2, + "oid": "eec4dc5d-a957-4489-9c68-5ca22f07c9f8", + "uiClass": "ContactSensor" + }, + { + "creationTime": 1501225017000, + "lastUpdateTime": 1501225017000, + "label": "*é* *", + "deviceURL": "rtds://1234-1234-6233/711548", + "shortcut": false, + "controllableName": "rtds:RTDSSmokeSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "dead", + "lowBattery", + "maintenanceRequired", + "noDefect" + ], + "qualifiedName": "core:SensorDefectState" + }, + { + "eventBased": true, + "type": "DiscreteState", + "values": [ + "detected", + "notDetected" + ], + "qualifiedName": "core:SmokeState" + } + ], + "dataProperties": [], + "widgetName": "SmokeSensor", + "uiProfiles": [ + "SmokeDetector" + ], + "uiClass": "SmokeSensor", + "qualifiedName": "rtds:RTDSSmokeSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:SmokeState", + "type": 3, + "value": "notDetected" + } + ], + "attributes": [ + { + "name": "core:PowerSourceType", + "type": 3, + "value": "battery" + } + ], + "available": true, + "enabled": true, + "placeOID": "50b9c516-c47a-4e19-bb09-771869349f3f", + "widget": "SmokeSensor", + "type": 2, + "oid": "b47b71d9-8dfb-4096-bce2-e1401663b0ae", + "uiClass": "SmokeSensor" + }, + { + "creationTime": 1546191792000, + "lastUpdateTime": 1546191792000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_7828CA300AD801400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayOneComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayOneComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.0.25" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos Play:1" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_7828CA300AD801400:orphan" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Salon" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "MediaRenderer", + "type": 1, + "oid": "dc212556-1fbb-402f-b239-97a46c0dbf65", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1526325424000, + "lastUpdateTime": 1526325424000, + "label": "* *:*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_7828CA3011E801400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayOneComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayOneComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_7828CA300AD801400:2999483800" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Salle TV" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.0.36" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos PLAY:1" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "false" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "MediaRenderer", + "type": 1, + "oid": "0e2f558c-82ed-485f-a41d-f4fba69a2846", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1546191792000, + "lastUpdateTime": 1546191792000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_7828CACED56E01400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosOneComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosOneComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.50.24" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos One" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_7828CACED56E01400:3485796774" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Cuisine" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "MediaRenderer", + "type": 1, + "oid": "3b9121a4-3b20-4ac7-94ec-cd561ba58a40", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1526325424000, + "lastUpdateTime": 1526325424000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_949F3E479FC001400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosSubComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosSubComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_949F3E479FC001400:1160201495" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Sub" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.50.66" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos SUB" + } + ], + "available": true, + "enabled": true, + "placeOID": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "widget": "MediaRenderer", + "type": 1, + "oid": "635efc3b-b237-49f1-8b26-5adc05436be3", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1510775207000, + "lastUpdateTime": 1510775207000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_B8E9372FDA1201400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayFiveComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayFiveComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Palier" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_B8E9372FDA1201400:3208036123" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.50.26" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + } + ], + "available": true, + "enabled": true, + "placeOID": "50b9c516-c47a-4e19-bb09-771869349f3f", + "widget": "MediaRenderer", + "type": 1, + "oid": "253bfb04-9b54-4c6d-adc2-2a3eead72e5c", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1530352152000, + "lastUpdateTime": 1530352152000, + "label": "*", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_B8E93744C18001400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayBaseComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayBaseComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Salon" + }, + { + "name": "core:ModelName", + "type": 3, + "value": "Sonos PLAYBASE" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.50.20" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_B8E93744C18001400:2113488309" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + } + ], + "available": true, + "enabled": true, + "placeOID": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "widget": "MediaRenderer", + "type": 1, + "oid": "c92014af-3b52-4c55-9117-6e7b18710745", + "uiClass": "MusicPlayer" + }, + { + "creationTime": 1510775207000, + "lastUpdateTime": 1510775207000, + "label": "* * *", + "deviceURL": "upnpcontrol://1234-1234-6233/uuid:RINCON_B8E937BB9E2E01400", + "shortcut": false, + "controllableName": "upnpcontrol:SonosPlayOneComponent", + "definition": { + "commands": [ + { + "commandName": "getMute", + "nparams": 0 + }, + { + "commandName": "getVolume", + "nparams": 0 + }, + { + "commandName": "mute", + "nparams": 0 + }, + { + "commandName": "next", + "nparams": 0 + }, + { + "commandName": "pause", + "nparams": 0 + }, + { + "commandName": "play", + "nparams": 0 + }, + { + "commandName": "previous", + "nparams": 0 + }, + { + "commandName": "rewind", + "nparams": 0 + }, + { + "commandName": "setVolume", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "unmute", + "nparams": 0 + }, + { + "commandName": "getAllPlayingInfo", + "nparams": 0 + }, + { + "commandName": "getCurrentTransportActions", + "nparams": 0 + }, + { + "commandName": "getGroupMute", + "nparams": 0 + }, + { + "commandName": "getGroupVolume", + "nparams": 0 + }, + { + "commandName": "getMediaInfo", + "nparams": 0 + }, + { + "commandName": "getPositionInfo", + "nparams": 0 + }, + { + "commandName": "getSonosFavorites", + "nparams": 0 + }, + { + "commandName": "getSonosPlaylist", + "nparams": 0 + }, + { + "commandName": "getTransportInfo", + "nparams": 0 + }, + { + "commandName": "muteGroup", + "nparams": 0 + }, + { + "commandName": "playURI", + "nparams": 2 + }, + { + "commandName": "setGroupVolume", + "nparams": 1 + }, + { + "commandName": "unmuteGroup", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "forward", + "pause", + "playing", + "rewind", + "stop" + ], + "qualifiedName": "core:PlayState" + } + ], + "dataProperties": [], + "widgetName": "MediaRenderer", + "uiProfiles": [ + "StoppableMusicPlayer", + "MusicPlayer", + "VolumeControl" + ], + "uiClass": "MusicPlayer", + "qualifiedName": "upnpcontrol:SonosPlayOneComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "core:GroupId", + "type": 3, + "value": "RINCON_B8E937BB9E2E01400:3587820408" + }, + { + "name": "upnpcontrol:Coordinator", + "type": 3, + "value": "true" + }, + { + "name": "core:PortNumber", + "type": 3, + "value": "1400" + }, + { + "name": "core:IPAddress", + "type": 3, + "value": "192.168.50.25" + }, + { + "name": "upnpcontrol:SonosZoneName", + "type": 3, + "value": "Salle De Bain" + } + ], + "available": true, + "enabled": true, + "placeOID": "eb7f2ac0-953c-4a35-a511-afad8865e3e1", + "widget": "MediaRenderer", + "type": 1, + "oid": "ba5edf20-6a18-43a5-844b-3e59ef73ddfd", + "uiClass": "MusicPlayer" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "03dfef70-2faf-45d8-a333-79ce6cab30ea", + "rootPlace": { + "creationTime": 1501224054000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 200, + "oid": "91ba6fe7-704e-4ee3-ab7f-1cb7eb2549a4", + "subPlaces": [ + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 108, + "metadata": "{\"tahoma\":{\"position\":0.75,\"decor\":[]}}", + "oid": "f8321fb7-ba88-4acd-85ab-651cc15b0997", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 106, + "metadata": "{\"tahoma\":{\"position\":0.25,\"decor\":[]}}", + "oid": "9f691996-a9bc-410a-b501-d3154de77e38", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 28, + "metadata": "{\"tahoma\":{\"position\":-0.25,\"decor\":[]}}", + "oid": "bcbb34ef-2241-43a1-9c5b-523aa0563ec3", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "* é*", + "type": 102, + "oid": "50b9c516-c47a-4e19-bb09-771869349f3f", + "subPlaces": [ + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 16, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "4c6de3bc-4f72-486c-853c-12ac36833a11", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1572685264000, + "label": "* * * *&*", + "type": 8, + "metadata": "{\"tahoma\":{\"order\":3}}", + "oid": "eb7f2ac0-953c-4a35-a511-afad8865e3e1", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1572685264000, + "label": "* * * *", + "type": 8, + "metadata": "{\"tahoma\":{\"order\":2}}", + "oid": "a4482540-0184-42d5-828f-6a5585371025", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 22, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "ce6e30e6-a8d1-4285-83f6-3fb56cc0d8c9", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "* *", + "type": 5, + "metadata": "{\"tahoma\":{\"order\":5}}", + "oid": "52459599-50ab-4a8e-ac20-72a40209b922", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":4}}", + "oid": "f4f6bdb1-3228-4da2-8312-7a19f4ef3b55", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "* *", + "type": 12, + "metadata": "{\"tahoma\":{\"order\":6}}", + "oid": "1f1d57f8-1471-4737-9498-4c8e312db332", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*é*", + "type": 101, + "oid": "48200981-d96f-4a75-bcf0-a3c6f0b692dc", + "subPlaces": [ + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "* à *", + "type": 2, + "metadata": "{\"tahoma\":{\"order\":2}}", + "oid": "972455eb-4f91-4095-bf42-55c234bb6238", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 1, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "23eeca0a-9dbc-4e93-ae3d-c8ffe7e3464b", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 14, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "9b4aeb55-07b3-4088-920e-c08405000ce6", + "subPlaces": [] + }, + { + "creationTime": 1501226112000, + "lastUpdateTime": 1501226112000, + "label": "*", + "type": 22, + "metadata": "{\"tahoma\":{\"order\":3}}", + "oid": "e01ee506-b6fb-45d9-98b6-e652508a06e9", + "subPlaces": [] + } + ] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_tahoma_climate.json b/tests/fixtures/setup/setup_tahoma_climate.json new file mode 100644 index 00000000..d454c6b5 --- /dev/null +++ b/tests/fixtures/setup/setup_tahoma_climate.json @@ -0,0 +1,4607 @@ +{ + "creationTime": 1602053832000, + "lastUpdateTime": 1602053832000, + "id": "SETUP-1234-1234-5614", + "location": { + "creationTime": 1602053832000, + "lastUpdateTime": 1607174186000, + "city": "*", + "country": "*", + "postalCode": "*", + "addressLine1": "* * * *", + "addressLine2": "", + "timezone": "Europe/Paris", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0 + }, + "gateways": [ + { + "gatewayId": "1234-1234-5614", + "type": 29, + "subType": 13, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.1.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "mode": "NO_AUTO", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE" + } + ], + "devices": [ + { + "creationTime": 1607173967000, + "lastUpdateTime": 1607173967000, + "label": "* (*)", + "deviceURL": "homekit://1234-1234-5614/stack", + "shortcut": false, + "controllableName": "homekit:StackComponent", + "definition": { + "commands": [ + { + "commandName": "deleteControllers", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "HomekitStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "homekit:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "attributes": [ + { + "name": "homekit:SetupPayload", + "type": 3, + "value": "*://*" + }, + { + "name": "homekit:SetupCode", + "type": 3, + "value": "*" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "HomekitStack", + "type": 5, + "oid": "46e560c4-8fb7-44e8-adfb-8f8db1171c8c", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1607174617000, + "lastUpdateTime": 1607174617000, + "label": "*", + "deviceURL": "internal://1234-1234-5614/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 30 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TSKAlarmController", + "type": 1, + "oid": "bc975b14-3e1b-43d3-ac36-cc9789ddc7c3", + "uiClass": "Alarm" + }, + { + "creationTime": 1602053832000, + "lastUpdateTime": 1602053832000, + "label": "* *", + "deviceURL": "internal://1234-1234-5614/pod/0", + "shortcut": false, + "controllableName": "internal:PodV2Component", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":true}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshBatteryStatus", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "pressed", + "stop" + ], + "qualifiedName": "core:CyclicButtonState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:BatteryStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodV2Component", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:BatteryStatusState", + "type": 3, + "value": "no" + }, + { + "name": "core:CyclicButtonState", + "type": 3, + "value": "pressed" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 0.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "FR" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.77.127" + } + ], + "available": true, + "enabled": true, + "placeOID": "566c198d-a6d9-4795-bd5b-cb0664d304ed", + "widget": "Pod", + "type": 1, + "oid": "409e424f-1c90-4f95-9378-e79c7fceaadd", + "uiClass": "Pod" + }, + { + "creationTime": 1607175941000, + "lastUpdateTime": 1607175941000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/11530893#1", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlMainComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "cancelAbsence", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "refreshDeviceSerialNumber", + "nparams": 0 + }, + { + "commandName": "refreshErrorCode", + "nparams": 0 + }, + { + "commandName": "refreshHeatingDerogationAvailability", + "nparams": 0 + }, + { + "commandName": "refreshOperatingMode", + "nparams": 0 + }, + { + "commandName": "refreshTimeProgramById", + "nparams": 1 + }, + { + "commandName": "refreshZonesNumber", + "nparams": 0 + }, + { + "commandName": "refreshZonesTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setAbsenceCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setAbsenceEndDateTime", + "nparams": 1 + }, + { + "commandName": "setAbsenceHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setAbsenceStartDateTime", + "nparams": 1 + }, + { + "commandName": "setHeatingCoolingAutoSwitch", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setTimeProgramById", + "nparams": 2 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "refreshAbsenceSchedulingAvailability", + "nparams": 0 + }, + { + "commandName": "refreshProductType", + "nparams": 0 + }, + { + "commandName": "refreshThermalSchedulingAvailability", + "nparams": 0 + }, + { + "commandName": "refreshZonesPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshZonesPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "refreshZonesTemperature", + "nparams": 0 + }, + { + "commandName": "refreshZonesTemperatureSensorAvailability", + "nparams": 0 + }, + { + "commandName": "refreshZonesThermalConfiguration", + "nparams": 0 + }, + { + "commandName": "setPassAPCOperatingMode", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:AbsenceCoolingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:AbsenceEndDateTimeState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:AbsenceHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:AbsenceStartDateTimeState" + }, + { + "type": "DataState", + "qualifiedName": "core:DeviceSerialNumberState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ErrorCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingCoolingAutoSwitchState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:HeatingDerogationAvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "DataState", + "qualifiedName": "core:ProductModelNameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DataState", + "qualifiedName": "core:TimeProgram1State" + }, + { + "type": "DataState", + "qualifiedName": "core:TimeProgram2State" + }, + { + "type": "DataState", + "qualifiedName": "core:TimeProgram3State" + }, + { + "type": "DataState", + "qualifiedName": "core:TimeProgram4State" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:VersionState" + }, + { + "type": "DataState", + "qualifiedName": "core:ZonesNumberState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "io:AbsenceSchedulingAvailabilityState" + }, + { + "type": "DiscreteState", + "values": [ + "dateScheduling", + "numberOfDaysScheduling" + ], + "qualifiedName": "io:AbsenceSchedulingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "drying", + "heating", + "stop" + ], + "qualifiedName": "io:LastPassAPCOperatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "drying", + "heating", + "stop" + ], + "qualifiedName": "io:PassAPCOperatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "accumulationDomesticHotWater", + "airConditioning", + "boiler", + "convector", + "doubleFlowControlledMechanicalVentilation", + "heatPump", + "heater", + "hybrid", + "singleFlowControlledMechanicalVentilation", + "thermodynamicDomesticHotWater", + "zoneController" + ], + "qualifiedName": "io:PassAPCProductTypeState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "io:ThermalSchedulingAvailabilityState" + }, + { + "type": "DiscreteState", + "values": [ + "heatingAndCoolingCommonScheduling", + "heatingAndCoolingSeparatedScheduling" + ], + "qualifiedName": "io:ThermalSchedulingModeState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "AtlanticPassAPCZoneControl", + "uiProfiles": [ + "Specific" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "generator" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlMainComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:VersionState", + "type": 3, + "value": "41323832303032202020" + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:ProductModelNameState", + "type": 3, + "value": "Zone Control 2.0" + }, + { + "name": "core:DeviceSerialNumberState", + "type": 3, + "value": "A2DF71F8" + }, + { + "name": "io:PassAPCProductTypeState", + "type": 3, + "value": "zoneController" + }, + { + "name": "core:ZonesNumberState", + "type": 1, + "value": 5 + }, + { + "name": "io:PassAPCOperatingModeState", + "type": 3, + "value": "heating" + }, + { + "name": "core:HeatingDerogationAvailabilityState", + "type": 3, + "value": "available" + }, + { + "name": "io:ThermalSchedulingAvailabilityState", + "type": 3, + "value": "available" + }, + { + "name": "io:ThermalSchedulingModeState", + "type": 3, + "value": "heatingAndCoolingCommonScheduling" + }, + { + "name": "core:TimeProgram1State", + "type": 10, + "value": [ + { + "monday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "tuesday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "wednesday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "thursday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "friday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "saturday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + }, + { + "sunday": [ + { + "start": "00:00", + "end": "02:00" + }, + { + "start": "05:30", + "end": "09:00" + }, + { + "start": "17:30", + "end": "24:00" + } + ] + } + ] + }, + { + "name": "core:TimeProgram2State", + "type": 10, + "value": [ + { + "monday": [ + { + "start": "06:00", + "end": "09:00" + }, + { + "start": "18:00", + "end": "23:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "tuesday": [ + { + "start": "06:00", + "end": "09:00" + }, + { + "start": "18:00", + "end": "23:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "wednesday": [ + { + "start": "06:00", + "end": "09:00" + }, + { + "start": "18:00", + "end": "23:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "thursday": [ + { + "start": "06:00", + "end": "09:00" + }, + { + "start": "18:00", + "end": "23:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "friday": [ + { + "start": "06:00", + "end": "09:00" + }, + { + "start": "18:00", + "end": "23:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "saturday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "sunday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + } + ] + }, + { + "name": "core:TimeProgram3State", + "type": 10, + "value": [ + { + "monday": [ + { + "start": "08:00", + "end": "18:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "tuesday": [ + { + "start": "08:00", + "end": "18:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "wednesday": [ + { + "start": "08:00", + "end": "18:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "thursday": [ + { + "start": "08:00", + "end": "18:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "friday": [ + { + "start": "08:00", + "end": "18:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "saturday": [ + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "sunday": [ + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + } + ] + }, + { + "name": "core:TimeProgram4State", + "type": 10, + "value": [ + { + "monday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "tuesday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "wednesday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "thursday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "friday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "saturday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + }, + { + "sunday": [ + { + "start": "06:00", + "end": "22:00" + }, + { + "start": "00:00", + "end": "00:00" + }, + { + "start": "00:00", + "end": "00:00" + } + ] + } + ] + }, + { + "name": "io:AbsenceSchedulingAvailabilityState", + "type": 3, + "value": "available" + }, + { + "name": "io:AbsenceSchedulingModeState", + "type": 3, + "value": "dateScheduling" + }, + { + "name": "core:AbsenceHeatingTargetTemperatureState", + "type": 2, + "value": 13.0 + }, + { + "name": "core:AbsenceCoolingTargetTemperatureState", + "type": 2, + "value": 0.0 + }, + { + "name": "core:AbsenceStartDateTimeState", + "type": 11, + "value": { + "month": 2, + "hour": 22, + "year": 2021, + "day": 12, + "minute": 28 + } + }, + { + "name": "core:AbsenceEndDateTimeState", + "type": 11, + "value": { + "month": 2, + "hour": 0, + "year": 2021, + "day": 12, + "minute": 0 + } + }, + { + "name": "core:HeatingCoolingAutoSwitchState", + "type": 3, + "value": "off" + }, + { + "name": "core:ErrorCodeState", + "type": 1, + "value": 0 + }, + { + "name": "io:LastPassAPCOperatingModeState", + "type": 3, + "value": "heating" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCZoneControl", + "type": 1, + "oid": "89774606-b02e-41a0-bb69-593cc14b9774", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "*", + "deviceURL": "io://1234-1234-5614/11530893#10", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlZoneComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "refreshComfortCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshComfortHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setActiveCoolingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setActiveHeatingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setComfortCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setComfortHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setCoolingOnOffState", + "nparams": 1 + }, + { + "commandName": "setCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setDerogationOnOffState", + "nparams": 1 + }, + { + "commandName": "setEcoCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHeatingOnOffState", + "nparams": 1 + }, + { + "commandName": "setHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshPassAPCCoolingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "setPassAPCCoolingMode", + "nparams": 1 + }, + { + "commandName": "setPassAPCHeatingMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveHeatingTimeProgramState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:CoolingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CoolingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:DerogationOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumHeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "heating", + "heatingAndCooling" + ], + "qualifiedName": "core:ThermalConfigurationState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingProfileState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingProfileState" + } + ], + "dataProperties": [], + "widgetName": "AtlanticPassAPCHeatingAndCoolingZone", + "uiProfiles": [ + "StatefulCoolingThermostat", + "CoolingThermostat", + "StatefulDualThermostat", + "DualThermostat", + "ThermostatTargetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter", + "heatingSystem", + "coolingSystem" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlZoneComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:ThermalConfigurationState", + "type": 3, + "value": "heatingAndCooling" + }, + { + "name": "io:PassAPCHeatingModeState", + "type": 3, + "value": "manu" + }, + { + "name": "io:PassAPCCoolingModeState", + "type": 3, + "value": "manu" + }, + { + "name": "io:PassAPCHeatingProfileState", + "type": 3, + "value": "manu" + }, + { + "name": "io:PassAPCCoolingProfileState", + "type": 3, + "value": "manu" + }, + { + "name": "core:ComfortHeatingTargetTemperatureState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:EcoHeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ComfortCoolingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:EcoCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:ActiveHeatingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:HeatingOnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:CoolingOnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:HeatingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:CoolingTargetTemperatureState", + "type": 2, + "value": 21.0 + }, + { + "name": "core:MinimumHeatingTargetTemperatureState", + "type": 2, + "value": 16.0 + }, + { + "name": "core:MinimumCoolingTargetTemperatureState", + "type": 2, + "value": 18.0 + }, + { + "name": "core:MaximumHeatingTargetTemperatureState", + "type": 2, + "value": 25.0 + }, + { + "name": "core:MaximumCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:DerogationOnOffState", + "type": 3, + "value": "off" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCHeatingAndCoolingZone", + "type": 1, + "oid": "aa128b7d-9b17-49b7-9891-93471aad463b", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/11530893#11", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneTemperatureSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:AtlanticPassAPCZoneTemperatureSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 22.7 + } + ], + "attributes": [ + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "mainSupply" + }, + { + "name": "core:MaxSensedValue", + "type": 2, + "value": 30.0 + }, + { + "name": "core:MinSensedValue", + "type": 2, + "value": 5.0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TemperatureSensor", + "type": 2, + "oid": "4f7a163b-b16b-436b-ad4d-8d590ba5c4b5", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* / *", + "deviceURL": "io://1234-1234-5614/11530893#2", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlZoneComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "refreshComfortCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshComfortHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setActiveCoolingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setActiveHeatingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setComfortCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setComfortHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setCoolingOnOffState", + "nparams": 1 + }, + { + "commandName": "setCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setDerogationOnOffState", + "nparams": 1 + }, + { + "commandName": "setEcoCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHeatingOnOffState", + "nparams": 1 + }, + { + "commandName": "setHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshPassAPCCoolingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "setPassAPCCoolingMode", + "nparams": 1 + }, + { + "commandName": "setPassAPCHeatingMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveCoolingTimeProgramState" + }, + { + "type": "DataState", + "qualifiedName": "core:ActiveHeatingTimeProgramState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:CoolingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CoolingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:DerogationOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumHeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "heating", + "heatingAndCooling" + ], + "qualifiedName": "core:ThermalConfigurationState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingProfileState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingProfileState" + } + ], + "dataProperties": [], + "widgetName": "AtlanticPassAPCHeatingAndCoolingZone", + "uiProfiles": [ + "StatefulCoolingThermostat", + "CoolingThermostat", + "StatefulDualThermostat", + "DualThermostat", + "ThermostatTargetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter", + "heatingSystem", + "coolingSystem" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlZoneComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:ThermalConfigurationState", + "type": 3, + "value": "heatingAndCooling" + }, + { + "name": "io:PassAPCHeatingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCCoolingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCHeatingProfileState", + "type": 3, + "value": "eco" + }, + { + "name": "io:PassAPCCoolingProfileState", + "type": 3, + "value": "eco" + }, + { + "name": "core:ComfortHeatingTargetTemperatureState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:EcoHeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ComfortCoolingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:EcoCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ActiveHeatingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:ActiveCoolingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:NameState", + "type": 3, + "value": "* / *" + }, + { + "name": "core:HeatingOnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:CoolingOnOffState", + "type": 3, + "value": "on" + }, + { + "name": "core:HeatingTargetTemperatureState", + "type": 2, + "value": 21.5 + }, + { + "name": "core:CoolingTargetTemperatureState", + "type": 2, + "value": 21.0 + }, + { + "name": "core:MinimumHeatingTargetTemperatureState", + "type": 2, + "value": 16.0 + }, + { + "name": "core:MinimumCoolingTargetTemperatureState", + "type": 2, + "value": 18.0 + }, + { + "name": "core:MaximumHeatingTargetTemperatureState", + "type": 2, + "value": 25.0 + }, + { + "name": "core:MaximumCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:DerogationOnOffState", + "type": 3, + "value": "off" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCHeatingAndCoolingZone", + "type": 1, + "oid": "08aec450-ad24-4f97-bb66-af9b0f67ac8f", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* * *", + "deviceURL": "io://1234-1234-5614/11530893#3", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneTemperatureSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:AtlanticPassAPCZoneTemperatureSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 20.1 + } + ], + "attributes": [ + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "mainSupply" + }, + { + "name": "core:MaxSensedValue", + "type": 2, + "value": 30.0 + }, + { + "name": "core:MinSensedValue", + "type": 2, + "value": 5.0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TemperatureSensor", + "type": 2, + "oid": "55c86e99-6b8c-4c27-8629-88bd613d73e2", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "*", + "deviceURL": "io://1234-1234-5614/11530893#4", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlZoneComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "refreshComfortCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshComfortHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setActiveCoolingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setActiveHeatingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setComfortCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setComfortHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setCoolingOnOffState", + "nparams": 1 + }, + { + "commandName": "setCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setDerogationOnOffState", + "nparams": 1 + }, + { + "commandName": "setEcoCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHeatingOnOffState", + "nparams": 1 + }, + { + "commandName": "setHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshPassAPCCoolingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "setPassAPCCoolingMode", + "nparams": 1 + }, + { + "commandName": "setPassAPCHeatingMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveCoolingTimeProgramState" + }, + { + "type": "DataState", + "qualifiedName": "core:ActiveHeatingTimeProgramState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:CoolingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CoolingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:DerogationOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumHeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "heating", + "heatingAndCooling" + ], + "qualifiedName": "core:ThermalConfigurationState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingProfileState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingProfileState" + } + ], + "dataProperties": [], + "widgetName": "AtlanticPassAPCHeatingAndCoolingZone", + "uiProfiles": [ + "StatefulCoolingThermostat", + "CoolingThermostat", + "StatefulDualThermostat", + "DualThermostat", + "ThermostatTargetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter", + "heatingSystem", + "coolingSystem" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlZoneComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:ThermalConfigurationState", + "type": 3, + "value": "heatingAndCooling" + }, + { + "name": "io:PassAPCHeatingModeState", + "type": 3, + "value": "manu" + }, + { + "name": "io:PassAPCCoolingModeState", + "type": 3, + "value": "manu" + }, + { + "name": "io:PassAPCHeatingProfileState", + "type": 3, + "value": "stop" + }, + { + "name": "io:PassAPCCoolingProfileState", + "type": 3, + "value": "stop" + }, + { + "name": "core:ComfortHeatingTargetTemperatureState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:EcoHeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ComfortCoolingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:EcoCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 13.0 + }, + { + "name": "core:ActiveHeatingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:ActiveCoolingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:HeatingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:CoolingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:HeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:CoolingTargetTemperatureState", + "type": 2, + "value": 21.0 + }, + { + "name": "core:MinimumHeatingTargetTemperatureState", + "type": 2, + "value": 16.0 + }, + { + "name": "core:MinimumCoolingTargetTemperatureState", + "type": 2, + "value": 18.0 + }, + { + "name": "core:MaximumHeatingTargetTemperatureState", + "type": 2, + "value": 25.0 + }, + { + "name": "core:MaximumCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:DerogationOnOffState", + "type": 3, + "value": "on" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCHeatingAndCoolingZone", + "type": 1, + "oid": "1cd56151-4b9a-4e04-93a9-e121be64fe3b", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/11530893#5", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneTemperatureSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:AtlanticPassAPCZoneTemperatureSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 20.4 + } + ], + "attributes": [ + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "mainSupply" + }, + { + "name": "core:MaxSensedValue", + "type": 2, + "value": 30.0 + }, + { + "name": "core:MinSensedValue", + "type": 2, + "value": 5.0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TemperatureSensor", + "type": 2, + "oid": "fa90f3a9-d6f0-4cd1-841e-5911d3b2f9ec", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "*", + "deviceURL": "io://1234-1234-5614/11530893#6", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlZoneComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "refreshComfortCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshComfortHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setActiveCoolingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setActiveHeatingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setComfortCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setComfortHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setCoolingOnOffState", + "nparams": 1 + }, + { + "commandName": "setCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setDerogationOnOffState", + "nparams": 1 + }, + { + "commandName": "setEcoCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHeatingOnOffState", + "nparams": 1 + }, + { + "commandName": "setHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshPassAPCCoolingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "setPassAPCCoolingMode", + "nparams": 1 + }, + { + "commandName": "setPassAPCHeatingMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveHeatingTimeProgramState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:CoolingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CoolingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:DerogationOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumHeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "heating", + "heatingAndCooling" + ], + "qualifiedName": "core:ThermalConfigurationState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingProfileState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingProfileState" + } + ], + "dataProperties": [], + "widgetName": "AtlanticPassAPCHeatingAndCoolingZone", + "uiProfiles": [ + "StatefulCoolingThermostat", + "CoolingThermostat", + "StatefulDualThermostat", + "DualThermostat", + "ThermostatTargetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter", + "heatingSystem", + "coolingSystem" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlZoneComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:ThermalConfigurationState", + "type": 3, + "value": "heatingAndCooling" + }, + { + "name": "io:PassAPCHeatingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCCoolingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCHeatingProfileState", + "type": 3, + "value": "stop" + }, + { + "name": "io:PassAPCCoolingProfileState", + "type": 3, + "value": "stop" + }, + { + "name": "core:ComfortHeatingTargetTemperatureState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:EcoHeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ComfortCoolingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:EcoCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 13.0 + }, + { + "name": "core:ActiveHeatingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:HeatingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:CoolingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:HeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:CoolingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:MinimumHeatingTargetTemperatureState", + "type": 2, + "value": 16.0 + }, + { + "name": "core:MinimumCoolingTargetTemperatureState", + "type": 2, + "value": 18.0 + }, + { + "name": "core:MaximumHeatingTargetTemperatureState", + "type": 2, + "value": 25.0 + }, + { + "name": "core:MaximumCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:DerogationOnOffState", + "type": 3, + "value": "off" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCHeatingAndCoolingZone", + "type": 1, + "oid": "548ad5ce-5198-45e0-b12c-48cb9b458cd6", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/11530893#7", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneTemperatureSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:AtlanticPassAPCZoneTemperatureSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 18.8 + } + ], + "attributes": [ + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "mainSupply" + }, + { + "name": "core:MaxSensedValue", + "type": 2, + "value": 30.0 + }, + { + "name": "core:MinSensedValue", + "type": 2, + "value": 5.0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TemperatureSensor", + "type": 2, + "oid": "c41b23fa-c5bc-4ab4-ab9f-69774614b6eb", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "*", + "deviceURL": "io://1234-1234-5614/11530893#8", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneControlZoneComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "refreshComfortCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshComfortHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshEcoHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMaximumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumCoolingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshMinimumHeatingTargetTemperature", + "nparams": 0 + }, + { + "commandName": "refreshTargetTemperature", + "nparams": 0 + }, + { + "commandName": "setActiveCoolingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setActiveHeatingTimeProgram", + "nparams": 1 + }, + { + "commandName": "setComfortCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setComfortHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setCoolingOnOffState", + "nparams": 1 + }, + { + "commandName": "setCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setDerogationOnOffState", + "nparams": 1 + }, + { + "commandName": "setEcoCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setEcoHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setHeatingOnOffState", + "nparams": 1 + }, + { + "commandName": "setHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMaximumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumCoolingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setMinimumHeatingTargetTemperature", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshPassAPCCoolingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCCoolingProfile", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingMode", + "nparams": 0 + }, + { + "commandName": "refreshPassAPCHeatingProfile", + "nparams": 0 + }, + { + "commandName": "setPassAPCCoolingMode", + "nparams": 1 + }, + { + "commandName": "setPassAPCHeatingMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:ActiveHeatingTimeProgramState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ComfortHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:CoolingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:CoolingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:DerogationOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:EcoHeatingTargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:HeatingOnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:HeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MaximumHeatingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumCoolingTargetTemperatureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:MinimumHeatingTargetTemperatureState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetTemperatureState" + }, + { + "type": "DiscreteState", + "values": [ + "cooling", + "heating", + "heatingAndCooling" + ], + "qualifiedName": "core:ThermalConfigurationState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCCoolingProfileState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "auto", + "comfort", + "eco", + "externalScheduling", + "internalScheduling", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingModeState" + }, + { + "type": "DiscreteState", + "values": [ + "absence", + "comfort", + "derogation", + "eco", + "externalSetpoint", + "frostprotection", + "manu", + "stop" + ], + "qualifiedName": "io:PassAPCHeatingProfileState" + } + ], + "dataProperties": [], + "widgetName": "AtlanticPassAPCHeatingAndCoolingZone", + "uiProfiles": [ + "StatefulCoolingThermostat", + "CoolingThermostat", + "StatefulDualThermostat", + "DualThermostat", + "ThermostatTargetReader" + ], + "uiClass": "HeatingSystem", + "uiClassifiers": [ + "emitter", + "heatingSystem", + "coolingSystem" + ], + "qualifiedName": "io:AtlanticPassAPCZoneControlZoneComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:ThermalConfigurationState", + "type": 3, + "value": "heatingAndCooling" + }, + { + "name": "io:PassAPCHeatingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCCoolingModeState", + "type": 3, + "value": "internalScheduling" + }, + { + "name": "io:PassAPCHeatingProfileState", + "type": 3, + "value": "externalSetpoint" + }, + { + "name": "io:PassAPCCoolingProfileState", + "type": 3, + "value": "stop" + }, + { + "name": "core:ComfortHeatingTargetTemperatureState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:EcoHeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:ComfortCoolingTargetTemperatureState", + "type": 2, + "value": 24.0 + }, + { + "name": "core:EcoCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:TargetTemperatureState", + "type": 2, + "value": 13.0 + }, + { + "name": "core:ActiveHeatingTimeProgramState", + "type": 3, + "value": "1" + }, + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:HeatingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:CoolingOnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:HeatingTargetTemperatureState", + "type": 2, + "value": 19.0 + }, + { + "name": "core:CoolingTargetTemperatureState", + "type": 2, + "value": 19.5 + }, + { + "name": "core:MinimumHeatingTargetTemperatureState", + "type": 2, + "value": 16.0 + }, + { + "name": "core:MinimumCoolingTargetTemperatureState", + "type": 2, + "value": 18.0 + }, + { + "name": "core:MaximumHeatingTargetTemperatureState", + "type": 2, + "value": 25.0 + }, + { + "name": "core:MaximumCoolingTargetTemperatureState", + "type": 2, + "value": 30.0 + }, + { + "name": "core:DerogationOnOffState", + "type": 3, + "value": "on" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "AtlanticPassAPCHeatingAndCoolingZone", + "type": 1, + "oid": "e5a0a156-79b1-449b-8ea5-00aab5a5d4ec", + "uiClass": "HeatingSystem" + }, + { + "creationTime": 1607175960000, + "lastUpdateTime": 1607175960000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/11530893#9", + "shortcut": false, + "controllableName": "io:AtlanticPassAPCZoneTemperatureSensor", + "definition": { + "commands": [], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TemperatureState" + } + ], + "dataProperties": [], + "widgetName": "TemperatureSensor", + "uiProfiles": [ + "Temperature" + ], + "uiClass": "TemperatureSensor", + "qualifiedName": "io:AtlanticPassAPCZoneTemperatureSensor", + "type": "SENSOR" + }, + "states": [ + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:TemperatureState", + "type": 2, + "value": 19.2 + } + ], + "attributes": [ + { + "name": "core:MeasuredValueType", + "type": 3, + "value": "core:TemperatureInCelcius" + }, + { + "name": "core:PowerSourceType", + "type": 3, + "value": "mainSupply" + }, + { + "name": "core:MaxSensedValue", + "type": 2, + "value": 30.0 + }, + { + "name": "core:MinSensedValue", + "type": 2, + "value": 5.0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "TemperatureSensor", + "type": 2, + "oid": "c1138faf-667d-45fa-894b-e94f72f4eaf7", + "uiClass": "TemperatureSensor" + }, + { + "creationTime": 1607175284000, + "lastUpdateTime": 1607175284000, + "label": "* (*)", + "deviceURL": "io://1234-1234-5614/12903670", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "IOStack", + "type": 5, + "oid": "4d99c126-b18a-407b-8164-95345d97423c", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1607175291000, + "lastUpdateTime": 1607175291000, + "label": "* *", + "deviceURL": "io://1234-1234-5614/6596573", + "shortcut": false, + "controllableName": "io:RollerShutterGenericIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterGenericIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 85 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "PositionableRollerShutter", + "type": 1, + "oid": "25ff3e92-ed0f-4b24-bb9d-c906713d854f", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1602053836000, + "lastUpdateTime": 1602053836000, + "label": "* (*)", + "deviceURL": "ogp://1234-1234-5614/00000BE8", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "sendPrivate", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:Private10State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private1State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private2State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private3State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private4State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private5State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private6State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private7State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private8State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private9State" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "private" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "DynamicBridge", + "type": 1, + "oid": "09392340-88a6-4a33-a018-b1903e1e066c", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1602053835000, + "lastUpdateTime": 1602053835000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-5614/039575E9", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Technology", + "type": 3, + "value": "Siegenia" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Siegenia Bridge" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "DynamicBridge", + "type": 1, + "oid": "d26ad902-552d-416b-abee-c79066986a33", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1602053836000, + "lastUpdateTime": 1602053836000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-5614/09E45393", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Intesis Bridge" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Intesis" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + } + ], + "available": true, + "enabled": true, + "placeOID": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "widget": "DynamicBridge", + "type": 1, + "oid": "c754a1de-6a4b-42ea-828e-bfb9c94a9dc5", + "uiClass": "ProtocolGateway" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "8d114f37-934d-4810-83f5-af4cbf3d95d7", + "rootPlace": { + "creationTime": 1602053832000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 200, + "oid": "e14d84eb-7ccc-4db1-9fd3-f695860ee5be", + "subPlaces": [ + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 16, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "58d1e8b3-f72d-46bf-930a-1b2c6b4ceaa4", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "* à *", + "type": 2, + "metadata": "{\"tahoma\":{\"order\":3}}", + "oid": "38dd19d1-bece-4a59-a8c4-ae2d6eedfd6d", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "* * *", + "type": 8, + "metadata": "{\"tahoma\":{\"order\":4}}", + "oid": "9a1ddea9-31be-4faa-94a0-45fd185f2773", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "* *", + "type": 5, + "metadata": "{\"tahoma\":{\"order\":6}}", + "oid": "a1d80f39-87e8-47a4-86d6-9c7b0983fd63", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 23, + "metadata": "{\"tahoma\":{\"order\":2}}", + "oid": "55abe03a-cdae-44d4-bf98-081d133a80cd", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 49, + "metadata": "{\"tahoma\":{\"position\":0.75,\"decor\":[]}}", + "oid": "d35b02df-755a-410c-b966-eeb85bf6ccfb", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 106, + "metadata": "{\"tahoma\":{\"position\":0.25,\"decor\":[]}}", + "oid": "24ca36a4-29b7-43bb-8d4b-23223e0d694a", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 14, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "566c198d-a6d9-4795-bd5b-cb0664d304ed", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "*", + "type": 9, + "metadata": "{\"tahoma\":{\"order\":7}}", + "oid": "4be3c749-20d5-4f96-8c94-6cb654089eb9", + "subPlaces": [] + }, + { + "creationTime": 1607175122000, + "lastUpdateTime": 1607175122000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":5}}", + "oid": "8173f834-cfb2-4b36-8da6-56fea472b8b9", + "subPlaces": [] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_tahoma_oceania.json b/tests/fixtures/setup/setup_tahoma_oceania.json new file mode 100644 index 00000000..b4be5518 --- /dev/null +++ b/tests/fixtures/setup/setup_tahoma_oceania.json @@ -0,0 +1,356 @@ +{ + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "id": "SETUP-1234-1234-6362", + "location": { + "creationTime": 1613674982000, + "lastUpdateTime": 1632527573000, + "city": "*", + "country": "*", + "postalCode": "*/*", + "addressLine1": "*", + "addressLine2": "", + "timezone": "Asia/Bangkok", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "TH" + }, + "gateways": [ + { + "gatewayId": "1234-1234-6362", + "type": 53, + "subType": 1, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.2.4" + }, + "upToDate": true, + "updateStatus": "UP_TO_DATE", + "syncInProgress": false, + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS", + "mode": "ACTIVE" + } + ], + "devices": [ + { + "creationTime": 1613675393000, + "lastUpdateTime": 1613675393000, + "label": "*", + "deviceURL": "internal://1234-1234-6362/pod/0", + "shortcut": false, + "controllableName": "internal:PodMiniComponent", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "doublePress", + "longPress", + "simplePress", + "triplePress", + "veryLongPress" + ], + "qualifiedName": "internal:LastActionConfigButtonState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodMiniComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "TH" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "N/A" + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "Pod", + "type": 1, + "oid": "2dfeb3c8-a71d-4552-9e9b-875baf906a6c", + "uiClass": "Pod" + }, + { + "creationTime": 1613676516000, + "lastUpdateTime": 1613676516000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16730022", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "d4da34c9-5cbf-4278-b8ec-ae66428b9522", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1613676640000, + "lastUpdateTime": 1613676640000, + "label": "*", + "deviceURL": "rts://1234-1234-6362/16749917", + "shortcut": false, + "controllableName": "rts:RollerShutterRTSComponent", + "definition": { + "commands": [ + { + "commandName": "close", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 1 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 1 + }, + { + "commandName": "open", + "nparams": 1 + }, + { + "commandName": "rest", + "nparams": 1 + }, + { + "commandName": "stop", + "nparams": 1 + }, + { + "commandName": "test", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 1 + }, + { + "commandName": "openConfiguration", + "nparams": 1 + } + ], + "states": [], + "dataProperties": [ + { + "value": "0", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "UpDownRollerShutter", + "uiProfiles": [ + "OpenCloseShutter", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "rts:RollerShutterRTSComponent", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "rts:diy", + "type": 6, + "value": false + } + ], + "available": true, + "enabled": true, + "placeOID": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "widget": "UpDownRollerShutter", + "type": 1, + "oid": "ef870fe7-daf3-4f33-b91e-62b2a809ef4e", + "uiClass": "RollerShutter" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "fee37cf6-1d39-49fc-8d67-af71dfe20c4d", + "rootPlace": { + "creationTime": 1613674982000, + "lastUpdateTime": 1613674982000, + "label": "* *", + "type": 0, + "oid": "6133b4a0-f514-4553-b635-d1b7beb7e7b2", + "subPlaces": [] + }, + "features": [ + { + "name": "connexoon-rts-window", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_tahoma_pro.json b/tests/fixtures/setup/setup_tahoma_pro.json new file mode 100644 index 00000000..7ed2a09e --- /dev/null +++ b/tests/fixtures/setup/setup_tahoma_pro.json @@ -0,0 +1,2453 @@ +{ + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "id": "SETUP-1234-1234-3293", + "location": { + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "city": "*", + "country": "*", + "postalCode": "* *", + "addressLine1": "* *", + "addressLine2": "", + "timezone": "Europe/Amsterdam", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "amsterdam", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "NL" + }, + "gateways": [ + { + "gatewayId": "1234-1234-3293", + "type": 29, + "subType": 14, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.4.4" + }, + "upToDate": false, + "updateStatus": "READY_TO_UPDATE", + "syncInProgress": false, + "updateCriticityLevel": "BUG_FIX", + "automaticUpdate": true, + "mode": "ACTIVE", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS" + } + ], + "devices": [ + { + "creationTime": 1606817819000, + "lastUpdateTime": 1606817819000, + "label": "* (*)", + "deviceURL": "homekit://1234-1234-3293/stack", + "shortcut": false, + "controllableName": "homekit:StackComponent", + "definition": { + "commands": [ + { + "commandName": "deleteControllers", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "HomekitStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "homekit:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "attributes": [ + { + "name": "homekit:SetupPayload", + "type": 3, + "value": "*" + }, + { + "name": "homekit:SetupCode", + "type": 3, + "value": "*" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "HomekitStack", + "type": 5, + "oid": "7d689bb6-744b-4e1a-8353-19228a0ab6cf", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1586342112000, + "lastUpdateTime": 1586342112000, + "label": "*", + "deviceURL": "internal://1234-1234-3293/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 30 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "TSKAlarmController", + "type": 1, + "oid": "ebf12ec8-1b02-4aa1-8eef-b1ef40a43963", + "uiClass": "Alarm" + }, + { + "creationTime": 1586341957000, + "lastUpdateTime": 1586341957000, + "label": "* *", + "deviceURL": "internal://1234-1234-3293/pod/0", + "shortcut": false, + "controllableName": "internal:PodV2Component", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":true}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshBatteryStatus", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "pressed", + "stop" + ], + "qualifiedName": "core:CyclicButtonState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:BatteryStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodV2Component", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:BatteryStatusState", + "type": 3, + "value": "no" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 1.0 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "NL" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.11.36" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "Pod", + "type": 1, + "oid": "91d89eee-5e61-4c16-a9b5-909a602ffa56", + "uiClass": "Pod" + }, + { + "creationTime": 1600767780000, + "lastUpdateTime": 1600767780000, + "label": "* (*)", + "deviceURL": "io://1234-1234-3293/16483707", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "IOStack", + "type": 5, + "oid": "d3da52e2-c26c-4ff3-96c1-5874fe3888db", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1586342605000, + "lastUpdateTime": 1586342605000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/3541212", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 62.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 89 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "set_auto_end_limits", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "set_unstressing_status", + "set_obstacle_detection", + "set_type_lock", + "save_auxiliary_end_limit_entry", + "save_auxiliary_end_limit_exit", + "set_dbe_up", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position", + "set_x_time" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5121525A07" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "8fec16cf-4790-4a46-b0b6-49c3f1ae74f3", + "widget": "PositionableScreen", + "type": 1, + "oid": "6940d1da-762d-4a0c-bde3-a8ea675925d8", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1587481961000, + "lastUpdateTime": 1587481961000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5046564", + "shortcut": false, + "controllableName": "io:DimmableLightIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "onWithTimer", + "nparams": 1 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setIntensity", + "nparams": 1 + }, + { + "commandName": "setIntensityWithTimer", + "nparams": 3 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setOnOff", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:LightIntensityState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "DimmerLight", + "uiProfiles": [ + "StatefulLightDimmer", + "StatefulDimmable", + "Dimmable", + "StatefulSwitchable", + "Switchable" + ], + "uiClass": "Light", + "qualifiedName": "io:DimmableLightIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 44.0 + }, + { + "name": "core:LightIntensityState", + "type": 1, + "value": 0 + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 82 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5133033A02" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DimmerLight", + "type": 1, + "oid": "aab8630e-1c36-439f-b943-a0a0c9747289", + "uiClass": "Light" + }, + { + "creationTime": 1586342695000, + "lastUpdateTime": 1586342695000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5353900", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "low" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 20.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 90 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "set_auto_end_limits", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "set_unstressing_status", + "set_obstacle_detection", + "set_type_lock", + "save_auxiliary_end_limit_entry", + "save_auxiliary_end_limit_exit", + "set_dbe_up", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position", + "set_x_time" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5121525A07" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "1d8338a3-66df-49f5-93ce-ef4d82dd7846", + "widget": "PositionableScreen", + "type": 1, + "oid": "f81add98-cdf7-477a-97bf-8f3cddbfe3ad", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1586342429000, + "lastUpdateTime": 1586342429000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/5770898", + "shortcut": false, + "controllableName": "io:VerticalExteriorAwningIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "deploy", + "nparams": 0 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "undeploy", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:DeploymentState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DiscreteState", + "values": [ + "false", + "true" + ], + "qualifiedName": "core:MovingState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:TargetClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableScreen", + "uiProfiles": [ + "StatefulDeployableVerticalAwning", + "StatefulDeployable", + "Deployable", + "DeployUndeploy", + "StatefulCloseable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "ExteriorScreen", + "qualifiedName": "io:VerticalExteriorAwningIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 60.0 + }, + { + "name": "core:MovingState", + "type": 6, + "value": false + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 0 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "open" + }, + { + "name": "core:DeploymentState", + "type": 1, + "value": 0 + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 80 + }, + { + "name": "core:TargetClosureState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:SupportedManufacturerSettingsCommands", + "type": 10, + "value": [ + "dead_man_up", + "dead_man_down", + "dead_man_stop", + "dead_man_impulse_up", + "dead_man_impulse_down", + "enter_settings_mode", + "save_upper_end_limit", + "save_lower_end_limit", + "stop_after_save_limit", + "save_settings", + "invert_rotation", + "save_my_position", + "delete_my_position", + "reset_actuator", + "double_power_cut", + "eject_from_setting_mode", + "enter_back_impulse_setting_mode", + "save_back_impulse_position" + ] + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5104761X04" + } + ], + "available": true, + "enabled": true, + "placeOID": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "widget": "PositionableScreen", + "type": 1, + "oid": "526c2dfc-32f0-448c-aeb6-bda22bc0119b", + "uiClass": "ExteriorScreen" + }, + { + "creationTime": 1586342365000, + "lastUpdateTime": 1586342365000, + "label": "* *", + "deviceURL": "io://1234-1234-3293/7614902", + "shortcut": false, + "controllableName": "io:SimpleBioclimaticPergolaIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "closeSlats", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "openSlats", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Orientation", + "nparams": 0 + }, + { + "commandName": "setMemorized1Orientation", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setSecuredOrientation", + "nparams": 1 + }, + { + "commandName": "setOrientation", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1OrientationState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredOrientationState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SlateOrientationState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:SlatsOpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SlatsOrientationState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "BioclimaticPergola", + "uiProfiles": [ + "StatefulBioClimaticPergola", + "StatefulOrientableSlats", + "OrientableSlats" + ], + "uiClass": "Pergola", + "qualifiedName": "io:SimpleBioclimaticPergolaIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 42.0 + }, + { + "name": "core:SlatsOpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:SlatsOrientationState", + "type": 1, + "value": 100 + }, + { + "name": "core:SlateOrientationState", + "type": 1, + "value": 100 + }, + { + "name": "core:SecuredOrientationState", + "type": 1, + "value": 105 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5133756X72" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + } + ], + "available": true, + "enabled": true, + "placeOID": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "widget": "BioclimaticPergola", + "type": 1, + "oid": "3d075e82-68ee-4b39-9232-a73415e1997c", + "uiClass": "Pergola" + }, + { + "creationTime": 1593694963000, + "lastUpdateTime": 1593694963000, + "label": "* (*)", + "deviceURL": "ogp://1234-1234-3293/00000BE8", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "sendPrivate", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:Private10State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private1State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private2State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private3State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private4State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private5State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private6State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private7State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private8State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private9State" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "private" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "586ea4a3-8bcb-4ca3-a0d9-db9f8c9ec058", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593694964000, + "lastUpdateTime": 1593694964000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-3293/039575E9", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:Technology", + "type": 3, + "value": "Siegenia" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Siegenia Bridge" + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "5660a0c3-5198-459e-ac19-b5a22f1bb1ea", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1593694963000, + "lastUpdateTime": 1593694963000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-3293/09E45393", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Intesis Bridge" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Intesis" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "widget": "DynamicBridge", + "type": 1, + "oid": "8a9ab23a-3531-4b9a-aa25-7451d8edb175", + "uiClass": "ProtocolGateway" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "disconnectionConfiguration": { + "targetPushSubscriptions": [ + "7290697a-e729-4b20-9166-1e913e206f4a" + ], + "notificationType": "PUSH" + }, + "oid": "4eee1f79-a10f-4dec-9495-23f5ab739f44", + "rootPlace": { + "creationTime": 1586341957000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 200, + "oid": "ed6e01d8-5912-4c79-9ead-fe4baecb6ff4", + "subPlaces": [ + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "* *", + "type": 101, + "oid": "f00744c9-f07c-4de8-b92e-87bfc051623c", + "subPlaces": [ + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "1d8338a3-66df-49f5-93ce-ef4d82dd7846", + "subPlaces": [] + }, + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 2, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "8fec16cf-4790-4a46-b0b6-49c3f1ae74f3", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1586342930000, + "lastUpdateTime": 1586342930000, + "label": "*", + "type": 24, + "metadata": "{\"tahoma\":{\"position\":0.25,\"decor\":[]}}", + "oid": "54e2b008-ecd9-4e1a-bf58-fc2240a2a53e", + "subPlaces": [] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/fixtures/setup/setup_tahoma_siren.json b/tests/fixtures/setup/setup_tahoma_siren.json new file mode 100644 index 00000000..c957d819 --- /dev/null +++ b/tests/fixtures/setup/setup_tahoma_siren.json @@ -0,0 +1,1946 @@ +{ + "creationTime": 1607950277000, + "lastUpdateTime": 1607950277000, + "id": "SETUP-1234-1234-7462", + "location": { + "creationTime": 1607950277000, + "lastUpdateTime": 1607950277000, + "city": "*", + "country": "*", + "postalCode": "*", + "addressLine1": "* * * *", + "addressLine2": "", + "timezone": "Europe/Paris", + "longitude": "*", + "latitude": "*", + "twilightMode": 2, + "twilightAngle": "CIVIL", + "twilightCity": "paris", + "summerSolsticeDuskMinutes": 1290, + "winterSolsticeDuskMinutes": 990, + "twilightOffsetEnabled": false, + "dawnOffset": 0, + "duskOffset": 0, + "countryCode": "FR" + }, + "gateways": [ + { + "gatewayId": "1234-1234-7462", + "type": 29, + "subType": 15, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "alive": true, + "timeReliable": true, + "connectivity": { + "status": "OK", + "protocolVersion": "2021.4.4" + }, + "upToDate": false, + "updateStatus": "READY_TO_UPDATE", + "syncInProgress": false, + "updateCriticityLevel": "BUG_FIX", + "automaticUpdate": true, + "mode": "NO_AUTO", + "functions": "INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE" + } + ], + "devices": [ + { + "creationTime": 1607951094000, + "lastUpdateTime": 1607951094000, + "label": "* (*)", + "deviceURL": "homekit://1234-1234-7462/stack", + "shortcut": false, + "controllableName": "homekit:StackComponent", + "definition": { + "commands": [ + { + "commandName": "deleteControllers", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "HomekitStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "homekit:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "attributes": [ + { + "name": "homekit:SetupCode", + "type": 3, + "value": "*" + }, + { + "name": "homekit:SetupPayload", + "type": 3, + "value": "*://*" + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "HomekitStack", + "type": 5, + "oid": "0657cfe1-7cac-4dd0-8266-5c8a6be606a0", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1607950737000, + "lastUpdateTime": 1607950737000, + "label": "*", + "deviceURL": "internal://1234-1234-7462/alarm/0", + "shortcut": false, + "controllableName": "internal:TSKAlarmComponent", + "definition": { + "commands": [ + { + "commandName": "alarmOff", + "nparams": 0 + }, + { + "commandName": "alarmOn", + "nparams": 0 + }, + { + "commandName": "arm", + "nparams": 0 + }, + { + "commandName": "disarm", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "on", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "refreshAlarmDelay", + "nparams": 0 + }, + { + "commandName": "refreshCurrentAlarmMode", + "nparams": 0 + }, + { + "commandName": "refreshIntrusionDetected", + "nparams": 0 + }, + { + "commandName": "setAlarmDelay", + "nparams": 1 + }, + { + "commandName": "alarmPartial1", + "nparams": 0 + }, + { + "commandName": "alarmPartial2", + "nparams": 0 + }, + { + "commandName": "setIntrusionDetected", + "nparams": 1 + }, + { + "commandName": "setTargetAlarmMode", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:AlarmDelayState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "total" + ], + "qualifiedName": "internal:CurrentAlarmModeState" + }, + { + "type": "DiscreteState", + "values": [ + "detected", + "notDetected", + "pending", + "sos" + ], + "qualifiedName": "internal:IntrusionDetectedState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "partial1", + "partial2", + "sos", + "total" + ], + "qualifiedName": "internal:TargetAlarmModeState" + } + ], + "dataProperties": [], + "widgetName": "TSKAlarmController", + "uiProfiles": [ + "Alarm", + "Switchable" + ], + "uiClass": "Alarm", + "qualifiedName": "internal:TSKAlarmComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "internal:CurrentAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:AlarmDelayState", + "type": 1, + "value": 0 + }, + { + "name": "internal:TargetAlarmModeState", + "type": 3, + "value": "off" + }, + { + "name": "internal:IntrusionDetectedState", + "type": 3, + "value": "notDetected" + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "TSKAlarmController", + "type": 1, + "oid": "6da9fd45-cf0a-434a-a2b1-753acd06459a", + "uiClass": "Alarm" + }, + { + "creationTime": 1607950277000, + "lastUpdateTime": 1607950277000, + "label": "* *", + "deviceURL": "internal://1234-1234-7462/pod/0", + "shortcut": false, + "controllableName": "internal:PodV2Component", + "metadata": "{\"tahoma\":{\"touchButtonFlag\":true}}", + "definition": { + "commands": [ + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "update", + "nparams": 0 + }, + { + "commandName": "setCountryCode", + "nparams": 1 + }, + { + "commandName": "activateCalendar", + "nparams": 0 + }, + { + "commandName": "deactivateCalendar", + "nparams": 0 + }, + { + "commandName": "refreshBatteryStatus", + "nparams": 0 + }, + { + "commandName": "refreshPodMode", + "nparams": 0 + }, + { + "commandName": "refreshUpdateStatus", + "nparams": 0 + }, + { + "commandName": "setCalendar", + "nparams": 1 + }, + { + "commandName": "setLightingLedPodMode", + "nparams": 1 + }, + { + "commandName": "setPodLedOff", + "nparams": 0 + }, + { + "commandName": "setPodLedOn", + "nparams": 0 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "offline", + "online" + ], + "qualifiedName": "core:ConnectivityState" + }, + { + "type": "DataState", + "qualifiedName": "core:CountryCodeState" + }, + { + "type": "DiscreteState", + "values": [ + "pressed", + "stop" + ], + "qualifiedName": "core:CyclicButtonState" + }, + { + "type": "DataState", + "qualifiedName": "core:LocalIPv4AddressState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:BatteryStatusState" + }, + { + "type": "ContinuousState", + "qualifiedName": "internal:LightingLedPodModeState" + } + ], + "dataProperties": [], + "widgetName": "Pod", + "uiProfiles": [ + "UpdatableComponent" + ], + "uiClass": "Pod", + "qualifiedName": "internal:PodV2Component", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "internal:BatteryStatusState", + "type": 3, + "value": "no" + }, + { + "name": "core:CyclicButtonState", + "type": 3, + "value": "pressed" + }, + { + "name": "internal:LightingLedPodModeState", + "type": 2, + "value": 0.1 + }, + { + "name": "core:CountryCodeState", + "type": 3, + "value": "FR" + }, + { + "name": "core:LocalIPv4AddressState", + "type": 3, + "value": "192.168.1.51" + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "Pod", + "type": 1, + "oid": "e56db6c5-c90a-4487-843e-087c32d6ed8a", + "uiClass": "Pod" + }, + { + "creationTime": 1607957873000, + "lastUpdateTime": 1607957873000, + "label": "* (*)", + "deviceURL": "io://1234-1234-7462/14102612", + "shortcut": false, + "controllableName": "io:StackComponent", + "definition": { + "commands": [ + { + "commandName": "advancedSomfyDiscover", + "nparams": 1 + }, + { + "commandName": "discover1WayController", + "nparams": 2 + }, + { + "commandName": "discoverActuators", + "nparams": 1 + }, + { + "commandName": "discoverSensors", + "nparams": 1 + }, + { + "commandName": "discoverSomfyUnsetActuators", + "nparams": 0 + }, + { + "commandName": "joinNetwork", + "nparams": 0 + }, + { + "commandName": "resetNetworkSecurity", + "nparams": 0 + }, + { + "commandName": "shareNetwork", + "nparams": 0 + } + ], + "states": [], + "dataProperties": [], + "widgetName": "IOStack", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "io:StackComponent", + "type": "PROTOCOL_GATEWAY" + }, + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "IOStack", + "type": 5, + "oid": "a93699d1-e9ac-4c72-b092-af8e233bfa74", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1634568815000, + "lastUpdateTime": 1634568815000, + "label": "*", + "deviceURL": "io://1234-1234-7462/2733989", + "shortcut": false, + "controllableName": "io:SomfyIndoorSimpleSirenIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "off", + "nparams": 0 + }, + { + "commandName": "ring", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "runManufacturerSettingsCommand", + "nparams": 2 + }, + { + "commandName": "keepOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "ringWithDoubleSimpleSequence", + "nparams": 8 + }, + { + "commandName": "ringWithSingleSimpleSequence", + "nparams": 4 + }, + { + "commandName": "ringWithThreeSimpleSequence", + "nparams": 12 + }, + { + "commandName": "sendIOKey", + "nparams": 0 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllersAndDeleteNode", + "nparams": 0 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + }, + { + "commandName": "setMemorizedSimpleVolume", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:AdditionalStatusState" + }, + { + "type": "DiscreteState", + "values": [ + "full", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:BatteryState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "DataState", + "qualifiedName": "core:ManufacturerSettingsState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "off", + "on" + ], + "qualifiedName": "core:OnOffState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "highest", + "standard" + ], + "qualifiedName": "io:MemorizedSimpleVolumeState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "IOSiren", + "uiProfiles": [ + "StatefulSiren", + "Siren" + ], + "uiClass": "Siren", + "qualifiedName": "io:SomfyIndoorSimpleSirenIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "*" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "good" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 100.0 + }, + { + "name": "core:BatteryState", + "type": 3, + "value": "normal" + }, + { + "name": "core:OnOffState", + "type": 3, + "value": "off" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Somfy" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "5131231A02" + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "IOSiren", + "type": 1, + "oid": "09011b91-dfe7-4863-9a3e-651d5745d77f", + "uiClass": "Siren" + }, + { + "creationTime": 1608052449000, + "lastUpdateTime": 1608052449000, + "label": "* *", + "deviceURL": "io://1234-1234-7462/3125440", + "shortcut": false, + "controllableName": "io:RollerShutterVeluxIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableTiltedRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterVeluxIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 54.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "00000000000000000009" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "VELUX" + } + ], + "available": true, + "enabled": true, + "placeOID": "86884930-3ac5-4a56-9f1d-1e0fe21903e8", + "widget": "PositionableTiltedRollerShutter", + "type": 1, + "oid": "2165b4ed-4bc4-4ece-824a-28c9813e7cb4", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1608051078000, + "lastUpdateTime": 1608051078000, + "label": "* *", + "deviceURL": "io://1234-1234-7462/3722178", + "shortcut": false, + "controllableName": "io:RollerShutterVeluxIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableTiltedRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterVeluxIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 54.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "VELUX" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "00000000000000000009" + } + ], + "available": true, + "enabled": true, + "placeOID": "797928ec-90b7-4f96-b4d0-b319e37cf4aa", + "widget": "PositionableTiltedRollerShutter", + "type": 1, + "oid": "e82513f9-c145-4043-b6da-8ae77c715cbd", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1608051358000, + "lastUpdateTime": 1608051358000, + "label": "* *", + "deviceURL": "io://1234-1234-7462/4782140", + "shortcut": false, + "controllableName": "io:RollerShutterVeluxIOComponent", + "definition": { + "commands": [ + { + "commandName": "advancedRefresh", + "nparams": 1 + }, + { + "commandName": "close", + "nparams": 0 + }, + { + "commandName": "delayedStopIdentify", + "nparams": 1 + }, + { + "commandName": "down", + "nparams": 0 + }, + { + "commandName": "getName", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "my", + "nparams": 0 + }, + { + "commandName": "open", + "nparams": 0 + }, + { + "commandName": "refreshMemorized1Position", + "nparams": 0 + }, + { + "commandName": "setClosure", + "nparams": 1 + }, + { + "commandName": "setDeployment", + "nparams": 1 + }, + { + "commandName": "setMemorized1Position", + "nparams": 1 + }, + { + "commandName": "setName", + "nparams": 1 + }, + { + "commandName": "setPosition", + "nparams": 1 + }, + { + "commandName": "setSecuredPosition", + "nparams": 1 + }, + { + "commandName": "startIdentify", + "nparams": 0 + }, + { + "commandName": "stop", + "nparams": 0 + }, + { + "commandName": "stopIdentify", + "nparams": 0 + }, + { + "commandName": "up", + "nparams": 0 + }, + { + "commandName": "wink", + "nparams": 1 + }, + { + "commandName": "pairOneWayController", + "nparams": 2 + }, + { + "commandName": "setConfigState", + "nparams": 1 + }, + { + "commandName": "unpairAllOneWayControllers", + "nparams": 0 + }, + { + "commandName": "unpairOneWayController", + "nparams": 2 + } + ], + "states": [ + { + "type": "ContinuousState", + "qualifiedName": "core:ClosureState" + }, + { + "type": "DiscreteState", + "values": [ + "good", + "low", + "normal", + "verylow" + ], + "qualifiedName": "core:DiscreteRSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:Memorized1PositionState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + }, + { + "type": "DiscreteState", + "values": [ + "closed", + "open" + ], + "qualifiedName": "core:OpenClosedState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:PriorityLockTimerState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:RSSILevelState" + }, + { + "type": "ContinuousState", + "qualifiedName": "core:SecuredPositionState" + }, + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:StatusState" + }, + { + "type": "DiscreteState", + "values": [ + "comfortLevel1", + "comfortLevel2", + "comfortLevel3", + "comfortLevel4", + "environmentProtection", + "humanProtection", + "userLevel1", + "userLevel2" + ], + "qualifiedName": "io:PriorityLockLevelState" + }, + { + "type": "DiscreteState", + "values": [ + "LSC", + "SAAC", + "SFC", + "UPS", + "externalGateway", + "localUser", + "myself", + "rain", + "security", + "temperature", + "timer", + "user", + "wind" + ], + "qualifiedName": "io:PriorityLockOriginatorState" + } + ], + "dataProperties": [ + { + "value": "500", + "qualifiedName": "core:identifyInterval" + } + ], + "widgetName": "PositionableTiltedRollerShutter", + "uiProfiles": [ + "StatefulCloseableShutter", + "StatefulCloseable", + "Closeable", + "StatefulOpenClose", + "OpenClose" + ], + "uiClass": "RollerShutter", + "qualifiedName": "io:RollerShutterVeluxIOComponent", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* *" + }, + { + "name": "core:PriorityLockTimerState", + "type": 1, + "value": 0 + }, + { + "name": "core:StatusState", + "type": 3, + "value": "available" + }, + { + "name": "core:DiscreteRSSILevelState", + "type": 3, + "value": "normal" + }, + { + "name": "core:RSSILevelState", + "type": 2, + "value": 56.0 + }, + { + "name": "core:ClosureState", + "type": 1, + "value": 100 + }, + { + "name": "core:OpenClosedState", + "type": 3, + "value": "closed" + }, + { + "name": "core:Memorized1PositionState", + "type": 1, + "value": 0 + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "VELUX" + }, + { + "name": "core:FirmwareRevision", + "type": 3, + "value": "00000000000000000009" + } + ], + "available": true, + "enabled": true, + "placeOID": "9daebd08-e54b-4018-897c-49e1e04e5b5d", + "widget": "PositionableTiltedRollerShutter", + "type": 1, + "oid": "8d15dbf1-3434-4b98-b0d0-be9062531e84", + "uiClass": "RollerShutter" + }, + { + "creationTime": 1607951096000, + "lastUpdateTime": 1607951096000, + "label": "* (*)", + "deviceURL": "ogp://1234-1234-7462/00000BE8", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "sendPrivate", + "nparams": 1 + } + ], + "states": [ + { + "type": "DataState", + "qualifiedName": "core:Private10State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private1State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private2State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private3State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private4State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private5State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private6State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private7State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private8State" + }, + { + "type": "DataState", + "qualifiedName": "core:Private9State" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "attributes": [ + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "private" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "DynamicBridge", + "type": 1, + "oid": "404469e1-f8e6-4caf-8863-c030c2829a4a", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1607951096000, + "lastUpdateTime": 1607951096000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-7462/039575E9", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Siegenia" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + }, + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Siegenia Bridge" + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "DynamicBridge", + "type": 1, + "oid": "23c8ef4e-be4c-4790-b88a-876bba094f8c", + "uiClass": "ProtocolGateway" + }, + { + "creationTime": 1607951096000, + "lastUpdateTime": 1607951096000, + "label": "* * *", + "deviceURL": "ogp://1234-1234-7462/09E45393", + "shortcut": false, + "controllableName": "ogp:Bridge", + "definition": { + "commands": [ + { + "commandName": "discover", + "nparams": 0 + }, + { + "commandName": "identify", + "nparams": 0 + }, + { + "commandName": "setName", + "nparams": 1 + } + ], + "states": [ + { + "type": "DiscreteState", + "values": [ + "available", + "unavailable" + ], + "qualifiedName": "core:AvailabilityState" + }, + { + "type": "DataState", + "qualifiedName": "core:NameState" + } + ], + "dataProperties": [], + "widgetName": "DynamicBridge", + "uiProfiles": [ + "Specific" + ], + "uiClass": "ProtocolGateway", + "qualifiedName": "ogp:Bridge", + "type": "ACTUATOR" + }, + "states": [ + { + "name": "core:NameState", + "type": 3, + "value": "* * *" + } + ], + "attributes": [ + { + "name": "core:ManufacturerReference", + "type": 3, + "value": "OGP Intesis Bridge" + }, + { + "name": "core:Technology", + "type": 3, + "value": "Intesis" + }, + { + "name": "core:Manufacturer", + "type": 3, + "value": "Overkiz" + }, + { + "name": "ogp:Features", + "type": 10, + "value": [ + { + "name": "discovery" + }, + { + "name": "identification" + } + ] + } + ], + "available": true, + "enabled": true, + "placeOID": "fe778860-c254-431d-b7bc-126dfa70d810", + "widget": "DynamicBridge", + "type": 1, + "oid": "ddc0977b-124c-4fc1-909a-8d7219a69016", + "uiClass": "ProtocolGateway" + } + ], + "zones": [], + "resellerDelegationType": "NEVER", + "oid": "b82da98c-523b-4ff1-a991-721c6ef49006", + "rootPlace": { + "creationTime": 1607950277000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 200, + "oid": "fe778860-c254-431d-b7bc-126dfa70d810", + "subPlaces": [ + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "* é*", + "type": 102, + "oid": "fb419bb2-675a-4fec-a496-3c94d81cf418", + "subPlaces": [ + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 22, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "6bcd3d82-9bac-47f0-ba03-82d45e4ead7e", + "subPlaces": [] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 14, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "a6807dc6-9609-425e-8357-7b58e578645a", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*é*", + "type": 101, + "oid": "18d7859c-9dab-401d-8a20-c921c0d06161", + "subPlaces": [ + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 1, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "ae44f04f-fbab-4778-9c35-ace8538147de", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*è* é*", + "type": 104, + "oid": "797928ec-90b7-4f96-b4d0-b319e37cf4aa", + "subPlaces": [ + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "* *", + "type": 5, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "86884930-3ac5-4a56-9f1d-1e0fe21903e8", + "subPlaces": [] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "* *", + "type": 12, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "9daebd08-e54b-4018-897c-49e1e04e5b5d", + "subPlaces": [] + } + ] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 106, + "metadata": "{\"tahoma\":{\"position\":-0.25,\"decor\":[]}}", + "oid": "0f99c375-d78c-4c1d-b4bc-8cdc5e64b631", + "subPlaces": [] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*è* é*", + "type": 103, + "oid": "fd9ac334-6ddc-4db1-9bf5-a2ca592233b6", + "subPlaces": [ + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "* * *", + "type": 8, + "metadata": "{\"tahoma\":{\"order\":0}}", + "oid": "89618fff-9806-42a5-aae6-d1474e1aa610", + "subPlaces": [] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "*", + "type": 22, + "metadata": "{\"tahoma\":{\"order\":1}}", + "oid": "89c0616b-b3fa-42a9-a8e6-a78660a81a28", + "subPlaces": [] + }, + { + "creationTime": 1607964909000, + "lastUpdateTime": 1607964909000, + "label": "* *", + "type": 6, + "metadata": "{\"tahoma\":{\"order\":2}}", + "oid": "1d266ba8-cbd0-41e6-80af-25ef00102a15", + "subPlaces": [] + } + ] + } + ] + }, + "features": [ + { + "name": "tahoma-premium", + "source": "GATEWAY_TYPE" + }, + { + "name": "tahoma-security", + "source": "GATEWAY_TYPE" + } + ] +} diff --git a/tests/test_client.py b/tests/test_client.py index 69cd8cdc..b3ba594b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -14,31 +14,60 @@ class TestTahomaClient: @fixture - def api(self): + def client(self): return TahomaClient("username", "password", SUPPORTED_SERVERS["somfy_europe"]) @pytest.mark.asyncio - async def test_get_devices_basic(self, api): + async def test_get_devices_basic(self, client): with open( os.path.join(CURRENT_DIR, "devices.json"), encoding="utf-8" ) as raw_devices: resp = MockResponse(raw_devices.read()) with patch.object(aiohttp.ClientSession, "get", return_value=resp): - devices = await api.get_devices() + devices = await client.get_devices() assert len(devices) == 23 @pytest.mark.asyncio - async def test_fetch_events_basic(self, api): + async def test_fetch_events_basic(self, client): with open( os.path.join(CURRENT_DIR, "events.json"), encoding="utf-8" ) as raw_events: resp = MockResponse(raw_events.read()) with patch.object(aiohttp.ClientSession, "post", return_value=resp): - events = await api.fetch_events() + events = await client.fetch_events() assert len(events) == 16 + @pytest.mark.parametrize( + "fixture_name, device_count", + [ + ("setup_cozytouch.json", 12), + ("setup_hi_kumo.json", 3), + ("setup_hi_kumo2.json", 3), + ("setup_nexity.json", 18), + ("setup_rexel.json", 18), + ("setup_tahoma_3.json", 39), + ("setup_tahoma_climate.json", 19), + ("setup_tahoma_oceania.json", 3), + ("setup_tahoma_pro.json", 12), + ("setup_hue_and_low_speed.json", 40), + ], + ) + @pytest.mark.asyncio + async def test_get_setup(self, client, fixture_name: str, device_count: int): + with open( + os.path.join(CURRENT_DIR, "fixtures/setup/" + fixture_name), + encoding="utf-8", + ) as setup_mock: + resp = MockResponse(setup_mock.read()) + + with patch.object(aiohttp.ClientSession, "get", return_value=resp): + setup = await client.get_setup() + + assert len(setup.devices) == device_count + assert len(setup.gateways) == 1 + class MockResponse: def __init__(self, text, status=200):