I’m trying to make a piston with switch command for a Tuya device but don’t know how to configure it .
Is there anybody who has a sample to share
Sofar I’ve managed to get a request thru Postman working but don’t know how to fix it in Webcore.
I’m getting warning that syntax is not right.
This is the URL I try to use as webrequest
https://openapi.tuyaeu.com/v1.0/iot-03/devices/13333211840d8e623985/commands/?{“code”: “switch_1”,“value”: true}
and this is the piston which I tried tot change in many ways but nothings working.