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

Sysinfo SystemInfoLinesToSkip

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
Stigian
Posts: 64
Joined: Sun 22 Aug 2021 3:56 pm
Weather Station: 6242EU Vantage Vue
Operating System: Debian 12 (Bookworm)
Location: Vaassen (NL)
Contact:

Sysinfo SystemInfoLinesToSkip

Post by Stigian »

Hi,

I'm switching CumulusMX & Utils to Windows due to communication issues with WLL. Repeatedly I am experiencing communication problems where I get the ERROR: No broadcast data received from the WLL for 30 seconds. I notice that when running under Windows I always get; WLL: Percentage of good packets received from WLL 100,00%.

I am now running into a problem where I want to limit the output of SysInfo by using the SystemInfoLinesToSkip option. No matter what I do (https://www.cumuluswiki.org/a/SysInfo) I see the same output every time I use the SysInfo option.
[SysInfo]
ReportWidth=700
ExtraStationInfo=
Tx=1
SystemInfoLinesToSkip=22
2401251413cumulusutils.log
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

I don't really see your problem: the site still has the linux output so the only thing I see is the logfile which contains the full output of the systeminfo command. But the actual output (excluding the skipped line and stopped at the line containing pagefile.sys) is contained in systeminfoTable.txt. You should check that one.

btw: I like the change of the dashboard. Well done :D
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
Stigian
Posts: 64
Joined: Sun 22 Aug 2021 3:56 pm
Weather Station: 6242EU Vantage Vue
Operating System: Debian 12 (Bookworm)
Location: Vaassen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by Stigian »

That's still my original website in Linux. As long as I have issues under windows I will keep it :)

This is the content of my systeminfoTable.txt in Windows. I don't want to publicly display some data. Is that possible?

Code: Select all

Cumulus version: 3.28.2 (build: 3279)
Cumulus uptime: 0 days 0 hours
Weather station: Davis WLL

The WLL firmware version: 2021-11-05
The WLL battery condition in volts: 5,93 V
WLL WifiRssi: 0

WLL Stats for channel 1:
  WLL DavisReceptionPercent: 100
  WLL TxRssi: -68
  Number of missed data packets: 0
  Number of times the console resynchronised with the transmitter: 0
  Longest streak of consecutive packets received: 4498
  Number of packets received with CRC errors: 0
  The transmitter battery condition: OK


Windows

Host Name:                 NASWIN11
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          leistra@hotmail.com
Registered Organization:   
Product ID:                00330-80025-06231-AA410
Original Install Date:     24/08/2023, 16:08:34
System Boot Time:          25/01/2024, 15:48:07
System Manufacturer:       QEMU
System Model:              Standard PC (i440FX + PIIX, 1996)
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 23 Model 24 Stepping 1 AuthenticAMD ~2600 Mhz
BIOS Version:              SeaBIOS Virtualization-2.5.1-11303-200428-0-gfff70e7, 01/04/2014
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-gb;English (United Kingdom)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory:     8,191 MB
Available Physical Memory: 5,465 MB
Virtual Memory: Max Size:  8,703 MB
Virtual Memory: In Use:    2,619 MB
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

Yes, that is the intention of the SystemInfoLinesToSkip parameter: in the logfile you see the original output of the sysinfo command. count the line you want to skip from the first line. If multiple lines to skip separate them with a comma (,). Run again and the output should be what you want.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
Stigian
Posts: 64
Joined: Sun 22 Aug 2021 3:56 pm
Weather Station: 6242EU Vantage Vue
Operating System: Debian 12 (Bookworm)
Location: Vaassen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by Stigian »

Hi Hans,

Just implemented. It even adds lines at the end now :)

Code: Select all

ReportWidth=700
Tx=1
SystemInfoLinesToSkip=28,29,30

Code: Select all

<div style='margin:auto; text-align:left; width:700px'><pre>
Cumulus version: 3.28.2 (build: 3279)
Cumulus uptime: 0 days 0 hours
Weather station: Davis WLL

The WLL firmware version: 2021-11-05
The WLL battery condition in volts: 5,93 V
WLL WifiRssi: 0

WLL Stats for channel 1:
  WLL DavisReceptionPercent: 100
  WLL TxRssi: -68
  Number of missed data packets: 0
  Number of times the console resynchronised with the transmitter: 0
  Longest streak of consecutive packets received: 501
  Number of packets received with CRC errors: 0
  The transmitter battery condition: OK


Windows

Host Name:                 NASWIN11
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          leistra@hotmail.com
Registered Organization:   
Product ID:                00330-80025-06231-AA410
Original Install Date:     24/08/2023, 16:08:34
System Boot Time:          25/01/2024, 17:27:52
System Manufacturer:       QEMU
System Model:              Standard PC (i440FX + PIIX, 1996)
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 23 Model 24 Stepping 1 AuthenticAMD ~2600 Mhz
BIOS Version:              SeaBIOS Virtualization-2.5.1-11303-200428-0-gfff70e7, 01/04/2014
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-gb;English (United Kingdom)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory:     8.191 MB
Available Physical Memory: 5.482 MB
Virtual Memory: Max Size:  8.703 MB
Domain:                    WORKGROUP
Logon Server:              \\NASWIN11
Hotfix(s):                 5 Hotfix(s) Installed.
                           [01]: KB5033920
                           [02]: KB5029517
                           [03]: KB5034204
                           [04]: KB5032393
                           [05]: KB5034225
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) PRO/1000 MT Network Connection
                                 Connection Name: Ethernet Instance 0
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.178.1
                                 IP address(es)
                                 [01]: 192.168.178.77
                                 [02]: fe80::44c0:e228:85f5:5988
                                 [03]: fda5:e4a3:504e:ffff:a4f0:a50b:4525:24d
                                 [04]: fda5:e4a3:504e:ffff:1060:252b:c6c0:a9ef
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.
</pre></div>
<div style ='width:100%; margin-left: auto; margin-right: auto; text-align: center; font-size: 12px;'><a href='https://cumulus.hosiene.co.uk/viewtopic.php?f=44&t=17998' target='_blank'>CumulusUtils</a> Version 6.23.5  - generated at 25-1-2024 17:38 - &copy; Hans Rottier </div>
2401251738cumulusutils.log
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

I assume one of the line you want to remove is the pagefile.sys line.
Unfortunately the removal goes before the check on the pagefile.sys name to break off. Leave the line with pagefile.sys and remove only lines above.

As this can be seen as a bug I will change this in the version 7 of CUtils: the check for pagefile.sys goes before a removal check.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
Stigian
Posts: 64
Joined: Sun 22 Aug 2021 3:56 pm
Weather Station: 6242EU Vantage Vue
Operating System: Debian 12 (Bookworm)
Location: Vaassen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by Stigian »

The counting is a bit off, but I was able to exclude some lines :clap:

Code: Select all

[SysInfo]
ReportWidth=700
Tx=1
SystemInfoLinesToSkip=8,9,10,11,12

Code: Select all

<div style='margin:auto; text-align:left; width:700px'><pre>
Cumulus version: 3.28.2 (build: 3279)
Cumulus uptime: 0 days 0 hours
Weather station: Davis WLL

The WLL firmware version: 2021-11-05
The WLL battery condition in volts: 5,93 V
WLL WifiRssi: 0

WLL Stats for channel 1:
  WLL DavisReceptionPercent: 100
  WLL TxRssi: -69
  Number of missed data packets: 0
  Number of times the console resynchronised with the transmitter: 0
  Longest streak of consecutive packets received: 1204
  Number of packets received with CRC errors: 0
  The transmitter battery condition: OK


Windows

Host Name:                 NASWIN11
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
System Manufacturer:       QEMU
System Model:              Standard PC (i440FX + PIIX, 1996)
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 23 Model 24 Stepping 1 AuthenticAMD ~2600 Mhz
BIOS Version:              SeaBIOS Virtualization-2.5.1-11303-200428-0-gfff70e7, 01/04/2014
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-gb;English (United Kingdom)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory:     8.191 MB
Available Physical Memory: 5.539 MB
Virtual Memory: Max Size:  8.703 MB
Virtual Memory: Available: 6.256 MB
Virtual Memory: In Use:    2.447 MB
</pre></div>
<div style ='width:100%; margin-left: auto; margin-right: auto; text-align: center; font-size: 12px;'><a href='https://cumulus.hosiene.co.uk/viewtopic.php?f=44&t=17998' target='_blank'>CumulusUtils</a> Version 6.23.5  - generated at 25-1-2024 18:08 - &copy; Hans Rottier </div>
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

I'll review the code on the counting but for the time being it's ok I guess.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

Yes, agreed, the counting of lines is a mess. My bad.
I will rewrite this for v7.0.0
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
packman2008
Posts: 88
Joined: Fri 30 Dec 2022 5:33 pm
Weather Station: Davis VP2 + WLL
Operating System: Windows 11
Location: Blackpool, UK
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by packman2008 »

WLL broadcast errors - this is off topic but I thought it worth mentioning.

I was plagued with intermittent, but often long-running, errors about missing broadcasts from WLL. Both my WLL and CMX server were WiFi based and due to a re-organisation of my house LAN I had the opportunity to put them both onto wired Ethernet ports. Since then my stats have been 100%, so the issue wasn't CMX, WLL or Linux...it was using 2.4GHz WiFi which tends to get wiped out at certain times of the day.
Chris

https://blackpool.weather-watch.com/
CMX build 4018 ● CU 7.0.0b1 ● Davis VP2+WLL & Ecowitt GW1100 ● Core i5 Mini PC ● Windows 11 ● .Net 8.0.3
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Sysinfo SystemInfoLinesToSkip

Post by HansR »

packman2008 wrote: Sun 28 Jan 2024 9:02 pm [...]this is off topic but I thought it worth mentioning. [...]
I guess it is, so I'll let it stay here but maybe it is good to write it as well in a dedicated forum (e.g. Davis)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply