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

[FEATURE] Eve App 4.2 Issue with homebridge-harmony devices #249

Closed
DJay-X opened this issue Apr 17, 2020 · 5 comments
Closed

[FEATURE] Eve App 4.2 Issue with homebridge-harmony devices #249

DJay-X opened this issue Apr 17, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request waiting for feedback Waiting for feedback from users

Comments

@DJay-X
Copy link

DJay-X commented Apr 17, 2020

@nicoduj
The lates Eve for HomeKit App v4.2 is causing issues with several Homebridge Plugins.
They changed something so that the serial number of a device is linked somehow in the background. This was not the previous Eve version.
Problems causing now like described here.
homebridge/homebridge#2503

So alle devices/switches from homebridge-harmony can't be sorted anymore and can't get an icon for each device separately.

Do you see a solution to fix this "Eve" Issue, by changing something in your plugin?

Thanks again for your work and the time you are investing generally.

@DJay-X DJay-X added the enhancement New feature or request label Apr 17, 2020
@nicoduj
Copy link
Owner

nicoduj commented Apr 17, 2020

Hi, I can make serialnumbers "unique" I think, but it won't help in case of multiple service son the same accessory (since serialnumber is on accessory) . Did you try playing with *AsIndividualAccessories options in roder to see if switches are multiples services of one accessory, the problem persists ?

@nicoduj
Copy link
Owner

nicoduj commented Apr 17, 2020


EDIT

Let's try 1.3.5 that will be out soon. It should change the serial numbers to be unique after reboot (you will see warning logs), I think there is no need to clean cache (hope so) from my tests. I have also change something to be compatible with next 1.0 version of homebridge, hopping it won't mess up the cache also (did not on my setup)


if you are ok doing some test on your setup, you can try to change line 1188 of harmonyBase.js to this :

myHarmonyAccessory.serialNumber = uuid;

instead of this :

myHarmonyAccessory.serialNumber = harmonyPlatform.hubRemoteId == undefined
        ? harmonyPlatform.hubIP
        : harmonyPlatform.name + '-' + harmonyPlatform.hubRemoteId;

You will need to clean your cache I fear (and thus loose all your devices)

@nicoduj nicoduj added the waiting for feedback Waiting for feedback from users label Apr 17, 2020
@nicoduj nicoduj self-assigned this Apr 17, 2020
@DJay-X
Copy link
Author

DJay-X commented Apr 17, 2020

First of all thanks for your fast action. 🙏

I updated to 1.3.6 restarted homebridge but the serial number on my 3 harmony devices and the PowerOff button is still all the same. The IP number.

I deleted "cachedAccessories", and sudo npm cache clean -f rebooted the Pi but still the IP without any difference or extension on all devices.

I think there is no need to clean cache

How/where do I have to clean cache the way you are thinking.

@nicoduj
Copy link
Owner

nicoduj commented Apr 17, 2020

Check in home app please it seems eve does not update it...

@DJay-X
Copy link
Author

DJay-X commented Apr 17, 2020

Correct. Home App is now showing the unique serial numbers for every harmony device.
Eve App is still not changing anything.

Only after deleting Eve App completely and reinstalling it, it now is showing the unique serial numbers as well.
By this, also sorting the devices separately and give each one individual icons is working again. 👍

YOU fixed the Eve App. ;)

Maybe your work with this is a great example for other developers. You should somehow mark this as a solution.
Unfortunately not every developer is still maintaining their plugins. Some Plugins still work well after several years without an update. But there is zero chance they change the plugin like you did.

In my setup at least the first plugin problem with Eve is fixt.
And I thank you so much for this.

The rest is probably to do by Eve Developers in general with a next Eve App update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for feedback Waiting for feedback from users
Projects
None yet
Development

No branches or pull requests

2 participants