henry-spanka / node-red-contrib-hikvision

Hikvision API for Node Red
MIT License
10 stars 1 forks source link

Alternative Package for Node.Red available : node-red-contrib-hikvision-ultimate #37

Open ozett opened 3 years ago

ozett commented 3 years ago

new player with all alarms and DVR... maybe someone will try this? got it flawless installed and running since today and will see how it goes...

https://github.com/Supergiovane/node-red-contrib-hikvision-ultimate

ozett commented 2 years ago

today i gave it a try,... looks promising. note: seems that all event details you can get also from the ptz-node...

nrdeworks commented 2 years ago

There isn't an issue tab on that github. Are you actively using this? I am getting this error.

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /data/node_modules/node-fetch/src/index.js require() of ES modules is not supported. require() of /data/node_modules/node-fetch/src/index.js from /data/node_modules/digest-fetch/digest-fetch-src.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /data/node_modules/node-fetch/package.json. (line:4) Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /data/node_modules/node-fetch/src/index.js require() of ES modules is not supported. require() of /data/node_modules/node-fetch/src/index.js from /data/node_modules/digest-fetch/digest-fetch-src.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /data/node_modules/node-fetch/package.json. (line:4) Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /data/node_modules/node-fetch/src/index.js require() of ES modules is not supported. require() of /data/node_modules/node-fetch/src/index.js from /data/node_modules/digest-fetch/digest-fetch-src.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /data/node_modules/node-fetch/package.json. (line:5)