Page 1 of 1

support for reading Meteohub sensors via raw http

Posted: Friday 13 November 2015 9:20
by assenzuid
Is it possible to fetching data from Meteohub sensors over http?

http://meteohubIP/meteolog.cgi?mode=data
RAW Data:
20151113081635 th0 11.8 91 10.4
20151113081627 th10 12.2 8 0.0
20151113081607 th11 11.1 100 0.0
20151113081645 th15 12.2 15 0.0
20151113081627 th16 11.1 100 0.0
20151113081635 uv0 0.0
20151113081649 sol0 51
20151113081659 wind0 224 0.0 1.3 11.8
20151113081603 rain0 0.0 332.8 0.0
20151113081627 thb0 21.7 57 12.8 1014.8 1016.7 2
20151113081653 thb1 20.7 30 2.5 1014.7 1016.6 -1
20151113081645 th26 11.4 0 0.0
20151113081648 th20 12.1 9 0.0
20151113081646 uv1 0.0
20151113081659 th25 12.1 15 0.0
20151113081659 wind1 226 0.0 1.5 11.8
20151113081656 th23 0.0 0 0.0
20151113081651 rain1 0.0 36.8 0.0
20151113081656 th30 11.0 0 11.0
20151113081659 th1 11.8 91 10.4
20151113081651 th21 11.4 0 0.0
20151113081653 th22 0.0 0 0.0
20151113081636 sol1 51
20151113081700 data1 3065664.00
20151113081700 data3 0.86
20151113081700 data2 0.05
20151113081700 t30 42.2

Re: support for reading Meteohub sensors via raw http

Posted: Friday 13 November 2015 18:59
by stlaha2007
hi assenzuid,

Haven't seen one before. However the data example you supplied seems easy to collect.
I assume the first 8 digits are the date and the next 4 or 6 are timecode.
After that those are sensors like rain, wind and thermostats.

I have not programmed for a specific hardware/sensor. But managed to read specific data from http-sources with standard Linux Bash and Tools.

Gonna send you a PM.

Grtz Stephan


Sent from my K00C using Tapatalk

Re: support for reading Meteohub sensors via raw http

Posted: Friday 13 November 2015 22:25
by assenzuid
Hi stlaha2007.

I have seen your PM, but due the forum rules I'm unable to reply on PM message yet (first need to do some forum posts).

20151113081635 th0 11.8 91 10.4

The first digits are for the date and time indeed (incl. seconds). Then the sensor ID and the values which the sensor measures.

Below a link to the HTTP Data Logging Protocol of Meteohub.
http://www.meteohub.de/files/HTTP-Data- ... l-v1.5.pdf

Kind regards,
Martijn

Re: support for reading Meteohub sensors via raw http

Posted: Saturday 14 November 2015 13:26
by gizmocuz
Are those sensors not received over the air (433Mhz) ? If yes, you could use an RFXtrx433e to receive them
it looks easy to implement, i would suggest starting with the weatherunderground class

Re: support for reading Meteohub sensors via raw http

Posted: Saturday 14 November 2015 22:12
by assenzuid
gizmocuz wrote:Are those sensors not received over the air (433Mhz) ? If yes, you could use an RFXtrx433e to receive them
it looks easy to implement, i would suggest starting with the weatherunderground class
No, Its a Davis weather station, they are using the 868Mhz for communication.
I upload already some data to Weather Underground, inside Domoticz I use the Weather Underground API. I have a few more sensors which Weahter Underground not used.

The appliance MeteoHub I use for uploading to Weahter Underground (and others) and also for uploading to my website.
I saw that Domotiga can read this RAW data and can detect the sensors.

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 15 November 2015 8:23
by gizmocuz
Send you a PM

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 15 November 2015 22:26
by stlaha2007
Hi there again,

No problem post a few times and PM will work...

Anyway i agree with Gizmocus, like i said earlier looks simple to implement. After a quick look at the doc about info and data supplied with a structered xml output.

If you already uploaded to Weather Underground i suggest you investigate their API. Probebly Gizmocuz offered some help with that ;-).

Unless you want directly from Meteohub to Domoticz... That way Gizmocuz must have some things already build and need some light changes.

Let me know if you need more help. I leave it to Gizmocuz for now.

Sent from my D6503 using Tapatalk

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 15 November 2015 23:21
by assenzuid
Thanks for the effort so far,

I'm in touch with Gizmocuz.
I use the Weather Underground API, but only the basic sensors are supported, Weather Underground doesn't support multiple temp. sensors. I have some additional sensors.

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 27 March 2016 21:00
by stuiow
I am also looking at using the HTTP raw feed from meteohub to replace the WU API.
The WD API feed doesn't send over all the data as frequent as i would like.

I have posted on the meteohub forum, but support is low compared to Domoticz

Re: support for reading Meteohub sensors via raw http

Posted: Monday 28 March 2016 9:12
by gizmocuz
Send me a PM with data/access and i see what i can do

Re: support for reading Meteohub sensors via raw http

Posted: Saturday 02 July 2016 18:00
by stuiow
Was you able to look into this feature? Is access to my meteohub still required?

Sent from my SM-G925F using Tapatalk

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 03 July 2016 8:43
by gizmocuz
No sorry, time is an issue... Maybe you could make a request on github and another developer could pick this up ?

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 03 July 2016 10:44
by stuiow
Thats fair enough, i'll do that.
How would be it be best to request this on github, via the "issues" section?

Re: support for reading Meteohub sensors via raw http

Posted: Sunday 03 July 2016 11:05
by Egregius
Why not use a script that drops the data in dummy devices?

Re: support for reading Meteohub sensors via raw http

Posted: Tuesday 05 July 2016 13:42
by stuiow
I have a few house improvement projects ongoing at the moment, but as soon as i get those done, i am hoping to learn how to script as that would open up so many options to me.
I've never scripted before.

Re: support for reading Meteohub sensors via raw http

Posted: Friday 29 July 2016 15:14
by stuiow
I've added this as a feature request on github to see if anyone is happy to create this addition to Domoticz.
https://github.com/domoticz/domoticz/issues/756

I thought i would also post an example what meteohub is outputting for me just now.

Code: Select all

20160729131148 thb0 21.3 64 14.2 1005.2 1010.5 2 0
20160729131156 th0 20.4 75 15.8 0
20160729131156 th1 27.8 64 20.4 0
20160729131212 t2 24.4 0
20160729131212 th10 16.7 200 0
20160729131212 th11 16.7 200 0
20160729131210 th15 21.7 0 0
20160729131202 th16 20.6 1 0
20160729131226 uv0 4.5 0
20160729131134 sol0 239 0
20160729131228 wind0 84 0.9 1.8 20.4 0
20160729131226 rain0 0.0 605.8 0.0 0
This online document maybe able to help people wishing to create this addition.
http://www.meteohub.de/files/HTTP-Data- ... l-v1.2.pdf

Re: support for reading Meteohub sensors via raw http

Posted: Thursday 13 April 2017 8:05
by assenzuid
Any progress or solution?

Re: support for reading Meteohub sensors via raw http

Posted: Friday 13 April 2018 7:08
by Wourt217
Examine the box if you are making use of the general public tool. geico account I suggestions you pick OTP option for protected payment measures.