Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

Timeframe HA Sync Addon

A minimal Home Assistant addon that syncs timeframe_*, weather.*, and media_player.* entities to Timeframe.

Setup

  1. In Timeframe, go to your Profile and copy the Home Assistant Sync API Key for your location
  2. Install this addon in Home Assistant
  3. Configure the addon with your API key
  4. Start the addon

Configuration

OptionDescriptionDefault
api_keyAPI key from your Timeframe profile pagerequired
sync_interval_secondsHow often to poll HA for changes (seconds)1

To protect the upstream API, syncs are debounced to at most once per 60 seconds when data changes.

How it works

The addon polls Home Assistant for all entities matching timeframe_*, weather.*, or media_player.* and sends their current state to the Timeframe cloud API. Only the latest sync data is stored.

Configuration entities

You can create these optional sensor entities in Home Assistant (e.g. via template sensors or helpers) to control which entities Timeframe uses:

Entity IDDefault behaviorDescription
sensor.timeframe_media_player_entity_idUses the first media_player.* entitySet the state to a specific media player entity ID (e.g. media_player.living_room) to control which player's now-playing info is shown.
sensor.timeframe_weather_entity_idUses the first weather.* entitySet the state to a specific weather entity ID (e.g. weather.home) to control which weather entity provides forecasts.
sensor.timeframe_weather_feels_like_entity_idUses apparent_temperature from the weather entitySet the state to a specific sensor entity ID to override the feels-like temperature display.

Resource usage

This addon is designed to be extremely lightweight — it's a single shell script using curl and jq with no runtime dependencies.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages