Skip to content

Firmware for my board named ESP8266MCU12, based on ESP8266 microcontroller. This device use a PZEM-004T board as power meter device and use MQTT protocol to send data to OpenHAB Smart Home Automation System.

License

Notifications You must be signed in to change notification settings

domoticsduino/smarthome-fw-esp8266-pzem-power-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smarthome firmware for ESP8266 - PZEM Power Meter

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

This device use a PZEM-004T board as power meter device 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
  • ddpzem004t

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 ESP8266MCU12, based on ESP8266 microcontroller. This device use a PZEM-004T board as power meter device and use MQTT protocol to send data to OpenHAB Smart Home Automation System.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published