(Better and faster) Table of Hardware

Ok, so how are you detecting "ax" and "ac"?

Seems like it should be pretty simple to mirror whatever is doing the matches for all the other 802.11 standards...

Pull Requests are always welcome! :heart_eyes: :+1:

2 Likes

New official (now adopted) repository is at : https://github.com/openwrt/toh-openwrt-org

BTW, without your nice feedback, this would not have been possible!. Cheeers!!!! :sunglasses:

Your contributions are WELCOME ! :heart_eyes:

8 Likes

You can now preview the develop version (before being deployed to production) at:

https://openwrt.github.io/toh-openwrt-org/

BTW: I've just added the Wifi7 filter !

10 Likes

Let's add some icons for all links, and revamp the "details popup", in the latest dev version, among many improvements.

4 Likes

This looks super useful. A couple of issues:

  1. Looks like the link in the top post is broken.
  2. When specifying the number of results displayed in a page, when that number is higher than the total count of available results, a bunch of empty lines are printed (presumably as many as the delta between the 2 numbers).
    (tested with the latest dev version)
  1. I know, but i'm no longer able to edit the first post...
  1. The height of the table has to be fixed, else you get annoying bugs, like page scrolling to the top, each time you click a "page" (1 2 3 4 5 6....) at the bottom of the table.
    Obviously, fixing the height of the table (relative to page size), leads to what you experienced. There is no simple fix. It's either one issue, or the other...

but if anyone is a Frontend expert, I'm pretty sure he could push a PR to implement a better solution.

A least, it is already "a little bit" better than the old TOH.... :cowboy_hat_face:

1 Like

??? What does it do when you try? You, being the thread creator, should be able to edit it forever. Time to call in an admin?

When trying to edit, I can view my previous edits history, but no longer can make any changes... Maybe because i'm still a "basic" user...

No need to bother an admin for that... :woozy_face:

Latest v1.77 release has been pulled to production. :clinking_beer_mugs:

There is still a remaining display bug waiting to be fixed... [Edit : Now fixed!]

2 Likes

Since v1.78b2, you can now export the table data as CSV or JSON, (see at the bottom of the table).

Would you please help me:

  • test the download feature, and confirm it works as expected
  • (once, you've understood how it works) help me to improve the whole "Export Table Data..." sentence, to make it a bit more english friendly, and comprehensive
2 Likes

I was curious about the JSON export (as I was working an a router metadata format for OpenWrt and wanted to see what the current one looks like), but the export crashes Firefox.

Works fine for me for both CSV and JSON formats. Using iPadOS: with:

  • Safari browser
  • FireFox browser
  • Chrome browser
  • DuckDuckGo browser
1 Like

Might be something about my setup: I'm on 137 on Fedora 41.

Thanks for the report

I'm on FF 137 Mac... no problem here!

Can you please make some more tests (maybe on another browser), and explain what do you mean by 'crashes'... It's supposed to open a "Save as" standart OS dialog window

Did a quick test of json export on a filtered set of devices - device count, presented info and columns in the json file all matched the info from the browser.
(tested with Firefox 137)

To me it already looks clear (but I am not a native english speaker so can't tell if it is worded confusingly)

As an alternative you could label the buttons itself like 'Export JSON' or 'Export to JSON file'

Export Table Data : rows, with the 23 / 77 shown columns CSV JSON

Native English language user: seems perfectly intuitive to me.

Native English language user: seems perfectly intuitive to me.

Sounds like my english writing is finally not that bad, actually... :smiling_face:

Export Table Data : rows, with the 23 / 77 shown columns

  • Shouldnt it be better like: , with the 23 of 77 shown columns... or something like that ?
  • The popup either shows "2777 total" rows, with... or "61 filtered" rows, with.... is this correct, comprehensive... any better words?

Latest question for english natives : Export Table Data or Export Table's Data (I'm always confused with this sort of things)?

Looks like it was definitely my setup related, as the export started working after updating/restarting.

Anyhow, the reason I was looking into the exports, was that I wrote a janky parser, that sanitizes and normalizes the data from toh.json to convert it into something more structured and humanly-readable, plus combines it with the current release profiles. Here's an example entry:

{
	"id": "zyxel:zyxel_ex5601-t0",
	"availability": "Available 2022",
	"bootloader": "U-Boot",
	"brand": "ZyXEL",
	"buttons": 2,
	"cpu": {
		"name": "MediaTek MT7986a",
		"cores": 4,
		"freq": 2000
	},
	"comments": {
		"installation": "Link on \"Supported Since Commit\"",
		"misc": "https://hack-gpon.github.io/zyxel/ | an additional tutorial that fits both the EX5601-T0 (w/ SFP+, and the EX5601-T1 (w/o SFP+): https://forum.openwrt.org/t/adding-openwrt-support-for-zyxel-ex5601-t0/155914/325?u=injectmeneer",
		"network_ports": "The 2x 2.5Gbit ports should not be used for the flashing procedure. Once OpenWRT has been properly installed on the flash, you'll be able to use the 2.5Gbit ports as you wish."
	},
	"type": "WiFi Router",
	"ports": {
		"ethernet": {
			"1g": 3,
			"2.5g": 2
		},
		"phone": 2,
		"sfpPlus": 1,
		"usb": {
			"3.x": 1
		}
	},
	"urls": {
		"openwrt": {
			"install": [
				"https://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-factory.bin"
			],
			"upgrade": [
				"https://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-sysupgrade.bin"
			],
			"snapshot_install": [
				"https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-factory.bin"
			],
			"snapshot_upgrade": [
				"https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-sysupgrade.bin"
			],
			"forum": [
				"https://forum.openwrt.org/t/adding-openwrt-support-for-zyxel-ex5601-t0/155914"
			],
			"picture": "https://openwrt.org/_media/media/zyxel/ex5601-t0.png?cache="
		},
		"oem": {
			"homepage": "https://service-provider.zyxel.com/global/en/products/ethernet-cpe/ethernet-iads/ex5601ex5600-t-series"
		}
	},
	"flash": [
		512
	],
	"search": {
		"forum": [
			"EX5601-T0"
		],
		"git": [
			"EX5601-T0"
		]
	},
	"installation_methods": [
		"see git-commit"
	],
	"leds": 12,
	"model": "EX5601",
	"modem": "GPON",
	"outdoor": false,
	"architecture": {
		"package": "aarch64_cortex-a53",
		"subtarget": "filogic",
		"target": "mediatek"
	},
	"power_supply": "12v",
	"ram": [
		1024
	],
	"recovery_methods": [
		"see git-commit"
	],
	"serial": {
		"parameters": "115200 / 8N1",
		"voltage": 3.3
	},
	"support": {
		"current": "24.10.0",
		"commit": "https://github.com/openwrt/openwrt/commit/1c05388ab04c934ec240e8362321908f91381a90",
		"since": "23.05.0"
	},
	"switch": "MediaTek MT7531",
	"unsupported_functions": [
		"Voip (missing drivers or proper zyxel platform software)"
	],
	"vlan": true,
	"version": [
		"T0"
	],
	"wlan": {
		"2.4ghz": [
			"b",
			"g",
			"n",
			"ax"
		],
		"5ghz": [
			"a",
			"n",
			"ac",
			"ax"
		],
		"comments": "Wifi6 802.11ax 5 GHz 4x4 + 2.4GHZ 4x4",
		"hardware": [
			"Mediatek MT7976"
		],
		"driver": [
			"mt76"
		]
	},
	"profiles": {
		"zyxel_ex5601-t0-stock": {
			"device_packages": [
				"kmod-mt7915e",
				"kmod-mt7986-firmware",
				"mt7986-wo-firmware",
				"kmod-usb3"
			],
			"image_prefix": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock",
			"images": [
				{
					"filesystem": "squashfs",
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-sysupgrade.bin",
					"sha256": "fc23e45b8d8d1dc8e2eb1dff22920c41775004f7df896f38ee669f53f56cdc04",
					"sha256_unsigned": "05581cb7c5d92ab25771c58a86e4581119f08cd67e43e3f386c9fe02ff4a9af2",
					"type": "sysupgrade"
				},
				{
					"filesystem": "initramfs",
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock-initramfs-kernel.bin",
					"sha256": "e94be3bef19551d14abbdc2f0511768988550c161f064af0af1a538161eee019",
					"sha256_unsigned": "e94be3bef19551d14abbdc2f0511768988550c161f064af0af1a538161eee019",
					"type": "kernel"
				},
				{
					"filesystem": "squashfs",
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-stock-squashfs-factory.bin",
					"sha256": "e6bff8713f0799ff417952ee64ff33afdefa87fc00551a237dd08f0ba76e2072",
					"sha256_unsigned": "e6bff8713f0799ff417952ee64ff33afdefa87fc00551a237dd08f0ba76e2072",
					"type": "factory"
				}
			],
			"supported_devices": [
				"mediatek,mt7986a-rfb-snand"
			],
			"titles": [
				{
					"model": "EX5601-T0",
					"variant": "(stock layout)",
					"vendor": "Zyxel"
				},
				{
					"model": "EX5601-T1",
					"vendor": "Zyxel"
				},
				{
					"model": "T-56",
					"vendor": "Zyxel"
				}
			]
		},
		"zyxel_ex5601-t0-ubootmod": {
			"device_packages": [
				"kmod-mt7915e",
				"kmod-mt7986-firmware",
				"mt7986-wo-firmware",
				"kmod-usb3"
			],
			"image_prefix": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod",
			"images": [
				{
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod-bl31-uboot.fip",
					"sha256": "d79cd4aa064f1d88c6a6d7bd38cc2de674a6aad380733c50a8da191c4bb28219",
					"sha256_unsigned": "d79cd4aa064f1d88c6a6d7bd38cc2de674a6aad380733c50a8da191c4bb28219",
					"type": "bl31-uboot.fip"
				},
				{
					"filesystem": "squashfs",
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod-squashfs-sysupgrade.itb",
					"sha256": "a2696f81fda6997db48e5c1d723d746f1c4cb4109dd718605b69141743849bfc",
					"sha256_unsigned": "b92e432021d1752bddb58b57cb4b55862bd190aa093694c7b5a2b1ebfe911ea0",
					"type": "sysupgrade"
				},
				{
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod-preloader.bin",
					"sha256": "c3dde698dee6f3d29afe80af9a969f2b8358ffbd953c49f61127fb2f5e345a5a",
					"sha256_unsigned": "c3dde698dee6f3d29afe80af9a969f2b8358ffbd953c49f61127fb2f5e345a5a",
					"type": "preloader.bin"
				},
				{
					"filesystem": "initramfs",
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod-initramfs-recovery.itb",
					"sha256": "5b17679b5868997ea7d8f1ff18c5e2357d242e8a6417b03d649d1d72e9cb2c0c",
					"sha256_unsigned": "5b17679b5868997ea7d8f1ff18c5e2357d242e8a6417b03d649d1d72e9cb2c0c",
					"type": "kernel"
				},
				{
					"name": "openwrt-24.10.0-mediatek-filogic-zyxel_ex5601-t0-ubootmod-initramfs-factory.ubi",
					"sha256": "a461c6f409fa82ee53cd77e038825268ca78a15c59dd53e3f4f29d4b2ab4fd18",
					"sha256_unsigned": "a461c6f409fa82ee53cd77e038825268ca78a15c59dd53e3f4f29d4b2ab4fd18",
					"type": "initramfs-factory.ubi"
				}
			],
			"supported_devices": [
				"zyxel,ex5601-t0-ubootmod"
			],
			"titles": [
				{
					"model": "EX5601-T0",
					"variant": "(OpenWrt U-Boot layout)",
					"vendor": "Zyxel"
				},
				{
					"model": "EX5601-T1",
					"vendor": "Zyxel"
				},
				{
					"model": "T-56",
					"vendor": "Zyxel"
				}
			]
		}
	}
}

This format makes it easier to query the TOH with something like jq. Not sure if it's of any use though to anyone besides myself.

The former is perfectly okay, being a compound word, the latter reads awkwardly. No native speaker but I'm pretty sure the genitive is not mandatory, so leave it out for readability.

The link in your topic start gives a 404 BTW.