
Weathercloud is a cloud-based weather data platform with a global network of over 100,000 personal weather stations. TapHome connects to Weathercloud via an HTTP Packet Parser template that polls real-time weather data from the platform’s internal web API. The integration is read-only — all 14 devices in the template are sensors that display weather data from a linked station.
This integration uses an unofficial, reverse-engineered API (the internal endpoints of the Weathercloud web application). Weathercloud does not offer a public data retrieval API. The endpoints may change or be blocked without notice.
Configuration
During template import, enter the Device ID — a ten-digit number that identifies the weather station on Weathercloud. The template uses this ID to poll app.weathercloud.net/device/values?code={DeviceID}.
Obtaining the Device ID
- Log in to the Weathercloud account at weathercloud.net
- Open the Devices page from the profile menu
- Click the Settings gear icon on the target device
- Select Link device — the Weathercloud ID is the required Device ID
Cookie authentication
The Weathercloud API requires a session cookie for authentication. The template sends a cookie header with every request. To obtain a valid session cookie:
- Sign in to
app.weathercloud.netin a browser - Open the browser developer tools (F12) and inspect the request headers
- Copy the full
cookievalue from any request toapp.weathercloud.net - Replace the
COOKIEplaceholder in the template’s read script header with the actual cookie string
Session cookies expire after a period of inactivity. If the integration stops returning data, re-authenticate and update the cookie value in TapHome.
Device capabilities
The template provides 14 read-only devices that parse fields from a single JSON response. All devices share the same HTTP polling mechanism with a 15-second poll interval (UV Index polls at 2.5 seconds). Every read script includes error handling — if the response is null or contains "error", the device returns NaN.
Temperature and humidity
- Temperature & Humidity — outdoor temperature in °C and relative humidity. Humidity is reported as 0–100 in the API and converted to a 0–1 ratio by the template.
- Dew Point — dew point temperature in °C
- Wind Chill — perceived temperature accounting for wind cooling effect, in °C. Optional — not all stations report wind chill.
Wind measurements
- Wind Speed — current wind speed, converted from m/s to km/h (multiplied by 3.6)
- Average Wind Speed — averaged wind speed over the station’s reporting interval, converted from m/s to km/h
- Wind Gust — peak wind speed, converted from m/s to km/h
- Wind Direction — current wind direction in degrees (0–360)
- Average Wind Direction — averaged wind direction in degrees
Precipitation
- Rain Rate — current precipitation intensity in mm/h
- Rainfall Today — cumulative rainfall since midnight in mm
Atmospheric and solar
- Atmospheric Pressure — barometric pressure in hPa
- Solar Radiation — solar irradiance in W/m². Optional — available only on stations equipped with a solar radiation sensor.
- UV Index — UV radiation level displayed as a multi-value indicator with 10 named levels: 0–1 Low, 2–3 Medium, 4–5 Medium High, 6–7 High, 8–9 Very High. Optional — requires a UV sensor on the station.
Data freshness
- Last Update Time — Unix timestamp (seconds) of the last data upload from the weather station. Useful for verifying that the station is actively reporting.
Additional capabilities
The Weathercloud API also exposes heat index, temperature-humidity-wind (THW) index, visibility, secondary temperature and humidity sensors, and indoor environment readings (temperature, humidity, dew point, heat index — available only to the station owner). These can be added in a future template update.
Troubleshooting
Data not updating
- Check the Last Update Time value — if it is not advancing, the weather station has stopped uploading to Weathercloud
- Verify the station is online at
app.weathercloud.net— search for the Device ID and check the last update timestamp - Free Weathercloud accounts update every 10 minutes. Even though TapHome polls every 15 seconds, new data only appears at the station’s upload interval.
All values show NaN
- Confirm the Device ID is correct — it must be the ten-digit number from the Weathercloud “Link device” settings, not the station name
- Check the cookie value in the template read script. If the session has expired, the API returns an error and all devices fall back to NaN. Re-authenticate and update the cookie.
- Verify the station exists and is publicly accessible on Weathercloud — private stations may require owner authentication
Some sensors show NaN while others work
Not all weather stations have the same sensors. Fields like solar radiation (solarrad), UV index (uvi), and wind chill (chill) are optional and depend on the physical hardware of the station. If a field is not reported by the station, the API omits it and the template returns NaN for that device.
The template poll interval is 15 seconds, but Weathercloud data only refreshes at the station’s upload rate (10 minutes for free accounts, 1 minute for paid). Polling more frequently does not yield newer data — it only confirms the latest available reading.
