Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gnome Extension

A simple GNOME Shell extension to interact with your local Home Assistant instance.

Screenshot of Home Assistant GNOME Extension in Quick Settings

Installation

  1. Install Mosquitto client:

    sudo apt install mosquitto-clients
  2. Clone this repo:

    git clone https://github.com/aprilborn/ha-quick-settings.git
  3. Copy to extensions directory:

    mv ha-quick-settings ~/.local/share/gnome-shell/extensions/home-assistant@local
  4. Restart GNOME Shell:

    • Press Alt + F2, type r and press Enter (on Xorg), or log out and log in again.
  5. Enable the extension:

  6. Enable retain messages:

    • Home Assistant -> Z2M addon page -> Target device -> Settings -> ✓ Retain

Usage

  • Open Extension Manager
  • Configure extension:
    • MQTT URL
    • MQTT Username
    • MQTT Password
    • MQTT topics ( for 1st button)
    • Webhook URL (for 2nd button)
    • Slider topic
    • MQTT button label
    • Webhook button label
  • Enable/Re-enable extension.
  • Open Quick Settings to see new buttons and slider.

Screenshot of Home Assistant GNOME Extension in Quick Settings

Development

  • The entry point is extension.js.
  • Make edits and reload GNOME Shell to see changes.
  • For troubleshooting, see logs with:
    journalctl /usr/bin/gnome-shell -f -o cat

License

MIT


Questions, suggestions, or contributions welcome! Open an issue or submit a PR.

About

Home Assistant Gnome Extension. Add controls in Quick Settings window

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages