SunnyPilot with Comma4 Integration

Sharing blurb

I put together an unofficial Home Assistant custom integration for sunnypilot / SunnyLink.

Repo: GitHub - EarlCrane/sunnypilot_haos · GitHub

This is my first integration. I had the idea on a Friday, worked through it over the weekend, and was surprised by how quickly Home Assistant, HACS, and SunnyLink could be wired together.

What it does:

  • Exposes 67 sunnypilot parameters as native Home Assistant entities
  • Adds 49 switches, 17 number controls, and 1 select control
  • Supports settings like Experimental Mode, MADS, openpilot Enabled, SSH, Driving Personality, torque tuning, upload controls, and more
  • Polls SunnyLink for current state and refreshes state after writes
  • Includes a Lovelace dashboard YAML
  • Installs through HACS as a custom repository

Current status:

  • Working on my comma 4 / sunnypilot setup
  • Early community-maintained project
  • Uses SunnyLink cloud polling, so it depends on SunnyLink auth/API behavior
  • Not affiliated with or maintained by sunnypilot, comma, or Home Assistant

Known limitations:

  • Some settings can affect driving behavior; use with care
  • Some settings may only apply offroad or after a device reboot
  • Voice control through Nabu Casa / Alexa is planned, but only expose controls you are comfortable triggering by voice

Issues and PRs are welcome on GitHub.

1 Like