Ecolink Z-Wave Tilt Sensor

So im a beginner with Hass.io (Running on an Rpi 3) so I apologize if this is all super beginner stuff.

I managed to get my Ecolink Z-Wave Tilt sensor added (Using Aeotec Z-stick Gen5). However it added a lot of entities that I can’t find any documentation for. What’s the best way to find out what each one of these sends back?
Or finding out what the states can be of the node itself (it just says sleeping right now) or the entities within the node?

(I see stuff like battery level/binary sensor/access control/alarm level/etc…). The entities all have an index value on the dropdown for entities within the sensor (In the z-wave config). Are these the “possible values?”

Secondly…I notice it has a wake up time set of 14400…is this a decent value? Is this just how often it sends back stuff when the state hasn’t changed on it?

Thanks!

1 Like

Here you go. Basically you will get 0x00 if the sensor is vertical (usually closed) and 0xFF if the sensor is horizonal (usually open)

Those are sent via the Z-Wave Alarm Command class. On my tilt sensors those come in at sensor._alarm_level

You can also build a template sensor if you want something easier to look at:

- platform: template
  sensors:
    garage_door_north_status:
      friendly_name: 'Garage Door North'
      value_template: "{%if states.sensor.garage_door_north_tilt_alarm_level.state == '255' %}Open{% elif states.sensor.garage_door_north_tilt_alarm_level.state == '0' %}Closed{% else %}unknown{% endif %}"
      icon_template: "{%if states.sensor.garage_door_north_tilt_alarm_level.state == '255' %}mdi:garage-open{% elif states.sensor.garage_door_north_tilt_alarm_level.state == '0' %}mdi:garage{% else %}mdi:help{% endif %}"

Looks like mine also has a binary sensor value as well, so I guess that’s the easiest to use.

Sidenote: It seems like there isn’t an easy way to display node attributes for a zwave sensor on the lovelace cards is there? (Such as the battery_level).

Also a lot of these entities have no value (like the alarm one) since it’s set as sleeping. I guess it only reports these based on the polling frequency (for the node itself)?

There are 2 custom cards I use for this kind of thing. The Entity attributes card, if I want to show many attributes, and the fold-entity-row custom lovelace which I use for things like a power meter where I only want to show power normally, but can click on it to show other things like voltage, freq, PF, etc.

https://github.com/ciotlosm/custom-lovelace/tree/master/entity-attributes-card

1 Like