The reason I wanted the refresh to be automatic is that at the moment I'm
> running owserver and owhttp and owpython from the owserver. The problem is
> that I'm constantly going to be removing/adding a whole lot of DS2431 chips
> at random (docking station type application) and a call to
> ow.Sensor("/").sensorList() does not return the most recent devices. The
> only way to get the most recent devices is to refresh the owhttp browser
> tab
> i.e. <ip address>:3001/uncached/ and only then the
> ow.Sensor("/").sensorList() call returns the most recent devices.
>
I don't use owpython personally, but you should get the behavior you want
from:
ow.Sensor("/uncached").sensorList()
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers