I managed to get a dimmer working by editing the tellstick addon example configuration:
devices:
- id: 1
name: Taklampa TV-rum
protocol: arctech
model: selflearning-dimmer
house: '295'
unit: '1'
- id: 2
name: Example device two
protocol: everflourish
model: selflearning-switch
house: A
unit: '2'
Several sensors are showing up on the overview:
But how and where do I configure these??
In /config/configuration.yaml?
In tellstick addon configuration?
In both?
Somewhere else?
The lack of consistent documentation, or my unability to find it, is frustrating.
The only sources I have found are
and the tellstick addon built in documentation. Is there anyone else?
According to the two above, it seems that switches, dimmers etc should be configured in the tellstick addon configuration, but sensors should be configured in /config/configuration.yaml.
That doesn’t make sense to me.
I just had the same problem, migrating from RPi3 (running 0.96) to RPi4 (Running 0.115.2).
It is a litle confusing, but you have to do some of the settings in the AddOn config and some in config/configuration.yaml.
In fact, sensor.yaml is much larger than what I show here, it contains all my sensors except sensor-binary which is located in sensor_bin.yaml
The reason I do it this way is that otherwise configuration.yaml will be large and confusing …
sensor.yaml and sensor_bin.yaml are both in config
To do this, you need to know the codes from the sensors. (See the sensors as remote controls, which control a light, you pair the sensor with a light). In Home Assistant, you can instead connect the sensor to an automation that in turn controls what you want.
To obtain the codes from the sensors, run the following command in the CLI
nc core-tellstick 50801
Then you activate the sensor and what comes up looks something like this: