- 积分
- 292
- 金钱
- 237
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 292
- 金钱
- 237
- HASS币
- 0
|
本人小白,潜水多日后尝试接入手中的海康摄像头,可是看了各个大神的教程怎么样修改Json都没法显示在homekit 上(可以显示在home assistant),求助各位大神看看我的Json什么问题,ffmpeg插件根据各位大神的教程安装了的。。。另外我有多个海康的摄像头如何同时接入home assistant呢?(曾经尝试放入多段代码,可只是获取最后一条连接摄像头的影像)谢谢!~
{
"bridge": {
"name": "Harry",
"username": "B8:27:EB:AE:A1:0B",
"port": 38953,
"pin": "123-12-312"
},
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://192.168.2.101:8123",
"password": "",
"supported_types": [
"automation",
"binary_sensor",
"climate",
"cover",
"device_tracker",
"fan",
"group",
"input_boolean",
"light",
"lock",
"media_player",
"remote",
"scene",
"script",
"sensor",
"switch",
"vacuum"
],
"default_visibility": "visible",
"logging": false,
"verify_ssl": true
},
{
"platform": "Camera-ffmpeg",
"cameras": [{
"name": "NVR",
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://admin:[email protected]:554/h264/ch1/main/av_stream",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30
}
}]
}
]
}
|
|