Search found 187 matches
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: libtelldus.so exports no symbols
- Replies: 4
- Views: 7333
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 ...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
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...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Användarrättigheter för tdAddDevice()
- Replies: 6
- Views: 5354
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 ...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
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...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Were to get raw data in linux from recieved signals usingduo
- Replies: 10
- Views: 15498
Re: Were to get raw data in linux from recieved signals usin
Thank you very much for your kind words. Perhaps I should update the printouts somewhat to include the data in raw format (today I print the string as received by libtelldus and I am not sure if it could be anything but printable chars - haven't seen any pure binary yet at least). Suggestions on inp...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Användarrättigheter för tdAddDevice()
- Replies: 6
- Views: 5354
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...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
Re: Python wrapper of libtelldus
Thanks for the bugreport, i Will look into it when i am back from vacation.
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Användarrättigheter för tdAddDevice()
- Replies: 6
- Views: 5354
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@...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
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.
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Användarrättigheter för tdAddDevice()
- Replies: 6
- Views: 5354
Re: Användarrättigheter för tdAddDevice()
Tack, nu hittade jag det, och har fått allt att fungera.
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
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.
At least once the memory handling has been strighten out.
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Configuration for DUO with two light buttons
- Replies: 8
- Views: 10095
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 ...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Python wrapper of libtelldus
- Replies: 42
- Views: 58291
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...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Raspberry PI - lyckad
- Replies: 50
- Views: 51997
Re: Raspberry PI - lyckad
Finns det någon anledning till att en DUO inte skulle funka med en RaspberryPi? Jag sitter och väntar på bägge dessa härliga enheter... =) Någon av er som har en RPI som skulle kan kolla hur många W den drar i normalt läge? Jag kan nu bekräfta att det fungerar utmärkt med DUO till Raspberry Pi, hål...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Problem installing Telldus-Center and Telldus-gui
- Replies: 2
- Views: 5828
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...