{"id":18719465,"url":"https://github.com/dkorunic/ismc","last_synced_at":"2026-04-14T11:01:01.999Z","repository":{"id":42015630,"uuid":"215882931","full_name":"dkorunic/iSMC","owner":"dkorunic","description":"Apple SMC CLI tool that can decode and display temperature, fans, battery, power, voltage and current information","archived":false,"fork":false,"pushed_at":"2026-04-10T12:44:10.000Z","size":537,"stargazers_count":182,"open_issues_count":1,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-10T13:28:15.763Z","etag":null,"topics":["apple","current","fan","hardware","macos","monitoring","power","smc","temperature","voltage"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkorunic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-17T20:47:42.000Z","updated_at":"2026-04-10T12:44:14.000Z","dependencies_parsed_at":"2024-04-23T16:46:00.803Z","dependency_job_id":"1dadeb39-b527-477a-924a-98141feecacf","html_url":"https://github.com/dkorunic/iSMC","commit_stats":{"total_commits":44,"total_committers":6,"mean_commits":7.333333333333333,"dds":"0.15909090909090906","last_synced_commit":"4f45b61bb94fef6533c74efe99b896314e210e1e"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/dkorunic/iSMC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkorunic%2FiSMC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkorunic%2FiSMC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkorunic%2FiSMC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkorunic%2FiSMC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkorunic","download_url":"https://codeload.github.com/dkorunic/iSMC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkorunic%2FiSMC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","current","fan","hardware","macos","monitoring","power","smc","temperature","voltage"],"created_at":"2024-11-07T13:26:10.399Z","updated_at":"2026-04-14T11:01:01.991Z","avatar_url":"https://github.com/dkorunic.png","language":"Go","readme":"# iSMC\n\n[![GitHub license](https://img.shields.io/github/license/dkorunic/iSMC.svg)](https://github.com/dkorunic/iSMC/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/dkorunic/iSMC.svg)](https://github.com/dkorunic/iSMC/releases/latest)\n\n## About\n\n`iSMC` is a macOS command-line tool for querying the Apple System Management Controller (SMC). It reads a broad set of well-known SMC keys, determines their type and value, and classifies the results into temperature, power, current, voltage, fan, and battery readings. Each key is accompanied by a human-readable description.\n\nIn addition to standard SMC support for Intel Mac hardware, `iSMC` supports Apple Silicon (M1–M5 and later, including the Neo family), where temperature, voltage, current, and power sensors are exposed through a HID sensor hub rather than the SMC directly.\n\n![Demo](demo.gif)\n\n## Installation\n\n`iSMC` runs on macOS only.\n\n### Homebrew\n\nYou can install iSMC using [Homebrew](https://brew.sh/) by adding the `homebrew-tap` tap and installing the `ismc` package:\n\n```shell\nbrew tap dkorunic/tap\nbrew install ismc\n```\n\n### Manual\n\nDownload the appropriate iSMC binary for your platform from [the releases page](https://github.com/dkorunic/iSMC/releases/latest) and install it manually.\n\n### Using go install\n\nYou can also install iSMC using the `go install` command:\n\n```shell\nCGO_ENABLED=1 go install github.com/dkorunic/iSMC@latest\n```\n\n## Usage\n\n```shell\nApple SMC CLI tool that can decode and display temperature, fans, battery, power, voltage and current\ninformation for various hardware in your Apple Mac hardware.\n\nUsage:\n  iSMC [flags]\n  iSMC [command]\n\nAvailable Commands:\n  all         Display all known sensors, fans and battery status\n  batt        Display battery status\n  completion  Generate the autocompletion script for the specified shell\n  curr        Display current sensors\n  fans        Display fans status\n  guess       Map SMC temperature sensors to CPU cores by thermal correlation\n  help        Help about any command\n  hw          Display hardware information\n  power       Display power sensors\n  raw         Display all raw SMC keys and their byte values\n  temp        Display temperature sensors\n  version     Print the version number of iSMC\n  volt        Display voltage sensors\n\nFlags:\n  -h, --help            help for iSMC\n  -o, --output string   Output format (ascii, table, json, influx) (default \"table\")\n\nUse \"iSMC [command] --help\" for more information about a command.\n```\n\nEach command also accepts short and long aliases: `bat`/`batt`/`battery`, `cur`/`curr`/`current`, `fan`/`fans`, `pow`/`power`, `tmp`/`temp`/`temperature`, `vol`/`volt`/`voltage`, `everything`/`all`.\n\n### Output formats\n\n| Format   | Description                       |\n| -------- | --------------------------------- |\n| `table`  | Coloured terminal table (default) |\n| `ascii`  | Plain ASCII table                 |\n| `json`   | JSON                              |\n| `influx` | InfluxDB line protocol            |\n\n## Related work\n\nThis tool was inspired by several Apple SMC-related projects:\n\n- **SMCKit** — Apple SMC library and tool in Swift: [github.com/beltex/SMCKit](https://github.com/beltex/SMCKit)\n- **libsmc** — SMC API in pure C: [github.com/beltex/libsmc](https://github.com/beltex/libsmc)\n- **iStats** — Ruby gem for Mac stats: [github.com/Chris911/iStats](https://github.com/Chris911/iStats)\n- **smcFanControl** — Fan control tool in Objective-C, includes `smc-command` for raw SMC key queries: [github.com/hholtmann/smcFanControl](https://github.com/hholtmann/smcFanControl)\n- **FakeSMC** — Hackintosh kext: [github.com/RehabMan/OS-X-FakeSMC-kozlek](https://github.com/RehabMan/OS-X-FakeSMC-kozlek)\n- **VirtualSMC** — Hackintosh kext: [github.com/acidanthera/VirtualSMC](https://github.com/acidanthera/VirtualSMC)\n- **osx-cpu-temp** — CPU temperature display in pure C: [github.com/lavoiesl/osx-cpu-temp](https://github.com/lavoiesl/osx-cpu-temp)\n- **applesmc.c** — Linux kernel Apple SMC driver: [github.com/torvalds/linux](https://github.com/torvalds/linux/blob/master/drivers/hwmon/applesmc.c)\n- **gosmc** — Low-level Go SMC bindings: [github.com/panotza/gosmc](https://github.com/panotza/gosmc)\n- **sensors** — Koan-Sin Tan's M1 IOKit demo: [github.com/freedomtan/sensors](https://github.com/freedomtan/sensors)\n- **Stats** — Serhiy Mytrovtsiy's macOS Stats app: [github.com/exelban/stats](https://github.com/exelban/stats)\n\n## Todo\n\nPlanned features:\n\n- fetch and decode SMC key descriptions from the SMC itself,\n- generate and probe random SMC keys,\n- persist discovered SMC keys to a configuration file,\n- add support for missing data types (`si*`, `hex_`, `pwm`, etc.).\n\n## Bugs, feature requests, etc.\n\nPlease open an issue or submit a pull request.\n\n## Star history\n\n[![Star History Chart](https://api.star-history.com/svg?repos=dkorunic/iSMC\u0026type=Date)](https://star-history.com/#dkorunic/iSMC\u0026Date)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkorunic%2Fismc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkorunic%2Fismc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkorunic%2Fismc/lists"}