Repository navigation
Optional local broker for commands and live updates (0.4.16) - #4
Merged
Merged
Conversation
EphEmber(local_broker={...}) sends commands and listens for reports
through a broker on the LAN that the gateway connects to, instead of the
Ember cloud. The cloud is still used to log in and list the zones; the
user ID falls back to the cached one so commands work while it is down.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <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.
Adds an optional
local_brokersetting toEphEmber. Commands and live updates then go through an MQTT broker on your own network that the gateway connects to, instead of the Ember cloud.eu-base-mqtt.topband-cloud.com:11883. Redirect that name to your broker, for the gateway only, and this library publishes the samedownload/pointdatacommands there.EphEmber(..., local_broker={'host', 'port'=11883, 'username', 'password', 'tls'}).docs/local-broker.mdis a setup guide: example mosquitto config, an optional bridge to the cloud so the Ember app keeps working, and redirecting the gateway with AdGuard Home.Tested live on an EMBER-PS: a command through the local broker was confirmed by the gateway in 0.46 s, against about 12 s through the cloud. 53 tests pass, 4 of them new.
The EMBER-TS1/TS2/PS2/RS support (
system-types) is not included. It's still waiting for testers (#3).🤖 Generated with Claude Code