particle-iot / cloud

A place to discuss issues, enhancements, features for: API, Cloud Compiler, Web IDE (Build), Webhooks, Console, and Device Setup
2 stars 0 forks source link

Flash known app API endpoint doesn't work #6

Open idokleinman opened 8 years ago

idokleinman commented 8 years ago

the PUT /v1/devices/<id> app=tinker

endpoint doesn't work for Photons.

brycekahle commented 8 years ago

@ido Can you add some details? Include the exact request you made and the response given. What behavior do you see from the device, etc.

idokleinman commented 8 years ago

Yes, The call returns a 200 with {id: ######, status: "update started"} we get a start and then failed event from device, the app-hash event never happens

brycekahle commented 8 years ago

@idokleinman The app-hash event only happens when the hash actually changes, so did it have tinker on there before? The failed event is a known bug, and is not actually a failure.

idokleinman commented 8 years ago

I know about the failed event bug. We tried flashing app=tinker to a non-tinker running device. This is confirmed to be not working.