Skip to content

Simple BitBar plugin using the Home Assistant API to put your desired sensor values from your home in the Mac status bar.

License

Notifications You must be signed in to change notification settings

petrepa/BitBar-HASS-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BitBar-HASS-fetch

Simple BitBar plugin using the Home Assistant API to put your desired sensor values from your home in the Mac status bar.

Screenshot

You can include as many sensor values as you want, and you can configure if you want the friendly name as prefix or not.

Installation

Install BitBar

Copy HA_fetch.py to your BitBar directory.

Remember to make the script runable with the command

$ chmod +x HA_fetch.py

Edit the file and put in your remote access url, along with a long lived access token (created in your Home Assistant profile).

Configure your entity list to include the entities you want to show.

Example:

'entities': {
        'temperature': ['sensor.netatmo_ute_temperature'],
        'humidity': ['sensor.netatmo_ute_humidity'],
        'light_level': ['sensor.peter_lightlevel']
    },

This gives the result shown in the screenshot above.

About

Simple BitBar plugin using the Home Assistant API to put your desired sensor values from your home in the Mac status bar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages