Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACCESS_TOKEN, Widget #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

RonnyWinkler
Copy link

  • Added possibility to use an ACCESS_TOKEN in env.json for local test
    Changes in driver.compose.json (added loading pair screen to check ACCESS_TOKEN
    Added token usage in api.ts

  • Added Homeys widget for Home and Pulse device
    Added API function in app.ts
    Added realtime events in home and pulse device to send updates to the widget
    Widget folder with widget definition and html elements

When you add a field ACCESS_TOKEN to env.json, this is used. If this is not set (official Tibber version, the pais screen should continue with the oAuth screen. Please check this before publishing the app (I tested without access token and client id and the oAuth screen was shown).

The widget can show energy data from Pulse device (assign the Pulse device in widget settings):
grafik

The widget can show price information with or without chart (assign home device in widget settings):
grafik

The widget offers several options

  • show/hide chart
  • zoom chart (yAxis)
  • show simple line or colored chart
  • color options for: color based on price level, color based on price range (1/5 of corrent range), vertical area color bases on price level.
    grafik
    grafik
    grafik

Referring to issue #102

- Added possibility to use an ACCESS_TOKEN in env.json for local test
- Added Homeys widget for Home and Pulse device
Fixed widget settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant