4. Actual Weather Data via Socket Communication
Meteohub's weather data logging daemon provides actual weather data by means of socket
communication.
4.1 Port 5555: Sensor Status
This port is used by the Meteohub web interface to get information about the sensors and
their data. The "Sensors" web page needs that kind of data, otherwise it will show an error.
Each line represents a sensor and gives the following information per column (from left to
right):
● station number
● type of sensor: 0 = wind, 1 = rain, 2 = thermo/hygro/baro, 3 = thermo/hygro, 4 =
thermo, 6 = uv, 7 = solar
● original channel id of sensor (in RFXCOM mode: binary identification of the sensor
type and random channel id determined after last sensor reset)
● assigned ID number
● Linux times tamp (GMT) of most recent received sensor data
● Battery status: 0 = ok, 1 = low bat
● weather data as recently reported from the sensor (multiple values are separated by
underscore)
Example:
0 4 675079 0 1233391707 1 11.2°
0 1 2760118 0 1233391712 0 0.0mm/h
0 3 1715567 3 1233391693 1 1.7°_82%
0 3 1719726 0 1233391702 0 0.8°_89%
0 2 5926387 -1 1233391726 0 22.4°_33%_1024.0mb_(1024.0mb)_fc:1
0 3 1715471 4 1233391700 1 7.9°_76%
0 3 1715668 2 1233391694 1 27.7°_21%
0 0 3804564 0 1233391725 0 1.2(0.0)m/s_OSO
0 2 5926364 0 1233391707 0 22.3°_35%_1026.0mb_(1026.0mb)_fc:1
0 3 16394245 10 1233391700 0 24.3°_31%
0 3 10144887 6 1233391440 0 24.0°_32%
71
Comentários a estes Manuais