Skip to content

Enable Apple SMC hardware monitoring support - #4912

Merged
agners merged 2 commits into
home-assistant:devfrom
KingKaom:enable-applesmc
Jul 21, 2026
Merged

agners merged 2 commits into
home-assistant:devfrom
KingKaom:enable-applesmc

Conversation

@KingKaom

@KingKaom KingKaom commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Tested on:

Macmini4,1
Intel x86_64
Linux 6.18.37-haos

current HAOS kernel reports:

CONFIG_SENSORS_APPLESMC is not set

while a Linux Mint kernel on the same machine exposes Apple SMC and allows control of fan speed on Intel macs

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features
    • Added support for Apple System Management Controller (SMC) hardware monitoring.
    • Enabled the Apple SMC sensors driver as a module for compatible devices.

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @KingKaom,

When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).

The commits that are missing a linked GitHub account are the following:

Unfortunately, we are unable to accept this pull request until this situation is corrected.

Here are your options:

  1. If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

  2. If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

    • If you only made a single commit you should be able to run
      git commit --amend --author="Author Name <email@address.com>"
      
      (substituting "Author Name" and "email@address.com" for your actual information) to set the authorship information.
    • If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:
      1. You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
      2. You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.
    • Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.

Thanks, I look forward to checking this PR again soon! โค๏ธ

@home-assistant
home-assistant Bot marked this pull request as draft July 20, 2026 20:22
@home-assistant

Copy link
Copy Markdown

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks ๐Ÿ‘

Learn more about our pull request process.

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @KingKaom

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. ๐ŸŽ‰

โ„น๏ธ Recent review info
โš™๏ธ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 4d2d36ab-d21f-4b3e-a4cf-789e0b14b807

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between e6a402f and 70217d2.

๐Ÿ“’ Files selected for processing (1)
  • buildroot-external/kernel/v6.18.y/device-support.config
๐Ÿ’ค Files with no reviewable changes (1)
  • buildroot-external/kernel/v6.18.y/device-support.config

๐Ÿ“ Walkthrough

Walkthrough

The kernel device-support configuration enables the Apple SMC hardware sensors driver as a loadable module.

Changes

Apple SMC support

Layer / File(s) Summary
Enable Apple SMC monitoring
buildroot-external/kernel/v6.18.y/device-support.config
Adds CONFIG_SENSORS_APPLESMC=m to enable the Apple SMC hardware sensors driver as a module.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

Iโ€™m a bunny with sensors, hopping in tune,
Apple SMC now joins the moon.
A module is loaded, the hardware can sing,
Tiny config changes make monitoring spring.
Hop, hopโ€”let the readings begin!

๐Ÿšฅ Pre-merge checks | โœ… 5
โœ… Passed checks (5 passed)
Check name Status Explanation
Description Check โœ… Passed Check skipped - CodeRabbitโ€™s high-level summary is enabled.
Title check โœ… Passed The title clearly summarizes the main change: enabling Apple SMC hardware monitoring support.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check โœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check โœ… Passed Check skipped because no linked issues were found for this pull request.
โœจ Finishing Touches
๐Ÿงช Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands.

@KingKaom
KingKaom marked this pull request as ready for review July 20, 2026 20:30
@home-assistant
home-assistant Bot dismissed stale reviews from themself July 20, 2026 20:30

Stale

@KingKaom

KingKaom commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor Author

I would like to clarify that this is not about adding Mac support per se. The goal is just to enable an existing upstream hardware monitoring interface for any x86_64 systems that expose Apple SMC which happens to help older Mac minis with broken or missing thermal sensors (common issue on older intel mac minis). On unsupported systems the module remains unused.

@home-assistant
home-assistant Bot marked this pull request as draft July 21, 2026 11:13
@agners agners added the board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) label Jul 21, 2026
@agners
agners marked this pull request as ready for review July 21, 2026 15:04
@home-assistant
home-assistant Bot requested a review from agners July 21, 2026 15:04
@agners
agners merged commit 72cbd33 into home-assistant:dev Jul 21, 2026
1 check passed
@KingKaom
KingKaom deleted the enable-applesmc branch July 21, 2026 15:15
@agners agners mentioned this pull request Jul 27, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) cla-error cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants