IPAddress server( 192, 168, 1, 185 ) // Update these with values suitable for your network. long previousMillis = 0 // Timer loop from #define OTApassword "secret" //the password you will need to enter to upload remotely via the ArduinoIDEĬonst char *ssid = "wifissid" // cannot be longer than 32 characters! #define SENSORNAME "driveway" //change this to whatever you want to call your device And I used this code on some door sensors too (that is why the odd variable names)
Here is the Arduino code (which I cobbled together using code from various other people–so credit for a lot of the code is not mine). IP Allocation-set to DHCP the IP address which will be the host name in the dxclient software, I set the HTTP Port to 80 (0080) went to user setup on that same screen and confirmed that admin ID was admin and Admin password was 111111. Bunker Hill 62367/62368 Security Camera Surveillance & Power Adapter & mount Item 62367 / 62368 1/4' VGA CMOS 640H x 480V Infrared LEDs with Low Light Sensor Daylight: Color Infrared: Black & White 850nm 180 ft (indoors) 650 ft (outdoors) IP54 - Dustproof, Splashproof 40 ft RCA 9VDC / 600 mA 14 - 122 F 2.4 GHz. The rf-sniffer could not decipher any codes coming from this device so I decided to hack an esp8266 into the receiver unit and when the alarm bell goes off (something in the driveway) it sends a high signal to an input on the ESP8266 which then publishes a message to my MQTT broker and then HA can have automations against it. I went into the DVR setup-network setup. Take the Mundane and Routine Out of Tech Support With ConnectWise Automate.
Proactive monitoring leads to fewer systems experiencing issues or crashes, leading to a 20 reduction in the number of tickets. I initially bought a 433Mhz driveway alarm from Harbor Freight with the intention of using the rpi-rf module (I use it already for all sorts of 433 Mhz sensors) The RMM Software That Puts the Power of Automation in Your Hands. I did this a while back, but I thought I would share. control and digital video recording for your private or public network or IP cameras, video encoders and DVRs.