I’ve run into a bit of a snag trying to send a command from ST into my mac server.
I’m getting the following error:
926255bc-d2e9-473e-bac8-22c8f8df55ae 8:55:47 PM EST: error groovy.lang.MissingMethodException: No signature of method: script14156709476291769450883.sendHubCommand() is applicable for argument types: (physicalgraph.device.HubAction, java.lang.String) values: [GET /toggleChime HTTP/1.1 Accept: */* User-Agent: Linux UPnP/1.0 SmartThings HOST: 192.168.1.16:9876 , ...] @ line 82
I’m doing the following in the device:
def action = new physicalgraph.device.HubAction([ method: "GET", path: "/toggleChime", headers: [ HOST: "192.168.1.16:9876" ] ]) sendHubCommand(action,"192.168.1.16:9876")
I’m wondering if a device is allowed to do a hub command or have I just misinterpreted sample code and gone into the weeds?