Hey guys,
I've noticed the same issue and it seems to me like there is a bug in the Vera Bridge plugin somewhere. Note the logs below. I've turned a light on via a zwave switch. At the next update Vera reports the state in its JSON response. The Vera Bridge plugin seems to get this information (note in the log it reports "Hall Light", staus "1"), but the state of the light is never updated in Vera (the interface still reports off, actions are not triggered etc.)
Later, when I turn the light off, the same thing happens (see the second log snippet). The plugin seem to see the update fine, but nothing is triggered.
I have noticed that if I request a status update ("Send Status Request"), that when the plugin requests the full update, it seems to catch the changes at that point.
One shot in the dark... Is the plugin looking at the "state" variable or the "status" variable? From reading through the Vera wiki, it looks like it should be looking at status, but it seems like maybe the plugin is using state instead?
Is the code for the plugin available somewhere? I'd be happy to do some debugging if it is...
Thanks
After light turned on:
- Code: Select all
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503210
Vera Bridge Debug vera thread: _update: partial deviceInfo:
{u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'19', u'state': u'-1', u'id': u'83', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: partial deviceInfo:
{u'comment': u'', u'status': u'1', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: ending at 12:10:33
Vera Bridge Debug runConcurrentThread: processing update: {'device': {u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'19', u'state': u'-1', u'id': u'83', u'subcategory': u'0'}, 'updateType': 'updateDevice'}
Vera Bridge Debug processUpdate called
Vera Bridge Debug vera thread: _update: starting at 12:10:36
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503228
Vera Bridge Debug vera thread: _update: ending at 12:10:37
Vera Bridge Debug runConcurrentThread: processing update: {'device': {u'comment': u'', u'status': u'1', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}, 'updateType': 'updateDevice'}
Vera Bridge Debug processUpdate called
Vera Bridge Debug processUpdate: found device (Hall Light) updating: {u'comment': u'', u'status': u'1', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: starting at 12:10:40
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503228
Vera Bridge Debug vera thread: _update: ending at 12:10:40
Vera Bridge Debug vera thread: _update: starting at 12:10:43
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503228
Vera Bridge Debug vera thread: _update: ending at 12:10:43
After light turned off:
- Code: Select all
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503251
Vera Bridge Debug vera thread: _update: partial deviceInfo:
{u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'19', u'state': u'-1', u'id': u'83', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: partial deviceInfo:
{u'status': u'0', u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: ending at 12:14:54
Vera Bridge Debug runConcurrentThread: processing update: {'device': {u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'19', u'state': u'-1', u'id': u'83', u'subcategory': u'0'}, 'updateType': 'updateDevice'}
Vera Bridge Debug processUpdate called
Vera Bridge Debug vera thread: _update: starting at 12:14:57
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503269
Vera Bridge Debug vera thread: _update: ending at 12:14:57
Vera Bridge Debug runConcurrentThread: processing update: {'device': {u'status': u'0', u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}, 'updateType': 'updateDevice'}
Vera Bridge Debug processUpdate called
Vera Bridge Debug processUpdate: found device (Hall Light) updating: {u'status': u'0', u'comment': u'', u'room': u'0', u'parent': u'1', u'altid': u'20', u'state': u'-1', u'id': u'81', u'subcategory': u'0'}
Vera Bridge Debug vera thread: _update: starting at 12:15:00
Vera Bridge Debug vera thread: _update: url: http://10.0.0.13:3480//data_request?id=lu_sdata&output_format=json&loadtime=1433142032&dataversion=143503269
Vera Bridge Debug vera thread: _update: ending at 12:15:00
From full status request
- Code: Select all
Vera Bridge Debug runConcurrentThread: processing update: {'device': {u'category': 3, u'status': u'1', u'room': 0, u'parent': 1, u'altid': u'20', u'comment': u'Hall Light: Transmit was ok', u'name': u'Hall Light', u'state': 4, u'id': 81, u'subcategory': 0}, 'updateType': 'updateDevice'}
Vera Bridge Debug processUpdate called
Vera Bridge Debug processUpdate: found device (Hall Light) updating: {u'category': 3, u'status': u'1', u'room': 0, u'parent': 1, u'altid': u'20', u'comment': u'Hall Light: Transmit was ok', u'name': u'Hall Light', u'state': 4, u'id': 81, u'subcategory': 0}
Trigger Hall Lights Come On
Sent INSTEON "Bathroom Hall KPL" keypad button 3 on