Skip to content

Commit

Permalink
Document use of currentpic.cgi for HA endpoint (EliasKotlyar#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeage authored and jmtatsch committed Nov 13, 2018
1 parent a18cb67 commit af3e5fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions integration/homeassistant/homeassistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ Then you can integrate the rtsp stream using the camera ffmpeg component by addi
name: DaFang3
input: -rtsp_transport tcp -i rtsp://dafang:8554/unicast
```
Alternatively, you can use the camera's CGI endpoint to serve a single picture. This is significantly lighter on the home assistant's CPU.
```yaml
- platform: generic
name: DaFang3
username: root
password: ismart12
auhentication: basic
still_image_url: https://dafang/cgi-bin/currentpic.cgi
verify_ssl: false
scan_interval: 5
```
Most other sensors & actors are easily integrated via [mqtt discovery](https://www.home-assistant.io/docs/mqtt/discovery/). If everything works, integration looks like this (grouped into one group):
Expand Down

0 comments on commit af3e5fa

Please sign in to comment.