I just managed to finish one dth yesterday after months of being unable to find a solution to my problem. Now that I had thought I finally figured out how to fix my issues, I moved on to another dth for a different device. I call zigbee.command() exactly the same way, going as far as to copy-paste in all the functions and the call itself, but no matter what I do, I still get the error
groovy.lang.GroovyRuntimeException: Could not find matching constructor for: physicalgraph.zigbee.zcl.ZCLMessage(null, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, java.lang.Integer)
The call I’m making is simply
zigbee.command(getCLUSTER_WINDOW_COVERING(), getATTRIBUTE_POSITION(), hexData, getENDPOINT1())
Where
getCLUSTER_WINDOW_COVERING()
returns 0x0102
getATTRIBUTE_POSITION()
returns 0x05
hexData is the integer parameter
and getENDPOINT1
is [destEndpoint:0x01]
I tried using import physicalgraph.zigbee.zcl.DataType
but that didn’t fix it, and my other dth didn’t need it anyways. What’s going on? I even deleted the dth and made a new one with the same code and it still didn’t fix the issue.