{ "title": "gateway.zwave", "version": 0.2, "description": "Simple gateway that manage Z-Wave devices", "lang": "en", "documentation": "http://recherche.telecom-bretagne.eu/xaal/documentation/", "ref": "http://recherche.telecom-bretagne.eu/xaal/documentation/gateway.zwave", "license": "Copyright Christophe Lohr Telecom Bretagne 2014 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "gateway.zwave", "attributes": { "address_mapping": { "description": "Mapping between xAAL address and hardware address of Z-Wave devices", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "type": "array", "items": { "type": "object", "properties": { "xAAL": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "protocol": { "type": "string", "pattern": "^ZWave$" }, "HWAddr": { "type": "object", "properties": { "homeID": { "type": "integer", "minimum": 0, "maximum": 4294967295 }, "nodeID": { "type": "integer", "minimum": 0, "maximum": 255 } }, "additionnalProperties": false } }, "additionalProperties": false } } } }, "methods": { "getEmbedded": { "description": "Get the addresses mapping", "parameters": { "address_mapping": { "description": "Mapping between xAAL address and hardware address of Z-Wave devices", "unit": "", "direction": "out", "type": { "$schema": "http://json-schema.org/schema#", "type": "array", "items": { "type": "object", "properties": { "xAAL": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "protocol": { "type": "string", "pattern": "^ZWave$" }, "HWAddr": { "type": "object", "properties": { "homeID": { "type": "integer", "minimum": 0, "maximum": 4294967295 }, "nodeID": { "type": "integer", "minimum": 0, "maximum": 255 } }, "additionnalProperties": false } }, "additionalProperties": false } } } }, "relatedAttributes": [ ] } }, "notifications": { "attributesChange": { "description": "Mapping chanched", "parameters": { "address_mapping": { "description": "Mapping between xAAL address and hardware address of Z-Wave devices", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "type": "array", "items": { "type": "object", "properties": { "xAAL": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "protocol": { "type": "string", "pattern": "^ZWave$" }, "HWAddr": { "type": "object", "properties": { "homeID": { "type": "integer", "minimum": 0, "maximum": 4294967295 }, "nodeID": { "type": "integer", "minimum": 0, "maximum": 255 } }, "additionnalProperties": false } }, "additionalProperties": false } } } } } } }