BTW: Does owshell support the ping packets?
I have helped Christian Schumann with scripts to control his Solar-panel +
rainwater buffer with switches and water-pump.
There are several cronjobs which run every minute, and one of the scripts
frequently return "Data error" when reading a DS2890.
PING packets are sent if the server takes longer than 1 second or so.
There are two interpretations of the delay:
1. The server is busy
2. The server died (or the connection went down).
Since it's not possible to know how long the processing will take, the
owserver sends a PING message if the dat
On 8/23/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
> On 8/23/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
> > > Try OWTAP to inspect.
> > >
> > > There is an extensive writeup in the web site.
> > > http://www.owfs.org/index.php?page=owtap
> > >
> > > It looks like the second message is a P
On 8/23/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
> > Try OWTAP to inspect.
> >
> > There is an extensive writeup in the web site.
> > http://www.owfs.org/index.php?page=owtap
> >
> > It looks like the second message is a PING message, payload = -1
>
> I'm gonna try this. Thanks.
I've tried
On 8/23/07, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote:
> In short, the first 24 bytes are a header that include information like error
> status, message type, version, data length, data format (temperature scale,
> etc)
Yeah, the header, this I get. What I meant was that in the uncached
rea
In short, the first 24 bytes are a header that include information like error
status, message type, version, data length, data format (temperature scale, etc)
Try OWTAP to inspect.
There is an extensive writeup in the web site.
http://www.owfs.org/index.php?page=owtap
It looks like the second me
On 8/12/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
> I'm not sure. owread outputs the right thing but so does my ruby code
> if I do a puts to a terminal since printf ignores those characters.
> I'll have to strace owread.
I've straced owread and it's reading 24 extra bytes in the uncached ca