m |
|||
(3 intermediate revisions by one user not shown) | |||
Line 6: | Line 6: | ||
− | + | Update the file: '''/etc/opt/agocontrol/conf.d/tellsticknet.conf with the keys: | |
− | [ | + | [keys] |
PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU | PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU | ||
PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU | PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU | ||
Line 14: | Line 14: | ||
After a short while, you'll get this: | After a short while, you'll get this: | ||
− | http://api.telldus.com/oauth/authorize?oauth_token=<some long | + | http://api.telldus.com/oauth/authorize?oauth_token=<some long seemingly random string><br/> |
− | Copy the entire URL | + | Copy the entire URL into your browser. When requested, log into Telldus Live and authorise this device to use the API.<br/> |
Eventually you'll get<br/> | Eventually you'll get<br/> | ||
Return to your application and press the confirm-button | Return to your application and press the confirm-button |
This is a stub for upcoming documentation
First, you need to get valid API-keys from Telldus. Log into Telldus API site, click on "Your Keys" and then "Generate a private token for my user only"
Update the file: /etc/opt/agocontrol/conf.d/tellsticknet.conf with the keys:
[keys] PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU
Run /opt/agocontrol/bin/tellsticknet_auth.py to get the device authentication keys from Telldus
After a short while, you'll get this:
http://api.telldus.com/oauth/authorize?oauth_token=<some long seemingly random string>
Copy the entire URL into your browser. When requested, log into Telldus Live and authorise this device to use the API.
Eventually you'll get
Return to your application and press the confirm-button
Now go back to the terminal and run /opt/agocontrol/bin/tellsticknet_auth.py once more.
You'll get:
Authentication successful, you can now use your Tellstick Net with aGo control