Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

B4017 version string error

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
broadstairs
Posts: 774
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

B4017 version string error

Post by broadstairs »

This suddenly popped up so thought I should mention it. The error message said ' ProcessData: Error - Version string portion was too short or too long. (Parameter 'input')'. See log extract... this is running with a custom server input to CMX from a GW1200 gateway.

Code: Select all

2024-03-25 13:00:03.451 Ecowitt Gateway uptime = 1132703 secs - 13.02:38:23
2024-03-25 13:00:03.451 DoWind: latest=12.8, speed=5.4 - Current: gust=17.4, speed=6.8
2024-03-25 13:00:03.452 DoWind: New: gust=17.4, speed=6.8, latest:5.4
2024-03-25 13:00:03.453 ApplyData: Complete
2024-03-25 13:00:03.453 API.GetStationList: Get Ecowitt Station List
2024-03-25 13:00:03.453 Ecowitt URL = https://api.ecowitt.net/api/v3/device/list?application_key=<<App-key>>&api_key=<<User-key>>
2024-03-25 13:00:04.256 API.GetStationList: Ecowitt API Station List Response code: 200
2024-03-25 13:00:04.256 API.GetStationList: Ecowitt API Station List Response: {"code":0,"msg":"success","time":"1711371603","data":{"total":4,"totalPage":1,"pageNum":1,"list":[{"id":175221,"name":"GW1200","mac":"58:CF:79:DF:C9:64","type":1,"date_zone_id":"Europe\/London","createtime":1708122654,"longitude":1.4399615,"latitude":51.3634071,"stationtype":"GW1200A_V1.2.8"},{"id":135555,"name":"GW2000","mac":"94:3C:C6:44:FA:6B","type":1,"date_zone_id":"Europe\/London","createtime":1685006400,"longitude":1.439825,"latitude":51.363315,"stationtype":"GW2000A_V3.1.2"},{"id":59940,"name":"GW1100A","mac":"E8:68:E7:86:BF:D3","type":1,"date_zone_id":"Europe\/London","createtime":1631355678,"longitude":1.440117,"latitude":51.36345,"stationtype":"GW1100A_V2.3.1"},{"id":46543,"name":"GW1000A","mac":"48:3F:DA:55:CA:1E","type":1,"date_zone_id":"Europe\/London","createtime":1617634207,"longitude":1.440109,"latitude":51.363445,"stationtype":"GW1000A_V1.7.7"}]}}
2024-03-25 13:00:04.256 API.GetStationList: Station: id=175221, mac/imei=58:CF:79:DF:C9:64, name=GW1200, type=GW1200A_V1.2.8
2024-03-25 13:00:04.256 API.GetStationList: Station: id=135555, mac/imei=94:3C:C6:44:FA:6B, name=GW2000, type=GW2000A_V3.1.2
2024-03-25 13:00:04.256 API.GetStationList: Station: id=59940, mac/imei=E8:68:E7:86:BF:D3, name=GW1100A, type=GW1100A_V2.3.1
2024-03-25 13:00:04.256 API.GetStationList: Station: id=46543, mac/imei=48:3F:DA:55:CA:1E, name=GW1000A, type=GW1000A_V1.7.7
2024-03-25 13:00:04.256 API.GetStationList: Found vers=, model=
2024-03-25 13:00:04.256 ProcessData: Error - Version string portion was too short or too long. (Parameter 'input')
2024-03-25 13:00:10.330 Current CPU temp = 27.8°C
2024-03-25 13:00:14.453 ProcessData: Processing posted data
2024-03-25 13:00:14.453 ProcessData: Payload = PASSKEY=<PassKey>&stationtype=GW1200A_V1.2.8&runtime=1132714&heap=66656&dateutc=2024-03-25+13:00:15&tempinf=69.62&humidityin=52&baromrelin=29.574&baromabsin=29.456&tempf=51.98&humidity=67&winddir=148&windspeedmph=5.82&windgustmph=12.75&maxdailygust=28.18&solarradiation=405.53&uv=2&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=1.106&yearlyrainin=5.075&totalrainin=5.075&temp1f=62.96&humidity1=69&temp2f=69.08&humidity2=57&pm25_ch1=0.0&pm25_avg_24h_ch1=2.2&lightning_num=0&lightning=37&lightning_time=1711321636&wh80batt=3.28&wh26batt=0&batt1=0&batt2=0&pm25batt1=4&wh57batt=5&freq=868M&model=GW1200A&interval=10
Stuart
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

Thanks Stuart. I'll take a look at this when I'm back up to speed (I had some minor surgery yesterday!}
broadstairs
Posts: 774
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: B4017 version string error

Post by broadstairs »

No problem Mark, it's not causing any problem that I can see. Hope you recover OK.

Stuart
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: B4017 version string error

Post by The Dalek Hunter »

I have got a string error as well on one of my V4 sites - the one using Ecowitt EasyWeather Pro

When CMX starts I get

Opening station type 14 - HTTP Ecowitt
Last update: 2024-03-26T07:00:00
System.ArgumentException: Version string portion was too short or too long. (Parameter 'input')
at System.Version.ParseVersion(ReadOnlySpan`1 input, Boolean throwOnFailure)
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at CumulusMX.HttpStationEcowitt..ctor(Cumulus cumulus, WeatherStation station)
at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
at CumulusMX.Program.Main(String[] args)
at CumulusMX.Program.<Main>(String[] args)
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate


I have attached MXdiags - for the moment I have gone back to V3 for this site and this is working ok.
All my other V4 sites are fine
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

Can I ask - do you have the MAC address for your station entered in the MX config?
broadstairs
Posts: 774
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: B4017 version string error

Post by broadstairs »

Yes the .ini file does contain a mac address under the GW1000 section but this is a type 14 station driven from the Custom Server option on the GW1200. I wonder if the mac is a throwback from when it used the local API? The EcowittMacAddress in the .ini is blank. The custom sever option was set manually by me.

Stuart
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: B4017 version string error

Post by The Dalek Hunter »

I am away from home for a few days at the moment but a quick check via VPN shows there is a MAC address in the settings for this station. Should I delete it and try again (when home)
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

No do not delete the MAC

I've fixed the code so it will not crash produce an error. I'll follow up with how the MAC is captured and used - primarily for ecowitt.net when using catch-up on the primary station.
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: B4017 version string error

Post by The Dalek Hunter »

Many thanks - I will look forward to the next v4 beta
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

Could you both let me know what MAC you have configured please?
broadstairs
Posts: 774
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: B4017 version string error

Post by broadstairs »

Mark mine is MACAddress=58:CF:79:DF:C9:64 in the GW1000 section of the .ini file which is the one for the Custom Server gateway in use.

Stuart
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

Thanks Stuart
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: B4017 version string error

Post by The Dalek Hunter »

Mine is bc:FF:4D:10:E8:E4
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: B4017 version string error

Post by mcrossley »

Thanks.
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: B4017 version string error

Post by The Dalek Hunter »

Working fine with the latest beta version - many thanks
Post Reply