Open chrismsnz opened 4 years ago
00000096-0000-1000-8000-0026BB765291
corresponds to BatteryService
.
If you remove one of your getBatteryLevel
lines, then the composite accessory can be created. However, because they are grouped together Homekit correctly picks up the battery level and shows it in both sensors.
Curiously, Homekit doesn't actually show the sensors together - they are shown separately within the 'Motion Sensors' and 'Climate' sections; I don't know whether there a way to change this in iOS 14.
Hmm, I'm sure I tried removing various battery services but it was a while ago now. Thanks for taking a look at it I will get around to testing it in the next week or so.
I attempted to make a multi-service accessory for my aeotec trisensor (one device, has light, motion and temp).
accessory block from config file:
Error on restarting homebridge:
Error still occurred with just one accessory defined in config. I also tried setting a "subtype" property in the service and it didnt work.
I also tried dumping out the services block to log last night to see if I could find what might be clashing but don't really know what I'm doing. Possibly something to do with the battery service also being created?