[Owfs-developers] Thanks

2006-12-12 Thread Matt
I just though I take the time to to say thanks to the developers and support contributors of OWFS. I work for a non-profit research institute and I've been able to implement some cost effective environmental monitoring. First our server room, and now this week we extend it into some

[Owfs-developers] Caching problem?

2006-12-12 Thread Jan Kandziora
Hi all, I think I discovered a problem with caching in the alarm directory. See this transcript: janskiste:/home/jan # tclsh % package require ow 0.1 % OW::init /dev/i2c-1 % OW::get

Re: [Owfs-developers] Caching problem?

2006-12-12 Thread Paul Alfille
Clearly a bug. Now fixed (in the CVS). Paul Alfille On 12/12/06, Jan Kandziora [EMAIL PROTECTED] wrote: Hi all, I think I discovered a problem with caching in the alarm directory. - Take Surveys. Earn Cash. Influence the

Re: [Owfs-developers] Caching problem?

2006-12-12 Thread Jan Kandziora
Am Dienstag, 12. Dezember 2006 19:26 schrieb Paul Alfille: Clearly a bug. Now fixed (in the CVS). Have you checked in already? If yes, the bug is still there. I noticed something interesting: It seems to be connected to the caching of the chip presence: % OW::put 1F.0F1B0500/discharge 1

[Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-12 Thread Jan Kandziora
Hi all, hi Paul, I made a small enhancement to owfs to implement the read ROM function all onewire chips have. With this function, a single key on a (sub)-bus can be identified without (fairly expensive) scanning. The attached code works with ibutton keys on the buses of a DS2482-800 and with

[Owfs-developers] Echo string to LCD gets funky trailing char

2006-12-12 Thread [EMAIL PROTECTED]
I am writing a (test) shell script to dump the temps reported by several sensors to my LCD, but I think it's trying to display the CR/LF at the end. When I change the message to something via OWhttpd it works fine (no trailing char), but echoing something to the message file via OWFS it seems

Re: [Owfs-developers] Echo string to LCD gets funky trailing char

2006-12-12 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 01:12 schrieb [EMAIL PROTECTED]: Should I be doing this differently (instead of echoing it) How about using the printf shell builtin or, if you don't have bash at hand, how about using echo -n? Kind regards Jan -- A closed mouth gathers no foot.

Re: [Owfs-developers] Echo string to LCD gets funky trailing char

2006-12-12 Thread [EMAIL PROTECTED]
Thanks Jan, echo -n works perfectly. I'm still trying to get up to speed in linux capabilities since OWFS is my first actual adventure in it. -Scott Jan Kandziora wrote: Am Mittwoch, 13. Dezember 2006 01:12 schrieb [EMAIL PROTECTED]: Should I be doing this differently (instead

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-12 Thread Paul Alfille
I'm impressed. You certainly figured out the code style. Questions: 1. We read_ROM and get a positlve result if any devices exist on the selected path? 2. Should we use a name like not_empty or search ? Paul Alfille On 12/12/06, Jan Kandziora [EMAIL PROTECTED] wrote: Hi all, hi Paul, I made

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-12 Thread Paul Alfille
Jan, You currently return the name a of single device. And error if there are none, or more than one. What do you really intend? Do you want to know if there are A. exactly 1 (and it's number) ? B more than 0 ? C more than 1 ? Paul Alfille On 12/12/06, Paul Alfille [EMAIL PROTECTED] wrote:

[Owfs-developers] Creating owlua...

2006-12-12 Thread Matthew Percival
G'Day, I am looking to create a Lua interface to owlib --- effectively owlua. I would need to do this as a simple C library that makes the appropriate calls, however, I have not been able to find any documentation that would help with this. owcapi seems like it would be something similar