RepositoryGoHRCroatia
DK

dkorunic/iSMC

Apple SMC CLI for macOS — temperature, fan, battery, power, voltage and current sensors on Intel and Apple Silicon (M1–M5), with table, JSON and InfluxDB output

214stars
24forks
1issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: current

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: voltage

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: power

#2 Repository Của Tuần

🎯 iSMC — Công cụ CLI Đọc Toàn Bộ Dữ Liệu SMC Trên macOS

iSMC đọc nhiệt độ, điện áp, dòng điện, công suất, tốc độ quạt và trạng thái pin từ Apple SMC, hỗ trợ cả Mac Intel và Apple Silicon M1–M5.

iSMC là một công cụ dòng lệnh (CLI) dành riêng cho macOS, dùng để truy vấn Apple System Management Controller (SMC). Nó đọc một tập hợp rộng các khóa SMC đã biết, xác định kiểu và giá trị của từng khóa, rồi phân loại kết quả thành các nhóm như nhiệt độ, công suất, dòng điện, điện áp, quạt và pin. Mỗi giá trị đều đi kèm mô tả dễ đọc.

✨ Điểm nổi bật

  • Hỗ trợ đầy đủ SMC trên macOS: đọc nhiệt độ, quạt, pin, công suất, điện áp và dòng điện.
  • Hỗ trợ Apple Silicon: đọc nhiệt độ, điện áp và dòng điện qua HID sensor hub; công suất vẫn qua SMC.
  • Định dạng đầu ra đa dạng: table (mặc định), ascii, json, influx.
  • Lệnh con linh hoạt: all, batt, curr, fans, guess, hw, power, raw, temp, volt, version.
  • Bản đồ cảm biến nhiệt độ theo lõi CPU: lệnh guess dùng tương quan nhiệt để gán cảm biến với lõi.
  • Cài đặt đa phương thức: Homebrew, tải nhị phân, hoặc go install.
  • Kiến trúc hai đường truyền: SMC path (Intel/PPC + Apple Silicon power) và HID path (Apple Silicon temp/volt/curr).
  • Mã nguồn mở, viết bằng Go: cấu trúc rõ rệt, phân chia public/internal.

💡 Vì sao đáng chú ý

Khác với các công cụ đọc SMC khác chỉ hỗ trợ một phần cứng hoặc một nhóm dữ liệu, iSMC hỗ trợ toàn bộ dòng máy Mac từ Intel đến Apple Silicon M1–M5, kể cả các biến thể Pro/Max/Ultra. Đặc biệt, nó tận dụng HID sensor hub trên Apple Silicon để truy cập nhiệt độ, điện áp và dòng điện — những dữ liệu thường không khả dụng qua SMC thông thường.

Với giao diện CLI nhẹ nhàng và hỗ trợ xuất JSON/InfluxDB, iSMC rất phù hợp để tích hợp vào hệ thống giám sát (monitoring) hoặc benchmark hiệu năng phần cứng trên macOS.


#AppleSMC #macOS #HardwareMonitoring #GoLang #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
macmade/Sensors

A macOS application displaying the thermal, voltage and current sensor values.

154
Jul 17, 2026
RepositoryC
libdriver/ina226

INA226 full-featured driver library for general-purpose MCU and Linux.

68
Oct 20, 2026
RepositorySwift
jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

119.1k
Nov 22, 2026
RepositoryGo
markusressel/fan2go

A simple daemon providing dynamic fan speed control based on temperature sensors.

374
Nov 22, 2026
RepositorySwift
exelban/stats

macOS system monitor in your menu bar

43.6k
Nov 23, 2026
RepositorySwift
utmapp/UTM

Virtual machines for iOS and macOS

37.0k
Nov 18, 2026
RepositorySwift
MonitorControl/MonitorControl

🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

34.8k
Oct 14, 2026
RepositoryRust
trycua/cua

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

32.7k
Nov 21, 2026
Repository
Rem0o/FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.

21.5k
Nov 20, 2026