add_homeAssistantView

pull/162/head
Lucas Della Santina 2023-09-21 02:53:45 -03:00
parent ed497b921b
commit eff38f5aaf
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,51 @@
# OpenIPC Wiki
[Table of Content](../README.md)
## HomeAsistant Generic camera
Go to <IP-HomeAsisstantServer>/config/integrations/dashboard
Add integrations --> Generic camera
Config parameter
```
Still Image URL -> http://<IP-OIPC_Camera>/image.jpg
Stream Source URL -> rtsp://<User>:<PASS>@<IP-OIPC_Camera>:554/stream=0
RTSP transport protocol -> TCP
Authentication -> basic
Username -> <User>
Password -> <PASS>
Frame Rate -> 15
Verify SSL certificate -> empty
Limit refetch to url change ->empty
```
Default User and PASS OpenIPC -> ("root" ¨12345¨)
**Note:** Be carful with frame rate (Currently home assistant does not support more than 20 having flicker problems)
Example configuration generic camera home assitant (IP_Camera 192.168.1.29)
![](../images/howto-streaming-homeassistant.png)
## Lovelace example
Add this extract in a new card manually (yaml format)
```
camera_view: live
type: picture-glance
image: http://192.168.1.29/image.jpg
entities: []
entity: camera.192_168_1_29
view_layout:
position: main
camera_image: camera.192_168_1_29
```
**OTHERNote:**
### Camera Configuration
![](../images/HA_CameraConfig.png)
### Camera Router
Remember to set a fixed IP address for your camera from your router, otherwise it could change when it reboots.
Enjoy the stream.

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB