How do I send a custom Z-Wave command to device through the API?

It’s not possible to send custom commands.

If all you want to do is to read the battery, then the device should provide a battery channel, and this should be updated automatically. You should not need to do anything “custom” to do this sort of thing.

1 Like