mirror of https://github.com/OpenIPC/wiki.git
				
				
				
			
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
	
| # OpenIPC Wiki
 | |
| [Table of Content](../README.md)
 | |
| 
 | |
| 
 | |
| ## HomeAsistant Generic camera 
 | |
| #### Option 1
 | |
| Go to Setings ->  Device and service -> Add integrations -->  Generic camera 
 | |
| 
 | |
| #### 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 
 | |
| 
 | |
| ### Config parameter 
 | |
| 
 | |
| <div style="display: flex;">
 | |
|   <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
 | |
| Authentication -> basic
 | |
| Username -> <"User">
 | |
| Password -> <"PASS">
 | |
| Frame Rate -> 15
 | |
| Verify SSL certificate -> empty
 | |
| Limit refetch to url change ->empty
 | |
|       </code>
 | |
|     </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)
 | |
| 
 | |
| ## 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 
 | |
| 
 | |
| 
 | |
| ## Router settings
 | |
| Remember to set a fixed IP address for your camera from your router, otherwise it could change when it reboots.
 | |
| 
 | |
| 
 | |
| # Enjoy the stream.
 | |
| 
 |