Code: Select all
self.controller.devices.on('change:metrics:level', self.handleDevUpdates);
Code: Select all
[2015-01-05 21:51:36.811] [I] [zway] Adding job: SwitchBinary Set
[2015-01-05 21:51:36.812] [I] [zway] Adding job: SwitchBinary Get
[2015-01-05 21:51:36.840] [I] [zway] Job 0x13 (SwitchBinary Set): Delivered
[2015-01-05 21:51:36.842] [I] [zway] Removing job: SwitchBinary Set
[2015-01-05 21:51:36.849] [I] [core] IHouseEventForwarder: Device update {"creatorId":4,"deviceType":"switchBinary","id":"ZWayVDev_zway_2-6-37","location":null,"metrics":{"icon":"switch","title":"Switch 2-6","level":"on"},"permanently_hidden":false,"tags":[],"updateTime":1420494696}
[2015-01-05 21:51:36.927] [I] [zway] Job 0x13 (SwitchBinary Get): Delivered
[2015-01-05 21:51:36.928] [I] [zway] Removing job: SwitchBinary Get
[2015-01-05 21:51:36.958] [I] [core] IHouseEventForwarder: Device update {"creatorId":4,"deviceType":"switchBinary","id":"ZWayVDev_zway_2-6-37","location":null,"metrics":{"icon":"switch","title":"Switch 2-6","level":"off"},"permanently_hidden":false,"tags":[],"updateTime":1420494696}