Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform AccessoryInformation #835

Closed
benzman81 opened this issue Oct 7, 2016 · 7 comments
Closed

Platform AccessoryInformation #835

benzman81 opened this issue Oct 7, 2016 · 7 comments
Labels

Comments

@benzman81
Copy link

Is the AccessoryInformation for a platform changeable? I didnt find any code hints on how to do this. Currently only "Defautl-xxx" ist displayed.

@Realank
Copy link

Realank commented Mar 29, 2017

same question...

@snowdd1
Copy link
Contributor

snowdd1 commented Mar 29, 2017

Yes, example: https://github.com/snowdd1/homebridge-knx/blob/v0.3.10/lib/knxdevice.js#L73
You'll need this service for each accessory.

@Realank
Copy link

Realank commented Mar 29, 2017

thanks for you response @snowdd1 , I will try it later, hopefully it will work 😄

@Realank
Copy link

Realank commented Mar 30, 2017

@benzman81 @snowdd1
Thanks for your support, I know how to config AccessoryInformation for a accessory in homebridge plugin, my question is how to config manufacturer/model/serialNumber for entire home(which mean config these info of bridge).
As read the source code in here, I found how to config,

Just add some field in config.json in .homebridge folder:
"bridge": {
"manufacturer": "Realank",
"model": "HomeV1",
"serialNumber": "001",
"name": "realank homee",
"username": "CC:22:3D:E3:CE:22",
"port": 51810,
"pin": "xxx-xx-xxx"
},

@snowdd1
Copy link
Contributor

snowdd1 commented Mar 30, 2017

@Realank You want to change the information for the bridge itself?

As you can see here https://github.com/nfarina/homebridge/blob/v0.4.10/lib/server.js#L97 the bridge section of config.json supports the attributes

  • manufacturer
  • model
  • serialNumber

However, that info will only show in Home app if you look at the details of the bridge itself - as the bridge has no user functionality, most user will put it somewhere hidden (I created a virtual room "system devices" for all things that have no user value for my family. So just curious, what are you going to do with it?

Edit: should have read your post more closely, you've already figured everything out!

@Realank
Copy link

Realank commented Mar 30, 2017

@snowdd1 yeah, bridge has no user functionality, it represents home(or room) in our Home App. It's useless, I just don't want to see "Default -xxx" at the details of the bridge 😜

@stale
Copy link

stale bot commented Oct 31, 2017

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants