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)

Online Server Check Portable Alarm using WeMos D1 mini All changes saved.

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)

IMG_20180314_184219.jpg
IMG_20180314_184238.jpg
IMG_20180314_184256.jpg

Modified the Alarm Box

IMG_20180314_184246.jpg
IMG_20180314_185316.jpg
IMG_20180314_190437.jpg
IMG_20180314_191421.jpg

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

IMG_20180314_193831.jpg

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

Untitled-Sketch_bb.jpg
esp8266-wemos-d1-mini-pinout.png
IMG_20180314_194550.jpg
IMG_20180315_090217.jpg
IMG_20180314_191213.jpg
IMG_20180314_203746.jpg

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

Untitled-1.jpg

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...

IMG_20180314_211729.jpg

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....