adding multiple identical services to an accessory
See original GitHub issueI tried to add two Service.Lightbulb()
to one device
HAP complained about missing subtype (ok, was in a PR some time ago).
But I found
- the subtype cannot be used when using the generated types, as the parameter is not passed
- when adding the subtypes directly
myService.subtype="string1"
etc. there appear as much services in legato EVE, but they are all the same (the latest added service). Broken or did just wreck it myself?
Issue Analytics
- State:
- Created 8 years ago
- Comments:25 (25 by maintainers)
Top Results From Across the Web
adding multiple identical services to an accessory #139 - GitHub
I tried to add two Service.Lightbulb() to one device. HAP complained about missing subtype (ok, was in a PR some time ago). But...
Read more >Set up accessories with Home on iPhone - Apple Support
Use Home on iPhone to add accessories to your home and assign them to rooms. ... Tap Home at the bottom left, then...
Read more >Retail Database Design - Multiple Products with different ...
To resolve a many-to-many relationship like this, we add another table, and remove the model_id column from the accessories table.
Read more >Bound services overview - Android Developers
A bound service is the server in a client-server interface. It allows components (such as activities) to bind to the service, send requests, ......
Read more >Video: COUNTIFS and SUMIFS - Microsoft Support
Training: COUNTIFS applies criteria to cells across multiple ranges and counts the number of times all criteria are met. SUMIFS adds the cells...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So HomeKit will “unpair” if it doesn’t like something about the returned accessories/services. Unfortunately it’s difficult to pin down exactly what it doesn’t like besides trial and error.
how do i use the light.js? i copied it to HAP-NodeJS/accessories/Wohnzimmer_accessory.js and restart the homebridge, what else do i need to do?