r/TeslaModel3 • • Oct 13 '20

iOS Widget using Scriptable and TeslaFi API

https://github.com/DrieStone/TeslaFi-Widget
9 Upvotes

9 comments sorted by

View all comments

1

u/lcghost Oct 13 '20

This is great, but I’m not super great with the Scriptable app. Any simple walkthrough anywhere?

3

u/[deleted] Oct 13 '20

On the github page I outlined the process.

  • Download Scriptable to your iOS device

  • Download the TeslaFi Widget.js file to your iCloud/Scriptable folder

  • Create a small scriptable widget

  • Under widget options, select "TeslaFi Widget" and enter the API key into the widget parameters

2

u/Jovack1 Oct 14 '20 edited Oct 14 '20

I can not seem to get past the error "Error on line 6: SyntaxError: Unexpected token '<'

Cancel that. Had an issue with my github download!

1

u/lo-cal-host Oct 15 '20

Seeing the same. How did you "fix" this?