C:\curl https://api.spark.io/v1/devices/3d002b000XXXXXXXXX/led -X PUT -d access_token=8510f8481bXXXXXXXXX -d params=on
I tried a few other commands I found on this forum including “ping” which seems to indicate it is not online, “online”:false, even though the Particle app is able to control the led parameter set to “on” or “off”.
C:\curl https://api.spark.io/v1/devices/3d002bXXXXXXXX/ping -X PUT -d access_token=8510f8481bXXXXXXXXXXX
One curious thing that I do not see in any posts or in Simon Monk’s book is that the Web IDE link that reports the access code states that the access code is not valid for any products. I tried regenerating the access code, but each one says the same thing. I’m not sure what that’s about.
Any ideas on what I should try next?