question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

adding multiple identical services to an accessory

See original GitHub issue

I 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:closed
  • Created 8 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
nfarinacommented, Sep 5, 2015

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.

0reactions
luxuscommented, Sep 5, 2015

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found