tdtool -n 1
and -f
So far so good
But Im trying to do this now thrue the send extended S/T
So for ex i have House 1629211 (selflearning-nexa) unit 1
Thru checking in
http://developer.telldus.com/doxygen/TellStick.html and then
http://developer.telldus.com/browser/te ... olNexa.cpp | getStringSelflearningForCode()
Converted this function to php and it gives me about this for "on"
Code: Select all
100110101000101010001010100010101000101010001000101010001010101010001010100010101000100010101000101010101000100010101000101010001010101010001010100010101000101010001010100010001010100010101010100010001010100010101010100010001010101010001010100010101000100010101000
Code: Select all
\x54\x7F\xFF\x18\x01\x00\x9A\x8A\x8A\x8A\x8A\x88\xA8\xAA\x8A\x8A\x88\xA8\xAA\x88\xA8\xA8\xAA\x8A\x8A\x8A\x8A\x88\xA8\xAA\x88\xA8\xAA\x88\xAA\x8A\x8A\x88\xA8\x2B
Code: Select all
echo -ne '\x54\x7F\xFF\x18\x01\x00\x9A\x8A\x8A\x8A\x8A\x88\xA8\xAA\x8A\x8A\x88\xA8\xAA\x88\xA8\xA8\xAA\x8A\x8A\x8A\x8A\x88\xA8\xAA\x88\xA8\xAA\x88\xAA\x8A\x8A\x88\xA8\x2B' | tdtool --raw -
But nothing happens.
i have also in desp tried
Code: Select all
S$k$k$k$k$k$k$k$k$k$k$kk$$kk$$k$k$k$k$k$k$kk$$kk$$k$k$kk$$kk$$kk$$k$k$k$k$k$k$k$k$k$k$kk$$kk$$k$k$kk$$kk$$k$k$kk$$k$k$k$k$k$k$kk$+
Also tried to generate and use these
Code: Select all
['S'][24][255][24][127][24][127]['+'] | [S][132][154][138][136][168][170][+]
And i tried to create and send it thru text
Code: Select all
Tÿ������¨ª���¨ª�¨¨ª�����¨ª�¨ª�ª���¨+
Running Tellstick Duo and RPI.
What is the best way to send to selflearning units using raw..
Would love some help on this.
//MP