Cannot set paramters for zwave device

I am using a HSP02 motion detector. I want to set some parameters for this device via the zwave node management. According to the manual for the device, it needs to be woken up by pressing the tamper switch once, and then sending the command to set the parameter within 30 seconds.

No matter how many times I try, the command sends successfully but the parameter never changes from the default values.

Am I doing something wrong here?

I’ve found that restarting HA is necessary for a new parameter setting to take effect.

I have tried that. No effect. I fact. As soon as I send the change, the old value shows up again in the input field.

Ok, I managed to change a setting by calling the following line from an action from an automation in the configuration.yaml:

  service: zwave.set_config_parameter
  data_template: {
    "node_id": 5,
    "parameter": 4,
    "value": 10
     }

Strangely, using the user interface (configuration->zwave->zwave-node-management->node config options) from home assistant does not work. Neither does sending the same config parameter from the services menu.

A bug in home assistant perhaps?

Ok, it turns out that just about everyone on every forum has problems setting parameters for the HSP02, no matter what software or base station. It’s just very much a hit and miss operation (99% miss, 1% hit). I have been fighting with this thing for a week now, and I was only ever able to change a parameter two times. Advises on forums differ from pressing the tamper switch, and sending the parameter change commands in varying orders. Other people try the same and then are unable to repeat. Some people say that one can only change a parameter after changing another parameter first. I believe that perhaps a magical incantation is in order before attempting.

The manual (faulty translation from Chinese) states that the tamper switch should be pressed once, and then parameters can be sent for 30 seconds, but the zwave log shows that the sensor goes asleep instantly after pressing and releasing the tamper switch.

I highly recommend anyone not to buy this sensor.

I still have the same issue with this sensor. Someone discovered a trick to do this in the last couple of years? Would be great!