Homebridge example file, Home Assistant and ffmpeg

[codesyntax lang=”php”]

{
   "bridge":{
      "name":"HomebridgeDocker",
      "username":"CC:22:3D:E3:CE:30",
      "port":51826,
      "pin":"031-45-154"
   },
   "description":"This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",
   "accessories":[

   ],
   "platforms":[{
		"platform": "HomeAssistant",
		"name": "HomeAssistant",
		"host": "http://ha.domain.com:8123",
		"supported_types": ["automation", "binary_sensor", "climate", "cover", "device_tracker", "fan", "group", "input_boolean", "light", "lock", "media_player", "remote", "scene", "sensor", "switch"],
		"default_visibility": "hidden",
		"logging": false
	},
      {
         "platform":"Camera-IP",
         "cameras":[
            {
               "name":"Kamera1",
               "videoConfig":{
                  "source":"-re -i rtsp://Username:Password@192.168.10.23:554/Streaming/channels/102/",
                  "stillImageSource":"-i http://Username:Password13@192.168.10.23/Streaming/channels/1/picture",
                  "maxStreams":2,
                  "maxWidth":1280,
                  "maxHeight":720,
                  "maxFPS":30
               }
            },{
               "name":"Kamera2",
               "videoConfig":{
                  "source":"-re -i rtsp://Username:Password13@192.168.10.24:554/Streaming/channels/102/",
                  "stillImageSource":"-i http://Username:Password13@192.168.10.24/Streaming/channels/1/picture",
                  "maxStreams":2,
                  "maxWidth":1280,
                  "maxHeight":720,
                  "maxFPS":30
               }
            }
         ]
      }
   ]
}

[/codesyntax]

This entry was posted in Uncategorized. Bookmark the permalink.