Add integrations

pull/162/head
Lucas Della Santina 2023-09-21 12:52:40 -03:00
parent eff38f5aaf
commit f1bc40a948
1 changed files with 30 additions and 16 deletions

View File

@ -3,30 +3,44 @@
## HomeAsistant Generic camera ## HomeAsistant Generic camera
#### Option 1
Go to Setings -> Device and service -> Add integrations --> Generic camera
Go to <IP-HomeAsisstantServer>/config/integrations/dashboard #### Option 2
[HomeAssistan_Generic](https://my.home-assistant.io/redirect/config_flow_start/?domain=generic)
#### Option 3
<"IP-HomeAsisstantServer">/config/integrations/dashboard
Add integrations --> Generic camera Add integrations --> Generic camera
Config parameter ### Config parameter
```
Still Image URL -> http://<IP-OIPC_Camera>/image.jpg <div style="display: flex;">
Stream Source URL -> rtsp://<User>:<PASS>@<IP-OIPC_Camera>:554/stream=0 <div style="max-width: 80%; overflow-x: auto;">
<img src="../images/howto-streaming-homeassistant.png" alt="Example configuration generic camera home assitant (IP_Camera 192.168.1.29)" width="300"/>
</div>
<div style="max-width: 80%; overflow-x: auto;">
<pre>
<code>
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 RTSP transport protocol -> TCP
Authentication -> basic Authentication -> basic
Username -> <User> Username -> <"User">
Password -> <PASS> Password -> <"PASS">
Frame Rate -> 15 Frame Rate -> 15
Verify SSL certificate -> empty Verify SSL certificate -> empty
Limit refetch to url change ->empty Limit refetch to url change ->empty
``` </code>
Default User and PASS OpenIPC -> ("root" ¨12345¨) </pre>
</div>
</div>
**Note:** 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) **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 ## Lovelace example
Add this extract in a new card manually (yaml format) Add this extract in a new card manually (yaml format)
``` ```
@ -40,12 +54,12 @@ view_layout:
camera_image: camera.192_168_1_29 camera_image: camera.192_168_1_29
``` ```
**OTHERNote:** **OTHERNote:**
### Camera Configuration ## Camera Configuration
![](../images/HA_CameraConfig.png) ![](../images/HA_CameraConfig.png)
### Camera Router ## Router settings
Remember to set a fixed IP address for your camera from your router, otherwise it could change when it reboots. Remember to set a fixed IP address for your camera from your router, otherwise it could change when it reboots.
Enjoy the stream. # Enjoy the stream.