tellstick

Discussions about RaZberry - Z-Wave board for Raspberry computer
Varazir
Posts: 19
Joined: 18 Feb 2015 15:37

tellstick

Post by Varazir »

Is there a way to combine/add a tellstick to the Razberry and get it to work or do I need a extra software with that ?
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: tellstick

Post by pofs »

You need some kind of software that will provide some kind of API to access TellStick. Then you'll be able to call it from Z-Way.
Varazir
Posts: 19
Joined: 18 Feb 2015 15:37

Re: tellstick

Post by Varazir »

Thanks
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: tellstick

Post by Mirar »

I have a tellstick but I haven't tried to connect it to z-way-server HA. What API is needed? (Out of curiosity)

If you connect a tellstick duo to a normal Pi, you need a powered hub. Pi 2 seems (maybe) to be fine without extra power to the tellstick.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: tellstick

Post by pz1 »

Mirar wrote:Pi 2 seems (maybe) to be fine without extra power to the tellstick.
Provided that your power supply is up to it.
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: tellstick

Post by Mirar »

Well, yes. I use a 2.1A power supply.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: tellstick

Post by pofs »

Mirar wrote:What API is needed? (Out of curiosity)
No idea :)
Never had that device, and too lazy to google for possible options.
But it should be something that connects with that device over usb/serial interface and provides an ability to send/receive something meaningful via HTTP (so it could be accessed from JS).
Could also be a native module for Z-Way.
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: tellstick

Post by Mirar »

I was thinking what could be needed for a native module. Telldus tellstick duo has a python and a C++ interface already.
Varazir
Posts: 19
Joined: 18 Feb 2015 15:37

Re: tellstick

Post by Varazir »

I have problem that the driver for RaZberry isn't loading when I have connected my Tellstick before I power on.
If I connect my tellstick after I have turned on my Pi both works.

The log file say

Code: Select all

2015-03-01 16:09:52.983 Error, ERROR: Cannot open serial port /dev/ttyUSB0. Error code 2
2015-03-01 16:09:52.983 Error, ERROR: Failed to open serial port /dev/ttyUSB0
But there are no ttyUSB0 not even when I boot up without the tellstick connected.

I have to add that I use a Raspberry USB hub but I got the same with out using it.
With out the hub my RaspberryPI reboots when I connect the tellstick.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: tellstick

Post by pofs »

There's no any specific driver for RaZberry, it uses a built-in serial port driver.
It must be something to do with your Linux distrib, probably you should upgrade to the latest version.
Post Reply