Comments (8)
HAP Spec 2.6.1
Instance IDs are numbers with a range of [1, 18446744073709551615]. These numbers are used to uniquely identify HAP accessory objects within an HAP accessory server, or uniquely identify services, and characteristics within an HAP accessory object. The instance ID for each object must be unique for the lifetime of the server/ client pairing.
When adding more than eight accessories (independent of type) to a device the Home app will protest on the eight accessory and claim that it is an unsupported accessory. Changing the aid numbering
accessory.aid = offset == 0 ? 1 : offset+100
will silent the protest. There seems to be more into this than just using unique aid numbering.
from hap.
Thanks, I've committed a fix for this in 634d5a2.
from hap.
There seems to be more into to this see the fix 8e83fe0
The HAP specs are not clear (too me).
from hap.
I've tried replicating the issue of your previous comment, but was unable to. On my iPhone (6s / iOS 11.0.3) I'm able to pair with the demo HAP server included with this package. Any idea why you would need the offset, and how this ties into the specs?
from hap.
With the demo HAP server and iPhone (6s/iOS 11.0.3) the results for me are
8e83fe0 - OK
c6b9a14 - silently refuse to pairing, the Bridge does not show up at all
9e2df10 - paring is possible but the Toilet window is marked as not supported (Stöds inte, in Swedish)
from hap.
Is this still a problem for you?
from hap.
Now it works, thanks!
from hap.
Most gaps with the specs have been resolved. If any mismatch is found, we can open separate issues.
from hap.
Related Issues (20)
- TargetHumidifierDehumidifierState wrong enum HOT 2
- Async get characteristic HOT 5
- valid values HOT 5
- Help using Accessory.Television HOT 1
- Links in README return 404 HOT 1
- How to group accessories ? HOT 2
- Project doesn't run on command line HOT 2
- deprecated warnings when compiling HOT 2
- How to set value of characteristic in a client app? HOT 2
- SecuritySystem - Show as Single Tile HOT 4
- Dynamically add/remove services?
- Characteristic Function not called when updating powerState or brightness of a Accessory.Lightbulb subclass HOT 4
- Getting Illegal instruction on Raspberry Pi4
- Xcode 13 - Package Target Integrity Error HOT 3
- Compatibility with Matter HOT 2
- Adaptive lighting HOT 1
- Cut a new Release?
- When internet drops and comes back, app needs to be restarted. HOT 2
- Are you still working on this package at all? HOT 1
- Not responding accessory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hap.