Open jamesngob opened 3 years ago
Hi, firstly apologies for not responding earlier, but all github emails were going into my spam folder :(
Secondly, can you post your config.json
(remove your credentials first :)) and docker logs?
Hi Sponte, So this is my sanitized config.json And the problem are:
{ "bridge": { "name": "Homebridge", "username": "EE:52:51:33:8E:2V", "port": 54928, "pin": "030-22-110" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8897, "platform": "config" }, { "name": "Camera FFmpeg", "cameras": [ { "name": "Test_Cam_1", "videoConfig": { "source": "-i rtsp://user1:pass01@192.168.1.224:554/Streaming/Channels/101", "maxBitrate": 299, "audio": true } } ], "platform": "Camera-ffmpeg" }, { "platform": "Hikvision", "host": "192.168.1.152", "port": 443, "username": "user1", "password": "pass02" } ] }
Your config does not configure HikVision platform, only Camera FFmpeg. You need something like this to use HikVision:
{
"platforms": [
{
"platform": "Hikvision",
"host": "nvr-host",
"port": 443,
"username": "admin",
"password": "very-secure-password"
}
]
}
Hey everyone So I was able to setup the Homebridge server using the Qnap Docker. All is good I want to add HIKVISION NVR so I followed the instruction in the homebridge hikvision setting and homebridge camera ffmpeg I also installed the hap-nodejs using this command npm install -g hap-nodejs
Restart the homebridge, it said it could not find the module hap-nodejs (But I already did install hap-nodejs before the restart) Anyway, I ignore that message and went ahead and config the HIKVISION module. Restart the homebridge and it goes into the start-restart loop without exiting. I have to shut it down using the docker interface. The error was the "...hikvision module was not registered with any plugins." I have a feeling that this error somehow related to the fact that the hap-nodejs was missing earlier... But I could not figure out how to fix this problem
Am I missing anything in the process? All ideas are welcome and appreciated Cheers