pagocs / esp32-rflinkmqttgateway

RFLINK MQTT gateway
MIT License
2 stars 2 forks source link

Filter doesn't work #2

Closed neutrino85 closed 1 year ago

neutrino85 commented 1 year ago

Hi, Thank you for all, i'm using your firmware with 2 rflink and domoticz. I have an issue with filter. I add "Astrell", in deviceignorelist[] but it filter out all the packets and nothing is published. Am I doing something wrong ?

const char* deviceignorelist[] = {
  // Example:
  // "SelectPlus3" , "Alecto V2" , "TriState" ,
  // "Warema" , "Drayton", "Keeloq" ,
  // "Auriol V2",
  "Astrell",
  // NULL
};

Packet i try to filter out : 20;6C;Astrell;ID=0414d8;SWITCH=K0;CMD=ALLOFF;

pagocs commented 1 year ago

Sorry for the late answer, but unfortunately I did not got any notification about your request.

About the issue, you need to uncomment the NULL also because that item indicates the end of the list.

neutrino85 commented 1 year ago

Seems to work great! Thanks!