sensors fun..
Julian Elischer
julian at elischer.org
Wed Oct 17 19:00:51 PDT 2007
Andrey Chernov wrote:
> On Wed, Oct 17, 2007 at 06:20:26PM -0700, Julian Elischer wrote:
>>> As you can guess from the first couple of lines, measured will also
>>> answer as a HTTP server, so you can just point your browser at it,
>>> and see what all the sensors record or manipulate actuators.
>>> The protocol you see above, is trivally implemented in any language.
>>> Creating a graphical "control panel" for stuff in for instance Tk
>>> is trival.
>> actually I did almost EXACTLY that for Vicor, with tcl/tk and mbmon which
>> can do something similar to what you showed above. Every machine had mbmon
>> listening on port XXX and tcl/tk scanned them all and showed them 64
>> machines to the page.
>
> The same can be achieved in more simpler way by just reading/writing DEVFS
> devices and not involves slow TCP/HTTP/tcl/etc path (some sensors may
> needs very fast reaction, perhaps realtime).
hard to read /dev/xxx on another machine.
>
More information about the freebsd-arch
mailing list