Hicorbin wrote:Is anyone using the "no_motion" updates? I could just ignore any messages that are not the 2 minute of no motion update:only other way I can think of to ensure "off" for the PIR is only sent once is to query the database for the current state each time a "no_motion" message is received.Code: Select all
"data":"{\"no_motion\":\"120\"}"}
this probleme isn't related to the PIR probleme that i contact you by PM, that another one, yeap it looks like the same, probleme : heartbeat change device status even if this is the same as previous one.
THere is a small difference between Update device status and change device status :
Update device status : update database but isn't use by event system to trigger blocky, lua, groupe or scene
Change device status : update device status on database an is used by event system to trigger blocky or Lua or Groupe or scene
I hoep this help you to understand the probleme.