support for reading Meteohub sensors via raw http

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Post Reply
assenzuid
Posts: 154
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

support for reading Meteohub sensors via raw http

Post by assenzuid » Friday 13 November 2015 10:20

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

stlaha2007
Posts: 437
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stlaha2007 » Friday 13 November 2015 19:59

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

assenzuid
Posts: 154
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: support for reading Meteohub sensors via raw http

Post by assenzuid » Friday 13 November 2015 23:25

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

User avatar
gizmocuz
Posts: 8605
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: support for reading Meteohub sensors via raw http

Post by gizmocuz » Saturday 14 November 2015 14:26

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
Quality outlives Quantity!

assenzuid
Posts: 154
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: support for reading Meteohub sensors via raw http

Post by assenzuid » Saturday 14 November 2015 23:12

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.

User avatar
gizmocuz
Posts: 8605
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: support for reading Meteohub sensors via raw http

Post by gizmocuz » Sunday 15 November 2015 9:23

Send you a PM
Quality outlives Quantity!

stlaha2007
Posts: 437
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stlaha2007 » Sunday 15 November 2015 23:26

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

assenzuid
Posts: 154
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: support for reading Meteohub sensors via raw http

Post by assenzuid » Monday 16 November 2015 0:21

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.

stuiow
Posts: 182
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stuiow » Sunday 27 March 2016 21:00

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
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter

User avatar
gizmocuz
Posts: 8605
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: support for reading Meteohub sensors via raw http

Post by gizmocuz » Monday 28 March 2016 9:12

Send me a PM with data/access and i see what i can do
Quality outlives Quantity!

stuiow
Posts: 182
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stuiow » Saturday 02 July 2016 18:00

Was you able to look into this feature? Is access to my meteohub still required?

Sent from my SM-G925F using Tapatalk
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter

User avatar
gizmocuz
Posts: 8605
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: support for reading Meteohub sensors via raw http

Post by gizmocuz » Sunday 03 July 2016 8:43

No sorry, time is an issue... Maybe you could make a request on github and another developer could pick this up ?
Quality outlives Quantity!

stuiow
Posts: 182
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stuiow » Sunday 03 July 2016 10:44

Thats fair enough, i'll do that.
How would be it be best to request this on github, via the "issues" section?
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter

User avatar
Egregius
Posts: 2664
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: support for reading Meteohub sensors via raw http

Post by Egregius » Sunday 03 July 2016 11:05

Why not use a script that drops the data in dummy devices?

stuiow
Posts: 182
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stuiow » Tuesday 05 July 2016 13:42

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.
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter

stuiow
Posts: 182
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: support for reading Meteohub sensors via raw http

Post by stuiow » Friday 29 July 2016 15:14

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
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter

assenzuid
Posts: 154
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: support for reading Meteohub sensors via raw http

Post by assenzuid » Thursday 13 April 2017 8:05

Any progress or solution?

Wourt217
Posts: 1
Joined: Friday 13 April 2018 7:08
Target OS: Windows
Domoticz version:
Contact:

Re: support for reading Meteohub sensors via raw http

Post by Wourt217 » Friday 13 April 2018 7:08

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests