more G-Labs products

Author Topic: Log events show 2 evants for all Switch commands.  (Read 1133 times)

January 05, 2015, 12:51:33 PM
Read 1133 times

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
When we action ON/OFF on a Zwave switchs we get 2 events log. And in the History log table of bkenobi we can see that 2 events so.

January 05, 2015, 05:19:12 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi dani,

this is normal if you configured the z-wave node to report status when it changes.
You can find more detailed informations about what happen by looking at the SPI console output.

Cheers,
g.

January 05, 2015, 05:28:17 PM
Reply #2

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Some X10 devices will report their status which can be used to validate a command was received and executed.  It sounds like zwave uses a similar strategy.  X10 has no way to know if this is a status unfortunately (though it's not much of an issue since almost no modules actually report status).  Perhaps there is a way to tell the difference in zwave and the HG activity log could indicate something (command, status, etc).

January 05, 2015, 05:34:29 PM
Reply #3

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Yes, with z-wave you know the real source of the event since it's a "report" type message. But this ends up changing the same parameter (Status.Level). The only way to know what was behind the change in HG is by looking at the console output (that is a detailed log), so you'll find out if it was an web api command or a protocol report to fire the Status.Level event.

g.