This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [["1","Monitor-1","Local","None","320","240","3","0.00","0.00"],["2","Monitor-2","File","Monitor","328","208","3","1.00","1.00"],["3","Foscam9821Demo","Ffmpeg","None","1280","720","4","31.00","31.00"],["4","remote_cam","Remote","Monitor","640","360","4","0.00","0.00"]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // The words SEND and RECEIVE were added by me to keep track of the direction | |
| // SEND -> data sent to the Netcat camera | |
| // RECEIVE -> data recevied from the Netcat camera | |
| SEND: 9Xd'hxE-v@S"[%Pd{ "EncryptType" : "MD5", "LoginType" : "DVRIP-Web", "PassWord" : "ORsEWe7l", "UserName" : "admin" } | |
| RECEIVE: 'hx9XdEg@@S"[&#PO{ "AliveInterval" : 21, "ChannelNum" : 1, "DeviceType " : "IPC", "ExtraChannel" : 0, "Ret" : 100, "SessionID" : "0x00000018" } | |
| SEND: 9Xd'hxEr-w@S"[&#P6{ "Name" : "SystemInfo", "SessionID" : "0x00000018" } | |
| RECEIVE: 'hx9XdEi@@S"[&mPI{ "Name" : "SystemInfo", "Ret" : 100, "SessionID" : "0x18", "SystemInfo" : { "AlarmInChannel" : 2, "AlarmOutChannel" : 1, "AudioInChannel" : 1, "BuildTime" : "2015-09-11 17:25:08", "CombineSwitch" : 0, "DeviceRunTime" : "0x00000A94", "DigChannel" : 0, "EncryptVersion" : "Unknown", "ExtraChannel" : 0, "HardWare" : "N51820L", "HardWareVersion" : "Unknown", "SerialNo" : "d4f6eef9ffc895b7", "SoftWareVersion" : "V4.02.R11.00001906.10010.230100", "TalkInChannel" : 1, " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino | |
| //needed for library | |
| #include <ESP8266WebServer.h> | |
| #include <DNSServer.h> | |
| #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager | |
| #define GPIO0 0 | |
| #define GPIO2 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * ESP8266_zmtrigger | |
| * | |
| * Date of Last Revision: Jan 14, 2015 | |
| * | |
| * Upon activation of GPIO2, this sketch sends a user defined command to a ZoneMinder | |
| * server running zmtrigger on port 6802. | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * ESP8266_zmtrigger | |
| * | |
| * Date of Last Revision: Jan 16, 2015 | |
| * Andrew Bauer knnniggett@users.sourceforge.net | |
| * | |
| * Upon activation of GPIO2, this sketch sends a user defined command to a ZoneMinder | |
| * server running zmtrigger on port 6802. | |
| * | |
| * Credit goes to Alex a.k.a. tzapu for his awesome WiFiManager class! |
NewerOlder