ãã®ããããããžã§ã¯ãã®1ã€ã§ãã¿ãŒã²ããæå®åã®ç©ºéçäœçœ®ãå¶åŸ¡ããã·ã¹ãã ãå¿
èŠã«ãªããŸããã ããŸããŸãªã¡ãŒã«ãŒã®ãµãŒããã©ã€ãã¯éåžžã«é«äŸ¡ã§ããããšãå€æãããããå¶åŸ¡ã«ã¡ã©ã賌å
¥ããå
èµã«ã¡ã©ãµãŒãã䜿çšããŠäœçœ®æ±ºãããããšã«ããŸããã ç§ã¯PTZã«ã¡ã©ãšã¯äœã®é¢ä¿ããªãã£ãã®ã§ããã¹ãã®ããã«ãã·ã¢ã®ã¡ãŒã«ãŒ3C-Groupã®J2000IP-CmPTZ-111v2.0ã«ã¡ã©ã賌å
¥ããŸããã
泚æïŒ ãã®åºçç©ã¯ã«ã¡ã©ã®æŠèŠã§ã¯ãªããæ©åšã¡ãŒã«ãŒãæäŸããã«ã¡ã©å¶åŸ¡ã¡ã«ããºã ã®åæãããã³ãã®äœ¿çšã®å®å
šæ§ã®è©äŸ¡ã«ã€ããŠèª¬æããŠããå¯èœæ§ãé«ãã§ãã
J2000IP-CmPTZ-111v2.0ã«ã¡ã©ã¯ã Jovision JVS-H411ã§ããããŸãã ååºããã«ã¡ã©ããŒã ã»ã°ã¡ã³ãã¯ãããŸããã ã»ãšãã©ã®ã«ã¡ã©ãšåæ§ã«ã HiSilicon 3518Eãããäžã«æ§ç¯ãããŠããŸãã
ãããã¯éåžžã«äžè¬çã§ãããSDKãããã®ã§ãçµã¿ç«ãŠãããã³ã¢ã®äžã«ããã¡ãŒã«ãŒã¯ç¹å®ã®ãµãŒãã¹ãäžãããå·»ãäžããå§ããŸãã ãã¡ãŒã ãŠã§ã¢ããã€ã¹ã¯éåžžãç°ãªããã©ã€ããŒã®wifiã¢ãžã¥ãŒã«ã§ãã Wifiã¢ãžã¥ãŒã«ã¯ãã¢ãã¬ã¹http://www.jovecloud.com/ipc/3518es/ããååŸãããã¡ãŒã ãŠã§ã¢ã®ååãã決å®ã§ããŸã ã
jvs3518es-7601.bin-Ralink RT7601
jvs3518es-8188.bin-Realtek RTL8188
jvs3518es-9271.bin-Atheros AR9271
jvs3518es-7601.binããã€ã¹ã®ãã¡ãŒã ãŠã§ã¢ã¯ã次ã®Jovisionããã€ã¹ã®ãªã¹ãã«å¯ŸããŠæå¹ã§ãã
H411 J2000IP-CmPTZ-111-V2.0 H411V1_1 H411S-H1 H411V2 HC420S-H2 HC520D-H1 HC420-H2 H411-H1 H411KEDA AT-15H2 SW-H411V3 HZD-600DM AJL-H40610-S1 AJL-H40610-S2 JD-H40810
ã ããã ã¢ãã«ã決å®ããŸããã ããã¯ãã·ã¢ã®éçºã§ã¯ãªãã3Cã°ã«ãŒãã®äŒç€Ÿãäœçœ®ä»ããŠãããããäžåœã®å€§æã¡ãŒã«ãŒã®OEMã«ã¡ã©ã¯ããŒã³ã«ãããŸããã
ãã ããã¯ããŒã³ã§ããããã¡ãŒã ãŠã§ã¢ãäžåœèªã®å Žåããã®ãµãŒãã¹ãäžåœèªã§ä¿è·ãããŸãã ååãšããŠããã§ãã ã«ã¡ã©ã¯ãP2Pæ¥ç¶ã§ããJovisionã¯ã©ãŠããžã®ç»é²ãæå³ããæºåž¯é»è©±ã§ç»åã衚瀺ããã«ã¡ã©ããªã¢ãŒãã§å¶åŸ¡ã§ããŸãã ãµãŒãããŒãã£ã®ã»ãã¥ãªãã£ãµãŒãã¹ãç¹ã«äžåœèªãç¹ã«ãããªãä¿¡é Œããªãã·ã¹ãã 管çè
ãšåæ§ã«ãæåã«è¡ãããšããå§ãããããšã¯ãã«ã¡ã©ãããã©ã«ãã²ãŒããŠã§ã€èªäœã«èšå®ããä»ã®ç®¡çæ¹æ³ã䜿çšããããšã§ãã
ã«ã¡ã©ã®ãªã¢ãŒãã³ã³ãããŒã«çšã«ã補é å
ã¯IEïŒããŒã«ã«ãããã¯ãŒã¯ããã®å¶åŸ¡çšïŒããã³Androidã¢ããªã±ãŒã·ã§ã³ïŒã€ã³ã¿ãŒãããäžã®å¶åŸ¡çšïŒã«OCXæ©åšãæäŸããŠããŸãã ãã®ã«ã¡ã©ã¯Unixã·ã¹ãã ã§äœ¿çšããããã«èšç»ãããŠãããããIEãšAndroidã®ãªãã·ã§ã³ã¯äœ¿çšæ¡ä»¶ã«é©åããªãã£ãããããªããªããŸããã
å€ããå°ãªããã¢ã¯ã»ã¹å¯èœãªAPIããããã¯ãŒã¯äžã§èŠã€ãããªãã£ããããå©çšå¯èœãªAPIãå
ã«æ»ãå§ããŸããã å€æããOCXã¹ãããã€ã³ã¯ã2ã€ã®å¶åŸ¡ãªãã·ã§ã³ã䜿çšããŸãã
- ã¯ããŒãºãIPCãããã³ã«ã«ãã管çã
- çµã¿èŸŒã¿ã®thttpdãµãŒããŒã«ãã管çã
æåã®ãªãã·ã§ã³ã¯æåã«é€å€ãããŸããïŒãã®åŸã楜ãã¿ã®ããã«æ»ãããŸããïŒã ãããã©ã€ãšã¿ãªãããã³ã«ã®éå€æã«ã¯é·ãæéããããå¯èœæ§ãããã2çªç®ã®ãªãã·ã§ã³ãæãå§ããŸããã ãã¹ãŠã®ã«ã¡ã©ãªã¯ãšã¹ãã1ã€ã®URLã«éä¿¡ãããããšãå€æããŸãã
http:
åœç¶ãããããããŸããŸãªã»ãã¥ãªãã£ããã€ã¹ã«ããã¯ãã§ã-ããã€ã¹ãžã®ã¢ã¯ã»ã¹ã¯ã次ã®ãããªãŠãŒã¶ãŒåãšãã¹ã¯ãŒãã§éããå¿
èŠããããŸãã
http:
ãã®åŸã管çããŒã ãåŸãå¿
èŠããããŸãã ãããããã¡ãŒã ãŠã§ã¢ã®å
éšã«å°éããåŸãjvsweb.cgiãã¡ã€ã«ã®å
容ã«éåžžã«é©ãã
#!/bin/sh eval `./proccgi` echo Content-type: application/json #echo #echo $FORM_cmd #echo $FORM_action #echo $FORM_param #echo $FORM_username #echo $FORM_password #echo ./wagent $FORM_cmd $FORM_action $FORM_username $FORM_password
å°ããªproccgiããã°ã©ã ã¯ããµãŒããŒãžã®WebèŠæ±ã解æããå€æ°ã«å€æããŸããå€æ°ã¯ãšãŒãžã§ã³ãã«ãã£ãŠããã°ã©ã ã«ãäŸçµŠãããããšãŒãžã§ã³ãã¯ãã®ããŒã¿ãå¶åŸ¡ããã°ã©ã ã«è»¢éããŸãã
調æ»ã瀺ããããã«ããŠãŒã¶ãŒåãšãã¹ã¯ãŒãã®ãã£ãŒã«ãã¯ãåèªALLã®äœã«ã圱é¿ããŸããã éèŠãªã®ã¯æåã®3ã€ã®ãã©ã¡ãŒã¿ãŒã®ã¿ã§ãã
äž»ãªããšã¯ããããããã¹ãŠã®èªè
ã«äŒãããããšã§ããã«ã¡ã©ã¯å®å
šã§ãïŒ èª°ã§ãåããããã¯ãŒã¯äžã§ãããå¶åŸ¡ã§ããŸãã ç§ãã¡ã¯ç 究ãç¶ããŠããŸãã telnetïŒããã©ã«ãã®ã¢ãã¬ã¹ã¯192.8.8.8ïŒãä»ããŠã«ã¡ã©ã«æ¥ç¶ããã«ã¯ãåºå®ãã°ã€ã³ãšãã¹ã¯ãŒãroot / jvbzdã䜿çšããŸããããã¯åŸæ¥ã®æ¹æ³ã§ã¯å€æŽã§ããŸãã !!!!
ç¹°ãè¿ããŸããã誰ã§ãæ¥ç¶ã§ããŸãã ãã®ãããæåã«ããããšã¯ãã«ã¡ã©ã®ã¯ã©ãŠããžã®ã¢ã¯ã»ã¹ãåé€ããããšã§ããã åºæ¬çãªã»ãã¥ãªãã£ããªã·ãŒãããã«äŸµå®³ãããå Žåããããããé«ããã®ãä¿¡é ŒããŠãæå³ããããŸããã
ãã£ãšæ·±ããªããã ã«ã¡ã©ãããŒãããããã»ã¹ã¯ãã«ãŒãã«ã®ããŒããã·ã¹ãã ã®åºæ¬èšå®ã®èªã¿åããããŒãã¹ããã¡ãŒã®èµ·åãããã³ç®¡çããã°ã©ã èªäœã®èµ·åã§æ§æãããŸãã æåã®2ã€ã®æ®µèœã§ãã¹ãŠãæ確ãªå Žåã3çªç®ã®æ®µèœã§åé¡ãçºçããŸãã
ããŒãã€ã³ã¿ãŒã»ãã¿ãŒã¯ããµãŒãã¹çšã«å³å¯ã«äºçŽãããŠããããŒãã®ãªã¹ãã«åºã¥ããŠãããžãŒç¶æ
ããã§ãã¯ããèªåçšã«äºçŽããŸãã å¶åŸ¡ããã°ã©ã ã¯ãéçã«ã³ã³ãã€ã«ããã5ã¡ã¬ãã€ãã®ãã€ããªã§ããã¹ãŠã®ã«ã¡ã©å¶åŸ¡ããžãã¯ããä¿è·ããããŠããŸãã
ã«ã¡ã©ã³ã¢ã«ã¯ãŠã©ããããã°ãçµã¿èŸŒãŸããŠãããé©åãªã¿ã€ãã³ã°ã§å¶åŸ¡ããã°ã©ã ããã©ã€ãä¿¡å·ãå±ããªãå Žåãã«ã¡ã©ã¯èªåçã«åèµ·åããŸãã
ãããã°ã¢ãŒãã§ã«ã¡ã©ãèµ·åããã«ã¯ã3ã€ã®æé ãå®è¡ããå¿
èŠããããŸãã
- ã«ã¡ã©ãåèµ·åããåèµ·åã®éå§åŸ5ç§ä»¥å
ã«telnetã§ã«ã¡ã©ã«ã¢ã¯ã»ã¹ããŸã
- ps wãèµ·åããkillããã»ã¹ã®startup.shããã³/ tmp / sctrlã䜿çšããŠåŒ·å¶çµäºããŸãã startup.shã¯ãæåã«æ®åœ±ãããå¿
èŠããããŸã / tmp / sctrlã®å
é ã«ç¶ãè¡ã¯ ã åèµ·åã³ãã³ãã§ã
- ããŒã§/ tmp / sctrlãå®è¡ããŸãã
- cmd = 0/1-å¶åŸ¡ã·ã¹ãã ã®ã³ãã³ãã€ã³ã¿ãŒãã§ã€ã¹ãæå¹ã«ããŸã
- debug = 0/1-é«åºŠãªãããã°ãæå¹ã«ãã
ãããã®ãã¹ãŠã®æé ã¯ããŠã©ããããã°ãæ©èœããåã«10ã15ç§ã§å®äºããå¿
èŠããããŸãã 管çããã°ã©ã ãéå§ãããšãäœæ¥ãã°ãšãåä¿¡ã³ãã³ãã®åŠçãã°ã衚瀺ãããŸãã
管çããã°ã©ã ã¯ããã€ãã®éšåã«åãããŠããŸãã
- ipcå¶åŸ¡ã¢ãžã¥ãŒã«
- httpå¶åŸ¡ã¢ãžã¥ãŒã«
- ã¯ã©ãŠãæ¥ç¶ã¢ãžã¥ãŒã«
- äºææ§ã®ãããããã¯ãŒã¯ããã€ã¹æ€åºã¢ãžã¥ãŒã«
- onvifã€ã³ã¿ãŒãã§ãŒã¹å¶åŸ¡ã¢ãžã¥ãŒã«
ipcå¶åŸ¡ã¢ãžã¥ãŒã«ã¯åžžã«å®è¡ãããŠãããããŒã9101ã§ã³ãã³ããåŸ
æ©ããŠããŸã
httpå¶åŸ¡ã¢ãžã¥ãŒã«ã¯ç¡æã®thttpdãµãŒããŒã«å®è£
ãããç¶ç¶çã«åäœããããŒã80ã§ã³ãã³ãããªãã¹ã³ããŸã
ã¯ã©ãŠãæ¥ç¶ã¢ãžã¥ãŒã«ã¯ã10ç§ããšã«æ¥ç¶ã確èªããŸãã
ãããã¯ãŒã¯ããã€ã¹æ€åºã¢ãžã¥ãŒã«ãã¬ã³ãŒããŒãèŠã€ããããšããŠããŸã
onvifã€ã³ã¿ãŒãã§ãŒã¹å¶åŸ¡ã¢ãžã¥ãŒã«ã¯ãthttpdãšé£æºããŠåäœããéåžžã«æ¹Ÿæ²ãã管çãµããŒããæäŸããŸãã
ã¯ãïŒ æžãã®ãå¿ããŸããã ã«ã¡ã©ã¯ã¯ã©ã€ã¢ã³ããšã«ã¡ã©éã®ãã©ãã£ãã¯æå·åãæäŸããŸããã!!! æå·åããŒã¯ãã¹ãŠã®ãã¡ãŒã ãŠã§ã¢ã§åãã§ããããã¡ã€ã«/ tmp / encryptã«ãããŸã !!!
æ²ãã質åãæšãŠãŠãã«ã¡ã©ã®å¶åŸ¡ã«æ»ããŸãããã Webã€ã³ã¿ãŒãã§ã€ã¹ãä»ããŠåä¿¡ãããã¹ãŠã®ããŒã¿ã¯ãééçã«å¶åŸ¡ã¢ãžã¥ãŒã«ã«éä¿¡ãããŸãã å¶åŸ¡ã¢ãžã¥ãŒã«ã¯ãã³ãã³ãã®åŠçãæ
åœããå€æ°ã®ãµãã«ãŒãã³ã§æ§æãããŠããŸãã æ®å¿µãªãããéçºè
ã¯ãå¶åŸ¡ããã°ã©ã ã®ã³ãŒãã¯èª°ã«ãšã£ãŠãèå³æ·±ããã®ã§ã¯ãªããšå€æããã«ã¡ã©ç¶æ
å¶åŸ¡ã«ãŒãã³ãã¡ã¢ãªç®¡çã«ãŒãã³ãããã·ãŒãžã£ã³ãŒã«ãããã³å¶åŸ¡ã·ã¹ãã èªäœã®ç¶æ
ãšåããã¹ã±ããã«å
¥ããŸããã
å¶åŸ¡ã«ãŒãã³ã®ãªã¹ãã¯ããªã¯ãšã¹ããéããŠååŸã§ããŸã
http:
ãã¹ãŠã®ã«ã¡ã©ã³ã³ãããŒã«ãŠãããã®ãªã¹ãã以äžã«ç€ºããŸã
cmd list and help information mptz mptz zoom [X] [Y] [ZOOM] timer display all timer list stream for stream test account account operation cmd webalarm alarm operation command webmdetect motion detect operation command webprivacy privacy operation command webrecord record operation command webstorage storage operation command webstream stream operation command webifconfig ifconfig operation command webwifi wifi operation command webosd osd operation command websnapshot Have a snapshot of the channel webhelp Display help info webipcinfo ipcinfo operation command webdevinfo webdevinfo operation command webimage image operation command yst yst operation command system websystem operation command multimedia multimedia operation command ptz ptz operation command webaudio webaudio operation command redirect redirect stdout stderror webled led control command webad audio detect wdtoff Manual close watchdog
ç§ã®äž»ãªä»äºã¯ã«ã¡ã©ã®æ確ãªäœçœ®æ±ºãã確ä¿ããããšã§ããããæ®å¿µãªãã補åã®ãœãããŠã§ã¢å®è£
ã®ãããããã¯äžå¯èœã§ããããšãå€æããŸããã ãªãã§ïŒ
PTZããããã£ã¯ã¹å¶åŸ¡ã€ã³ã¿ãŒãã§ã€ã¹ã¯RS485ãä»ããŠæ©èœããçŸåšã®ã«ã¡ã©äœçœ®ã決å®ããå€éšã»ã³ãµãŒãšã«ãŠã³ã¿ãŒã¯ãããŸããã ã³ãã³ããPTZã«éä¿¡ããã€ã³ã¿ãŒãã§ãŒã¹ã¯ããšã³ãžã³ãæ£ããæ¹åã«åãå¿
èŠãããã¹ããããã«ãŒãã«ã¢ãžã¥ãŒã«ã«è»¢éããŸãã äœæ¥ã»ã¯ã¿ãŒã決å®ããããã«ãåæåæåäžã«ãã«ã¡ã©ã¯äž¡æ¹ã®è»žã§ãŒãäœçœ®ã«å転ãã座æšãå¢å ããæ¹åã«å転ãéå§ããŸãã 氎平座æšã®å転ã»ã¯ã¿ãŒã®çµäºã決å®ãããšãã«ã¡ã©ã¯çµæã®ã»ã¯ã¿ãŒã65536ã§é€ç®ããŸããåçŽåº§æšã§ãåãããšãèµ·ãããŸãã ãããã£ãŠãå
éšåº§æšã°ãªãããååŸãããããã«åºã¥ããŠã«ã¡ã©ãé
眮ãããŸãã å¶åŸ¡ã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšããŠã«ã¡ã©ã«å転ã³ãã³ããéä¿¡ãããšããŠãŒã¶ãŒãã¢ã¯ã»ã¹ã§ããªãå
éšã«ãŠã³ã¿ãŒã®ã¿ãã«ãŠã³ããããã«ã¡ã©ã«ä¿åãããŸãã ããªã»ãããä¿åãããšããå¶åŸ¡ããã°ã©ã ã¯ã«ã¡ã©ãçŸåšé
眮ãããŠããçŸåšã®åº§æšãä¿åããŠãããäœçœ®æ±ºãã«äœ¿çšããŸãã ãŠãŒã¶ãŒã¯ãæ確ãªãã€ã³ãé
眮ãå©çšã§ããŸããã
ããããããã¯ãããããæã§ã¯ãããŸãã:)ç§ãã¡ã¯ã«ã¡ã©ã®èœåãæãäžãç¶ããŸãã cJSONã©ã€ãã©ãªãŒã¯å¶åŸ¡ã€ã³ã¿ãŒãã§ãŒã¹ãžã®å
¥åã解æãããããparamå€æ°ã«æå¹ãªJSONæ§é ãå¿
èŠã§ãã
ã¯ãšãªæååã¯åžžã«æ¬¡ã®ããã«ãªããŸãã
http:
ãã®ãªã¯ãšã¹ãã§ã¯ãã«ã¡ã©ã¯éåžžãçµæã«å¿ããŠè€æ°ã®ã©ã€ã³ãè¿ããŸãã
{"status":"ok","data":""} {"status":"param error","data":""} param error
èŠã€ãããã¹ãŠã®å¶åŸ¡ã³ãã³ããšãããã®ãã£ãŒã«ã/ãã©ã¡ãŒã¿ãŒã«çœ²åããŸãã äžæ¬åŒ§ã§ç€ºãããããŒã¿ã«ã¯ããªã¯ãšã¹ãã®paramãã£ãŒã«ãã«é
眮ããå¿
èŠãããããŒã¿ãå«ãŸããŠããŸãã ã»ãšãã©ã®ã³ãã³ãã¯ãçŸåšã®èšå®ã衚瀺ããaction = listããµããŒãããŠããŸãã accountã³ãã³ãããå§ããŸãããã
ã·ã¹ãã Webã€ã³ã¿ãŒãã§ãŒã¹ã®ãŠãŒã¶ãŒç®¡ç
list # List all account with passwords add: # add account {"acID": "aborche","acPW": "123","acDescript":"test","Power":17} check: # check password {"acID":"aborche","acPW":"123"} modify: # modify account {"acID":"aborche","acOldPW":"123","acNewPW":"1234"} del: # delete account {"acID":"aborche1"} count # count accounts
ãããã£ãŠãã¢ã«ãŠã³ãèŠæ±ã®ãªã¹ãã¯æ¬¡ã®ããã«ãªããŸã
http:
ãŠãŒã¶ãŒã®è¿œå
http://<camip>/cgi-bin/jvsweb.cgi?cmd=account&action=add¶m={"acID": "aborche","acPW": "123","acDescript":"test","Power":17}
ã¢ãŒã·ã§ã³æ€åºåšã¢ã©ãŒã
list # List all alarms set: # Set alarm {"delay":10,"sender":"ipcmail@163.com","server":"smtp.163.com","username":"ipcmail","passwd":"ipcam71a", "receiver0":"lfx@jovision.com","receiver1":"(null)","receiver2":"(null)","receiver3":"(null)"}
ããã2ã€ã®ããŒã ã«ã€ããŠå°ã説æããŸãã ã«ã¡ã©ããåä¿¡ããããŒã¿ã¯ãã¹ãŠå
¬éãããŠããããŠãŒã¶ãŒåãšãã¹ã¯ãŒããªãã§ã¢ã¯ã»ã¹ã§ããŸãïŒ ãããã£ãŠãã¡ãŒã«ããã¯ã¹ãžã®ã¢ã¯ã»ã¹ã倱ããããªãå ŽåïŒäŸãšããŠïŒã泚æããŠ2çªç®ã®ã¡ãŒã«ããã¯ã¹ãéããŠãã ããã
åäœæ€ç¥
<ch> list # List motion detects # cmd=webmdetect&action=1 list # cmd=webmdetect 1&action=list <ch> set: {"bEnable":0,"nSensitivity":50,"nThreshold":15,"nRectNum":0, "stRect":[{"x":0,"y":0","w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}], "nDelay":10,"nStart":0,"bOutClient":0,"bOutEMail":0}
å
¥åãã©ã¡ãŒã¿ãŒã®è§£æã®æ²çã«ãããä»»æã®ãã©ã¡ãŒã¿ãŒã§ä»»æã®é·ãã®ã³ãã³ããèªç±ã«éä¿¡ã§ããããšã«æ³šæããŠãã ããã ã«ã¡ã©ã«ã¯è€æ°ã®ãã£ã³ãã«ïŒãããªã¹ããªãŒã ïŒããããããäžéšã®ã³ãã³ãã«ã¯ãã£ã³ãã«çªå·ãæå®ã§ããŸãã
- ãŠã§ããã©ã€ãã·ãŒ
ãããŒããã£ã¹ãããå¿
èŠããªãç»åã«ãã©ã€ãã·ãŒãŸãŒã³ãå®çŸ©ãã
<ch> list # List privacy zones # cmd=webprivacy&action=1 list # cmd=webprivacy 1&action=list <ch> set: # Set privacy zone {"bEnable":0,"stRect":[{"x":0,"y":0,"w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}, {"x":0,"y":0,"w":0,"h":0}]}
é²ç»èšå®
# cmd=webrecord&action=1 list # cmd=webrecord 1&action=list <ch> list # List settings <ch> set: # {"bEnable":1,"file_length":600,"timing_enable":0,"discon_enable":0, "alarm_enable":0,"timing_start":0,"timing_stop":0,"disconnected":0, "detecting":0,"alarming":0,"alarm_pre_record":6,"alarm_duration":10}
å€éšã¡ã¢ãªã«ãŒãã®å
容
list # List settings format # Format storage
ã¹ããªãŒã èšå®
# cmd=webstream&action=1%20list # cmd=webstream 1&action=list # cmd=webstream -c<chid> <streamid>&action=ability # cmd=webstream -c1 1&action=ability <ch> list # List streams <ch> set: # Set stream settings {"bEnable":1, "bAudioEn":1, "viWidth":1280, "viHeight":720, "width":1280, "height":720, "framerate":20, "bitrate":1024, "ngop_s":4, "rcMode":1, "encLevel":1, "quality":40, "minQP":24, "maxQP":46} <ch> resolution # Get stream possible resolution <ch> ability # Get stream settings requestidr # ?????
ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ãŒã¹èšå®
list # Get interfaces configuration set: # Set interfaces configuration {"inet":"dhcp", "eth": {"name":"eth0","bDHCP":1,"addr":"","mask":"","gateway":"0.0.0.0", "mac":"02:00:01:01:01:12","dns":"8.8.8.8"}, "pppoe": {"name":"ppp0","username":"x","passwd":"1"}, "wifiap": {"name":"","passwd":"","quality":0,"keystat":0,"iestat":""} } scan # ReScan wifi networks
WiFiã³ã³ãããŒã«
list # List wifi networks connect: # Connect to network {"name":"ZyXEL53", "passwd":"", "quality":2, "keystat":1, "iestat":"\u0004\u0002"} changemode: ????
webwifiããã³webifconfigã³ãã³ãã䜿çšãããšãè¿ãã®WIFIãããã¯ãŒã¯ãå®å
šã«ã¹ãã£ã³ããŠæ¥ç¶ã§ããããšã«æ³šæããŠãã ããã ãããã£ãŠãå¶åŸ¡äžã®ã«ã¡ã©ã¯ç°å¢ãéãã«ã¹ãã€ã§ããŸãã
ãããªã®ã«ã¡ã©IDã管çãã
<ch> list # Get channel info <ch> set: {"bShowOSD":1, "timeFormat":"MM/DD/YYYY hh:mm:ss", "position":1, "timePos":2, "channelName":"HD IPC", "osdbInvColEn":1,"bLargeOSD":1}
ããã€ã¹æ
å ±
list # Get device info set: { "type": "J2000IP-CmPTZ-111-V2.0", "product": "JVS-HI3518ES-7601", "version": "V2.2.4402", "acDevName": "HD IPC", "nickName": "", "sn": 36430, "ystID": xxxxxxxxxx, "nDeviceInfo": [], "nLanguage": 1, "date": "2016-10-22 14:31:43", "bSntp": 1, "sntpInterval": 24, "ntpServer": "192.168.205.1", "enableStreamWatchDog": 1, "tz": 3, "bDST": 0, "bIPSelfAdapt": 1, "rebootDay": 0, "rebootHour": 1, "bRestriction": 1, "portUsed": "8099,554,23,8127,51994,55434,6666,8732,58434,3702,9100,9104,9106,57241,4001,6072,8899,1998,17", "osdText": ["", "", "", "", "", ""], "osdX": 0, "osdY": 0, "osdSize": 32, "lcmsServer": ""} settime <datetime> system <reboot/reset/softreset>
ãã®æ©èœã«ãããããã€ã¹ãåèµ·åãŸãã¯ãªã»ããã§ããŸã
http:
webdevinfo
list # get device info set { "type": "ipc", "hardware": "JVS-HI3518ES-7601", "firmware": "V2.2.4402", "manufacture": "JVS-HI3518ES-7601", "sn": "XXXXXXXXXX", "model": "ipc-module", "channelCnt": 1, "streamCnt": 3, "ystChannelNo": [1, 2, 3, ..... 0], "name": "HD IPC", "date": "2016-12-26 20:55:23", "bSntp": 1, "sntpInterval": 24, "ntpServer": "ntp.fudan.edu.cn", "tz": 3, "bDST": 0 } settime <datetime> settime 2012-06-07 13:58:00 system <reboot/reset/softreset>
- webimage
ç»åèšå®
list set: {"contrast": 135, "brightness": 135, "saturation": 135, "sharpen": 255, "exposureMax": 3, "exposureMin": 100000, "scene": 0, "daynightMode": 0, "dayStart": [{ "hour": 6, "minute": 0 }], "dayEnd": [{ "hour": 18, "minute": 0 }], "bEnableAWB": 1, "bEnableMI": 0, "bEnableST": 0, "bEnableNoC": 0, "bEnableWDynamic": 0, "bNightOptimization": 1, "bAutoLowFrameEn": 0}
ãªã¢ãŒã管çã®ã¹ããªãŒã æ
å ±
list set: {"strGroup": "B", "nID": XXXXXXXXX, "nPort": 9101, "nStatus": 2, "bActiving": 1, "nYSTPeriod": 10, "bTransmit": "\u0001", "eLANModel": 0, "bWebServer": 1, "nWebPort": 80, "nPictureType": 3, "nPictureTypeOld": 1} get_port # get control port get_video # get video streams
ãã®ããŒã ã«ã€ããŠèª¬æããŸãããã ãã®ã³ãã³ãã¯ãOCXãŸãã¯é»è©±ãä»ãããªã¢ãŒãã³ã³ãããŒã«ã®ãããªã¹ããªãŒã èšå®ãèšè¿°ããŸãã 2ã€ã®ããŒã ãé€ããŠããããã®ããŒã¿ã圹ã«ç«ã€ãšã¯èããããŸããã
http://<camip>/cgi-bin/jvsweb.cgi?cmd=yst&action=get_port http://<camip>/cgi-bin/jvsweb.cgi?cmd=yst&action=get_video
æåã®ãã®ã«ã¯ãã·ã¹ãã 管çããŒããšããŒãèšå®ã衚瀺ãããŸãã 2çªç®ã«ã¯ãã·ã¹ãã ã§äœ¿çšå¯èœãªçŸåšã®ãããªã¹ããªãŒã ã衚瀺ãããŸãã éåžžã2çªç®ã®ã³ãã³ãã®åºåã¯æ¬¡ã®ããã«ãªããŸãã
rtsp://<camip>/live0.264 rtsp://<camip>/live1.264
ã«ã¡ã©å¶åŸ¡
move: # range = step(255*x(y)), sign +/- = direction {"chnid":0,"x":[0.01..1],"y":[0.01..1]} x,y - moving speed 0 - stop move move_auto: # set move speed {"chnid":1,"s":0.5} preset: #preset control {"chnid":0,"type":n,"presetid":p,"name":name} type: 0="list" 1="Save Preset" 2="Delete Preset" 3="Apply Preset" param={"chnid":1,"type":1,"presetid":1,"name":"preset 1"} - Save Preset 1 with name "preset 1" lens: # lens and picture control {"type":n,"value":v} type: 0="aperture" 1="focus" 2="magnify" value: 0.01..1 patrol: {"status":"ok","data":[{"id":0,"presetid": 1,"name":"1111","staytime":10},{"id":1,"presetid": 2,"name":"2222","staytime":10}]} type: 0="list" 1="Save Patrol" 2="Delete Patrol" 3="Start Patrol" 4="Stop Patrol"
left right up down stop preset locatePreset aux # param=auxnum/-auxnum turn aux on/off dropon dropoff sensor zoom # Not working
ptzããã³mptzã³ãã³ãã¯ããã¡ãŒã ãŠã§ã¢ã®éžæãéå§ããäž»ãªçç±ã§ããã
http://<camip>/cgi-bin/jvsweb.cgi?cmd=ptz&action=move¶m=["chnid":1,"x":0,"y":-0.5] http://<camip>/cgi-bin/jvsweb.cgi?cmd=mptz&action=down
äž¡æ¹ã®ããŒã ã¯ã«ã¡ã©ã«æãããæ瀺ããŸãã æåã®ã±ãŒã¹ã§ã¯ãã«ã¡ã©ãäœäžããé床ã瀺ããŸãã é床ã¯ãé床å€ã®255åãšããŠèšç®ãããŸãã ãããã£ãŠã0.01ã®é床å€ã§ã¯ãã«ã¡ã©ã¯ãã£ãã¯ããšã«2ãã€ã³ãã®é床ã§äžéããŸãã 2çªç®ã®å Žåãã«ã¡ã©ã¯ãã£ãã¯ããšã«100ãã€ã³ãã®é床ã§äœäžããŸãã ãã£ãã¯å€ã¯ãŸã ããããŸããã 枬å®ããå¿
èŠããããŸãã
ã«ã¡ã©ã¯ããŒãç¹ã«éãããã次ã®ã³ãã³ããåä¿¡ãããŸã§äžãããŸãã
http://<camip>/cgi-bin/jvsweb.cgi?cmd=ptz&action=move¶m=["chnid":1,"x":0,"y":0] http://<camip>/cgi-bin/jvsweb.cgi?cmd=mptz&action=stop
presetããã³LocatePresetã¯ãäœçœ®æ±ºããã€ã³ãããã°ããè¿œå ããŠåŒã³åºãããã«äœ¿çšãããŸã
http://<camip>/cgi-bin/jvsweb.cgi?cmd=mptz&action=preset 1 http://<camip>/cgi-bin/jvsweb.cgi?cmd=mptz&action=locatePreset 1
ãããªã¹ããªãŒã ãšã³ã³ãŒããŒå¶åŸ¡
stream CMD CHANNELID stream set CHANNELID TYPE VALUE CMD: start start the stream stop stop the stream flush flush the stream restart restart the stream set set param debug if be 1, print the received stream package TYPE: width - resolution width height - resolution height framerate - framerate such as 30,25,20,15,10... nGOP - I frame between bitrate - bitrate with unit of Kbit Per Second
ç»å管ç
imageget: {"chnid":1,"type":0} type: 0 contrast 1 brightness 2 saturation 3 sharpness imageset: {"chnid":1,"type":0} type: 0 contrast 1 brightness 2 saturation 3 sharpness
ãã©ã¡ãŒã¿ãŒã®å€æŽãéå§ããåã«ãåèšå®ã®imagegetãäœæããå€æŽãå ããŠimagesetãäœæããããšããå§ãããŸã
ãµãŠã³ãã³ã³ãããŒã«
list set: { "sampleRate": 8000, "bitWidth": 1, "encType": 0, "level": 2, "muted": 1, "micGain": 69 }
é³ã®å®çŸ©
list set: { "bEnable": 1, "bEnableRecord": 1, "nStart": 0, "bOutClient": 1, "bOutEMail": 1, "bOutVMS": 1, "bBuzzing": 1, "ADThreshold": 80, "ADTimeInterval": 60, "ADPercentage": 30 }
LEDå¶åŸ¡
list set: 0 - turn off 1 - turn on
ååãšããŠãããã¯ã«ã¡ã©ãšã®çžäºäœçšãæäŸããã»ãšãã©ãã¹ãŠã®ã³ãã³ãã»ããã§ãã æ®ãã®ã³ãã³ãã¯æå³ããããŸããã ãããã¯ããããã°æ
å ±ã®åºåãã³ã³ãœãŒã«ã«æäŸããŸãã
ãã®èšäºãèªãã åŸãç§ãã¡ã®å®å
šã確ä¿ããããã«èšèšãããããã€ã¹ã¯ãããé«ãã¬ãã«ã®ã»ãã¥ãªãã£ãæã€ã¹ãã ãšæãããšæããŸãã ãã®èšäºã¯ããããã®ã¡ãŒã«ãŒã®ããã€ã¹ãã¯ã©ãã¯ããããšãä¿ããã®ã§ã¯ãªããå€ãã®ããšãäžèŠãããã®ãšã¯ç°ãªãå Žåãããããšã瀺ããŠããŸãã
æ°ããã«ã¡ã©ã®æ°ãããã¡ãŒã ãŠã§ã¢ã§ã¯ãonvifã¢ãžã¥ãŒã«ãå®å
šã«æžãçŽãããŸããããäž»ãªåé¡ã¯åãç¶æ
ã«ãããŸãã
次ã«äžŠãã§ããã®ã¯ç§ã®TENVIS JPT3815Wã«ã¡ã©ã§ãããããäœã§ããããèŠãŠã¿ãŸãããã ãã®èšäºãèªãã§ãããŠããããšãã
PSïŒJovisionãã¡ãŒã ãŠã§ã¢ã®åŸ©å·åã«é¢ããæ
å ±ãå¿
èŠãªå Žåã¯ãæçš¿ã§ããŸãã
©Aborche 2016