Page 1 of 1

b3283 WLL error

Posted: Thu 21 Mar 2024 6:17 pm
by PaulMy
Hi Mark,
I updated my v3 installs to b3283
CMX with WLL data source is fine.

CMX with IP logger (WiFILogger) shows a webtag and WLL error
This uses station type 1 Davis VP2

Code: Select all

2024-03-21 13:27:10.723 Station type: 1 - Davis Vantage Pro2
Part of MXdiags, full MXdags zip attached.

Code: Select all

2024-03-21 13:43:30.480 API tag: Processing API JSON tag request
2024-03-21 13:43:30.480 API tag: Source = [::1]:64425 Input string = ?version&build&ProgramUpTime&NewBuildAvailable&NewBuildNumber&CpuCount&CPUTemp
2024-03-21 13:43:30.480 API tag: Output string = {"version":"3.28.6","build":"3283","ProgramUpTime":"0 days 0 hours","NewBuildAvailable":"0","NewBuildNumber":"3283","CpuCount":"4","CPUTemp":"-999.0"}
2024-03-21 13:43:30.630 API tag: Processing API Text tag request
2024-03-21 13:43:30.632 API tag: Source = [::1]:64427 Input string = The WLL firmware version: <#DavisFirmwareVersion>
The WLL battery condition in volts: <#battery> V
WLL WifiRssi: <#DavisTxRssi tx=0>

WLL Stats for channel :
  WLL DavisReceptionPercent: <#DavisReceptionPercent tx=>
  WLL TxRssi: <#DavisTxRssi  tx=>
  Number of missed data packets: <#DavisTotalPacketsMissed tx=>
  Number of times the console resynchronised with the transmitter: <#DavisNumberOfResynchs tx=>
  Longest streak of consecutive packets received: <#DavisMaxInARow tx=>
  Number of packets received with CRC errors: <#DavisNumCRCerrors tx=>
  The transmitter battery condition: <#txbattery channel=>
2024-03-21 13:43:30.638 Web tag error in file: 
2024-03-21 13:43:30.638 token=<#DavisReceptionPercent tx=>
2024-03-21 13:43:30.638 Position in file (character)=192
2024-03-21 13:43:30.638 Exception: i=134 len=626
2024-03-21 13:43:30.638 inputText.Length=626
2024-03-21 13:43:30.651 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CumulusMX.Cumulus.TokenParserOnToken(String strToken, String& strReplacement)
   at CumulusMX.TokenParser.Parse3()
2024-03-21 13:43:30.651 ** The output file will contain an error message starting "**Web tag error"
2024-03-21 13:43:30.652 Web tag error in file: 
2024-03-21 13:43:30.652 token=<#DavisTxRssi  tx=>
2024-03-21 13:43:30.652 Position in file (character)=236
2024-03-21 13:43:30.652 Exception: i=220 len=626
2024-03-21 13:43:30.652 inputText.Length=626
Data showing on local Dashboard and in log file seems to be ok at 5-minute interval.
Full MXdiags attached.

The error seems to have started about 16 minutes after it was started, and that was also the time that I started a 3rd CMX with WLL (wanting to test it with station type Davis WeatherLink Cloud (VP2) and Cloud (WLL/WLC).

Enjoy,
Paul

Re: b3283 WLL error

Posted: Thu 21 Mar 2024 6:25 pm
by mcrossley
The input does not have a tx number defined in the tag parameter tx=

Re: b3283 WLL error

Posted: Thu 21 Mar 2024 6:43 pm
by PaulMy
Hi Mark,
Checking further, the error stopped on its own about 13:44.
I stopped and restarted and now seems ok, no errors nor reference to WLL so all good.

Enjoy,
Paul

Re: b3283 WLL error

Posted: Thu 21 Mar 2024 6:46 pm
by mcrossley
The problem is with whatever is generating the input string (Cutils?):

Code: Select all

The WLL firmware version: <#DavisFirmwareVersion>
The WLL battery condition in volts: <#battery> V
WLL WifiRssi: <#DavisTxRssi tx=0>

WLL Stats for channel :
  WLL DavisReceptionPercent: <#DavisReceptionPercent tx=>
  WLL TxRssi: <#DavisTxRssi  tx=>
  Number of missed data packets: <#DavisTotalPacketsMissed tx=>
  Number of times the console resynchronised with the transmitter: <#DavisNumberOfResynchs tx=>
  Longest streak of consecutive packets received: <#DavisMaxInARow tx=>
  Number of packets received with CRC errors: <#DavisNumCRCerrors tx=>
  The transmitter battery condition: <#txbattery channel=>
You can see "WLL Stats for channel :" section is missing the transmitter number for all the tags - (and the title itself?)

Re: b3283 WLL error

Posted: Thu 21 Mar 2024 7:05 pm
by HansR
Yes that looks like CUtils.
The channels used must be configured in a comma seprated string e.g. 1,2,3 for parameter Tx

Re: b3283 WLL error

Posted: Thu 21 Mar 2024 7:09 pm
by PaulMy
Hi Mark,
Yes that install has Cutils and runs External Program UserAskedData at each 5-min interval. I had not seen that error previously so possible a unique coincidence.

I have now restarted each v3 install with b3283a CumulusMX.exe and each starts and runs perfect. Including the station type 20 Davis Cloud (VP2) :clap:
and this updates every 1-minute. I will stop it after a bit and restart a couple of hours later to check if historical data is downloaded from my WL.com Pro account.

edit: I see Hans has replied as well.

Enjoy,
Paul

Re: b3283 WLL error

Posted: Fri 22 Mar 2024 1:38 am
by PaulMy
Hi Mark,
After stopping CMX with Station type: 20 - Davis Cloud (VP2) for a couple of hours; then a restart and 5-min archive data was downloaded from WL.com, all perfect, and now 3 hours running Latest Errors tab has

Code: Select all

No errors recorded so far
:clap:

Enjoy,
Paul

Re: b3283 WLL error

Posted: Fri 22 Mar 2024 11:20 am
by mcrossley
Phew! That one seems to be finally solved then (shh!)