Page 1 of 2

Bandwith data export error

Posted: Sun Nov 23, 2025 7:07 pm
by Maro
The bandwith data csv export function - Status / Bandwidth Usage / Download Bandwidth Data / "Download Now" - has a bug in Gargoyle 1.14/1.15 (ATH79 and MT7621 Architecture). Item [Bytes Used] not present in csv file.

Gargoyle up to 1.13 exports csv in format:
[Direction],[Interval Length],[Intervals Saved],[IP],[Interval Start],[Interval End],[Bytes Used]

Gargoyle 1.15/1.14 exports csv in format:
[Direction],[Interval Length],[Intervals Saved],[IP],[Interval Start],0,[Interval End]

1.14 tested on TP-Link Archer C2 v3, Archer C58 v1, Archer C6 v2 - all ATH79, Archer C6 v3 - MT7621.
Important note: Gargoyle 1.14 on Raspberry Pi4B exports csv in correct format.
1.15 Archer C6 v3 - MT7621 (Built 20250330-2253 git@ca9ca6a5).

Re: Bandwith data export error

Posted: Wed Nov 26, 2025 6:12 am
by Lantis
Hi, can you test a more recent version of 1.15 to confirm the issue still exists? Particularly if you believe it may be platform dependent.

1.15 20251022 on x86/64 is working fine on my end.

Re: Bandwith data export error

Posted: Thu Nov 27, 2025 6:26 pm
by Maro
Hi, on lantisproject_dot_com I see the latest version 1.15.x_20250331. Where can I find a more recent version?

Re: Bandwith data export error

Posted: Thu Nov 27, 2025 7:06 pm
by Lantis

Re: Bandwith data export error

Posted: Sat Nov 29, 2025 4:52 am
by Maro
File:
gargoyle_1.15.x-ramips-mt7621-tplink_archer-c6-v3-squashfs-sysupgrade.bin

Router info:
Gargoyle Version:1.15.X (Built 20251022-1141 git@fd42d773)
Model:TP-Link Archer C6 v3

Downloaded Bandwidth Data:
upload,900,24,COMBINED,1764404930,0,1764405830
upload,900,24,COMBINED,1764405830,0,1764406730
upload,900,24,COMBINED,1764406730,0,0

Re: Bandwith data export error

Posted: Tue Mar 10, 2026 4:58 pm
by Maro
Any updates on this issue?

Re: Bandwith data export error

Posted: Tue Mar 10, 2026 11:42 pm
by pythonic
Tried the latest build?

Re: Bandwith data export error

Posted: Wed Mar 11, 2026 9:02 am
by Lantis
It is likely a device endianness issue but no I have not been able to look into it.
Can you confirm your device is big endian?

hexdump -s 5 -n 1 -C /bin/busybox
01 = little
02 = big.

Re: Bandwith data export error

Posted: Tue Mar 17, 2026 5:42 pm
by Maro
Router info:
Gargoyle Version:1.15.X (Built 20260223-1023 git@0f8e72d2)
Model:Raspberry Pi 4 Model B Rev 1.2

Console output:
root@RPi:~# hexdump -s 5 -n 1 -C /bin/busybox
00000005 01 |.|
00000006

Using the Download Bandwidth Data function in the web interface exports:
download,minute,359,COMBINED,1773648999,1773649020,102851
download,minute,359,COMBINED,1773649020,1773649080,1187335
download,minute,359,COMBINED,1773649080,1773649140,25065
download,minute,359,COMBINED,1773649140,1773649200,28104
download,minute,359,COMBINED,1773649200,1773649260,17161
download,minute,359,COMBINED,1773649260,1773649320,23322

--------------------------------------------------------------
Router info:
Gargoyle Version:1.15.X (Built 20260223-1023 git@0f8e72d2)
Model:TP-Link Archer C6U v1

Console output:
root@Gargoyle:~# hexdump -s 5 -n 1 -C /bin/busybox
00000005 01 |.|
00000006

Using the Download Bandwidth Data function in the web interface exports:
download,minute,359,COMBINED,1773651720,0,1773651780
download,minute,359,COMBINED,1773651780,0,1773651840
download,minute,359,COMBINED,1773651840,0,1773651900
download,minute,359,COMBINED,1773651900,0,1773651960
download,minute,359,COMBINED,1773651960,0,1773652020
download,minute,359,COMBINED,1773652020,0,1773652080
download,minute,359,COMBINED,1773652080,0,0

I also tried console command "bw_get -i total2-download-minute-359 -h -t", which returns:
total2-download-minute-359,COMBINED,1773651720,0,1773651780
total2-download-minute-359,COMBINED,1773651780,0,1773651840
total2-download-minute-359,COMBINED,1773651840,0,1773651900
total2-download-minute-359,COMBINED,1773651900,0,1773651960
total2-download-minute-359,COMBINED,1773651960,0,1773652020
total2-download-minute-359,COMBINED,1773652020,0,1773652080
total2-download-minute-359,COMBINED,1773652080,0,0

However the console command "bw_get -i total2-download-minute-359 -h" returns expected values:
74411 Mon Mar 16 10:02:00 2026 Mon Mar 16 10:03:00 2026
4898 Mon Mar 16 10:03:00 2026 Mon Mar 16 10:04:00 2026
3898 Mon Mar 16 10:04:00 2026 Mon Mar 16 10:05:00 2026
4186 Mon Mar 16 10:05:00 2026 Mon Mar 16 10:06:00 2026
9131 Mon Mar 16 10:06:00 2026 Mon Mar 16 10:07:00 2026
18552 Mon Mar 16 10:07:00 2026 Mon Mar 16 10:08:00 2026
534 Mon Mar 16 10:08:00 2026 (Now)

Re: Bandwith data export error

Posted: Thu Mar 19, 2026 9:20 am
by Lantis
I think we will have a fix shortly thanks to pythonic.
I’ll try to do a build this weekend.