Duplicate event notifications in SmartApps


(www.rboyapps.com - Make your home your butler!) #1

This is something I’ve noticed recently, the platform is sending multiple event notifications to SmartApps even when the event value hasn’t changed and isStateChanged is not set to true. Ideally it should not be doing that right? It should filter our duplicate events unless the app subscribing to the event has set filterEvents to false.

@erocm1231 I noticed you saw something similar also


(Eric M) #2

Yes, I got a complaint about duplicate events being sent for a contact sensor recently. I’m pretty sure this only recently started popping up. According to the documentation and how the system has worked for some time:

It is supposed to work as you describe. Only events where the state is changed are to be propagated through the system unless the event is created with the “isStateChange” attribute set to true (which is necessary in some cases like a button device).


Lighting Dimmer Devices: Showing ON/OFF Commands 2X Each In Events List
(www.rboyapps.com - Make your home your butler!) #3

Yep this started recently as I’m getting reports to double notifications from various users. Some locks like the Kwikset send two notifications, the (stock) ST DH processes these notifications and reports 2 events (both locked), the SmartApp till now only used to get 1 report. Now it’s started getting 2 event notifications hence the SmartApps are notifying the users twice.

@slagle can you please pass this on, it’s very easy to replicate


(www.rboyapps.com - Make your home your butler!) #4

Any word on this ? Why did the platform behavior change?


(John C) #5

This behavior seems like something I’ve seen on other devices, too. Hopefully, someone at ST will respond. (I recently asked an API question & hoped someone would notice that question, too :roll_eyes:)


(www.rboyapps.com - Make your home your butler!) #6

Hoping to hear from ST, as @erocm1231 pointed out, the platform should deliver only a single notification per event state change unless the isStateChange is specified as true.


(Ron Talley) #7

Having this issue as well.


(www.rboyapps.com - Make your home your butler!) #8

It used to work fine till recently, I wonder what changed.


(DEW) #9

I’m having the same issue here, too.


(www.rboyapps.com - Make your home your butler!) #10

Started today?