node-dahua-api
node-dahua-api copied to clipboard
NodeJS Module for Dahua IPC HTTP API
Is there a way to get temperature scanned by the device? Thank you :)
Hello man, great api you made. Im really looking forward to use it but i simply cannot connect to the darn ASC 1204B-S Dahua controller wich holds the API. I'm...
gitee address https://gitee.com/EightDoor/dahua-api-news
npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin,linux,!win32","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! notsup Valid OS: darwin,linux,!win32 npm ERR! notsup Valid Arch: any npm ERR! notsup...
Is it works with Dahua DVR?
Here is sample code on cpp, https://gist.github.com/hdo/598f56a23d360164c3fbf60012902a88 I think it doable via nodejs ?
Hi, Could you user another module instead of net-keepalive so that it will run under windows as well?
hello! i try to set sunrise/sunset hour option by doing this code but get error ```js dahua.ptzCommand("setConfig", "VideoInOptions[0].NightOptions.SunriseHour", 6) dahua.ptzCommand("setConfig", "VideoInOptions[0].NightOptions.SunsetHour", 22) ```
Here are some mode codes, would be good if they are supported by this library :) < ``` [VideoMotion,VideoLoss,VideoBlind,AlarmLocal,CrossLineDetection,CrossRegionDetection,LeftDetection,TakenAwayDetection,VideoAbnormalDetection,FaceDetection,AudioMutation,AudioAnomaly,VideoUnFocus,WanderDetection,RioterDetection,ParkingDetection,MoveDetection,MDResult] ``` e.g. ```shell wget 'http://admin:[email protected]/cgi-bin/eventManager.cgi?action=attach&codes=[VideoMotion,VideoLoss,VideoBlind,AlarmLocal,CrossLineDetection,CrossRegionDetection,LeftDetection,TakenAwayDetection,VideoAbnormalDetection,FaceDetection,AudioMutation,AudioAnomaly,VideoUnFocus,WanderDetection,RioterDetection,ParkingDetection,MoveDetection,MDResult]' -O events.log ```