I cant extract rain data through the API
Hello! Im trying to retrieve rain data using the API but I only get temperature/humidity/pressure even for stations that I see in the Weather map that have got a rain gauge and are measuring rain.
row = {
"Module ID": module_id,
"City": city,
"Types": ", ".join(types),
"Temperature": readable.get("temperature", math.nan),
"Humidity": readable.get("humidity", math.nan),
"Rain_h": readable.get("rain_60min", math.nan),
"Rain_24h": readable.get("rain_24h", math.nan)
}
I get NaN for both "rain_60min" and "rain_24h" for all stations.
Example:
City: Villafelice
Module ID: 02:00:00:01:a3:9c
Comentarios
1 comentario
Actually this is the whole station, I also cant extract wind data. Line 7 should be wind (05:00:00:07:d6:56) and line 8 (06:00:00:05:fa:20) should be rain :(
Iniciar sesión para dejar un comentario.