domoticz_mqtt_discovery icon indicating copy to clipboard operation
domoticz_mqtt_discovery copied to clipboard

"Ignored device topics" is too imprecise

Open dogtopus opened this issue 4 years ago • 1 comments

  • An empty string between commas (e.g. topic1,,topic2) blacklists all topics, causing the plugin to ignore everything it saw.
  • Generic stuff (e.g. t) massively blacklist topics that it likely shouldn't block (e.g. tele/*, tasmota/*, etc.)

My suggesstion would be switching to fnmatch or regexp against the full topic names instead of just doing naive prefix matching.

dogtopus avatar Feb 03 '21 03:02 dogtopus

Pull requests are welcome :)

altserg avatar Dec 16 '21 11:12 altserg