Looking at this post:
It appears to be trivial to send a command to a thing from curl, but I’m obviously misunderstanding something.
I generated my Authorization, then have tried variations on this following curl command to turn on a TP-Link smart outlet:
curl -H "Authorization: Bearer [authorization token here]" -H "Accept: application/json" https://[subdomain].mozilla-iot.org/things/tplink-[device_id]/properties/on -X PUT -d '{"on": true}'
From that command, I receive:
Invalid property name
If I try to connect with the local IP address of the gateway, I get:
Forbidden