Browse by time:
- November 2019 (1)
- October 2019 (1)
- February 2019 (2)
- January 2019 (1)
- December 2018 (1)
- November 2018 (1)
- October 2018 (1)
- September 2018 (3)
- March 2018 (1)
- February 2018 (1)
- January 2018 (2)
- September 2017 (2)
- July 2017 (1)
- June 2017 (2)
- May 2017 (3)
- April 2017 (3)
- March 2017 (1)
- February 2017 (1)
- January 2017 (1)
- December 2016 (1)
- October 2016 (1)
- August 2016 (1)
- July 2016 (1)
- June 2016 (2)
- May 2016 (2)
- March 2016 (3)
- January 2016 (3)
- December 2015 (2)
- November 2015 (2)
- October 2015 (1)
- September 2015 (1)
- August 2015 (1)
- March 2015 (3)
- February 2015 (3)
- December 2014 (1)
- September 2014 (1)
- June 2014 (1)
- May 2014 (1)
- April 2014 (1)
- March 2014 (1)
- January 2014 (1)
- December 2013 (2)
- November 2013 (2)
- October 2013 (4)
- September 2013 (3)
- May 2013 (2)
- April 2013 (2)
- March 2013 (2)
- January 2013 (2)
- November 2012 (4)
- October 2012 (1)
- September 2012 (2)
- August 2012 (2)
- July 2012 (1)
- June 2012 (2)
- May 2012 (4)
- March 2012 (3)
- February 2012 (3)
Browse by category:
- rss beta (27)
- rss facebook (3)
- rss firmware (3)
- rss google-home (1)
- rss guides (4)
- rss java (1)
- rss linux (1)
- rss lua (5)
- rss maintenance (1)
- rss mobile (11)
- rss offtopic (2)
- rss protocol (1)
- rss python (3)
- rss security (2)
- rss telldus (3)
- rss telldus-center (1)
- rss telldus-core (11)
- rss telldus-live (60)
- rss telldus-live-mobile (8)
- rss tellduscenter (5)
- rss tellstick (5)
- rss tellstick-duo (4)
- rss tellstick-net (25)
- rss tellstick-znet (15)
- rss translation (2)
- rss v2.1.2 (7)
- rss web (1)
- rss z-wave (11)
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.
- Posted: 11 years ago (Updated: 11 years ago)
- Categories: python tellstick-duo telldus-core tellstick
Comments
I also created a ctypes based python wrapper for the c-library a couple of months ago. In addition to hiding the "nasty" details of the c-library it also provides a object oriented interface.
Available on github: https://github.com/erijo/telldus-py
Thank you Erik, I have updated the post with your library as well
Hi erik, I did'nt find an other way to send you a question about telldys-py. Before thankyou for your work, it's usefull to have a class for my web project.
I need to set an handler to know when a sensor is turnOn. Example with a door sensor, i would like to set all light on.
I did'nt find an example with your code to do this one. Thankyou in advance
The example code seen here https://github.com/erijo/tellcore-py/blob/master/bin/td_event_tracer should get you started (note: I have renamed the project to tellcore-py). The script has callbacks for all callbacks that are supported by Telldus.