The Tibber app uses oAuth for API access. That prevents local installation because you don’t know the CLIENT_ID and CLIENT_SECRET from env.json.
I provided a code change to use a private access token for API authentification.
While my PR is not released as test version you can use my fork from GitHub - RonnyWinkler/com.tibber.athom: Tibber app for Athom Homey
Steps needed:
- Download from Github
- Login at https://developer.tibber.com/ and get your opersonal access token.
- Create the env.json file and insert the token:
{ ACCESS_TOKEN: xxxxx } - Install needed node modules and TypeScript libraries
- Run the app (
homey app run) or install on Homey (Homey app install)
You can now install the app locally and add functionalities to provide PRs for Tibber (hoping they will be released).