Hi there,
Little message just to let know that I've written a Python binding Class for developers to be able to control devices through the TellStick.
It directly uses the telldus-core library through ctypes python bindings.
Feel free to use it if you feel it can be useful
The python package is downloadable here : http://www.poulpy.com/downloads/?did=5
Regards,
Xoubir
Python binding Class
Moderator: Telldus
This is very nice and useful!
I do myself make plugins for EventGhost also in python and this will be very useful. Currently I use the dll-approach like
Without having tried it yet, would your proposed way give any advantages?
Best regards, Walter
I do myself make plugins for EventGhost also in python and this will be very useful. Currently I use the dll-approach like
Code: Select all
self.dll = windll.LoadLibrary("TelldusCore.dll")
Best regards, Walter
Hi Walter,
The best would be to make the binding class totally generic by making itself find out if it's running on linux or windows and open the correct library .
Regards,
Xoubir
I think we use quite the same approach : I'm binding to the linux telldus-core library and you are binding on the Windows DLL, which should provide (but never tried) the exact same functions .krambriw wrote: Without having tried it yet, would your proposed way give any advantages?
The best would be to make the binding class totally generic by making itself find out if it's running on linux or windows and open the correct library .
Regards,
Xoubir