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

Haiku fans show up in Lutron app all in the same room duplicated #26

Open
wojo opened this issue Jan 24, 2020 · 3 comments
Open

Haiku fans show up in Lutron app all in the same room duplicated #26

wojo opened this issue Jan 24, 2020 · 3 comments

Comments

@wojo
Copy link

wojo commented Jan 24, 2020

Not sure if this problem is on the Homebridge BigAssFans side, or Lutron side, but this is really weird:

When I have my 6 Haiku fans set up in Homebridge, synced to HomeKit in different rooms, they all end up showing up in my Lutron app in one room, duplicated (all six entries are the same fan), and randomly change from one fan to the next. It also causes the Lutron app to hang up and slow down.

Here's an example of one moment in time. It'll randomly change the fan represented to Guest Room, then Master Bedoom, etc for all the entries (yet stay in the same room next to each other) once in a while.

Controls do sort of work, I was able to get my fan to spin up to 100%, back to 0%, etc with the Luton quick set buttons.

image

So a few things that are odd:

  • Clearly Lutron thinks these are fans from their own fan controller. Could there be some identifier that is not set correctly on the Homebridge side? I notice the manufacturer, serial, model are all "Default-XXX", but doubt they specifically look for that. Anything else?
  • The Lutron app is collapsing these all down to one room, this seems like a clear Lutron bug as HomeKit shows them placed in the correct rooms. But maybe it happens because the serial, etc are all the same perhaps.

Thoughts? I'm going to email Lutron as well but I don't expect to get a lot of traction from them on debugging and/or fixing this.

@sean9keenan
Copy link
Owner

Interesting - I would believe that SN's/unique identifiers are being used differently in the Lutron app vs the Home app, however I'm not sure what the proper way to report the SN through homebridge is (if there even is a way to report it such that it'll be picked up by Homekit - I think it might be by specifying serialNumber here).

I also couldn't find "Default-XXX" in the homebridge repo - but there is an issue where others mention that string. Maybe it's a default that's populated on apple's side in the case the accessory doesn't report it.

Sorry I can't be more help on this

@wojo
Copy link
Author

wojo commented Jan 24, 2020

@sean9keenan appreciate the response, I'm going to go ahead and get one level deeper on this. Perhaps assigning serial numbers based on the MAC/IP address, etc.

@pponce
Copy link
Contributor

pponce commented Apr 19, 2020

I think this serial number issue is the cause of issues in the eve app as well.
See issue #27 .
Other apps will set the serial number, model number and manufacturer name.
Here is now homebridge-camera-ffmpeg does it.
`
var cameraAccessory = new Accessory(cameraName, uuid, hap.Accessory.Categories.CAMERA);
var cameraAccessoryInfo = cameraAccessory.getService(Service.AccessoryInformation);

  if (cameraConfig.manufacturer) {
    cameraAccessoryInfo.setCharacteristic(Characteristic.Manufacturer, cameraConfig.manufacturer);

  }

  if (cameraConfig.model) {
    cameraAccessoryInfo.setCharacteristic(Characteristic.Model, cameraConfig.model);
  }

  if (cameraConfig.serialNumber) {
    cameraAccessoryInfo.setCharacteristic(Characteristic.SerialNumber, cameraConfig.serialNumber);

  }`

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

No branches or pull requests

3 participants