m |
m |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
This is a stub for upcoming documentation | This is a stub for upcoming documentation | ||
+ | = Configuration = | ||
== Initial authentication == | == Initial authentication == | ||
− | ''' | + | First, you need to get valid API-keys from Telldus. Log into [http://api.telldus.com 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 | PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU | ||
PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU | PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU | ||
− | Run /opt/agocontrol/bin/tellsticknet_auth.py to get authentication keys from | + | Run /opt/agocontrol/bin/tellsticknet_auth.py to get the device authentication keys from Telldus <br/> |
− | + | 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/> | |
− | 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.<br/> | ||
+ | |||
+ | You'll get: | ||
Authentication successful, you can now use your Tellstick Net with aGo control | Authentication successful, you can now use your Tellstick Net with aGo control | ||
+ | |||
+ | |||
+ | == Additional settings == |
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