Skip to content

finfinack/ha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HA State

Small service which fetches the state of a Home Assistant server and filters specific entities to later expose them in a new JSON format via web API in order to use it for smart displays or so.

Run (Dev Mode)

go run ha.go -config ./config.json

Configuration

{
  "ha_auth_token": "<long lived access token from HA>",
  "ha_status_url": "<HA web endpoint>/api/states",
  "include_entities": [
    "(?i).*temperature.*"
  ],
  "exclude_entities": [
    "(?i).*mystrom.*",
    "(?i).*shelly.*",
  ]
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages