Androz2091 / arduino-is-mybot-online

🚨 Simple status LED with Arduino to alert you if your bot is down!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino, is my bot online?

It opens a websocket connection with Discord to receive PRESENCE_UPDATE events. Once the target become offline, it makes a red led blinks, and once it comes back online, it turns on the green led.

How to install

  • Set up your project using the schematic below.
  • Download the code.
  • Rename the secrets_sample.h file to secrets.h and fill it.
  • Upload it to your Arduino.
  • You're done!

Once the watched bot will be offline, the red led will blink.

Used libraries

You will also need to add this link: http://arduino.esp8266.com/stable/package_esp8266com_index.json to the Additional boards Manager to be able to select Node mcu 1.0 as the card type.

Used components

Schematic

schematic

About

🚨 Simple status LED with Arduino to alert you if your bot is down!


Languages

Language:C++ 96.0%Language:C 4.0%