Skip to content

About

Tanmatsu badge app

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

WiFi Analyzer for Tanmatsu

A 2.4 GHz WiFi channel analyzer app for the Tanmatsu badge.

Scan your surroundings, visualize channel congestion, and monitor signal strength per network — directly on the badge display.


Device

Hardware Tanmatsu badge (rev 5+)
Application processor ESP32-P4
Radio co-processor ESP32-C6 (used for WiFi scanning)
Display 4" MIPI DSI, 800×1280 px
Framework ESP-IDF v6.0.2, badge-bsp 2.x

The Tanmatsu is an open-source badge developed by Nicolai Electronics.

From v1.0.2 the app is built for BSP 2, so it is also offered on boards with the second display panel. It was tested on the original panel with launcher 0.3.1 and radio 3.4.0, not on the second panel.


Installing

Install WiFi Analyzer from the Tanmatsu appstore (launcher → Apps). To install by hand, download wifianalyzer.bin from the latest release and upload it with badgelink while the badge is in USB mode:

python badgelink.py appfs upload nl.cj.wifianalyzer "WiFi Analyzer" 0 wifianalyzer.bin

Views

Channels

Bar chart showing the combined signal strength per 2.4 GHz channel (1–14). Useful for quickly spotting congested channels.

List

Table of all detected networks sorted by signal strength, with:

  • SSID (or BSSID for hidden networks), colored per MAC address
  • Channel, RSSI (color-coded), Security type

Navigate with W/S or arrow keys and press Enter to open the detail screen.

Detail

Full per-network breakdown: BSSID, channel, RSSI, auth/cipher mode, bandwidth (20/40/80/160 MHz), PHY standards (11b/g/n/a/ac/ax), WPS, FTM, country.

Graph

Gaussian arch line curves per AP, bandwidth-scaled and color-coded by MAC address. A legend strip below the axis shows each AP's color, SSID, and bandwidth. Hidden SSIDs are hidden by default (toggle with H).


Controls

Key Action
Tab Cycle views (Channels → List → Graph)
R Rescan
W / S or ↑ / ↓ Navigate list
Enter Open network detail
ESC Back to list (from detail)
H Toggle hidden SSIDs
F1 / Red X Exit to launcher

Screenshots

Channels List
Channels List
Graph Detail
Graph Detail

Development write-up

Read about the development journey and lessons learned on Medium: Building a WiFi Analyzer on the Tanmatsu Badge


Building

Requires ESP-IDF v6.0.2. Clone the Tanmatsu template first to set up the local toolchain, then:

unset IDF_PATH && unset IDF_TOOLS_PATH && make build

Or build in Docker, no local toolchain needed:

docker run --rm -v "$PWD":/project -w /project espressif/idf:v6.0.2 \
  bash -lc 'git config --global --add safe.directory /project && \
  idf.py -B build/tanmatsu build -DDEVICE=tanmatsu \
  -DSDKCONFIG_DEFAULTS="sdkconfigs/general;sdkconfigs/tanmatsu" \
  -DSDKCONFIG=sdkconfig_tanmatsu -DIDF_TARGET=esp32p4 -DFAT=0'

ESP-IDF 6 builds for the ESP32-P4X by default, which the bootloader on the badge rejects (blue screen, no output). sdkconfigs/tanmatsu therefore pins the chip revision to v1; keep those CONFIG_ESP32P4_* lines when you change the defaults.


License

MIT — see LICENSE.

Developed by CJ van Soest with Claude AI (Anthropic) as AI co-author.

Badge BSP and template by Nicolai Electronics (MIT/CC0).

Feature concept and inspiration credit: Saarbastler (tanmatsu-wifi-scanner, MIT) — network list navigation, per-AP detail screen, and frequency graph with bandwidth-scaled channel visualization.

About

Tanmatsu badge app

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages