freedomotic/freedomotic — pull request #6 by enriconicoletti (2014-03-29 10:09:35+00:00)
Title: Core-165: Change environment objects status only when a reply or sensor ...

Now object status is updated only when a executed=true plugin's reply is received. This default behavior can be turned off adding adding a 'send-and-forget=true' property in the command.

EXAMPLE: Before this change
Time Action
0sec Turn on livingroom light
+1sec Zway plugins receves the command and starts execution
+1sec Freedomotic updates the object status and changes the icon

EXAMPLE: With this change
Time Action
0sec Turn on livingroom light
+1sec Zway plugins receves the command and starts execution
+3sec Zway replies to freedomotic the command is executed succesfully
+4sec Freedomotic updates the object status and changes the icon

Default plugin's reply timeout is 10 seconds if a custom value is not set in the command