RobinhoodAPI: Live Stock Prices From Robinhood on ESP8266

A simple Arduino library that retrieves live stock prices from www.robinhood.com in JSON format and processes it for ESP8266. In one example, we demonstrate a whole bunch of stock prices scrolling through a dot-matrix display. Github: debsahu/RobinhoodAPI An Arduino library to talk to Robin Hood using non-documented Rest API made for ESP8266. Some unofficial documentaion by @sanko is available at here] Using the Library Download this GitHub library. In Arduino, Goto Sketch -> Include Library -> Add ....

April 28, 2018 · Debashish Sahu

HARestAPI: Control Home Assistant Directly Using ESP8266

Control components on Home Assistant directly from ESP8266. This is an Arduino Library that can be used in various projects without the requirement of setup of a MQTT sensor + automation on HA. This uses RESTful API commands. Idea Control components on Home Assistant directly from ESP8266. Implementation Develop an Arduino Library that can be used in various projects without the requirement of setup of a MQTT sensor + automation on HA....

April 14, 2018 · Debashish Sahu

ESP8266 Based Color Sensor Talking to Home Assistant via RestAPI

Did you ever want to use ESP8266 to communicate to Home Assistant directly? Here we use a TCS34725 color sensor to read colors and change a RGB light in Home Assistant to the color observed. Hardware TCS34725 color sensor SSD 1306 OLED Wemos D1 mini (ESP8266) Software RGB Lights connected to Home Assistant toblum/McLighting Aircoookie/WLED

April 7, 2018 · Debashish Sahu

Talking to Twitter Using TwitterWebAPI for ESP8266

Idea: Use ESP8266 to talk to Twitter Get User Data or Tweet or Search Twitter Display the data on a Dot-Matrix display Implementation I created an Arduino library to talk to Twitter using its Web API made for ESP8266. There are other approaches like using a bearer token arduino-twitter-api, but comes with limitations in terms of not being able to send tweet. This Arduino library TwitterWebAPI can both search/read and post tweets....

March 19, 2018 · Debashish Sahu

Internet Connected Smoke Alarm

Have you wondered how to build a internet connected smoke alarm using ESP8266 and a cheap Kidde RF-SM-DC? Overall idea is to detect smoke alarm signals and send MQTT message. Home Assistant reads the MQTT message and sends out notifications that can be used to notify your local fire station. ESP8266 sends a MQTT message until the smoke alarm is beeping. Software Refer to https://github.com/debsahu/ESP_External_Interrupt to build the ESP8266 part of the internet connected smoke alarm....

January 23, 2018 · Debashish Sahu

Extreme Power-Save Mode: ESP8266 Powered ON After External Interrupt

Have you ever wondered how to turn on ESP8266 using external interrupt? Build a battery powered amazon dash button or a 18650 lipo powered door bell using ESP8266 without putting the device in deep sleep? Here is your answer. Idea Keep ESP8266 on OFF mode as default External 3.3V signal (can be short or long) arrives and turns ON ESP8266 ESP8266 wakes up and keeps itself awake until a task is perfomed Send MQTT data to server Put ESP8266 back to power OFF state Implementation RST pin is always HIGH/3....

January 22, 2018 · Debashish Sahu

Internet Connected Dog Water Bowl Sensor

Wouldn’t it be nice to know if your dog’s water bowl is empty? Let us build a sensor that measures the water level every 5 minutes. This value is sent to MQTT server and Home Assistant automation takes care of the rest. This sensor connects to MQTT and Home Assistant. See dogsensor.yaml for adding this to HA. Assumes that one has set up various notification sensors available in HA....

October 15, 2017 · Debashish Sahu

MOSFET Used as Switch to Control a 12V Fan

Lets turn on and off low powered fan running at low (<20V) DC voltages. We shall use a MOSFET to achieve this. Hardware IRLML0030PBF ATTiny85 2-pin 12V Fan Wiring MOSFETs have three terminals Drain (D), Source (S) and Gate (G), where source is connected to ground and the +12V or +5V along with load (Fan) is connected to drain. The MOSFET is on when gate voltage is higher than 1....

March 12, 2017 · Debashish Sahu

How to Build a 3.3V Voltage Regulator

Here are the instructions to wire a stable AMS1117-3.3 voltage regulator properly. This can power an ESP8266 or any 3.3V micro-controller reliably supporting current draws up to 1A. Hardware AMS 1117-3.3 10 uF Electrolytic Capacitor 104 Ceramic Capacitor Wiring AMS1117-3.3 (right to left) Pin 1: GND Pin 2: Vout Pin 3: Vin Connections 5-12V -> Vin GND -> GND 10 uF Electrolytic Capacitor +ve -> Vout 10 uF Electrolytic Capacitor GND -> GND 104 Ceramic Capacitor +ve -> Vin 104 Ceramic Capacitor GND -> GND

February 25, 2017 · Debashish Sahu

IoT Dot Matrix Display: Twitter Mentions Using ESP8266 Adafruit.io and IFTTT

Let’s say that you don’t have your smartphone around and someone mentions you on twitter. Wouldn’t it be nice to have a display that automatically reads your twitter mentions and show it on a scrolling display? So let’s build a internet controlled (IoT) dot-matrix display that does this for us using an ESP8266. The plan to accomplish this is as follows: Someone mentions us on twitter (in my case @debsahu) IF This Then That (IFTTT) tracks these mentions and posts this data on Adafruit....

February 17, 2017 · Debashish Sahu