Yes, Home Assistant is also open source and can be installed on your own local server or Raspberry Pi for self-hosted control. The cloud option provides additional features like remote access.