From 3e88d699972d3808c73deb34783778eee473476a Mon Sep 17 00:00:00 2001 From: Gregg Date: Mon, 8 Aug 2022 05:56:11 -0500 Subject: [PATCH] Added optional AccessoryFlags Characteristic to AccessoryInformation Service This optional flag does not seem to have any affect on the Home App and does not produce any messages indicating that the device needs additional setup. Was hopeful this would have prevented the "Not Supported" message on a Home App Tile that is configured as a bridge, but without any other Accessories. --- Other Examples/ProgrammableHub/ProgrammableHub.ino | 3 ++- src/Characteristics.h | 1 + src/Span.h | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Other Examples/ProgrammableHub/ProgrammableHub.ino b/Other Examples/ProgrammableHub/ProgrammableHub.ino index b7df732..fec8a48 100644 --- a/Other Examples/ProgrammableHub/ProgrammableHub.ino +++ b/Other Examples/ProgrammableHub/ProgrammableHub.ino @@ -32,7 +32,7 @@ // // // Demonstrates how to implement a Web Server alongside // // of HomeSpan to create a Programmable Hub serving up to // -// 24 Configurable Lights. Allows for dynamic changes // +// 12 Configurable Lights. Allows for dynamic changes // // to Accessories without needing to reboot // // // ////////////////////////////////////////////////////////////////// @@ -89,6 +89,7 @@ void setup() { new Service::AccessoryInformation(); new Characteristic::Identify(); new Characteristic::Model("HomeSpan Programmable Hub"); + new Characteristic::AccessoryFlags(); for(int i=0;i