xaviml / controllerx

Create controller-based automations with ease to control your home devices and scenes.
https://xaviml.github.io/controllerx/
MIT License
334 stars 67 forks source link

[FEATURE REQUEST] ControllerX does not "selective" subscribe to topics. #1020

Open SergioRius opened 2 months ago

SergioRius commented 2 months ago

Feature Request

Is your feature request related to a problem?

Maybe.

Describe the solution / feature you'd like

ControllerX does not make use of the Appdaemon subscribe service call. So Appdaemon can't benefit of setting the Mqtt client_topics plugin parameter to none for not to be listening on #. I have a mild to medium traffic on my Mqtt broker and setting that option produces an instant reduction of the load of the machine in more than 5%.

Note: Automoli does use service call subscriptions, as it continues to work when client_topics is set to NONE. ControllerX stops working.

Additional context

image