I've started work on supporting the DS1821 Thermostat.

It's a difficult chip, only partly a 1-wire device. It has no unique address, 
and can't respond independently, nor can it announce itself on a device 
discovery (directory listing).

Basically, the DS1821 should be on it's own 1-wire bus according to the 
datasheet.

We handle it thus:

address is "thermostat"

So
"cat /mnt/1wire/thermostat/temperature" would read the temperature, but
"ls /mnt/1wire" would NOT include thermostat among the devices.

There will be properties:
temperature
temphigh
templow
polarity
1shot
thermostat_mode

The last property is a little problematic. It is NOT POSSIBLE to leave 
thermostat mode without electrical manipulation outside of the 1-wire 
protocol.

So the thermostat is a little blind. OWFS will be useful for programming the 
thermostat and setting it going. Special handling will be needed after that.

Paul


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to