Skip to content

hassanmian/telldus_live_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telldus Live Client

Python Wrapper for Telldus Live

Usage

from client import TelldusLiveClient

public_key = 'PUBLIC KEY'
private_key = 'PRIVATE KEY'
token = 'TOKEN'
token_secret = 'TOKEN SECRET'
tlc = TelldusLiveClient(
    public_key=public_key, private_key=private_key,
    token=token, token_secret=token_secret
)

device_list = tlc.get_device_list()
for device in device_list:
    print device['name'], device['id'], tlc.tellstick_state_to_string(device['state'])

tlc.update_device_state(**DEVICE_ID**, tlc.TELLSTICK_TURNON)

About

Python Wrapper for Telldus Live

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages