Closed Christchoper closed 3 years ago
Hi @Christchoper, Have you seen this on the readme page:
I assume you use the old version from NPM ? Bart
Hi Bart, Thank you for your quick reply. Unfortunately I am not able to install git on my RaspberryMatic (CCU3). Can you maybe help me there. Best regards, Chris
I have installed the latest beta version on npm:
So you should be able to install it like this:
npm install node-red-contrib-onvif-nodes
I have now uninstalled beta4 and tried to install the new version. Unfortunately I get an error:
_root@homematic-raspi:~# cd /usr/local/addons/redmatic/var root@homematic-raspi:/usr/local/addons/redmatic/var# npm install node-red-contri b-onvif-nodes npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/agsh/onvif.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npm-cache/_logs/2020-12-18T11_17_07788Z-debug.log
The "latest" version on npm is version 0.0.1-beta.12, so not sure why you get that old version. I think you can install the latest version like this:
npm install node-red-contrib-onvif-nodes@0.0.1-beta.12
Thank you very much for the advice. Unfortunately, that does not work either. I tried it on my CCu3 and on my test environment. I have sent you the error log in the attachment. Can you find anything there that points to the problem? Thanks for your help.
For me this works fine:
I have run out of creativity... If I were you, it would ask your question on the Node-RED forum. Since there is a lot of npm knowledge available in the community...
This problem was solved via Discourse
It is not possible to specify a port in the Onvif config node. My camera listens to port 8000. I tried with IPadress:8000 but no connection is possible. Error Msg: node: Kamera msg : error "Error: getaddrinfo ENOTFOUND 192.168.10.245:8000"