Posts in category python

Testers wanted for TellStick plugins

Previously we hinted about more hackability and features in our new generation TellStick. It is now time for the next step, plugins.

With plugins you will be able to extend the functionality of your TellStick even further.

TellStick already supports a great amount of both Z-Wave and 433-devices already, but it is possible to integrate other types of devices available over the network. How does support for Philips Hue, Netatmo, Sonos, and Eliq sound?

We are ready for real world testing of plugins for TellStick ZNet Lite (v1/v2) and TellStick Net v2 and need you to help us test it.

The beta test is open for Pro users only. [[beta:6 Sign up here]].

Do you want to develop your own plugin? Please contact us and we will help you setup.

Initially we have created the following plugins for you to test.

http://fw.telldus.com/plugins/Eliq-1.0.png
Import Eliq energy data into Telldus Live!
http://fw.telldus.com/plugins/Lifx-1.0.png
Plugin that allows you to control Lifx bulbs.
http://fw.telldus.com/plugins/Mail_sender-1.0.png
Send emails from lua scripts
http://fw.telldus.com/plugins/Netatmo_Weather-1.0.png
Use Netatmo weather station in Telldus Live!
http://fw.telldus.com/plugins/Philips_Hue-1.0.png
Control Philips Hue lights
http://fw.telldus.com/plugins/Pushover-1.0.png
Pushover makes it easy to get real-time notifications
on your Android, iPhone, iPad, and
Desktop (Pebble, Android Wear, and Apple watches, too!)
http://fw.telldus.com/plugins/Sonos-0.1.png
Plugin that allows you to control Sonos speakers
http://fw.telldus.com/plugins/SqueezeBox-1.0.png
Plugin to control Logitech Squeezebox from TellStick
http://fw.telldus.com/plugins/TP-Link-1.0.png
Plugin that allows you to control TP-Link HS100/HS110
http://fw.telldus.com/plugins/Verisure-1.0.png
Plugin to read status from a Verisure Alarm
http://fw.telldus.com/plugins/WeMo-1.0.png
Control WEMO Insight
http://fw.telldus.com/plugins/YR_Weather-1.0.png
Import weatherdata from the current location from yr.no

How about the source code for the plugins? It's available here:
https://github.com/telldus/tellstick-server-plugins

Python for TellStick

Did you know that Python can be used to control a TellStick or TellStick Duo?

Our examples show you how to interact with the library directly using ctypes but there is also three third party wrappers to ease the development.

The first one is also based on ctypes but hides the nasty details of the c-library such as memory cleanup. Please check it out: https://bitbucket.org/davka003/pytelldus/

The second one is a native wrapper. This has been merged to our repository here: bindings/python/native

The third one also provides a object oriented interface. Available on github: https://github.com/erijo/telldus-py

So if you are a Python fan, go on and write applications for TellStick using your favourite language.

New Python example for Telldus Live!

We have just published a new python example for our Telldus Live! API. It is simply a tdtool implementation over OAuth instead of telldus-core.

It has currently only been testen on Linux, please try it out on other platforms and let us know how it works.

You need the Python OAuth and ConfigObj modules installed for this to work. Then you need to add a keypair for PUBLIC_KEY and PRIVATE_KEY. You can generate one here: http://api.telldus.com/keys/index

You can find the source here: examples/python/live/tdtool