-
Notifications
You must be signed in to change notification settings - Fork 60
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
ESPHAPCamera can't connect to Homekit - Wrong code? #106
Comments
Hmm, now I got i paired, but it only shows up as a motion sensor, and no camera ? |
Tried again, and can't pair once again |
At least for this question answer is simple. It designed to use as Motion Sensor. No camera video stream implemented |
Potentially i see a problem. Camera is started and triyng to detect motion. It should not happen during the pairing process. |
Too sad to hear that, will video be implemented soon or at all? as I see it, it's part of the HomeKit capabilities. It will also only do motion detection 1 or 2 times, before it dies, and it looses connection to the homekit. Also I don't see how to reset the motion detection in the homekit? (on iPad) |
Good evening, yes this is my plan to finish full capabilities of HomeKit including video streaming, but currently it’s only motion detection :( which is not trivial.) please Explain what is the problem of resetting. If any motion detected ( images are equals) device should resetting
…Sent from my iPhone
On 9 Sep 2021, at 22:43, chrwh ***@***.***> wrote:
Too sad to hear that, will video be implemented soon or at all? as I see it, it's part of the HomeKit capabilities.
It will also only do motion detection 1 or 2 times, before it dies, and it looses connection to the homekit. Also I don't see how to reset the motion detection in the homekit? (on iPad)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I know that none of the work you do here is trivial - and you should know that I REALLY appreciate all the hard work you do here 🙂👍🏻
When a motion has been detected, it sends a mail and notify my iPad. But the little red mark on the iPad icon never disappears again, and after a while it looses connection to the HomeKit
Best regards
Christian
… Den 9. sep. 2021 kl. 21.55 skrev Yurik72 ***@***.***>:
Good evening, yes this is my plan to finish full capabilities of HomeKit including video streaming, but currently it’s only motion detection :( which is not trivial.) please Explain what is the problem of resetting. If any motion detected ( images are equals) device should resetting
Sent from my iPhone
> On 9 Sep 2021, at 22:43, chrwh ***@***.***> wrote:
>
>
> Too sad to hear that, will video be implemented soon or at all? as I see it, it's part of the HomeKit capabilities.
>
> It will also only do motion detection 1 or 2 times, before it dies, and it looses connection to the homekit. Also I don't see how to reset the motion detection in the homekit? (on iPad)
>
> —
> You are receiving this because you commented.
> 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 authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Here is the log startin from new with blinded lense, and when paired to time looking at the camera, and blinding it again, iPad never get's the notice, and then looses connection to the homekit 22:20:15.325 -> WiFi connected |
Ok, seems that is bug if motion is not detected a while ESP should update Apple about that . I will check
From: chrwh ***@***.***>
Sent: Thursday, September 9, 2021 11:02 PM
To: Yurik72/ESPHap ***@***.***>
Cc: Yurik72 ***@***.***>; Comment ***@***.***>
Subject: Re: [Yurik72/ESPHap] ESPHAPCamera can't connect to Homekit - Wrong code? (#106)
I know that none of the work you do here is trivial - and you should know that I REALLY appreciate all the hard work you do here 🙂👍🏻
When a motion has been detected, it sends a mail and notify my iPad. But the little red mark on the iPad icon never disappears again, and after a while it looses connection to the HomeKit
Best regards
Christian
Den 9. sep. 2021 kl. 21.55 skrev Yurik72 ***@***.*** <mailto:***@***.***> >:
Good evening, yes this is my plan to finish full capabilities of HomeKit including video streaming, but currently it’s only motion detection :( which is not trivial.) please Explain what is the problem of resetting. If any motion detected ( images are equals) device should resetting
Sent from my iPhone
> On 9 Sep 2021, at 22:43, chrwh ***@***.*** <mailto:***@***.***> > wrote:
>
>
> Too sad to hear that, will video be implemented soon or at all? as I see it, it's part of the HomeKit capabilities.
>
> It will also only do motion detection 1 or 2 times, before it dies, and it looses connection to the homekit. Also I don't see how to reset the motion detection in the homekit? (on iPad)
>
> —
> You are receiving this because you commented.
> 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 authored the thread.
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 commented.
Reply to this email directly, view it on GitHub <#106 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKDREXKBMG3GMW3OXB4KEBTUBEHDPANCNFSM5DUJZCHQ> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> . <https://github.com/notifications/beacon/AKDREXN2HOFRE32EPGBIENTUBEHDPA5CNFSM5DUJZCH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG2PRRIQ.gif>
|
Hi,
Just got a M5 Timer Camera F, it's up and running, but I can't add it to HomeKit, when trying to pair, first time it says "Wrong code"? (used 111 11 111). If trying again, it says "Failed with OSStatus code -6700 (kUnknownErr) Any pointers
ESPHap V.1.1
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\WiFi
Not used: C:\Users\Christian\Documents\Arduino\libraries\WiFiNINA
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library WiFi at version 1.0 in folder: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\WiFi
Using library ESPHap at version 1.1 in folder: C:\Users\Christian\Documents\Arduino\libraries\ESPHap
Using library EEPROM at version 1.0.3 in folder: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\EEPROM
Using library Ticker at version 1.1 in folder: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\Ticker
Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\WiFiClientSecure
Using library BLE at version 1.0.1 in folder: C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\1.0.9\libraries\BLE
Using library wolfSSL in folder: C:\Users\Christian\Documents\Arduino\libraries\wolfSSL (legacy)
"C:\Users\Christian\AppData\Local\Arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-size" -A "C:\Users\CHRIST~1\AppData\Local\Temp\arduino_build_792702/ESPHAPCamera.ino.elf"
Serial log:
11:14:36.495 -> WiFi connected
11:14:36.495 -> E (5677) fr_flash: Not found
11:14:36.495 -> Starting web server on port: '80'
11:14:36.495 -> Starting stream server on port: '81'
11:14:36.495 -> GPIO setup
11:14:36.495 -> setup_servo_pin
11:14:36.541 -> setup_internal_loop
11:14:36.541 -> setup_internal_loop entered
11:14:36.541 -> Camera started -> done
11:14:36.541 -> Camera Ready! Use 'http://192.168.1.239' to connect
11:14:36.541 -> init_hap_storageStorage size 289
11:14:36.541 -> >>> HomeKit: init_storage_ex size 0x121
11:14:36.541 -> >>> Home Integration: hap_add_motion_service
11:14:36.541 -> >>> Home Integration: hap_services added chararacteristic 0: 00000023-0000-1000-8000-0026BB765291
11:14:36.541 -> >>> Home Integration: hap_services added chararacteristic 1: 00000022-0000-1000-8000-0026BB765291
11:14:36.541 -> >>> Home Integration: hap_init_homekit_server library version v1.1
11:14:36.588 -> >>> Home Integration: homekit_is_paired 0
11:14:36.588 -> >>> HomeKit: Starting server
11:14:36.588 -> >>> HomeKit: Formatting flash at 0x200000
11:14:36.588 -> unable to write erprom>>> HomeKit: Generated new accessory ID: 44:40:CC:BF:F2:F2
11:14:36.588 -> unable to write erprom>>> HomeKit: Generated new accessory key
11:14:36.588 -> unable to write erprom>>> HomeKit: Configuring mDNS
11:14:58.253 -> >>> HomeKit: Got new client connection: 61
11:14:58.253 -> >>> HomeKit: [Client 61] Pair Setup
11:14:58.253 -> >>> HomeKit: [Client 61] Pair Setup Step 1/3
11:14:58.253 -> >>> HomeKit: [Client 61] new pairing content
11:14:58.253 -> >>> HomeKit: started crypto
11:14:58.253 -> >>> HomeKit: Free heap: 3301744
11:15:00.354 -> >>> HomeKit: Calculating public key len=384
11:15:01.429 -> >>> HomeKit: Calculating public key result 0
11:15:01.429 -> >>> HomeKit: [Client 61] send_tlv_response
11:15:01.429 -> >>> HomeKit: [Client 61] send_tlv_response done
11:15:01.569 -> >>> HomeKit: [Client 61] Pair Setup
11:15:01.569 -> >>> HomeKit: [Client 61] Pair Setup Step 2/3
11:15:04.371 -> !!! HomeKit: [Client 61] Failed to compute SRP shared secret (code -2)
11:15:04.371 -> >>> HomeKit: [Client 61] Pair Setup
11:15:04.371 -> >>> HomeKit: [Client 61] Pair Setup Step 1/3
11:15:04.371 -> >>> HomeKit: Failed to set SRP password (code -173)
11:15:04.417 -> >>> HomeKit: Calculating public key len=384
11:15:05.445 -> >>> HomeKit: Calculating public key result 0
11:15:05.491 -> >>> HomeKit: [Client 61] send_tlv_response
11:15:05.491 -> >>> HomeKit: [Client 61] send_tlv_response done
11:15:05.630 -> >>> HomeKit: [Client 61] Closing client connection
11:26:22.894 -> Motion detected 639:
11:26:22.894 -> Notify Motion
11:26:22.894 -> 63944
11:27:14.611 -> JPG: 66138B 99ms
11:34:16.358 -> >>> HomeKit: Got new client connection: 61
11:34:16.358 -> >>> HomeKit: [Client 61] Pair Setup
11:34:16.358 -> >>> HomeKit: [Client 61] Pair Setup Step 1/3
11:34:16.358 -> >>> HomeKit: [Client 61] new pairing content
11:34:16.405 -> >>> HomeKit: started crypto
11:34:16.405 -> >>> HomeKit: Free heap: 3449700
11:34:16.637 -> >>> HomeKit: Calculating public key len=384
11:34:16.729 -> >>> HomeKit: Calculating public key result -2
11:34:16.729 -> !!! HomeKit: [Client 61] Failed to dump SPR public key (code -2)
11:34:16.869 -> >>> HomeKit: [Client 61] Closing client connection
11:35:15.116 -> >>> HomeKit: Got new client connection: 63
11:35:15.116 -> >>> HomeKit: [Client 63] Pair Setup
11:35:15.116 -> >>> HomeKit: [Client 63] Pair Setup Step 1/3
11:35:15.116 -> >>> HomeKit: [Client 63] new pairing content
11:35:15.116 -> >>> HomeKit: started crypto
11:35:15.116 -> >>> HomeKit: Free heap: 3449708
11:35:15.256 -> >>> HomeKit: Calculating public key len=384
11:35:15.439 -> >>> HomeKit: Calculating public key result -2
11:35:15.439 -> !!! HomeKit: [Client 63] Failed to dump SPR public key (code -2)
11:35:15.579 -> >>> HomeKit: [Client 63] Closing client connection
The text was updated successfully, but these errors were encountered: