Skip to content

domoticsduino/smarthome-fw-esp8266-mq4-gas-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smarthome firmware for ESP8266 - MQ-4 Gas Sensor

Firmware for my board named ESP8266MCU11, based on ESP8266 microcontroller.

This device use a MQ-4 gas sensor and use MQTT protocol to send data to OpenHAB Smart Home Automation System.

Built with platformio (https://platformio.org) and visual studio code (https://code.visualstudio.com)

Depends on the following dd libraries:

  • ddcommon
  • ddwifi
  • ddmqtt
  • ddmq4

Compile & Build

To build your firmware bin file:

  • clone this repository with the --recursive flag to checkout dd-libraries
  • rename file include/user-config-template.h in include/user-config.h
  • set your WIFI and MQTT settings in file include/user-config.h

Firmware file will be in .pio/build/esp12e/firmware.bin

OTA / WebServer support

To upload using OTA, open http://ip-device/update on a browser and point to the firmware *.bin file

Open http://ip-device to get sensor state and device info in your browser

Branches

  • main contains work in progress commits - NOT STABLE branch
  • master contains STABLE commits and releases

Credits

About

Firmware for my board named ESP8266MCU11, based on ESP8266 microcontroller. This device use a MQ-4 gas sensor and use MQTT protocol to send data to OpenHAB Smart Home Automation System.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published