diff --git a/camera-mjpg-streamer/DOCS.md b/camera-mjpg-streamer/DOCS.md index 3733bca..66169a9 100644 --- a/camera-mjpg-streamer/DOCS.md +++ b/camera-mjpg-streamer/DOCS.md @@ -7,11 +7,22 @@ ## How to use Set input arguments through `mjpg_input` configuration option, start the add-on. -The camera stream and snapshot can be accessed by e.g. [MJPEG IP Camera](https://www.home-assistant.io/integrations/mjpeg/) from url `http:///?action=stream` or `http:///?action=snapshot`. + +## Accessing camera from Home Assistant + +The camera stream and snapshot can be accessed by e.g. [MJPEG IP Camera](https://www.home-assistant.io/integrations/mjpeg/), with URLs: +* MJPEG URL: `http:///?action=stream` +* Still image URL: `http:///?action=snapshot`. + +Addon hostname can be found under [addon settings](https://my.home-assistant.io/redirect/supervisor_addon/?addon=b7aa59c4_camera-mjpg-streamer&repository_url=https%3A%2F%2Fgithub.com%2Ffredrikbaberg%2F3dprinter-addons). + +## Tests For testing you can set `mjpg_input` to: > input_file.so -f /www_mjpg -e +This will result in showing a test image. + ## Versions Some notes regarding the software and versions. diff --git a/camera-mjpg-streamer/README.md b/camera-mjpg-streamer/README.md index 9594514..e010b0c 100644 --- a/camera-mjpg-streamer/README.md +++ b/camera-mjpg-streamer/README.md @@ -1,3 +1,5 @@ # mjpg-streamer Provides camera stream through `mjpg-streamer`, to be used by e.g. OctoPrint addon. + +Instructions are provided in the tab "Docs".