Search found 23 matches

by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Finns det nån enkel "händelsebaserad" mjukvara?
Replies: 12
Views: 7641

Re: Finns det nån enkel "händelsebaserad" mjukvara?

Fast det vore kanske fint att tala om för oss som aldrig har hämtat nåt från gitorius.org, hur vi ska gå tillväga! Självklart! Det är som tur är relativt enkelt. apt-get install git libftdi1 libftdi-dev libusb libusb-dev mkdir sticktools && cd sticktools git clone https://git.gitorious.org/sticktoo...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: General
Topic: Tellstick extended command problem
Replies: 8
Views: 4744

Re: Tellstick extended command problem

Seems to me you are missing a pulse index in the extended command. It should be 'T',a,b,c,d,e where a-d is a pulse width and e is pulse count. 0x7F is set to pulse width index 4 in your command. Nevertheless it also seems there is another bug lurking here.. most likely an issue with signed versus un...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: General
Topic: Tellstick extended command problem
Replies: 8
Views: 4744

Re: Tellstick extended command problem

* EDITED * Well spotted! I missed that space character. As I doubt the bug is in the device itself I took a quick look at tdtool and it is completely broken in this regard. * You can only send raw commands that are 100 bytes or less. Probably not relevant as a extended command can never be more than...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: General
Topic: Tellstick extended command problem
Replies: 8
Views: 4744

Re: Tellstick extended command problem

No problem, I understand the documentation is lacking here. The daemon itself will open a unix stream socket in '/var/tmp/derpstick.sock'. This is where you should direct our message, preferably using 'nc' (netcat). Example. $ echo "my_tellstick_command" | nc -U /var/tmp/derpstick.sock If you want t...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: General
Topic: Tellstick extended command problem
Replies: 8
Views: 4744

Re: Tellstick extended command problem

Why not just use the domainsockets that goes directly into telldusd ? Not sure if this was directed at me but.. anyway without getting technical I have my reasons. To be fair I had initially intended to skip using libftdi and use libusb directly to get rid of extra dependencies, for now it's ok tho...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Sticktools - The tellstick swiss knife
Replies: 2
Views: 3620

Re: Sticktools - The tellstick swiss knife

Great! I will test this as soon as it has support for the mandolyn protocol. Yes this is actually not far off. I have a thermometer using the 'fineoffset' protocol and a friend is also using 'mandolyn'.. these were actually decoded on the tellstick duo firmware v4 but after upgrading to v5 it will ...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hårdvara
Topic: Temp och Fuktgivare
Replies: 6
Views: 3553

Re: Temp och Fuktgivare

Denna http://www.clasohlson.com/se/Extra-temp ... r361797000 ger både temp+fukt och fungerar bra med tellstick (Mandolyn).
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hårdvara
Topic: Opålitlig styrning med Tellstick DUO (batch #3)
Replies: 11
Views: 4570

Re: Opålitlig styrning med Tellstick DUO (batch #3)

Om du ökar pausen mellan varje sändning med 1-2 sekunder kvarstår problemet då? Är osäker på om telldus-core köar inkomna meddelanden (tror det ligger en patch i repot?).
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: General
Topic: Tellstick DUO long pulses
Replies: 5
Views: 3576

Re: Tellstick DUO long pulses

Good post Jan, I've also been looking into this since I found a note about this "trick" somewhere.. do not remember where and the documentation on the Tellstick protocol is a bit dodgy. Anyway, looking at the Tellstick NET source (send.c) you see this code which indicates that the it has support for...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hårdvara
Topic: Opålitlig styrning med Tellstick DUO (batch #3)
Replies: 11
Views: 4570

Re: Opålitlig styrning med Tellstick DUO (batch #3)

Det finns en annan potentiell felkälla som jag upplever hemma. Det händer inte ofta men ibland sluter vissa enheter bara att fungera, ibland räcker det med att ta bort enheten från elnätet 10sek men oftast kvarstår problemet även där. Det som är intressant är dock att medföljande fjärr fungerar allt...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hårdvara
Topic: Ostabilt med Kjell&Co's "50-219"
Replies: 2
Views: 1850

Re: Ostabilt med Kjell&Co's "50-219"

De där använder 'fuhaote' som protokoll, vet inte om det finns med i din lista men om det finns byt!
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Finns det nån enkel "händelsebaserad" mjukvara?
Replies: 12
Views: 7641

Re: Finns det nån enkel "händelsebaserad" mjukvara?

Jag tror jag har exakt det du behöver, https://gitorious.org/sticktools . Detta är en daemon som ligger snackar med din tellstick (helst en duo) och kan lyssna/skicka. Tanken är att sticktools ska vara helt modulärt och att man just som du skriver ska kunna skräddarsy sitt eget system. Ännu så sakna...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hardware
Topic: Update:DIY wireless temperature sensor for Tellstick
Replies: 146
Views: 129749

Re: DIY wireless temperature (+misc) sensor for Tellstick

Nice work! You need to change your implementation of the "mandolyn" protocol to get it 100% compatible (aside from your clever use of humi/battery). Humidity is only 7bit and does not need to be divided and temperature is actually 12bit ((value + 50) * 16).
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Linux
Topic: Finns det nån enkel "händelsebaserad" mjukvara?
Replies: 12
Views: 7641

Re: Finns det nån enkel "händelsebaserad" mjukvara?

Vet inte om jag missuppfattat något men just den funktionaliteten finns väl redan i telldusd? Man kan öppna en socket och lyssna på alla meddelanden som kommer in. Tja, smaken är som baken.. gillar du telldus-core så kör med det.. :banghead: edit. En funktion som inte finns i telldus-core är grupps...
by c0rner
Thu Jan 18, 2018 11:08 am
Forum: Hardware
Topic: Update:DIY wireless temperature sensor for Tellstick
Replies: 146
Views: 129749

Re: DIY wireless temperature (+misc) sensor for Tellstick

Yeah, there are a couple of variations of this protocol out there but I must admit I have not found any of them to be 100% accurate. What I did was just add all the bits and pieces of what I have found online and also from my own sensor readings and combined it all to something I think is complete. ...