1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.5k stars 775 forks source link

Filter 433 commands so that not all are published to MQTT. #568

Open wimpie007 opened 4 years ago

wimpie007 commented 4 years ago

I get a lot of 'rubbisch' 433 commands on my gateway. Polution you might call it. All these events are published to MQTT, wich leads to a lot of activity in my nodered/ HA-automations wich actually do nothing. Also, for this reason, HA-autodiscovery is unusable: i used it a week, and got HUNDREDS of unused switches in HA.

Describe the solution you'd like a filter-mechanism. (whitelist for example protocol-length(s). 24 would - in my case - work in almost all cases)

Describe alternatives you've considered dirty-hack the code myself. :) You don't like that!:)

1technophile commented 4 years ago

Indeed we could replicate the mechanism used for white & black list management of BLE devices

jumika commented 3 years ago

+1 for this. My mqtt boker is flooded with all the unknown 433mhz device signals.