Request: Log data to SQL

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
Cisien
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Jul 24, 2012 7:56 am

Request: Log data to SQL

Post by Cisien »

I would like the option to log data to a remote SQL server instead of (or in addition to) the SD Card.

This would provide an easy way for me to query the data, and to serve a higher volume of requests.

Support for MySql at a minimum, MSSQL and others would be a plus.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Request: Log data to SQL

Post by admin »

you can build that yourself by developing a small program that makes use of the meteohub http data logger api.
http://www.meteohub.de/files/HTTP-Data- ... l-v1.2.pdf
HLucas01
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sat Feb 14, 2009 1:22 pm
Location: Montfort in the Netherlands

Re: Request: Log data to SQL

Post by HLucas01 »

I have been interested in logging Meteohub data to an external (web hosted) MySQL database for a long time and i agree with Boris that the HTTP data logger api is very powerful.
But that having said, for most of us there is a very wide gap between knowing "it is possible" and actually developing a small program.

First of all, i would expect this functionality to be part of the core Meteohub application. Meteohub's sister, Meteobridge for example has MySQL functionality built in, and also other programs such as Weather Display have MySQL functionality...
Why doesn't Meteohub?

But if it is too complex or time-consuming for Boris (he does a great job and we all do have whishes, don't we!) or there are other higher priorities, is there anyone who developed a program using the HTTP data-logger api?
Or Boris, do you have some sample code?

With a little help and some examples we users are often able to create great solutions for many problems....
urosh
Expert Boarder
Expert Boarder
Posts: 83
Joined: Wed Jul 30, 2008 10:12 am

Re: Request: Log data to SQL

Post by urosh »

I would second that :)

I am not a programer, so I don't think I could help much, but allready as a backup and also that those data could be used for many things and that would also be good, as the built in card would not have to do so much => it would last longer?

I have some minor php knowledge and when I see something, I know what it does. But to do something from scratch that is a no-go for me :)
Post Reply