maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.11k stars 170 forks source link

QR code #44

Closed korstiaanS closed 5 years ago

korstiaanS commented 6 years ago

Hi,

I want to generate QR codes for the devices I make. I could use the Homekit simulator to fill in all the exact values and this program will generate the QR code I could use. In the ESP HomeKit code I find all the necessary fields (Name, Manufacturer, Serial, Model, Password, ...) except something for the SETUP ID. I suppose I need this setup ID field in the ESP as well. Is that field available and/or can this be added?

Korstiaan

korstiaanS commented 6 years ago

This is the simulator:

image

renssies commented 6 years ago

Using the simulator wouldn't work if you knew the Setup ID. The code needs to generate a certain hash that is broadcasted, this is currently not in the code.

@cduvenhorst was working on implementing it into esp-homekit: https://github.com/maximkulkin/esp-homekit/pull/33

korstiaanS commented 6 years ago

Ah, ok. Sorry. I didn't knew it was that complicated. Thanks for the answer. It was a nice thing to have (and show off)...

royfocker19 commented 6 years ago

@korstiaanS, what'sthe name of that simulator.? Where can I download it?

korstiaanS commented 6 years ago

@royfocker19 : it is called HomeKit Accessory Simulator. It is from Apple and can be downloaded from the Apple Developer Site. See more here

fmoreni commented 5 years ago

@royfocker19 Hello, my friend,

I did not find on the apple website the qrcode simulator, did you get it where?

Could you help please?

cduvenhorst commented 5 years ago

Since Xcode 8 the HomeKit Accessory Simulator is provided with “Additional Tools for Xcode”. https://developer.apple.com/download/more/?=for%20Xcode

AramVartanyan commented 5 years ago

You can also use this way:

HomeKit Codes.zip

It works for me.

maximkulkin commented 5 years ago

Added support for QR code pairing, see QR code pairing.