This is a continuation of the first miserable attempt at having an ESP8266 receive a signal from a DVR. Click here for part 1.
Goal: Have a CK-PA9604 H.264 CCTV DVR send a signal on motion detected, to an arduino-programmed ESP8266 Wifi SMTP server, to sound a chime in a separate location.
Background: This specific 4-channel DVR can be set to detect motion in a defined area, and on detection either sound a (really annoying) 5-second beep, or send an email. Using an ESP8266 to detect the beep was considered and almost resorted to, but I’m a really determined programmer and in this instance was dedicated to learning how to execute a synchronous TCP handshake (SMTP) to achieve the goal.
The desired result is first and foremost, have the chime be more pleasant, and second, have the option of relaying the signal to a computer or smartphone or other device (and learn something new!) Continue reading ESP8266 Arduino SMTP Server part 2
Note: This is the first in a two-part series. Click here for the latest.
I wanted a way to have a DVR (camera system) to trigger an ESP8266 to toggle a pin (for a chime, etc). This specific model of DVR only allows sending mail and sounding a buzzer for motion detected events. One option would be to put a second ESP8266 inside the DVR and put the IO pin on the buzzer output. A method using one ESP8266 rather than two, would be to have the ESP8266 receive the email. So I set off to make an arduino SMTP server. Continue reading ESP8266 Arduino SMTP Server
After much slacking, I have concluded that it is not worth the effort to try to build a product around this idea, to then produce, market, and sell.
In the spirit of open-source, I intend to document here my progress in creating a simple, inexpensive yet powerful tool for hobbyists to build.
The automation controller is a device which allows the user to log and view sensor readings (temperature, humidity, etc) and use those inputs to control attached appliances (heater, humidifier, etc) automatically. This device can be built using parts bought from common online electronics distributors, with a low to moderate amount of soldering and assembly.
This device is based upon a microcontroller (“MCU”) which is a small computer for all intents and purposes. This MCU I have written software for, which I will make available here, free of charge.
The device runs independent of a computer, however at present a graphical frontend is used to display logs and set parameters. This software will be available here, free of charge, and requires Windows 98 or higher. In the future there will be available software for other OSes.