-
Notifications
You must be signed in to change notification settings - Fork 7
HomeKit Setup
You must configure wifi network before adding the accessory to HomeKit. To configure Wi-Fi settings, device generates its own Wi-Fi in AP mode. You must connect to it in order to setup your Wi-Fi network.
Simply take your iOS device, go to Setting -> Wi-Fi, and search for an SSID called HomeKid-
followed by the module's MAC address and connect to it. For security reasons the AP is password protected!
Wait a few seconds until a web appears showing you all Wi-Fi networks that the device has found. Select yours, and enter password then click the Join button! The module will try to connect the selected Wi-Fi network, this will take a couple of seconds.
Note: If the given password is wrong, you can Reset the Wi-fi settings by holding the Reset button for 10sec
In your iOS device, open Home App and follow normal steps to add a new accessory.
Pairing setup takes about 30 seconds.
Default HomeKit code is 431-92-635
.
Also You can scan this HomeKit QR code:
Note: If pairing fails, you can unpower your device, repower it, and start HomeKit setup again (Wifi settings keep configured)
I've added HomeKit Characteristic for detecting Light Sensor fault. If the BH1750 doesn't work properly, HomeKit will nofify you about this problem and Auto Mode will be turned OFF!
I've added an Auto Mode function to close (and open) the blinds based on BH1750 sensor's Lux reading. When it gets dark, the Blinds will close automatically, and in the morning - when Light sensor will reach a certain Lux value - it will open! You can enable/disable this function within the Elgato EVE app or by Triple pressing the Button connected to GPIO0
and GND
!
Other thing to mention is sadly HomeKit NOT supports custom characteristic like Auto Mode, so you'll need 3rd party HomeKit apps (eg.: EVE) for changing this setting!
HomeKit provides support Child Lock function for safety reason! Sadly in Home app this Characteristic cannot be changed, so you'll need 3rd party HomeKit apps (eg.: EVE) for changing this setting! When Child Lock is active Single, Double and Triple Pressing the Button will NOT work, but Long Pressing for 10sec (Reseting) will!
You can also use the Button connected to GPIO0
and GND
to operate the blinds.
- Single Pressing the button will fully Open the blinds
- Double Pressing will fully Close the blinds
Manually controlling the Blinds will turn Auto Mode off!
The code has a Reset function in case of something goes wrong. Wait about 5 seconds to allow device to boot completely, and then long press the button for at least 10sec!
All configured settings has been removed and device is restarting. This removes HomeKit and Wi-Fi settings and stepper endpoint settings too, then your device will go to Access Point mode next time in order to reconfigure Wi-Fi.
If wifi network becomes unreachable, device will keep searching Wi-Fi automatically until it can connect again when Wi-Fi becomes available.
If your ESP8266 module doesn't have physical button attached, you can use jumper wires to connect GPIO0 and GND for 10 seconds.
Note: Resetting the accessory may not remove it from the Home app, you need to do it manually after resetting!