I know it's been mentioned before but native support for 1-wire temperature devices seems ideal to me. Meteohub already supports many devices and 1-wire is easy to implement in a cheap way and is easy to manage.
Using OWFS or other "tools" is (to me) complex and is not very easy.
So, please, please :cheer:
Another wish for 1-wire
Moderator: Mattk
Re:Another wish for 1-wire
I would like to implement a 1-wire rain gauge.
Re:Another wish for 1-wire
My thoughts were going towards DS9490 USB adapter support and DS1820 sensors (all variants, but DS18S20 is, to me, most important)
Re:Another wish for 1-wire
FWIW, I have a DS18B20 running via a RFXcom LAN receiver on a Sheeva.
Re:Another wish for 1-wire
How many 1-wire devices can Meteohub then handle?
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re:Another wish for 1-wire
I have OWFS running on an ALIX-1D, and a small Meteohub plug-in (written in C++) reading:rune wrote:My thoughts were going towards DS9490 USB adapter support and DS1820 sensors (all variants, but DS18S20 is, to me, most important)
DS18S20 (temp)
DS2438 (Voltage: used for baro, humidity, solar & Inspeed eVane)
DS2423 (counters: used for Inspeed anemometer, & lightning counter, but rain gauge would be essentially just the same thing)
DS2408 (For 4x40 LCD display)
At present all sensor ids, etc. are 'hard coded', i.e. coded specifically for my set of sensors.
There is one other user for whom I coded a version specific to their sensors (just temp, humidity & lighttning) as an exercise.
I've not had any time to develop it further, e.g. to make it more easily 'configurable'.
The code is not 'pretty'. I just regard this stage as a simple "Proof of Concept", but it is commented and I'm a fan of 'meaningful' variable names so if you are at all familiar with C++ you could probably adapt it to your sensors and recompile it quite easily. It ought largely be a matter of comment out what you don't need, change a few sensor ids, copy/paste/edit a bit if you need more of a particular type of sensor, etc...
If you'd like to give that a go you are welcome to a copy of the code; provided I have access to any improvements you might make. ;)