Setting up TellStick sensors in Home Assistant?

2,246 views
Skip to first unread message

Torfinn Ingolfsen

unread,
Mar 19, 2015, 9:42:56 AM3/19/15
to home-assi...@googlegroups.com
Hello,
I have searched (Google), but couldn't find out how to configure TellStick sensors in Home Assistant's YAML config file.
I have also tried to guess what the configuration would look like, based on other sensor examples (and Home Assistant source), but haven't guessed correctly yet.
Is the TellStick sensor configuration documented somewhere?

Paulus Schoutsen

unread,
Mar 19, 2015, 10:44:42 AM3/19/15
to home-assi...@googlegroups.com

Add the following to your configuration.yaml

sensor:
  platform: tellstick


--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/974c2670-02f7-4968-b505-b21a61a71cd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Torfinn Ingolfsen

unread,
Mar 19, 2015, 3:15:11 PM3/19/15
to home-assi...@googlegroups.com
Hello,


On Thursday, March 19, 2015 at 3:44:42 PM UTC+1, Paulus Schoutsen wrote:

Add the following to your configuration.yaml

sensor:
  platform: tellstick

Yes, this is what I have tried. But no sensors show up in Home Assistant? Is there something more that needs to be configured?
FWIW, tellcore_tool finds lots of sensors:
tingo@kg-bpi:~/progs/home-assistant$ tellcore_tool --list-sensors
Number of sensors: 10

PROTOCOL        MODEL           ID    TEMP     HUMIDITY RAIN               WIND                 LAST UPDATED
fineoffset      temperature     255   -204.7 C                                                  2015-03-15 00:47:04
fineoffset      temperature     186   6.6 C                                                     2015-03-19 20:12:45
fineoffset      temperaturehumidity 22    6.0 C    73 %                                             2015-03-19 20:10:08
fineoffset      temperaturehumidity 62    1.8 C    36 %                                             2015-03-14 03:25:10
fineoffset      temperaturehumidity 10    0.8 C    39 %                                             2015-03-14 07:00:22
fineoffset      temperature     93    1.8 C                                                     2015-03-14 06:49:21
fineoffset      temperaturehumidity 54    18.8 C   22 %                                             2015-03-14 13:39:35
fineoffset      temperature     254   57.5 C                                                    2015-03-14 17:44:34
mandolyn        temperaturehumidity 11    -21.2 C  0 %                                              2015-03-19 20:01:15
fineoffset      temperaturehumidity 0     0.0 C    0 %                                              2015-03-19 13:05:25

And yes, Home Assistant runs under the same user.

 

Paulus Schoutsen

unread,
Mar 19, 2015, 3:37:53 PM3/19/15
to home-assi...@googlegroups.com
Ah, looking at the tellstick sensor source, it looks like you have to add a datatype_mask too.  

sensor:
  platform: tellstick
  datatype_mask: 127

I've just pushed a commit to the dev branch to add a default datatype mask to show all.

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
It's nice to be important but it's more important to be nice.

Torfinn Ingolfsen

unread,
Mar 19, 2015, 5:42:18 PM3/19/15
to home-assi...@googlegroups.com


On Thursday, March 19, 2015 at 8:37:53 PM UTC+1, Paulus Schoutsen wrote:
Ah, looking at the tellstick sensor source, it looks like you have to add a datatype_mask too.  

sensor:
  platform: tellstick
  datatype_mask: 127

I've just pushed a commit to the dev branch to add a default datatype mask to show all.

That worked - thanks!
 

Torfinn Ingolfsen

unread,
Mar 21, 2015, 5:33:10 AM3/21/15
to home-assi...@googlegroups.com
One more question: how do I name tellstick sensors?
I have 

sensor:
  platform
: tellstick
  datatype_mask
: 127

  only_named
: 1



in my configuration.yaml
I try to name sensors like this:
  11: freezer
 
186: fridge

but that is not working.
What is the correct way?


Paulus Schoutsen

unread,
Mar 21, 2015, 10:40:26 PM3/21/15
to home-assi...@googlegroups.com
There was a small bug that expected the IDs to be string. Just pushed a fix to the dev branch to fix it. It should work now.

Paulus

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Fredrik Levin

unread,
Aug 29, 2015, 7:33:50 AM8/29/15
to Home Assistant Dev
Is this in master branch now?
I added 
datatype_mask: 127 to my tellstick sensor config but nothing is visible in HA.


Den söndag 22 mars 2015 kl. 03:40:26 UTC+1 skrev Paulus Schoutsen:
There was a small bug that expected the IDs to be string. Just pushed a fix to the dev branch to fix it. It should work now.

Paulus
On Sat, Mar 21, 2015 at 2:33 AM, Torfinn Ingolfsen <tin...@gmail.com> wrote:
One more question: how do I name tellstick sensors?
I have 

sensor:
  platform
: tellstick
  datatype_mask
: 127

  only_named
: 1



in my configuration.yaml
I try to name sensors like this:
  11: freezer
 
186: fridge

but that is not working.
What is the correct way?


--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages