-
Notifications
You must be signed in to change notification settings - Fork 593
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
Kasa KD110 unexpected EOF, exec: exit status 1 using kasa: protocol #666
Comments
I need access to stream (19443 port) |
Hi @AlexxIT I sent you a message on telegram so i could securely send you the link, not sure if its you yet as you didnt respond yet :) |
Haven't seen any messages. Maybe you sent to someone else |
Resolved by @AlexxIT looks like it was not happy with the authentication header and Alex was able to have it working correctly using username:base64encodedpassword in the url Its now working in Frigate correctly, ty |
@duindain So would this be the correct syntax for the Kasa doorbell? I have the Kasa KD110 and trying to get this thing to work with Frigate. Curious what your's ended up looking like in the end.
|
My current config for that camera is
Camera config
Its working well for the stream, the audio doesn't work, I've tried a few combinations for that so far without luck I also needed to add the override for updated go2rtc in my docker-compose.yml another volume
And that file is the latest go2rtc which i can see in the logs in frigate and docker is being applied for the kasa protocol to work |
You don't need video in second (ffmpeg) line |
Yep |
Not sure I am doing this correctly. Going off of @duindain 's example the error log is reporting an unsupported scheme. I have tried setting my email to use both "[email protected]" and "user%40gmail.com" with the same results. 2023-10-14 06:38:06.182969452 [2023-10-14 06:38:06] frigate.app INFO : Camera processor started for doorcam: 1216
2023-10-14 06:38:06.182972424 [2023-10-14 06:38:06] frigate.app INFO : Capture process started for doorcam: 1218
2023-10-14 06:38:06.200064733 [2023-10-14 06:38:06] detector.coral INFO : Starting detection process: 1213
2023-10-14 06:38:06.200276474 [2023-10-14 06:38:06] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2023-10-14 06:38:06.200367366 [2023-10-14 06:38:06] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2023-10-14 06:38:06.206809509 06:38:06.206 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="unsupported scheme: kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" url=kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd
2023-10-14 06:38:06.211272346 06:38:06.211 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="unsupported scheme: kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" url=kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd
2023-10-14 06:38:11.317079239 [2023-10-14 06:38:11] frigate.video ERROR : doorcam: Unable to read frames from ffmpeg process.
2023-10-14 06:38:11.317088678 [2023-10-14 06:38:11] frigate.video ERROR : doorcam: ffmpeg process is not running. exiting capture thread...
2023-10-14 06:38:11.320394019 06:38:11.320 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="exec: exit status 1" url=ffmpeg:doorcam#video=h264#audio=copy
2023-10-14 06:38:11.320535166 06:38:11.320 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="unsupported scheme: kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" url=kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd
2023-10-14 06:38:11.325823765 06:38:11.325 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="unsupported scheme: kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" url=kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd Below is my config.yml mqtt:
enabled: False
timestamp_style:
format: "%Y/%m/%d %H:%M:%S"
detectors:
coral:
type: edgetpu
device: pci:0
objects:
track:
- person
record:
enabled: True
snapshots:
enabled: True
rtmp:
enabled: False
go2rtc:
streams:
doorcam:
- "kasa://user%40gmail.com:[email protected]:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd"
- "ffmpeg:doorcam#video=h264#audio=copy"
cameras:
doorcam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorcam?video=copy&audio=copy
roles:
- detect
- record
detect:
width: 1920
height: 1080 |
I'll open up another issue as this seems like a different issue that then original. |
Unsupported scheme is about old version of go2rtc without this source support |
I'm trying to get a KD110 doorbell camera stream working but after some troubleshooting this is as far as I've managed to get
The go2rtc logs in Frigate are showing
Using the kasa protocol
Logs from Frigate go2rtc panel
Using httpx protocol
Logs from Frigate go2rtc panel
I originally was trying to resolve this on the Frigate github with this issue blakeblackshear/frigate#8020
theres more details there, the camera stream works correctly if I use scrypted in home assistant with ffmpeg camera plugin with this command
-headers "Authorization: Basic ***[Base 64 encoded password the rebase64 encoded email]***" -f h264 -i https://192.168.2.26:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd
I've tried to not use the audio config by removing it but that didn't help unfortunately
The text was updated successfully, but these errors were encountered: