/localbytes-plug-pm

An ESPHome firmware for the Localbytes smart plug

GNU General Public License v3.0GPL-3.0

About

This is an ESPHome firmware for the Localbytes smart plug, which is sold pre-loaded with tasmota. This firmware supports the original 10A plug and the upgraded 13A plug. You can buy these smart plugs here.

Features

  • Turn the switch on and off via home assistant or web interface
  • Disabled the LED by pressing and holding the button for 3 seconds (or toggle the option in home assistant/web interface)
  • Disable the physical button (i.e. child lock) by pressing and holding the button for 10 seconds (or toggle the option in home assistant/web interface)
  • Power monitoring via home assistant or web interface
  • Calibrate the power monitoring using a GUI via home assistant
  • See and alter the calibration data via home assistant
  • ESPHome dashboard import

Firmware File Too Big

As there isn't enough space left on the factory smart plugs to store new firmware while it is being flashed. You can try flashing the Tasmota minimal firmware first, before then building and flashing this project.

Calibration

Once you have built and flashed the new firmware onto your smart plug and connected it to home assistant, you may wish to calibrate your plug to improve it's accuracy. To calibrate your plug, you need another "known-good" smart plug or a calibration device.

Plug your new smart plug into the known-good smart plug, then plug a kettle, toaster, or other high-power appliance into it. From home assistant, go to Developer Tools > Services. Use the services calibrate_current, calibrate_power, and calibrate_voltage to report the real readings as given from the "known-good" device. (Don't forget to turn on the kettle/toaster and leave it to stabilize it's power usage for a moment before starting to copy the readings).