I'm not sure why you have problems with the HA7Net. At least with the
current owfs.

I didn't try the python interface, but straight owserver and owread/owdir
seem to have no problems after extensive testing.

Specifically:
Auto discovery works.
Directory listings (up to about 20 devices)
Read and write all work.

Closing and reopening works.

The HA7Net closes its connections automatically. There is some software
locking (which we don't use) but even that has a timeout included.

Note, EDS has a another network bus master, the OW-SERVER-ENET (I know,
there is a minor name collision with our owserver program). They has just
released a firmware upgrade and the next version (currently in the CVS) of
owfs will support that device as a generic bus master.

For those unfamiliar with ethernet bus masters, the choices are:

1. LinkHub-E: iButtonLink Link-based bus master that uses the LINK protocol
(accessible via telnet). Behaves like an Xport bound to a serial LINK. (The
LINK uses a simple ascii protocol to access the 1-wire bus).

2. HA7Net: From EDS. Web-based bus master access that we use html-parsing to
access.

3. OW-SERVER-ENET: From EDS. Primary access is HTML (or AJAX) based push and
constant polling of select devices (temperature sensors are well
represented). They recently added a telnet channel and implemented an ascii
protocol (similar to their HA5 protocol) that allows use a a generic bus
master. The cheapest alternative currently).

4. Xport coupled with a serial device. Not easy to get all the settings and
remote serial access right.

5. Embedded computer (like the NSLU2, Dockstar, Sheevaplug, WRT54L, ...)
with a serial or USB bus master and owserver running on it. This also allows
more complex control and reporting and data storage.


On Fri, Sep 17, 2010 at 1:59 AM, Joshua J. Kugler <[email protected]>wrote:

> Howdy!
>
> So, as I continue my experimentation, I am fiddling with an HA7Net
> device. Not my first choice, but the USB interface is on the fritz at
> the moment, so while I'm waiting for a new one, I'll use this.
>
> So, I figured out the init commands, but have an odd problem.  The first
> time I run it I get this nice output:
>
>  ./tree.py --ha7net=192.168.1.131:80
>
>  HA7Net - /
> DS18S20 - /10.20C9F9010800
> DS18S20 - /10.7DC8DF010800
>  DS2417 - /27.F5440A000000
>
> But the second time I run it I get:
>
> Traceback (most recent call last):
>  File "./tree.py", line 47, in <module>
>    tree( ow.Sensor( '/' ) )
>  File "/usr/lib/python2.6/dist-packages/ow/__init__.py", line 271, in
> __init__
>    self.useCache( self._useCache )
>  File "/usr/lib/python2.6/dist-packages/ow/__init__.py", line 416, in
> useCache
>    for n in owfs_get( self._usePath ).split( ',' ) ] )
>  File "/usr/lib/python2.6/dist-packages/ow/__init__.py", line 159, in
> _get
>    raise exUnknownSensor(path)
> ow.exUnknownSensor: '/'
>
> I have to power cycle the HA7Net to get it to work again.Is there some
> kind of "closing out" that the HA7Net requires that OW Python is
> failing to do?
>
> Same symptoms with the temperature.py example.
>
> j
>
> --
> Joshua J. Kugler - Fairbanks, Alaska
> Azariah Enterprises - Programming and Website Design
> [email protected] - Jabber: [email protected]
> PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to