Hi,
I have no python exposure, but I think I got it.
Think in layers.
Layer0 is the hw.
Layer1 is owserver, the -u means it will access the usb device directly
In Layer2 you have several components side by side.
- owfs will create the filesystem representation. -s serverIP:4304
causes it to access owserver, not the hw directly
- owhttpd will do the web interface, it will connect to owserver too,
see param -s serverIP:4304
- and then you are using owpython. But the u is causing it to talk to
the hw directly. As the hardware does not allow shared access, this kicks
owserver out. I do not know the syntax, but you should make owpython access
owserver on port 4303 too.
Vajk
On Mon, Dec 9, 2013 at 3:20 AM, Top-Dog <sean.ocon...@taitradio.com> wrote:
> Thanks, I think I have some understanding about how this works now, but I
> still can't make it work for me. I still have the same original problem
> where if I want to do something like sensor.type or
> ow.Sensor("/").sensorList() I need to have the USB device initialised
> (inside of python) and the only way to do it is with ow.init('u') which
> then
> causes the virtual file system to disappear so that when I try and look for
> devices online I can't see them. This is my setup (I've also tried removing
> -u when setting up owserver):
>
> #sudo /opt/owfs/bin/owserver -p 4304 --nozero -u
> #sudo /opt/owfs/bin/owfs -s serverIP:4304 -m /root/1-wire-EEPROM
> #sudo /opt/owfs/bin/owhttpd -p 3001 -s serverIP:4304 --error_level=3
>
> Can you point me to a working example so that I can see how the whole setup
> is done and how it works? Also, how do the alias' work? I can change the
> alias in my web browser via owhttpd, but it doesn't seem to change anywhere
> else?
>
>
>
> --
> View this message in context:
> http://owfs-developers.1086194.n5.nabble.com/Diagnosing-disappearing-devices-adapters-tp10045p10068.html
> Sent from the OWFS Developers mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers