mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#952
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/185
Author: @maziggy
Created: 1/30/2026
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @maziggy
Base:
0.1.6-final← Head:feature/173📝 Commits (4)
00e3478Add MQTT smart plug support for energy monitoring (Issue #173)04f4dccEnhanced MQTT support with separate topics and multipliers (#173)140087eMake MQTT JSON path optional for smart plug monitoring (#173)a965afaMerge branch '0.1.6-final' into feature/173📊 Changes
24 files changed (+2211 additions, -9796 deletions)
View changed files
📝
CHANGELOG.md(+11 -53)📝
README.md(+2 -1)📝
backend/app/api/routes/archives.py(+15 -3)📝
backend/app/api/routes/settings.py(+57 -1)📝
backend/app/api/routes/smart_plugs.py(+171 -1)📝
backend/app/core/database.py(+40 -92)📝
backend/app/main.py(+34 -1)📝
backend/app/models/smart_plug.py(+33 -6)📝
backend/app/schemas/smart_plug.py(+52 -2)📝
backend/app/services/mqtt_relay.py(+32 -1)➕
backend/app/services/mqtt_smart_plug.py(+488 -0)📝
backend/tests/conftest.py(+34 -0)📝
backend/tests/integration/test_smart_plugs_api.py(+191 -136)📝
frontend/src/__tests__/components/SmartPlugCard.test.tsx(+88 -0)📝
frontend/src/api/client.ts(+50 -3)📝
frontend/src/components/AddSmartPlugModal.tsx(+290 -177)📝
frontend/src/components/SmartPlugCard.tsx(+122 -150)📝
frontend/src/components/SwitchbarPopover.tsx(+57 -64)📝
frontend/src/pages/SettingsPage.tsx(+10 -6)📝
static/assets/index-BJQC4Kk-.js(+431 -431)...and 4 more files
📄 Description
Add support for MQTT-based smart plugs that subscribe to external MQTT topics and extract power/energy data from JSON payloads. This enables integration with Zigbee2MQTT, Shelly, Tasmota discovery, and other MQTT-enabled energy monitoring devices.
Features:
Closes #173
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.