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
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
Feature Description Enhance the new owserver add-on to support 1-wire addressable switches 2. Example Use Case Maxim DS2408 (8 channel) and DS2413 (dual channel) 1-wire chips are often used to control relays in home automation projects. For example I have a Hobby Boards 8 channel I/O board controlling relays for central heating zone valves. This enhancement would allow openHAB to be able to easily switch on/off relays etc. Other uses might be in garden controls (sprinklers, greenhouse vents etc), weather stations (where 1-wire is very popular), etc.
Notes:
You can retrieve the current state from PIOLogicState (1 is off, don't ask me why!) from the existing owserver add-on but the trouble is there's no HTTP command to set/toggle a single channel/bit (though I have requested it via EDS support and it may come eventually). In openHAB I think what I'd want is to be able to define a binding for a specific channel (use case: bathroom heating) to allow it to be switched on/off.
I think the binding string might be like { owserver="<owserver-name:0D0010000021AF7E:PIO:3" } and you would set the value to 0 or 1. openHAB would then issue something like http:///devices.htm?rom=0D0010000021AF7E&variable=PIOOutputLatchState&value=nnn (where nnn is the current value ORed with 2^channel etc).
I don't really understand the rules for binding strings but if it is heading in the right direction I could have a look into coding it sometime.
NB: this feature request is about the owserver add-on for the EDS 1-wire devices and nothing to do with owserver in the OWFS package.
From Sim...@veriton.co.uk on September 09, 2013 23:26:38
Notes:
You can retrieve the current state from PIOLogicState (1 is off, don't ask me why!) from the existing owserver add-on but the trouble is there's no HTTP command to set/toggle a single channel/bit (though I have requested it via EDS support and it may come eventually). In openHAB I think what I'd want is to be able to define a binding for a specific channel (use case: bathroom heating) to allow it to be switched on/off.
I think the binding string might be like { owserver="<owserver-name:0D0010000021AF7E:PIO:3" } and you would set the value to 0 or 1. openHAB would then issue something like http:///devices.htm?rom=0D0010000021AF7E&variable=PIOOutputLatchState&value=nnn (where nnn is the current value ORed with 2^channel etc).
I don't really understand the rules for binding strings but if it is heading in the right direction I could have a look into coding it sometime.
NB: this feature request is about the owserver add-on for the EDS 1-wire devices and nothing to do with owserver in the OWFS package.
Original issue: http://code.google.com/p/openhab/issues/detail?id=438
The text was updated successfully, but these errors were encountered: