Re: Weatherlink software to Cumulus?
Posted: Fri 23 Feb 2024 7:39 pm
MX only works with the v2 API, but afaik the v2 API can access all station types? It certainly has them all in the v2 sensor catalog.
Support forum for Cumulus weather station software
https://cumulus.hosiene.co.uk/
Code: Select all
2024-02-23 15:39:43.342 GetCurrent: Get WL.com Current Data
2024-02-23 15:39:43.342 GetWlCurrent: Downloading Current Data from weatherlink.com
2024-02-23 15:39:43.342 WeatherLink URL = https://api.weatherlink.com/v2/current/675?api-key=API_KEY
2024-02-23 15:39:43.404 GetCurrent: WeatherLink API Current Response code: 200
2024-02-23 15:39:43.404 GetCurrent: WeatherLink API Current Response: {"station_id":675,"station_id_uuid":"a3a3c5e7-b8bd-4910-ba3a-f6ad6e1f09d1","sensors":[{"lsid":5977,"sensor_type":46,"data_structure_type":2,"data":[{"ts":1708720501,"tz_offset":-18000,"bar_trend":20,"bar":29.592,"temp_in":79.2,"hum_in":26,"temp_out":39.1,"wind_speed":7,"wind_speed_10_min_avg":5,"wind_dir":235,"temp_extra_1":null,"temp_extra_2":null,"temp_extra_3":null,"temp_extra_4":null,"temp_extra_5":null,"temp_extra_6":null,"temp_extra_7":null,"temp_soil_1":null,"temp_soil_2":null,"temp_soil_3":null,"temp_soil_4":null,"temp_leaf_1":null,"temp_leaf_2":null,"temp_leaf_3":null,"temp_leaf_4":null,"hum_out":46,"hum_extra_1":null,"hum_extra_2":null,"hum_extra_3":null,"hum_extra_4":null,"hum_extra_5":null,"hum_extra_6":null,"hum_extra_7":null,"rain_rate_clicks":0,"rain_rate_in":0,"rain_rate_mm":0,"uv":0.7,"solar_rad":343,"rain_storm_clicks":0,"rain_storm_in":0,"rain_storm_mm":0,"rain_storm_start_date":null,"rain_day_clicks":0,"rain_day_in":0,"rain_day_mm":0,"rain_month_clicks":6,"rain_month_in":0.047244094,"rain_month_mm":1.2,"rain_year_clicks":546,"rain_year_in":4.2992125,"rain_year_mm":109.2,"et_day":0.059,"et_month":0.121,"et_year":0.219,"moist_soil_1":null,"moist_soil_2":null,"moist_soil_3":null,"moist_soil_4":null,"wet_leaf_1":null,"wet_leaf_2":null,"wet_leaf_3":null,"wet_leaf_4":0,"forecast_rule":192,"forecast_desc":"Mostly cloudy and cooler. Precipitation possible within 12 hours, possibly heavy at times. Windy.","dew_point":20,"heat_index":38,"wind_chill":35,"wind_gust_10_min":11}]}],"generated_at":1708720783}
2024-02-23 15:39:43.404 GetCurrent: Found 1 sensors to process
2024-02-23 15:39:43.404 Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:39:43.955 Realtime[99]: Start cycle
2024-02-23 15:39:43.955 Realtime[99]: Creating realtime.txt
2024-02-23 15:39:43.959 Realtime[99]: Creating realtime file - realtimegauges.txt
2024-02-23 15:39:43.967 Realtime[99]: End cycle
Code: Select all
2024-02-23 15:42:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720802,tz_offset:-18000,bar_trend:20,bar:Code: Select all
2024-02-23 15:42:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720802,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:41:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720802,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:40:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720802,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:39:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:38:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:37:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:37:19 - GetDayFile: Error - System.IO.FileNotFoundException: Could not find file 'C:\KomokaWeather\CumulusMX3\data\dayfile.txt'.
File name: 'C:\KomokaWeather\CumulusMX3\data\dayfile.txt'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at CumulusMX.WeatherStation.GetDayfile(String draw, Int32 start, Int32 length, String search)
2024-02-23 15:36:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:35:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720501,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:34:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720202,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:33:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720202,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:32:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720202,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:31:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720202,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:30:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708720202,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:29:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719902,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:28:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719902,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:27:44 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719902,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:26:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719902,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:25:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:24:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:23:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:22:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:21:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:20:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:19:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:18:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:17:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:16:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:15:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708719302,tz_offset:-18000,bar_trend:20,bar:
2024-02-23 15:14:43 - Error, DecodeCurrent, DataType=2, SensorType=46: Type definitions should start with a '{', expecting serialized type 'WLCurrentSensordDataType1_2', got string starting with: [{ts:1708718402,tz_offset:-18000,bar_trend:0,bar:2
2024-02-23 15:14:43 - GetHistoricData: WeatherLink API Historic Error: 403, Access is not authorized for station 675
2024-02-23 15:14:41 - LoadDayFile: No Dayfile found - No entries added to recent daily data list
Cumulus MX 3.28.5 b3282