Search found 15 matches

by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

No one that has written a config for a Nexa motion detector? I really can't get it to work. Get raw events whatever I do...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Hårdvara
Topic: Frågor om Nexas produkter
Replies: 0
Views: 1980

Frågor om Nexas produkter

Tjena! Jag är rätt ny på detta, köpte mina första Nexa-switchar och en Telldus Duo igår. Dock är jag lite fundersam på hur man bäst löser det här med att styra taklampor. Det finns ju infällda mottagare av olika slag, tex en där man kopplar in befintlig knapp, vilket verkar smidigt. Men den är vad j...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Sensor config in /etc/tellstick.conf
Replies: 3
Views: 7907

Re: Sensor config in /etc/tellstick.conf

I wonder this too. I have bought a Nexa motion sensor and a temperature/humidity sensor, but I don't know how to config them...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Sensor config in /etc/tellstick.conf
Replies: 3
Views: 7907

Re: Sensor config in /etc/tellstick.conf

Or can you only do this using the APIs? Still I think it would be a nice solution to have all your units configured in the config.
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Hårdvara
Topic: Lite nybörjarhjälp, tack!
Replies: 7
Views: 4592

Lite nybörjarhjälp, tack!

Hej! Jag är rätt sugen på att börja styra lite grejer hemma och är osäker på var jag ska börja. Kan radda upp det jag mest funderar över: 1. Vilket märke ska man satsa på? 2. Jag vill nog tex styra taklampor och jag vill kunna dimma dem till absoluta värden. Det verkar som Nexa-produkterna klarar de...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Hårdvara
Topic: Vattenlarm med Nexa?
Replies: 3
Views: 4718

Re: Vattenlarm med Nexa?

Jag tycker du borde kunna ta en magnetkontakt och byta ut den lilla komponenten som känner av magneten med en sån här: http://www.kjell.com/sortiment/el/elektronik/elektromekanik/strombrytare/nivabrytare/nivastrombrytare-p36037 Jag är dock osäker på om den ska vara sluten eller öppen i normaltillstå...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Hi! I can't get this to work. If I run the python script with -t option and trigger a sensor, nothing happens. Am I missing something? I can't add the sensor to tellstick.conf as I have no information about it. I think I have installed all libraries from the repo, so what am I missing? Is there a gu...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Hårdvara
Topic: Lite nybörjarhjälp, tack!
Replies: 7
Views: 4592

Re: Lite nybörjarhjälp, tack!

Tack för hjälpen! En följdfråga bara. Produkter som de infällda mottagaren du rekommenderar använder ju befintlig knapp. Finns det inte de som har knapp också? Jag vill inte ha såna där batteridrivna sändarknappar, utan vill bara byta i de socklar jag har. Och de knappar jag har idag har ju två läge...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Hårdvara
Topic: Lite nybörjarhjälp, tack!
Replies: 7
Views: 4592

Re: Lite nybörjarhjälp, tack!

Ok, då får man väl hitta nya tryckknappar och sätta dit så är det löst.
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Yes, I do see it flashes when triggering my motion sensor or pressing the remote. But how will I access the data? Is using the API the only way or are there other tools for testing?
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Ah ok, I see. But I can't get anything out from tdtool.py anyway. Either with -t or with --event. It's just quiet. And my Tellstick Duo is flashing whenever I trigger the motion sensor. Am I missing some library that your script needs? Are there any way to get out debug when running it?
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Ah, I found out my problem now. I made the script executable, but there is no "#!/usr/bin/python" in the beginning of the script. Now it seem to work! :) Thanks for your help!
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Still can't get it quite right though. I get events like this: 1344869498: RawDeviceEvent: class:command;protocol:arctech;model:selflearning;house:8043318;unit:10;group:0;method:turnon; controllerId: -1 So I modified my /etc/tellstick.conf and added the last device like this: user = "nobody&quo...
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Ah, that's true! I will try to renumber them in my config and see if it helps.
by UglyBob
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Python wrapper of libtelldus
Replies: 42
Views: 58231

Re: Python wrapper of libtelldus

Now it looks better in the list, but still raw events, don't know if that's the way it suppose to be or not.