{ "title": "co2meter.basic", "description": "Simple CO2 meter", "lang": "en", "documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/", "ref": "http://recherche.imt-atlantique.fr/xaal/documentation/co2meter.basic", "license": "Copyright Christophe Lohr IMT Atlantique 2018 - 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": "basic.basic", "attributes": { "co2": { "description": "CO2", "unit": "ppm", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "number" } } }, "methods": { "getAttributes": { "description": "Get measured CO2", "parameters": { "attributes": { "description": "List of wanted attributes", "unit": "", "direction": "in", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "enum": [ "CO2" ] }, "additionalItems": false } }, "CO2": { "description": "CO2", "unit": "ppm", "direction": "out", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "number" } } }, "relatedAttributes": [ ] } }, "notifications": { "attributesChange": { "description": "Report attributes that have changed", "parameters": { "CO2": { "description": "CO2", "unit": "ppm", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "number" } } } } } }