All Projects → bruhautomation → Esp Mqtt Json Multisensor

bruhautomation / Esp Mqtt Json Multisensor

Licence: apache-2.0
(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!

Projects that are alternatives of or similar to Esp Mqtt Json Multisensor

Esp Mqtt Json Digital Leds
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
Stars: ✭ 503 (+55.73%)
Mutual labels:  json, led, nodemcu, mqtt, esp8266
Hugo Esp8266
Hugo is a 4-button ESP8266 Wi-Fi Remote, Arduino compatible and simple to use.
Stars: ✭ 77 (-76.16%)
Mutual labels:  homeassistant, diy, mqtt, esp8266
swifitch-software
Software for SWIFITCH HW
Stars: ✭ 12 (-96.28%)
Mutual labels:  mqtt, esp8266, nodemcu, wifi
Ailight
AiLight is a custom firmware for the esp8266 based Ai-Thinker (or equivalent) RGBW WiFi light bulbs
Stars: ✭ 248 (-23.22%)
Mutual labels:  led, mqtt, esp8266, light
Esphelper
A library to make using WiFi & MQTT on the ESP8266 easy.
Stars: ✭ 310 (-4.02%)
Mutual labels:  mqtt, esp8266, wifi, ota
Hass Yaap
Yet another alarm (control) panel for Home Assistant.
Stars: ✭ 44 (-86.38%)
Mutual labels:  homeassistant, mqtt, esp8266
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (-58.82%)
Mutual labels:  homeassistant, mqtt, esp8266
Ems Esp
ESP8266 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
Stars: ✭ 226 (-30.03%)
Mutual labels:  homeassistant, mqtt, esp8266
ESP8266-MQTT-JSON-Lights
ESP8266 MQTT JSON Lights. Supports brightness, effects, speed and OTA uploads. Works with MQTT JSON and Home Assistant
Stars: ✭ 27 (-91.64%)
Mutual labels:  light, nodemcu, led
Esp8266 Wifi Relay
simple sketch of using ESP8266WebServer to switch relays on GPIO pins. It serves a simple website with toggle buttons for each relay
Stars: ✭ 13 (-95.98%)
Mutual labels:  json, esp8266, wifi
Esp Mqtt Rgb Led
MQTT RGB LEDs Using JSON for Home Assistant
Stars: ✭ 241 (-25.39%)
Mutual labels:  homeassistant, mqtt, esp8266
pcb-ws2812-wifi-controller
WiFi Controller for WS2812 LED Stripes
Stars: ✭ 48 (-85.14%)
Mutual labels:  esp8266, led, diy
Smarthome
SmartHome: firmware per ESP8266 - Casa domotica
Stars: ✭ 28 (-91.33%)
Mutual labels:  homeassistant, mqtt, esp8266
Haswitchplate
LCD touchscreen for Home Automation
Stars: ✭ 666 (+106.19%)
Mutual labels:  homeassistant, mqtt, esp8266
Sonoff Homeassistant
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
Stars: ✭ 354 (+9.6%)
Mutual labels:  homeassistant, mqtt, esp8266
ioTank
Indoor environment monitor based on Esp8266
Stars: ✭ 15 (-95.36%)
Mutual labels:  nodemcu, wifi, temperature
Awesome Home Assistant
A curated list of amazingly awesome Home Assistant resources.
Stars: ✭ 3,487 (+979.57%)
Mutual labels:  homeassistant, diy, mqtt
Spore
Spore WiFi LED module. Firmware and Hardware.
Stars: ✭ 19 (-94.12%)
Mutual labels:  esp8266, wifi, led
Cicada-FW
IoT Communications Module for Energy Access. An easy way to get production ready, bi-directional communications for your IoT embedded device. Proiect supported by the EnAccess Foundation - https://enaccess.org
Stars: ✭ 12 (-96.28%)
Mutual labels:  mqtt, esp8266, wifi
SuperLEDstrip
No description or website provided.
Stars: ✭ 13 (-95.98%)
Mutual labels:  mqtt, esp8266, led

ESP MQTT JSON Multisensor

This project shows a super easy way to get started with your own DIY Multisensor to use with Home Assistant, a sick, open-source Home Automation platform that can do just about anything.

Bonus, this project requires no soldering and no breadboards - just header wires and the development board!

Video Tutorial - https://youtu.be/jpjfVc-9IrQ

The code covered in this repository utilizies Home Assistant's MQTT JSON Light Component, MQTT Sensor Component, and a NodeMCU ESP8266 development board.

Supported Features Include

  • DHT22 temperature sensor
  • DHT22 humidity sensor
  • AM312 PIR motion sensor
  • photoresistor or TEMT600 light sensor
  • RGB led with support for color, flash, fade, and transition
  • Over-the-Air (OTA) upload from the ArduinoIDE

OTA Uploading

This code also supports remote uploading to the ESP8266 using Arduino's OTA library. To utilize this, you'll need to first upload the sketch using the traditional USB method. However, if you need to update your code after that, your WIFI-connected ESP chip should show up as an option under Tools -> Port -> Porch at your.ip.address.xxx. More information on OTA uploading can be found here. Note: You cannot access the serial monitor over WIFI at this point.

Parts List

Amazon Prime (fast shipping)

Aliexpress (long shipping = cheap prices)

Wiring Diagram

alt text

3D Printed Enclosure

In an effort to make the sensor less ugly, I designed an enclosure in 123D Design and uploaded the STL file in case you want to print your own. It's also availible on Thingiverse. I printed mine on a Prusa I3 clone with a layer height of 0.2 mm, 40% infill, and no supports in ESUN PLA and it turned out great.

Alternatively, you can also make your own enclosure by hand using something like Instamorph. It's themoplastic that melts in hot water and then solidifies to hard plastic at room temperature. You can even get pigment packs and take it next level. I, personally, suck at using it, but it's cheap and functional.

Of course, you can use a project box, tupperware, a card board box, or skip the enclosure all together.

alt text

UPDATED 10 JUN 2017

I added a second version of my enclosure that moves the DHT22 sensor outside the case, removes the standoff for the LDR sensor, and adds a pocket for the LED. This should reduce most of the high temperatures being reported by the board and the removal of the standoff allows you to use either the TEMT600 sensor or photoresistor module. A dab of hot glue can help hold everything in place until you can snap the case together.

A few people have reported that the floating PIR sensor issue is back. If it happens, wrap the PIR module in electrical tape, then aluminum foil, and then electrical tape again. Using the tape will make sure you don't short anything out with the foil on either the module or other components in the system.

Home Assistant Service Examples

Besides using the card in Home Assistant's user interface, you can also use the Services tool to control the light using the light.turn_on and light.turn_off services. This will let you play with the parameters you can call later in automations or scripts.

Fade the Light On Over 5 Seconds - light.turn_on

{"entity_id":"light.sn1_led",
"brightness":150,
"color_name":"blue",
"transition":"5"
}

Flash The Light - light.turn_on

{"entity_id":"light.sn1_led",
"color_name":"green",
"brightness":255,
"flash":"short"
}

Fade the Light Off Over 5 Seconds - light.turn_off

{"entity_id":"light.sn1_led",
"transition":"5"
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].