Sign inSign up

gryphy/amd64-kasa-camera

By gryphy

•Updated over 5 years ago

Branched from joshgetter/amd64-addon-kasa-camera to remove the Home Assistant addon integration.

Image
2

2.9K

gryphy/amd64-kasa-camera repository overview

⁠Kasa-camera

⁠Introduction

This container is a slightly modified version of Josh Getters brilliant Home Assistant Add-On which allowed you to access the stream of certain Kasa cameras that do not explicitly expose or support streaming on their own. This takes that container and removes the HA integration allowing you to run it as a stand-alone docker container on a seperate server to your HA server.

⁠Supported Hardware

This should at least work with the KC100 and KC105 cameras, however I have only personally tested this on a KC100 camera.

⁠Configuration

  1. Pull the image to your local machine:
docker pull gryphy/amd64-kasa-camera:latest
  1. Create the config file 'options.json' in the folder you're going to mount as /data with the following entries updated to suit your camera:
{
  "kasausername": "[email protected]",
  "kasapassword": "password1234",
  "cameraip": "192.168.1.2",
  "cameraname": "livingroom",
  "retrylimit": 5,
  "retrysleep": 30.0,
  "toggleentity": ""
}
  1. Run the image. Change the -v option to suit:
docker run --name kasa-cam --restart unless-stopped -v /data:/data -d -p 43330:80 -p 43331:1935 gryphy/amd64-kasa-camera /run.sh
  1. The container exposes the camera video in the following formats:
Thumbnail- "http://<IP>:43330/thumbnails/<cameraname>.jpg"
HLS stream source- "http://<IP>:43330/hls/<cameraname>.m3u8"
RTMP stream source- "rtmp://<IP>:43331/live/<cameraname>"

Tag summary

Content type

Image

Digest

Size

79 MB

Last updated

over 5 years ago

docker pull gryphy/amd64-kasa-camera