otaviojr / node-red-contrib-smartthings

Allows you to control your devices and get their status using NodeRed
MIT License
32 stars 16 forks source link

node multiple messages/updates for single status change (restarting Node-red resets the count) #56

Open antonio1000homens opened 3 years ago

antonio1000homens commented 3 years ago

I'm finding the node generates a bunch of status updates for a single status change in the device, until I restart node-red which brings it down to one I'm at a point now that I get 5 messages for each change, I needed to put a RBE module to stop it triggering the flows

did anyone come across this? Reproduced with a SWITCH and a CONTACT CLOSURE nodes

Tontze commented 3 years ago

Using RBE also for same reason.

antonio1000homens commented 3 years ago

Ok so not just me.. it must keep some sort of state as it only responds to switch commands if alter that state.. however i suspect everyrime this happens it stores it anither instance of the device?

Could this cause some nemory leak?