MCPcopy Create free account

hub / github.com/HermannBjorgvin/Clawdmeter / functions

Functions503 in github.com/HermannBjorgvin/Clawdmeter

↓ 1 callersFunction_build_file_logger
Create a rotating file logger for field diagnostics, or None. Autostart launches the tray under pythonw.exe, which has no console — stdout is
daemon/claude_usage_daemon_windows.py:63
↓ 1 callersFunction_command
Build the headless launch command for the Run value. Uses the BASE interpreter's pythonw.exe — `sys.base_exec_prefix` points at the real Pyth
daemon/autostart_windows.py:38
↓ 1 callersFunction_get_cb_manager
Lazily create and ready a shared CoreBluetooth central manager.
daemon/claude_usage_daemon.py:195
↓ 1 callersFunction_is_encryption_error
True if a connect error is a macOS bonding/encryption mismatch. macOS reports a stale bond as CBErrorDomain Code=15 ("Failed to encrypt the c
daemon/claude_usage_daemon.py:565
↓ 1 callersFunction_on_quit
(icon_ref, _item)
daemon/tests/test_windows_tray.py:158
↓ 1 callersFunction_read_token_keychain
()
daemon/claude_usage_daemon.py:93
↓ 1 callersFunctionaccel_to_rotation
firmware/src/boards/waveshare_amoled_216/imu.cpp:19
↓ 1 callersFunctionadd_chime_field
Add "c":1 to the payload when the config opts in, so the firmware may sound the session-reset chime. Omitted entirely when chime is off.
daemon/claude_usage_daemon.py:331
↓ 1 callersFunctionadd_chime_field
Add "c":1 to the payload when the config opts in, so the firmware may sound the session-reset chime. Omitted entirely when chime is off.
daemon/claude_usage_daemon_windows.py:157
↓ 1 callersFunctionadd_clock_fields
Add wall-clock fields to the payload when the config opts in. "t" = local wall-clock epoch (UTC epoch shifted by the tz offset) so the
daemon/claude_usage_daemon.py:361
↓ 1 callersFunctionadd_clock_fields
Add "t" (local wall-clock epoch) + "tf" (12|24) when the config opts in.
daemon/claude_usage_daemon_windows.py:176
↓ 1 callersFunctionble_clear_bonds
firmware/src/ble.cpp:338
↓ 1 callersFunctionble_get_data
firmware/src/ble.cpp:356
↓ 1 callersFunctionble_has_data
firmware/src/ble.cpp:352
↓ 1 callersFunctionble_init
firmware/src/ble.cpp:252
↓ 1 callersFunctionble_request_refresh
firmware/src/ble.cpp:375
↓ 1 callersFunctionble_send_ack
firmware/src/ble.cpp:361
↓ 1 callersFunctionble_send_nack
firmware/src/ble.cpp:368
↓ 1 callersFunctionble_tick
firmware/src/ble.cpp:319
↓ 1 callersFunctionboard_init
firmware/src/boards/template/board_init.cpp:9
↓ 1 callersFunctionbrightness_cycle
firmware/src/brightness.cpp:25
↓ 1 callersFunctionbrightness_get
firmware/src/brightness.cpp:37
↓ 1 callersFunctionbrightness_init
firmware/src/brightness.cpp:14
↓ 1 callersFunctionbuild_idle_group
Idle "Zzz" screen — shown when the host is connected but no usage update has landed recently (token expired, daemon down, host asleep…). Full-screen,
firmware/src/ui.cpp:353
↓ 1 callersFunctionbuild_pair_group
Pairing hint — shown when disconnected so the screen isn't empty and the user knows how to (re)pair. Wording matches the 3-second release gesture.
firmware/src/ui.cpp:319
↓ 1 callersFunctioncheck_serial_cmd
firmware/src/main.cpp:170
↓ 1 callersFunctionclear_owner
firmware/src/ble.cpp:92
↓ 1 callersFunctioncolor_distance
(c1, c2)
daemon/tests/test_windows_icon.py:111
↓ 1 callersFunctioncompute_layout
Pick layout values from the active board's pixel dimensions. The two existing boards happen to land on the two breakpoints below; new ports inherit th
firmware/src/ui.cpp:52
↓ 1 callersFunctionconnect_and_run
Connect to a target and poll until disconnected or stopped. ``target`` is either an address string (Linux) or a BLEDevice carrying live CoreB
daemon/claude_usage_daemon.py:650
↓ 1 callersFunctionconvert
(pngPath, symbol, wMacro, hMacro, tint)
tools/png_to_lvgl.js:16
↓ 1 callersFunctionderiveCategory
(filename)
tools/scrape_claudepix.js:60
↓ 1 callersFunctiondetect_hour_format
Best-effort 12h/24h detection for the host. Returns 12 or 24 (default 24).
daemon/claude_usage_daemon.py:338
↓ 1 callersFunctiondetect_hour_format
Best-effort 12h/24h detection on Windows via the registry. Returns 12 or 24.
daemon/claude_usage_daemon_windows.py:164
↓ 1 callersFunctiondiscover_bonded_address
Return the BLE address of the bonded Clawdmeter, or None. A device that is paired AND connected to Windows stops advertising, so BleakScanner
daemon/claude_usage_daemon_windows.py:298
↓ 1 callersFunctiondiscover_target
Return a connectable target, or None. The daemon only ever targets the device this system already holds — it never scans for a nearby device
daemon/claude_usage_daemon.py:263
↓ 1 callersFunctiondisplayName
(filename)
tools/scrape_claudepix.js:67
↓ 1 callersFunctiondisplay_hal_begin
firmware/src/boards/template/display.cpp:20
↓ 1 callersFunctiondisplay_hal_draw_bitmap
firmware/src/boards/template/display.cpp:36
↓ 1 callersFunctiondisplay_hal_init
firmware/src/boards/template/display.cpp:14
↓ 1 callersFunctiondisplay_hal_round_area
firmware/src/boards/template/display.cpp:52
↓ 1 callersFunctiondisplay_hal_set_brightness
firmware/src/boards/template/display.cpp:26
↓ 1 callersFunctiondisplay_hal_tick
firmware/src/boards/template/display.cpp:47
↓ 1 callersFunctiones8311_clock_config
firmware/src/es8311.c:230
↓ 1 callersFunctiones8311_create
firmware/src/es8311.c:437
↓ 1 callersFunctiones8311_fmt_config
firmware/src/es8311.c:285
↓ 1 callersFunctiones8311_init
firmware/src/es8311.c:319
↓ 1 callersFunctiones8311_microphone_config
firmware/src/es8311.c:306
↓ 1 callersFunctiones8311_setup
firmware/src/chime.cpp:16
↓ 1 callersFunctiones8311_voice_volume_set
firmware/src/es8311.c:356
↓ 1 callersFunctionget_coeff
* look for the coefficient in coeff_div[] table */
firmware/src/es8311.c:163
↓ 1 callersFunctionhexToRgb565
(hex)
tools/convert_to_c.js:35
↓ 1 callersFunctioni2c_present
firmware/src/boards/waveshare_amoled_18/board_init.cpp:14
↓ 1 callersFunctionidle_init
firmware/src/idle.cpp:33
↓ 1 callersFunctionidle_tick
firmware/src/idle.cpp:78
↓ 1 callersFunctionimu_hal_init
firmware/src/boards/template/imu.cpp:7
↓ 1 callersFunctionimu_hal_tick
firmware/src/boards/template/imu.cpp:8
↓ 1 callersFunctioninit_battery_icons
firmware/src/ui.cpp:282
↓ 1 callersFunctioninit_usage_screen
firmware/src/ui.cpp:372
↓ 1 callersFunctioninput_hal_init
firmware/src/boards/template/input.cpp:5
↓ 1 callersFunctionio_expander_get
firmware/src/boards/waveshare_amoled_18/io_expander.cpp:60
↓ 1 callersFunctionio_expander_init
firmware/src/boards/waveshare_amoled_18_c6/io_expander.cpp:38
↓ 1 callersFunctionio_expander_init
firmware/src/boards/waveshare_amoled_18/io_expander.cpp:36
↓ 1 callersFunctionio_expander_set
firmware/src/boards/waveshare_amoled_18/io_expander.cpp:53
↓ 1 callersFunctionload_cached_address
()
daemon/claude_usage_daemon.py:164
↓ 1 callersFunctionload_owner
firmware/src/ble.cpp:100
↓ 1 callersFunctionmain
()
tools/convert_to_c.js:55
↓ 1 callersFunctionmain
()
tools/scrape_claudepix.js:71
↓ 1 callersFunctionmain
()
daemon/claude_usage_daemon.py:716
↓ 1 callersFunctionmain
(tray_state=None)
daemon/claude_usage_daemon_windows.py:637
↓ 1 callersFunctionmain
()
daemon/test_macos_connect.py:17
↓ 1 callersFunctionmain
Tray entry point: build icons, start daemon bg thread, run pystray. `import pystray` is intentionally INSIDE this function (not at module top)
daemon/tray_windows.py:163
↓ 1 callersFunctionmakeSandbox
()
tools/scrape_claudepix.js:32
↓ 1 callersFunctionmake_bar
firmware/src/ui.cpp:243
↓ 1 callersFunctionmake_panel
firmware/src/ui.cpp:226
↓ 1 callersFunctionmake_pill
firmware/src/ui.cpp:267
↓ 1 callersFunctionnearest_bubble
(pixel_rgb)
daemon/tests/test_windows_icon.py:114
↓ 1 callersFunctionoldest_idx
firmware/src/usage_rate.cpp:32
↓ 1 callersFunctionpair_tick
firmware/src/main.cpp:257
↓ 1 callersFunctionpaletteToRgb565
(palette)
tools/convert_to_c.js:47
↓ 1 callersFunctionparse_json
Parse a JSON line into UsageData.
firmware/src/main.cpp:101
↓ 1 callersFunctionpoll_active_payload
Poll every configured config dir and return the active plan's payload. Returns None when no dir yields a usable payload this cycle. A single
daemon/claude_usage_daemon.py:501
↓ 1 callersFunctionpoll_api
(token: str)
daemon/claude_usage_daemon.py:376
↓ 1 callersFunctionpower_hal_init
firmware/src/boards/template/power.cpp:16
↓ 1 callersFunctionpower_hal_is_vbus_in
firmware/src/boards/template/power.cpp:21
↓ 1 callersFunctionpower_hal_pwr_long_pressed
Hold-to-pair gesture signals. Mirror the 216 (PMU PKEY long/positive IRQs) or the 1.8" (software hold-timing off a polled GPIO) port. Stub = no gestur
firmware/src/boards/template/power.cpp:25
↓ 1 callersFunctionpower_hal_pwr_pressed
firmware/src/boards/template/power.cpp:22
↓ 1 callersFunctionpower_hal_tick
firmware/src/boards/template/power.cpp:17
↓ 1 callersFunctionread_chime_setting
Read the `chime` option from the config file. One of: off|on. Defaults to "off" (the device stays silent) so existing setups are unaffected u
daemon/claude_usage_daemon.py:287
↓ 1 callersFunctionread_chime_setting
Read the `chime` option from the config file. One of: off|on. Defaults to "off" so the device stays silent until the user opts in.
daemon/claude_usage_daemon_windows.py:115
↓ 1 callersFunctionread_clock_setting
Read the `clock` option from the config file. One of: off|auto|12|24. Defaults to "off" (no clock; the device keeps showing "Usage") so existing
daemon/claude_usage_daemon.py:309
↓ 1 callersFunctionread_clock_setting
Read the `clock` option from the config file. One of: off|auto|12|24. Defaults to "off" so existing setups keep showing "Usage" until opted in.
daemon/claude_usage_daemon_windows.py:136
↓ 1 callersFunctionread_reg
firmware/src/boards/waveshare_amoled_18_c6/io_expander.cpp:29
↓ 1 callersFunctionread_reg
firmware/src/boards/waveshare_amoled_18/io_expander.cpp:27
↓ 1 callersFunctionresolve_group_lists
firmware/src/splash.cpp:57
↓ 1 callersFunctionretrieve_connected_macos
Return a BLEDevice for a system-connected 'Clawdmeter', or None. Two-step lookup, strongest signal first: 1. Peripherals connected under our
daemon/claude_usage_daemon.py:209
↓ 1 callersFunctionrgb565
(r, g, b)
tools/png_to_lvgl.js:12
↓ 1 callersFunctionrotate_strip
Rotate a w×h strip into rot_buf and compute destination coordinates on the 480×480 panel. Src is row-major over the rectangle (sx, sy, w, h).
firmware/src/boards/waveshare_amoled_216/display.cpp:46
↓ 1 callersFunctionsafeIdent
(s)
tools/convert_to_c.js:24
↓ 1 callersFunctionsave_owner
firmware/src/ble.cpp:86
← previousnext →101–200 of 503, ranked by callers