This is a menu bar application for Mac OS that allows you to toggle on/off lights via Home Assistant. It uses the Home Assistant Rest API
- Run:
bundle install
pod install
-
When running pod install it will ask for a
host
key and asecret
key. Set thehost
key to your the URL where your home assistant is running, for examplehttps://example.com
. Set thesecret
key to yourLong-Lived Access Token
as described in the Rest API. -
Open
home-assistant-hotkeys.xcworkspace
and compile.
Lights can be toggled with F1, F2, F3, ...
- Add menu bar icon
- Show lights that are on and off in drop-down menu
- Add Preferences pane where secret key and host can be added
- Allow custom shorcuts