Zwave Motion sensor detected as unknown

I have some Linear Motion sensors that don’t show up as motion sensors. They show up as binary_sensor.linear_unknown_type2002_id0203_sensor_5
They do change state I assume Linear Unknown: type=2002, id=0203 Alarm Level 255 to 0
Is there a way to tell HA that this is a motion sensor?

Thanks

This means they are not currently supported by OpenZWave - you may be able to find a device file for them on google, then adding them to the OpenZWave config file will enable them to be recognized.

Thanks for your reply. Could you tell me what I should be looking for in terms of a device file when I search?

Zarthan,

I have the same sensor and although its named unknown all the values still work as expected. You can always change the friendly name for the individual entities. For the values you can set up templates which will convert the ‘0’ or ‘255’ value to ‘still’ or ‘motion detected’

Or if you really want to change the name of the device on OZW then open up the zwcfg.xml file and search for <node id=“1” (or whichever number the sensor is in OZW) and under name change it to Motion Sensor. The device and ID are already there (2002 and 0203).

Let me know if this info helps

Maaniac,
I am really new to this and not sure how to make those changes. I don’t necessarily care about the friendly name but how do I use a template and a value other than on and off which my other motion sensor uses.

Zarthan,

Here is a simple one I use for my Linear motion sensor.

  • platform: template
    sensors:
    linear_motion:
    value_template: ‘{% if is_state(“sensor.linear_unknown_type2002_id0203_alarm_level_4”, “255”) %}motion{% else %}still{% endif %}’
    friendly_name: ‘Linear Motion’

This will create a new sensor in your entities list. Just use that one and you can hide the original using a customize.yaml file.

Don’t worry I also just recently got into HASS. Still learning myself. You will get the hang of it.

1 Like

Thanks for the encouragement. I like what I see so far.

Once added to my configuration, how do I refer to the sensor. By the friendly name? I have two of them, so if I use the friendly name I need to either make the name specific or add a number?

In the code under sensors where is put “linear_motion”. Put whatever name you want here instead and then give it a friendly name for the frontend.

1 Like

Thanks so much. I will give it a try.