Tellstick Net

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
m
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 seeminly random string><br/>
+
  http://api.telldus.com/oauth/authorize?oauth_token=<some long seemingly random string><br/>
  
 
Copy the entire URL and into your browser. When requested, log into Telldus Live and authorise this device to use the API.<br/>
 
Copy the entire URL and into your browser. When requested, log into Telldus Live and authorise this device to use the API.<br/>

Revision as of 00:17, 5 February 2014

This is a stub for upcoming documentation

Configuration

Initial authentication

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:

[tellsticknet]
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 and 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


Additional settings

Personal tools