Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hope I did this correctly.
There should be only 2 files.
I need a few people to test the update Owfs_Item before merging to the master branch.
The new Owfs_Item uses a Socket_Item to connect to the owserver instead of a direct socket connection. This has the advantage of avoiding any stalls in the MH main loop.
Another major change is the fact the "state" information is now properly stored in the base Generic_Item. This wasn't the case before.
Another major change is the state for PIO, LATCH, and SENSE has changed from 0/1 to ON/OFF.
If using a raw Owfs_Item, doing a ->get( ) will not return the state, but instead request a fetch of the state. The updated state will be available by ->state( ).