this post was submitted on 09 Oct 2024
1 points (100.0% liked)

Home Assistant

459 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/xx4h on 2024-10-09 15:16:32+00:00.


I've created a tool to control my Home Assistant devices from the command line.

As i'm spending a lot of time on the command line, i was looking for a tool to easily turn on/off or toggle lights and switches, as well as play a short audio on a media player.

It seemed, that other CLI tools i found were not really focused on controlling devices, but on configuring Home Assistant. So i created a tool for myself: hctl

Features

  • Support for Home Assistant
  • Play local and remote music files
  • List all Domains & Domain-Services
  • Turn on/off, or toggle all capable devices
  • Completion for bash, zsh, fish and powershell, auto completing all capable devices
  • Control over short and long names
  • Fuzzy matching your devices so you can keep it short

If you want to check out the project more in detail or even try it out yourself:

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here