Repository navigation
Ship the full Plug Mini hardware profile in the first-install image - #3
Merged
Merged
Conversation
A converted plug now reports power, voltage, current and energy as soon as it joins Wi-Fi, so no second flash is needed before it is useful. - plug-mini.yaml: the hardware as one public package (relay output with a restart latch, button, both LEDs, BL0937 with calibration and range checks, lifetime and daily energy, chip temperature). Raw readings stay internal at 2 s; Home Assistant gets rate-limited copies. - sbplug-common.yaml includes it and adds the bootstrap defaults, the ESPHome project info and dashboard_import, so the plug can be adopted. - addon-ble-proxy.yaml: optional Bluetooth proxy, not in any payload. - Version 0.4.0, README and CHANGELOG. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A converted plug now reports power, voltage, current and energy as soon as it joins Wi-Fi. No second flash is needed before it is useful.
What changed
firmware/esphome/plug-mini.yaml(new): the plug's hardware as one public package. Relay output with a restart latch, button, both LEDs, BL0937 power monitoring with calibration and range checks, lifetime and daily energy, chip temperature. No Wi-Fi, API, OTA, names or secrets.sbplug-common.yamlincludes the hardware package and adds the bootstrap defaults: the "Relay" switch, the button scripts, an sntp time source, and the ESPHome project info anddashboard_importso Device Builder and Home Assistant offer Adopt.firmware/esphome/addon-ble-proxy.yaml(new): an optional Bluetooth proxy to add over OTA. It is not in any payload.Checked
switchback firmware --firmware-dirpasses on the built images.Not yet tested
No real plug has been converted with these images. The Adopt link points at the
v0.4.0tag, so it works only once that tag exists.🤖 Generated with Claude Code