Continuous Radon Sensing Using Airthings Wave

Radon Radon is everywhere, see map Naturally-occurring radioactive gas - causes lung cancer Inert, colorless and odorless Naturally in the atmosphere in trace amounts Outdoors: radon disperses rapidly Most radon exposure occurs inside homes, schools and workplaces Indoors: Radon gas becomes trapped indoors after it enters buildings through cracks and other holes in the foundation Can be controlled and managed with proven, cost-effective techniques Radon monitoring Hardware Airthings Wave Continuous radon monitoring Long term monitoring LEDs color – radon level Battery Operated Bluetooth BLE ESP32 - lolin D32 (can use any ESP32) MQTT Server - Mosquitto Software Python script to read values from Airthings Wave: Wave-Reader Home Assistant Custom Component: sensor....

August 23, 2021 · Debashish Sahu

ESP8266/ESP3232: Home Assistant Switch Connected to PCF8574 Controlling 8 AC Relays

Home Assistant Switch for 8 Relays: PCF8574 can be used to extend the GPIO of ESP8266/32 and here we use 8 ports of PCF8574 to control 8 Relay module GitHub: debsahu/PCF8574_8Relay Home Assistant Switch for 8 Relays Code can compile on ESP8266/32 PCF8574 can be used to extend the GPIO of ESP8266/32 8 ports of PCF8574 is connected to 8 Relay module Libraries Needed platformio.ini is included, use PlatformIO and it will take care of installing the following libraries....

February 24, 2019 · Debashish Sahu

Using ESP8266 to Call RESTful API From TheRide to Get Real-Time BUS Data

Here is a tutorial on how to call RESTful API on ESP8266 and process the data using ArduinoJSON. This data is visually represented in a NeoPixel ring for easy tracking of 3 buses approaching a certain stop. This code also sends MQTT messages with the received data. debsahu/RESTful-Ride Using ESP8266 to call RESTful API from http://TheRide.org to get real-time BUS data Features: Easy to read interface Fast and Responsive Portable, i....

October 27, 2018 · Debashish Sahu

Hacking an Automatic Trash Can to Listen to You

Idea To convert an automatic trash can into a smart one. Hardware Automatic Trash Can Wemos D1 mini (ESP8266) 2N2222 transistor Implementation Here we use an ESP8266 to tap into the pins and emulate a physical button press. The ESP8266 uses a code as described in https://github.com/debsahu/SmartTrashCan to emulate a Wemo Switch, which is detected by Alexa/Echo device as a switch. GitHub: debsahu/SmartTrashCan Dependencies Library Link Use Wemo Switch Emulator Library https://github....

October 22, 2018 · Debashish Sahu

Using Gestures to Control Lights on Home-Assistant

Getting one’s hands on APDS9960 is very easy, that can be used to detect hand gestures. Here we use this sensor to control lights on Home Assistant based on a gesture observed on sensor. Software Libraries used: HARestAPI GitHub: debsahu/HARestAPI APDS9960 GitHub: SteveQuinn1/SparkFun_APDS-9960_Sensor_Arduino_Library SSD1306 OLED I2C GitHub: ThingPulse/esp8266-oled-ssd1306

July 21, 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

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

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