Meteohub and retrieve data from external XML or txt

Moderator: Mattk

Post Reply
User avatar
Napajedlaci.cz
Senior Boarder
Senior Boarder
Posts: 41
Joined: Fri Jul 30, 2010 1:10 pm
Location: Czech republic, Zlin
Contact:

Meteohub and retrieve data from external XML or txt

Post by Napajedlaci.cz » Mon Mar 21, 2016 12:05 am

Apart from weather stations TFA Nexus, I have added the Meteohub would like Meteohub via measured and store the data from external sensors, other .. Can it Meteohub? I have a weather station connected to the Arduino, including various sensors. Data is generated in TXT or XML.
Could meteohub retrieve such data? If yes, how?
Napajedlaci.cz is very good weather station in Czech republic neer town Zlin.

Vertikar
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Sat Jul 05, 2014 6:39 pm

Re: Meteohub and retrieve data from external XML or txt

Post by Vertikar » Thu Sep 13, 2018 10:35 am

You can, but it needs to be in a certain format as per the documentation:
The generic Plug-in weather station allows to connect Meteohub to an alien weather data
logging program. When Meteohub starts data logging, the specified program gets started as
well and Meteohub listens to "/dev/stdout" of the alien logger program. When the logger has
reported a line of data (terminated by a LF and/or CR character) this line of data is added to
the Meteohub data logging and stored in the raw data files. The format of incoming data is
explained in Appendix B. Example: When the alien program returns "th17 209 52"
Meteohub adds a line "20090131120034 th17 209 52 0110" to the raw data, which means:
Sensor th17 has reported 20.9 °C, 53% relative humidity and a dew point of 11.0°C at
12:00:34 31th Jan 2009. In order to make the data evaluated, sensor "thermo/hygro #17"
has to be mapped to a sensor ID on Meteohub's sensor page (see also chapter 2.5).

Post Reply