Skip to content
/ bhdr Public

beauftiful home assistant TUI ๐Ÿ‘๏ธ๐Ÿ™

Notifications You must be signed in to change notification settings

bmedicke/bhdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

84 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BHDR

BHDR is terminal user interface for Home Assistant.

  • VI based keybindings
  • customizable by editing JSON
  • uses the Home Assistant WebSocket API for the fastest possible response time
  • includes a WebSocket log-view for easy troubleshooting

It's like editing your home with Vim!

toc

installation

go install github.com/bmedicke/bhdr@latest

configuration

  • edit .bhdr.json in your home folder
  • if you don't have one bhdr will create one with bhdr --create-config
  • "scheme" the connection protcol, this should be ws
  • "server" point it to your Home Assistance instance
  • "token" your Home Assistant long-lived access token
  • "ha-entities" array of maps for Home Assistant entities
  • "chordmap" representation of the Vi grammar

usage

The following flags are available:

  • --config <file> load custom configuration
  • --create-config creates a template config in your home folder
  • --show-logs adds a logs view that outputs websocket messages

key bindings

  • all views
    • q quit
    • k move up
    • j move down
    • ctrl-f move down a page
    • ctrl-b move up a page
    • g move to top
    • G move to bottom
    • ] activate logs view
    • [ activate switches view
  • switches view
    • h collapse node, move up tree
    • H collapse all nodes
    • l expand node
    • L expand all nodes
    • ; toggle entity (light, input_boolean, switch, etc.)
  • logs view
    • d clear the log
    • w write log to bhdr_log.json