You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@peloy discovered a very unique bug. At multiple points in the code, MH checks to see if the state being set is equal to the device's current state, if so, the set command is ignored. However, in the unique case in which multiple set commands are issued in the same pass, the current code doesn't work as expected. This is because the state of a device is not actually updated until the start of the next pass.
I have found the issue in at least the following locations:
The AllLink Cleanup/Direct Logic in BaseInsteon at Line 725
The MotionSensor _Process_Message logic. (I am already re-writing this class, so I will attack this issue there)
The text was updated successfully, but these errors were encountered:
krkeegan
added a commit
to krkeegan/misterhouse
that referenced
this issue
May 17, 2013
…me Pass
Fixes the issue found by @peloy in which multiple set messages could be called in one pass. By checking state_final, this ensures that the subsequent messages are deferred as expected.
Partially fixeshollie#185
krkeegan
added a commit
to krkeegan/misterhouse
that referenced
this issue
May 17, 2013
…ages
Issue discovered by @peloy. MH should be ignoring the cleanup message received after an AllLink message. However, both messages were previously processed if they were received in the same pass. This resolves that discrepancy by checking what the state of the object will be at the start of the next pass.
Partially fixeshollie#185
@peloy discovered a very unique bug. At multiple points in the code, MH checks to see if the state being set is equal to the device's current state, if so, the set command is ignored. However, in the unique case in which multiple set commands are issued in the same pass, the current code doesn't work as expected. This is because the state of a device is not actually updated until the start of the next pass.
I have found the issue in at least the following locations:
The text was updated successfully, but these errors were encountered: