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

Individual Serialnumber #55

Closed
RaiPos opened this issue May 15, 2020 · 10 comments
Closed

Individual Serialnumber #55

RaiPos opened this issue May 15, 2020 · 10 comments

Comments

@RaiPos
Copy link

RaiPos commented May 15, 2020

Hello,

is it possible to add a parameter/value to set individual serial numbers to each switch?
Because i.e. the EVE app has troubles with devices having all the same serial number.

edit:
I have tested it by edit line number 305 in index.js and it works now in EVE app:
.setCharacteristic(Characteristic.SerialNumber, this.name)

But i think to assign an individual serial number would be the nicer way. :)

Thanks

@mbierman
Copy link

Maybe I'm not following what you are getting at. It seems each named switch is be treated separately. Just give it a different name.

@RaiPos
Copy link
Author

RaiPos commented May 15, 2020

in apple home everything works as expected. but when you use "eve app" (i like the interface much more), the switches are identified by serial number. so if you want to add one switch to your favourites, every switch with the same serial number (in this case "SW01") will be added and you're not able to select only one. in this case it would be nice if it's possible to set the serial number via config.

hope you can understand what i mean. :)

@Supereg
Copy link
Owner

Supereg commented May 15, 2020

Are you running the latest version of the Eve App? Cause I remember that they did fix that issue?

@RaiPos
Copy link
Author

RaiPos commented May 15, 2020

yes, version 4.2.2 (5 days old)

@mbierman
Copy link

Strange I’m not having that problem.

@mbierman
Copy link

Works o.k. for me in Eve. What problem are you seeing?

@RaiPos
Copy link
Author

RaiPos commented May 19, 2020

Sorry for my late answer, i have tested different settings and always got the same result.
When using standard serial number "SW01" for all devices (like in the original code) i can not add only one switch to my favourites (see my attached pictures). I tried to reset my homebridge and readd all HTTP-SWITCHES again, same result. After edit the code (like in my post before) it is possible and works fine.

01 02 03

@mbierman
Copy link

@RainhardPosch Does the switch serial number matter? If I duplicate a switch, I see both in Eve and they work. I haven't tried setting up to see if they properly control separate things though.

@RaiPos
Copy link
Author

RaiPos commented May 28, 2020

it seems that the serial number only matters in the favourites tab.
when switches have the same serial number it is not possible to add a single one but the operational function is given (i can trigger each switch separatly).

in the rooms tab instead the switches are separated correctly.

@Supereg
Copy link
Owner

Supereg commented Jul 17, 2020

A new serialNumber property was added to v0.5.31 in order to define custom serial numbers.
Sorry for the delay.

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