installing tellstick on embedded linux

Moderator: Telldus

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

I have a board like thishttp://www.artila.com/images/products/M ... 20x146.jpg.
How can i install and control my tellstick 433mhz on embedded linux board ?
I have no idea how to do it. :banghead: which tool or software to need ...
can anyone help me... :cry:

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

What kind of Linux do you have on it? Debian? OpenWRT? OpenEmbedded? Other?
Micke Prag
Software
Telldus Technologies

davka003
Posts: 187
Joined: Thu Jan 18, 2018 11:08 am
Location: Sweden
Contact:

Re: installing tellstick on embedded linux

Post by davka003 » Thu Jan 18, 2018 11:08 am

For me running a raspberry pi hardware (ARM) with debian the following worked like a charm:

sudo apt-get install libftdi1

Add the following line to your /etc/apt/sources.list:
deb http://download.telldus.com/debian/ stable main

wget http://download.telldus.se/debian/telldus-public.key
sudo apt-key add telldus-public.key
sudo apt-get update

sudo apt-get install telldus-core

But when looking into your piece of hardware where they dont say anything about linux distribution I guess you will have a much harder time than following the above.
Probably you are missing apt-get

Good luck!
My home automation software: Automagically @ Raspberry Pi http://automagically.weebly.com

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

micke.prag wrote:What kind of Linux do you have on it? Debian? OpenWRT? OpenEmbedded? Other?
this is writing on command line--> emblinux with kernel version 2.6.16 on it

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

davka003 wrote:For me running a raspberry pi hardware (ARM) with debian the following worked like a charm:

sudo apt-get install libftdi1

Add the following line to your /etc/apt/sources.list:
deb http://download.telldus.com/debian/ stable main

wget http://download.telldus.se/debian/telldus-public.key
sudo apt-key add telldus-public.key
sudo apt-get update

sudo apt-get install telldus-core

But when looking into your piece of hardware where they dont say anything about linux distribution I guess you will have a much harder time than following the above.
Probably you are missing apt-get

Good luck!

I can't execute this steps on my Emblinux. This func only under the development Environment. Then follow this error command not found!
I need how can i this for my Emblinux what i need to do for... ???

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Then you will need to compile the packages yourself. If you are new to Linux it will probably be quite hard.
First of you need a woking compiler and toochain. Unfortunately I cannot help you there. How to do that is board/distribution specific.
Micke Prag
Software
Telldus Technologies

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Then you will need to compile the packages yourself. If you are new to Linux it will probably be quite hard.
First of you need a woking compiler and toochain. Unfortunately I cannot help you there. How to do that is board/distribution specific.
i have now a working compiler and toolchain. How should I proceed...

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

http://developer.telldus.com/wiki/TellS ... tionSource

ftdi_sio is not needed with version 2.1.0 or later.

You also need to tell cmake which compiler to use.
Micke Prag
Software
Telldus Technologies

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

micke.prag wrote:http://developer.telldus.com/wiki/TellS ... tionSource

ftdi_sio is not needed with version 2.1.0 or later.

You also need to tell cmake which compiler to use.
I have do this cmake . for compile the Programm (Software). How can I choose the compiler...
After that compile which files it creates and How can i send this on the board ?

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

Hallo,


i do this command... cmake -DCMAKE_CXX_COMPILER=/....

....
...
Configuring done
Generating done
Build files in....
has done... and than when i copy the bin file tdtool on the emb.borad tape tdtool ... shows -> cannot execute binary file
what am I doing wrong... ?

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

What do you get if you run the "file" utility on the file?

Code: Select all

$ file tdtool
Micke Prag
Software
Telldus Technologies

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

micke.prag wrote:What do you get if you run the "file" utility on the file?

Code: Select all

$ file tdtool
gets ... "file" command not found :cry:

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Are you running on the target board or your computer?
Micke Prag
Software
Telldus Technologies

auto
Posts: 16
Joined: Thu Jan 18, 2018 11:08 am

Re: installing tellstick on embedded linux

Post by auto » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Are you running on the target board or your computer?
on the target board ... it doesnt work on it.

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: installing tellstick on embedded linux

Post by micke.prag » Thu Jan 18, 2018 11:08 am

You can try it on your computer where you have built the application. The file utility should probably be available there.
Micke Prag
Software
Telldus Technologies

Post Reply