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!
go install github.com/bmedicke/bhdr@latest
- edit
.bhdr.json
in your home folder - if you don't have one bhdr will create one with
bhdr --create-config
- see .bhdr.json for the template
"scheme"
the connection protcol, this should bews
"server"
point it to your Home Assistance instance"token"
your Home Assistant long-lived access token- to get a token go to your Home Assistant profile (link for locally running server) and click create token
"ha-entities"
array of maps for Home Assistant entities"chordmap"
representation of the Vi grammar
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
- all views
q
quitk
move upj
move downctrl-f
move down a pagectrl-b
move up a pageg
move to topG
move to bottom]
activate logs view[
activate switches view
- switches view
h
collapse node, move up treeH
collapse all nodesl
expand nodeL
expand all nodes;
toggle entity (light, input_boolean, switch, etc.)
- logs view
d
clear the logw
write log tobhdr_log.json