the ZWay Dev document. Until I understand how it works, I was very puzzled by the behavior. The door/window sensor I bought had "Association" command implemented. What it does is that when the sensor detected door or window being open or close, it send event to devices that are "associated". It seems that it send BASIC_SET command to the associated devices but I am not sure exactly what it does.
Like other classes, MyZWayMonitor intends to do strong-typed style with templates.