Online Server Check Portable Alarm (Using NodeMCU ESP8266)
by MusaW in Circuits > Arduino
2954 Views, 9 Favorites, 0 Comments
Online Server Check Portable Alarm (Using NodeMCU ESP8266)
What server/service down indcator mean to us..?
In the online infrastructure world, it's a lot...!!
We have to maintain all availability of our service "you don't want to let your service/server down and lose your business" But sometimes puting some people to monitor it is doesn't work well. so we need to improve this mecanism... so i make this device to help warning all the team where ever they are easily. No need computer just plug to the power and it will connect to the AP and warn your team when it needed...
This time i will use statuscake.com as example but u can use other than it like pingdom or others...
What U Need (hardware)
What u need is this...
1 x ESP12 ESP-12 WeMos D1 mini V2 - Mini NodeMcu 4M bytes Lua WIFI
1 x Mini Wired Strobe Siren Durable 12V
1 x 5V1 5V 1 Channel Relay Module
1 x Ultra-Small Size DC-DC Step Down Power Supply Module 3A Adjustable
1 x Mini Small Round Button Red Self-locking Push button
1 x 12V2A AC 100V-240V Converter Adapter
some red and black AWG 24 cable
Modified the Alarm Box
Make a hole for Mute button and 12v DC power socket and glue it with hot glue
Ajust Your Ultra-Small Size DC-DC Step Down Power Supply Module
Don't forget before all wire up, using multi tester make sure that your step down V out is 5v or close enough...
Wire It Up
wire it up according wire schema above... i just use pin D4 (GPIO2) for signaling the relay and relay power use 3.3v not 5v pin.
after that place your part as efficient as you can... you also can make some hole for your WeMos MCU USB cable in case u needed... and after that secure place with some hot glue...
PS: i put some aluminum heat sink on the WeMos because sometime it slightly hot...
WeMos NodeMCU ESP8266 Code
open your statuscake and navigate to Integration than look for Pull Service URL and copy your Pull URL
Open arduino IDE (but before this please find out how to program NodeMCU board for who never do this before)
Open the arduino code below and replace the SSID, SSID Password, Pull URL.
Downloads
All Done... and Make Some Noise...
But i hope not... because if there is an alarm noise, there is some service/server down...
Just plug it on the power anywhere and u will notice with flashing light and beeping sound if there is some of your server/service need help ASAP....