Add compatibility with 1-wire sensors

Requests for future functionality

Moderator: Mattk

Post Reply
tparvais
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Thu Nov 20, 2008 4:00 pm

Add compatibility with 1-wire sensors

Post by tparvais »

Hello

It would be very nice to add 1-wire compatiblity on Meteohub.

More and more weather sensors are available and are very easy to implement on field.

Cfr. http://www.aag.com.mx/aagusa/index1.html

libraries and tools already exist for Linux (OWW, OWFS...)

This is what I'm waiting before mobing to Meteohub

Thank you
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:Add compatibility with 1-wire sensors

Post by skyewright »

tparvais wrote:It would be very nice to add 1-wire compatiblity on Meteohub.
1-wire is very different to the "off-the-shelf" systems. With most systems the range of possible sensors is closely defined. With 1-wire an enourmous range of things are possible, so a truely generic 1-wire interface could be quite an undertaking!

However, Meteohub v4's "plug-in" option already makes many things possible....

I have a very basic 1-wire plug-in running already. Using OWFS to talk to the 1-wire system some c++ based code reads values from some 1-wire sensors and writes an equivalent Meteohub style sensor record to stdout, which Meteohub happily reads and incorporates into its data base.

I'm reading a temp, an humidity and pressure and writing those as a thb sensor. The same principle would be fine for other sensors and I'm slowly working on it, but this it has to be very much a spare time project for me.

At this stage the plug-in is still very basic and wouldn't be much use to anyone else unless they were happy editing and compilng c++ code to configure it for their own sensor ids.

Maybe at some stage something more generic and more readily configurable will appear - either from me or from someone else - that's the beauty of the "plug-in" interface, i.e. anyone (with relevant coding ability) can add additional data sources to Meteohub. :)
dudelsack
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sun Jan 11, 2009 10:57 pm

Re:Add compatibility with 1-wire sensors

Post by dudelsack »

skyewright, hope you will find the time to come out with a version for a 1-wire plugin you can share with all the non-coders among us.

Would love to get some of my 1-wire sensors online in meteohub.

Matt
sprockett
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Tue Aug 26, 2008 3:45 pm

Re:Add compatibility with 1-wire sensors

Post by sprockett »

I have the AAG one wire weather station.
I have found he build quality a lot better (more solid) than most.
It would be very nice to see wind speed, direction, temp humidity and possibly rain incorporated into metro hub.
I have tried "OWW" but as a non programmer with nill Linix knowledge i always get lost very quickley.
The thing i like about Meteo Hub is the intuitive GUI, if Meteo Hub had a plug in or something to take the AAG 1-wire weather station I am sure it would be very attractive option for the 1-wire comunity.
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:Add compatibility with 1-wire sensors

Post by skyewright »

sprockett wrote:if Meteo Hub had a plug in or something to take the AAG 1-wire weather station I am sure it would be very attractive option for the 1-wire comunity.
Even providing for that is not quite as straight forward and "standard" as it might appear, since AAG have just come out with a new model 1-wire weather station that uses different 1-wire chips and is thus quite different from a software point of view (though still 1-wire, of course).

There is a saying in Scottish Gaelic, "He who lives long will see many things".

I hope we all get to see lots. ;) :)
tparvais
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Thu Nov 20, 2008 4:00 pm

Re: Add compatibility with 1-wire sensors

Post by tparvais »

The ideal world is to use Midon TEMP08 as 1-wire gateway.
And use meteohub as frontend/logger/portal

TEMP08 has RS232 interface and very simple commands

Maybe to be investiguated ?
rune
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 24, 2009 10:51 pm

Re: Add compatibility with 1-wire sensors

Post by rune »

Another options would be to integrate Meteohub & the Swedish guy Per Malmberg's brilliant MSure application (www.msure.se). I'm currently exporting sensor data from Meteohub to MSure, but maybe the other way could also be acomplished? And perhaps on a "lower-level".

MSure can do much much more with 1-Wire than just reading temperature sensors, so it's a good addition to Meteohub.

Depending on setup, the disadvantage could be that MSure is Windows based and Meteohub could be running on something else...
tparvais
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Thu Nov 20, 2008 4:00 pm

Re: Add compatibility with 1-wire sensors

Post by tparvais »

rune wrote:Another options would be to integrate Meteohub & the Swedish guy Per Malmberg's brilliant MSure application (http://www.msure.se). I'm currently exporting sensor data from Meteohub to MSure, but maybe the other way could also be acomplished? And perhaps on a "lower-level".

MSure can do much much more with 1-Wire than just reading temperature sensors, so it's a good addition to Meteohub.

Depending on setup, the disadvantage could be that MSure is Windows based and Meteohub could be running on something else...
how can we import others data to meteohub ?
Are they available exaclty as sensor data captured directly by Meteohub ?

Tx
tparvais
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Thu Nov 20, 2008 4:00 pm

Re: Add compatibility with 1-wire sensors

Post by tparvais »

up
rune
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 24, 2009 10:51 pm

Re: Add compatibility with 1-wire sensors

Post by rune »

MSure (or now BeyondMeasure) uses SQLlite or MySQL so all data is available for other systems. It can also read the textfiles from e.g. Metehub and use that data.
Post Reply