Comments (2)
@twlawrenceko , you may use the HAP_EVENT_PAIRING_STARTED
, HAP_EVENT_CTRL_PAIRED
and HAP_EVENT_PAIRING_ABORTED
events to track the pair setup process. You can find sample usage in Fan example. However, note that, for ESP8266, I have noticed that pair setup indeed fails sometimes, when done via QR code but goes fine if the pin is provided manually (the delay during typing gives ESP8266 some additional time to process pair setup M1 message). Does your observation match this?
from esp-homekit-sdk.
@shahpiyushv , thank you for the tip. The pairing process with ESP8266 seems to be unstable, not for outlet identity but for lightbulb and light switch (based on my experience). I have not notice the big difference between using qrcode and pin, however, I will put this in mind.
I do have an additional question that I believe is quite related, as my monitor task is a while loop and if the wifi gets disconnected, I would also like to stop the monitor task, what is the variable for wifi not connected?
Thank you.
from esp-homekit-sdk.
Related Issues (20)
- Unable to find components to build examples for ESP8266 HOT 2
- How to cleanly add or remove accessories ? (bridge) HOT 2
- HTTPD init error HOT 2
- ESP8266无法使用
- Accessory Not Found HOT 6
- Update examples CMakeLists.txt
- hap_platform_httpd_start failing HOT 1
- Is it possible to remove nvs? HOT 2
- More than 1 accessory support without using bridge HOT 6
- How to change Homekit TCP port? HOT 2
- esp-homekit-sdk network allocation HOT 2
- Lightbulb: save status on flash HOT 3
- Change serial number without re-build source code HOT 2
- Is it possible to return the device status outside the hap_serv_set_write_cb callback function? HOT 3
- idf.py menuconfig fails for aws-iot example
- Mfi license HOT 5
- homekit bridge Decryption error/Connection lost HOT 2
- Problem with some services and features HOT 5
- httpd_start() don't start, has problem with create stack ESP32-S3 SPIRAM 8MB (IDFGH-13325) HOT 3
- Accessories stuck in 'opening' or 'closing' states
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-homekit-sdk.