Search found 187 matches

by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: libtelldus.so exports no symbols
Replies: 4
Views: 5116

Re: libtelldus.so exports no symbols

Order of the linking command arguments can be a nightmare. On my last company we compiled same code base to a handful of target architectures and randomly we needed to reorder the list of libraries. It was even the case that the order needed to be different for some architectures. All compiled with ...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Re: Python wrapper of libtelldus

Now configuration and most event handling is added as well. Currently missing support for: int tdRegisterRawDeviceEvent( TDRawDeviceEvent eventFunction, void *context ); int tdRegisterControllerEvent( TDControllerEvent eventFunction, void *context); int tdSendRawCommand(const char *command, int rese...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Användarrättigheter för tdAddDevice()
Replies: 6
Views: 3470

Användarrättigheter för tdAddDevice()

Hej Sitter och gör en python-wrapper för libtelldusd i linux (windows kanske blir en sidoprodukt). Men har problem med API-kommandon då jag får felkod -2 (TELLSTICK_ERROR_PERMISSION_DENIED). Men frågan är vilka rättigheter jag ska ändra för att det ska tillåtas för min användare. Har ett webbaserat ...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Python wrapper of libtelldus

Hi I have put togheter a wrapper for python linux users that want to skip tdtool and work directly against the libtelldus. Source is available here: http://bitbucket.org/davka003/pytelldus/ There is also an example that mimics tdtool but is written in python. Currently I am lacking support for the A...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Användarrättigheter för tdAddDevice()
Replies: 6
Views: 3470

Re: Användarrättigheter för tdAddDevice()

Tack det hjälpte (och skjälpte) när jag sätter om rättigheterna till att den körs som en vanlig användare så hittas inte längre tellstick-hårdvaran av telldusd. Verkar som att den vanliga användaren inte har rättigheter till det rätt device. Återställde till att köra som root och tdtool fungerar mot...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Re: Python wrapper of libtelldus

Thanks for the bugreport, i Will look into it when i am back from vacation.
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Användarrättigheter för tdAddDevice()
Replies: 6
Views: 3470

Re: Användarrättigheter för tdAddDevice()

Jag kör debian på Arm (Närmare bestämt raspberry pi). Fungerade bra att installera med apt-get från ert repository i alla fall. Har försökt titta efter udev-rules men detta är ett fullständigt nytt område för mig. Hittar inte att någon udev-rules fil för tellsticken. Borde den inte dyka upp här? pi@...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Re: Python wrapper of libtelldus

Thanks Klas and Micke for pointing out these problems. They are now fixed and pushed to the git repository. At the same time I added support for raw device event's as I just got hold of an DUO.
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Användarrättigheter för tdAddDevice()
Replies: 6
Views: 3470

Re: Användarrättigheter för tdAddDevice()

Tack, nu hittade jag det, och har fått allt att fungera.
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Re: Python wrapper of libtelldus

If you dont mind I will include your code snippet in the git repository. Is that ok?

At least once the memory handling has been strighten out.
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Configuration for DUO with two light buttons
Replies: 8
Views: 6616

Configuration for DUO with two light buttons

Hi I have just received a DUO and is trying to configure it to maintain the status of all lamps in my home. I have 18 lamps remotly controlled and most of them have physical transmitters working side by side with the Tellstick + webpage solution. How should I create a tellstick.conf (in linux) that ...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 45360

Re: Python wrapper of libtelldus

I include your source contributions then. (With a comment about potentially memory leak). For Raw Command sending I havent tried anything at all. (I dont know any good way of testing if I am correct). But I think it should be as simple as: def sendRawCommand(command, reserved = 0): return tdlib.tdSe...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Problem installing Telldus-Center and Telldus-gui
Replies: 2
Views: 3842

Re: Problem installing Telldus-Center and Telldus-gui

Hi I wouldnt say that my control software is very good, but it suits my needs. I run it and generally publish Raspberry Pi images on my homepage, but source is also available however I havent currently written any installation instructions from source. It uses Apache2, Django, Celery, RabbitMQ for r...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Raspberry PI - lyckad
Replies: 50
Views: 39009

Re: Raspberry PI - lyckad

Har tyvärr inte möjlighet att mäta upp effektförbrukningen för min RPi. Men idag publicerade jag en första version av min automatiseringsmjukvara för Raspberry PI + tellstick. Instruktioner (kanske lite knapphändiga) finns här. http://automagically.weebly.com/1/post/2012/06/raspberry-pi-image-for-te...
by davka003
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Home Automation @ Raspberry PI
Replies: 11
Views: 14170

Home Automation @ Raspberry PI

Hi Today I made an early version of my home automation software for raspberry pi public. It is a web interface running on a Raspberry Pi togheter with a tellstick. Information found here: http://automagically.weebly.com/1/post/2012/06/raspberry-pi-image-for-tellstick.html The goal with this is to ha...