Help with basic Z-Wave app for Z-Uno

Hi,

I am busy learning the basics on how to get a simple Z-Wave app working with my custom Z-Uno firmware. I got to a point where the app installs and i can add/remove the z-uno device. The device is a basic switch with battery reporting. I have tried coding it based on the examples available here an elsewhere, but still have some issues. The app code is available here:

https://github.com/jrossouw/page.rossouw.homey.zuno.button

When I install the app i can see the device sending reports in the inspect console. I do however see some errors:

Also when then clicking on the device to toggle its stage i get an error “Missing Capability Listener: onoff”. I cannot find the correct way to add this capabilities listner.

Any help will be greatly appreciated.

Kind regards,
Johan

I managed to get around the missing capability issue and extend the example a bit. Latest code in github.