Tellstick installation on HassIO

:slight_smile:
I think you made my day, i had totally missed }, Between IDs. I used } only.

I will check later this evening that it was the case.

Big thanks Endor for quick respons

First I want to validate that above was the solution (can also see that the new version shows it clear in the default conf, 0.2). Great work :muscle:

I have migrated my old HA to Hassio this morning and it went pretty well, one thing regaarding this topic and Tellstick is that usually I cant see any of my temp sensors, (one time I could see at least one of “many” )

Has anybody else seen this?

I use as always below conf in my own tellstick.yaml sensor file.


only_named: True
datatype_mask: 127

Something I have missed again? :thinking:

If I restart homoeassistant only (hassio homeassistant restart in cli) I get fault on compontent tellstick and sensor.tellstick.
A full reboot solves above but then at the same time I have this “non showing sensor prob”.

Help is as always welcome.

Br

Great work! Got it working after some tinkering. Had to use both port [50800, 50801].

Hello friends! Im new to hassio, im only using Tellstick devices at the moment. I ran into a problem, i want to make my Tellstick duo learn to communicate with my plugs but when i run a service call {“addon”:“core_tellstick”,“input”:“learn 1”} i get this in the logs.

tdtool: unrecognized option: learn 1
[Error] TellStick Command failed -> Usage: tdtool [ options ]
Options:

Im running 0.59.1 and 0.2 of the addon. Would appreciate some help. Thanks.

All my devices I add, get ID 1. Even when I change the number in the Service Data (learn 1, learn 2 etc). Does anyone have a clue what I’m doing wrong?

Since v0.4 of the addon, the service stops every time I try to add a device.

@Gibs Can you post your add-on config?

@Vetekli The new version 0.4 of the addon has improved/fixed this but the syntax is also updated, see the updated add-on documentation for details

some follow up on my sensor “problem” as they dont show up in HA 100%, pretty random but if I list they are seen by the duo but not in entities.
´´´
[Info] Read list-sensors /
[Info] TellStick list-sensors success ->
type=sensor protocol=mandolyn model=temperaturehumidity id=11 temperature=5.1 humidity=83 time=2017-12-09 02:08:26 age=43
type=sensor protocol=mandolyn model=temperaturehumidity id=12 temperature=24.6 humidity=28 time=2017-12-09 02:08:32 age=37
type=sensor protocol=mandolyn model=temperaturehumidity id=44 temperature=3.6 humidity=91 time=2017-12-09 02:08:39 age=30
type=sensor protocol=mandolyn model=temperaturehumidity id=34 temperature=5.3 humidity=76 time=2017-12-09 02:06:28 age=161


´´´´

So in this example only one is in Hassio and as a entity.

With some reboot it can show more or less.

Here is my config:

{
  "devices": [
    {
      "id": 1,
      "name": "Living room",
      "protocol": "arctech",
      "model": "selflearning-switch",
      "house": "H",
      "unit": "1"
    },
    {
      "id": 2,
      "name": "Bedroom",
      "protocol": "arctech",
      "model": "selflearning-switch",
      "house": "H",
      "unit": "2"
    },
    {
      "id": 3,
      "name": "Kitchen",
      "protocol": "arctech",
      "model": "selflearning-switch",
      "house": "H",
      "unit": "3"
    }
  ]
}

I do not see any problems with the config. Tried to copy it straight off and config wise it works for me. Learn commands are sent to each unique id correctly when looking at the log.

Assumptions:

  • After editing config i assume you restart the add-on prior to sending service commands like learn.
    (otherwise the updated config will not be loaded)
  • You are using this command to learn (updated in 0.4):
{"addon":"core_tellstick","input":{"function":"learn","device":"1"}}
  • To see the updated entries in Home Assistant after tellstick config has changed it seems like you need to make a host reboot otherwise HA will end up with tellstick config fail.

I have similar issues with sensors. I have added specific sensor in my HA config and it does not always appear.

In the HA log i get this warning:
Setup of sensor is taking over 10 seconds. 12:00 bootstrap.py (WARNING)

It seems like this is not unique for Hass.io or this add-on.
Please contribute with your info in the issue reported: https://github.com/home-assistant/home-assistant/issues/9102

I can see my Switch on the main page. But if im trying to send the learn command i get:

[Info] Read learn / 1
[Error] TellStick learn fails -> Learning device: 1 Golvlampa Datorrum - TellStick not found.
and my tellstick Duo isnt flashing as it do when i click a button on the Nexa Controller.

my config
{
“devices”: [
{
“id”: 1,
“name”: “Golvlampa Datorrum”,
“protocol”: “arctech”,
“model”: “selflearning-switch”,
“house”: “100010”,
“unit”: “1”
},
{
“id”: 2,
“name”: “Example device two”,
“protocol”: “arctech”,
“model”: “selflearning-switch”,
“house”: “100020”,
“unit”: “1”
}
]
}
any ideas what to do?

2017-12-09 15:29:25 ERROR (SyncWorker_11) [homeassistant.components.tellstick] TellStick not found (-1)

after a restart of HA the log for tellstick say:
starting version 3.2.4
[Info] Initialize the tellstick configuration
[Info] Exposing sockets and loading service
[Info] Starting event listener
telldusd daemon starting up

Thanks for the fast reply endor. I will try it tomorrow.
Is there a way to make it forget a Nexa-switch? Now both my living room and my bedroom, are connected to ID 1.

Maxer, when you start the add-on you should see that it connected to your Tellstick hardware. It should list the Tellstick Serial number in the add on log like this:
Connecting to TellStick (1781/C31) with serial A501****

If it does not show this info I suspect there is a hardware communication problem.
What hardware are you using to run hassio?

Simply re-learn the switches you want with the different id. On my everflourish switches I press and hold a button to set it in learning mode.

I hade some cable problem to my Tellstick Duo, now i get connection :slight_smile:
But sometimes I get:
Error in communication with TellStick when executing action. Resetting USB
Disconnected TellStick (1781/C31) with serial A7Z2YD5F
Rescanning USB ports
No contoller (TellStick) found, even after reset. Giving up.

After I then restart the Tellstick Service I get
Connecting to TellStick (1781/C31) with serial A7Z2YD5F.

Any One else that has the USB problem and have solved it?

Telstick Duo and it was a cable problem

Sounds like there are still hardware related issues.

If you are running a raspberry, make sure you got a power supply with decent oompf in amperage to run the devices, connect Tellstick with good cable (that one you’ve hopefully covered :wink: directly to the pi without hubs etc.

Thank you for all help. Now everything works great.

Hi. I have a DUO stick with a number of Tellstick Plugin outlets.
Anyone who can explain how I do to pair up Hass.IO/Tellstick DUO with the sockets?
Can I do the whole pairing via Hass.IO or do I have to use Telldus Center first?
If the answer is directly from Hass.IO, how do I know what to put in “protocol”, “model”, “house”, “unit” in Tellstick options?

Hi,

How do I use this command and where? really struggling to learn two switches…

Thanks,
Tobias