Diagnostics
UUID: 00000203-0000-1000-8000-00000237
Required Characteristics
Example
The example below is automatically generated and may not be a complete example of what is required to create a working "Diagnostics" Homebridge plugin. Note
// Example Diagnostics Plugin module.exports = (api) => { api.registerAccessory('ExampleDiagnosticsPlugin', ExampleDiagnosticsAccessory); }; class ExampleDiagnosticsAccessory { constructor(log, config, api) { this.log = log; this.config = config; this.api = api; this.Service = this.api.hap.Service; this.Characteristic = this.api.hap.Characteristic; // extract name from config this.name = config.name; // create a new Diagnostics service this.service = new this.Service(this.Service.Diagnostics); // create handlers for required characteristics } }