# Issue in node-red-contrib-zwave-js 6.3.0 / event-filter node

**URL:** <https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140>\
**Category:** General\
**Created:** [22 November 2021 22:18 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140 "2021-11-22T22:18:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francky](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@Francky](https://discourse.nodered.org/u/Francky)\
**Post date:** [22 November 2021 22:18 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/1 "2021-11-22T22:18:06Z")

</div>

Hello,  
at first, many thanks for this great node for managing a zwave network!

I have migrated form openwave to zwave js and realy appreciate the new performance and also the capability to manage ZW network directly form NR UI !  
However i found an issue on how the event filter node works. I need to do a strict filter by check "strict" flag in a rule but this change nothing about the event filter node behavior, endpoint value is never taken into account. I tooke a look in the code and made a correction into. The corrected code is attached (see at lines 39, 91, 96, 104 and 117).  
Hope this is correct 🙂[event-filter.js.txt](https://discourse.nodered.org/uploads/short-url/7upf8Xhm6wgTSZofFUDIMlvnF5H.txt) (2.7 KB)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [24 November 2021 12:08 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/2 "2021-11-24T12:08:03Z")

</div>

@Francky

Many thanks for looking at this.  
I will review shortly and look to implement the fix in my 6.4.0 branch.

once again - thank you

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [24 November 2021 12:13 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/3 "2021-11-24T12:13:08Z")

</div>

@Francky

Nice!

didn't spot that - asking for strict on the nodes config as apposed to the rule.  
I am working on 6.4.0, so will get this fix in there - Once again Thank you.

I am waiting for a replacement dev computer (i pushed the old one to its limit)  
once its here, I'll release 6.4.0. 👍

---

<div class="post-metadata">

**Author:** ![Francky](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@Francky](https://discourse.nodered.org/u/Francky)\
**Post date:** [24 November 2021 19:24 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/4 "2021-11-24T19:24:16Z")

</div>

Perfect !  
Having strict parameter per rule is realy the better solution !  
Have fun with your new PC 😉  
Thank you for this futur release 🙂

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [24 November 2021 19:54 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/5 "2021-11-24T19:54:34Z")

</div>

Yup, the strict flag is designed per rule, but for some crazy reason, I was trying to get at it, on the config object. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 January 2022 19:55 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140/6 "2022-01-23T19:55:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
