π¦ ClawHub
Tibber Energy
by @pmagnomuller
Use Tibber API data to fetch hourly spot prices, plan cheapest appliance or EV charging windows, detect consumption anomalies, and trigger smart-home actions...
β‘ When to Use
βοΈ Configuration
Set environment variables before running:
export TIBBER_ACCESS_TOKEN="your_tibber_token"
export TIBBER_HOME_ID="optional_home_id"
TIBBER_HOME_ID is optional if the account has one home.
You can also copy .env.example to .env and fill values locally:
cp .env.example .env
Alternatively, for shareable/persistent configuration, create:
~/.config/tibber-energy/config.json
You can copy the template from this repo:
cp config.json.example ~/.config/tibber-energy/config.json
The scripts will use credentials in this order:
1) environment variables (TIBBER_*)
2) ~/.config/tibber-energy/config.json
3) interactive prompt (only if you pass --prompt-missing-secrets)
π Tips & Best Practices
currentSubscription.priceInfo (today + tomorrow).--execute.TERMINAL
clawhub install tibber-energy