Great question.
To run owhttpd, you could use pretty much the same parameters:
/opt/owfs/bin/owhttpd -u -p 4444
But not at the same time -- only one program can use the USB adapter at a
time.
To run both simultaneously, you need owserver:
/opt/owfs/bin/owserver -u -p 4304
/opt/owfs/bin/owfs --allow_other -s 4304 -m /mnt/1-wire/
/opt/owfs/bin/owhttpd -s 4304 -p 4444
(Actually the 4304 is the default and could be omitted and the 4444 is an
arbitrary port above the privileged boundary)
This way owserver does all the communication with the USB bus master, and
the other programs talk to owserver.
Paul Alfille
On Wed, Oct 17, 2012 at 10:49 AM, Chris Green <c...@isbd.net> wrote:
> I currently run a simple owfs command to see some 1-wire values:-
>
> /opt/owfs/bin/owfs --allow_other -u -m /mnt/1-wire/
>
> Do I just run owhttpd with similar (same?) parameters to show the values
> on the web? (I know I need to add a port number to avoid clashing with
> apache on port 80)
>
> Does owhttpd need owfs, or clash with it, or what?
>
> --
> Chris Green
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers