-
Notifications
You must be signed in to change notification settings - Fork 17
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
Compiling error after update #12
Comments
Hi @askthomas - Sorry for the delay replying. I'm in the process of moving homes and all my home automation stuff is still in transit until mid-Feb. I can look at this then. |
Hi @askthomas - The message that you reported is a compile-time warning, not an error. My code has the same warning, and I can detect watch 3 and 7 fine. I have opened #17 to fix this warning. To help you with your problem, could you post
logger:
level: VERY_VERBOSE |
Model Error compiling
Config
|
Hi @askthomas - I would like to confirm: the code does successfully download onto the ESP32? Or does the compile fail, and you are unable to download onto ESP? I get the same errors, and have opened a ticket #17 to investigate, but my code compiles successfully, downloads onto the ESP, and detects my watch. If your watch is not being detected, please send verbose logs from the ESP once it is running, will look something like
|
It tokk 3 trie to get it on, but now it did, and loooong logs INFO Reading configuration /config/esphome/kok-esp32.yaml... |
To try: On line 60 of the yaml, you can change it to if (data_flags == 0x98 || data_flags == 0x18) { This should detect your watch when it is both locked and unlocked. |
Thanks That work fine 😊 The wach is on my arm, not locked, tested also to tak it if, and get the pin code and it still finds it 😊 /Thomas
|
Hi @askthomas I am glad that it is working now. It looks like the locked/unlocked status is different on different version of the watch. I am going to close this ticket now. If there's anything else please reopen or open a new ticket |
Hi again I added this config to 3 ESP32 in my home, but all 3 still find my watch after I left to work. How do I trouble shoot. |
Hi. Two things to try:
If the rssi is changing during the day, even when you are not home, then there is probably another apple watch nearby which is being detected. There isn't a lot that we can do about that now. I am hoping to one day rewrite this to look for specific apple watches, instead of just any apple watch... but that's a little while off. |
Start getting error when installing after esp32 update.
the watch is not show status now, status is "unknown" in home assistant.
/Thomas
The text was updated successfully, but these errors were encountered: