New to openz-wave.  Here are my hacks at it so far.