nfarina / homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
262 stars 82 forks source link

Serial number to switches? #42

Closed permaMonk closed 2 years ago

permaMonk commented 3 years ago

It’s possible to add a feature like different (fake) serial numbers to each switch? Cause I’ve here a app which can make backups of Homekit, but complains about the same serial number in all fake switches.

elkaboing commented 3 years ago

Funny, I came here looking to see if there was a line I could add to my switches in the config to add serial numbers as well. The latest Controller update looks solid!

permaMonk commented 3 years ago

Yes the idea about fake serial numbers is coming from using the Controller app. :)

snufk1ns commented 3 years ago

same here

5xPa commented 3 years ago

Me to also and using controller app. still to try a restore

MirkoKas commented 3 years ago

+1 (funny how the controller update brought that sensitivity for the serial number for more people than me)

lemnitram commented 3 years ago

Also looking for a solution bc of Controller

DamianeQ-PL commented 3 years ago

Hey, I was looking for this option too but didn't find it

G60GT commented 2 years ago

Also looking for this!

JSVarga commented 2 years ago

Also me and also for the Controller app.

Maddah979 commented 2 years ago

Also looking for this!

djrams10 commented 2 years ago

The same

Soldiiier commented 2 years ago

+1,

sebiprinz commented 2 years ago

+1

permaMonk commented 2 years ago

@nano9g You made a fork and solved the problem with serial numbers? How? If yes how to get that code? Sorry I’m not that familiar with all GitHub functions.

nano9g commented 2 years ago

@permaMonk Uninstall the existing homebridge-dummy plugin, then run: sudo npm install -g --save https://github.com/nano9g/homebridge-dummy/tarball/master It will still display as @nfarina's plugin because I haven't updated package.json, but it will have the new code.

permaMonk commented 2 years ago

Thx for fast reply.

Will I miss all my dummies even if I saved the config file or will the changes in your plug-in handle also my old config?

Anything t important about the serial number format in your config file?

Yours

Am 04.01.2022 um 20:02 schrieb nano9g @.***>:

 @permaMonk Uninstall the existing homebridge-dummy plugin, then run: sudo npm install -g --save https://github.com/nano9g/homebridge-dummy/tarball/master It will still display as @nfarina's plugin because I haven't updated package.json, but it will have the new code.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

nano9g commented 2 years ago

Thx for fast reply. Will I miss all my dummies even if I saved the config file or will the changes in your plug-in handle also my old config?

I didn't experience any issues when I made the changes to my installation. I can't guarantee you won't since I've only tested once.

You also do not need to restart Homebridge between uninstall/install. Just remove the old plugin, keep your config the same, instead the new one, and restart Homebridge.

Anything t important about the serial number format in your config file?

Nope, the they're automatically generated based on the name of the accessory.

djrams10 commented 2 years ago

thank you very much, everything works perfectly. Is it possible to integrate it in a new version in homebridge? Thank you very much for the job.

nano9g commented 2 years ago

Whether the pull request gets merged is up to @nfarina.

nfarina commented 2 years ago

Just merged, will publish now! Sorry I don't look at this repo very often…

permaMonk commented 2 years ago

You made it. 🕺🏼

Am 01.02.2022 um 13:41 schrieb nano9g @.***>:

 Whether the pull request gets merged is up to @nfarina.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

djrams10 commented 2 years ago

Just merged, will publish now! Sorry I don't look at this repo very often…

really thank you for your speed