Tellstick Net

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
(One intermediate revision by one user not shown)
Line 7: Line 7:
  
 
Update the file: '''/etc/opt/agocontrol/conf.d/tellsticknet.conf with the keys:
 
Update the file: '''/etc/opt/agocontrol/conf.d/tellsticknet.conf with the keys:
  [tellsticknet]
+
  [keys]
 
  PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU
 
  PUBLIC_KEY = QA5AWTFQWXJUANAAT91OQB5BWTFQWXJU
 
  PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU
 
  PRIVATE_KEY = AA6AWT3QAXJBANAAT41WQB5SWTSQSXJU
Line 16: Line 16:
 
  http://api.telldus.com/oauth/authorize?oauth_token=<some long seemingly 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 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

Latest revision as of 23:31, 4 February 2014

This is a stub for upcoming documentation

[edit] Configuration

[edit] 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:

[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


[edit] Additional settings

Personal tools