As part of some work I’ve been doing for edtech startup Machido, I’ve put together a quick port of Blockly for the Photon, using Particle’s APIs. With it, you can do drag-and-drop visual programming, hit a button, and have it flashed to your photon, just like on Build.
It’s a bit basic so far - the set of blocks needs expanding and the UI could use some refinement - but fully functional. You can try it out at https://blocklyphoton.appspot.com/ - you’ll be asked to sign in with your Particle account.
Thanks! Note that if you click on the gear in the 'if', a box pops up. Drag an 'else' into an 'if' in the box, and your 'if' becomes an 'if else', so you can skip the extra comparison.
Hm. Does it return a status code? I see a few 500s in the logs due to timeouts, but nothing else.
Not yet. Your current work is saved in localstorage between page loads, but there's no persistent storage on the server. It's on the todo list, but it will require a secondary login, because Particle doesn't currently provide any identity information - so I can't identify you between login sessions.
Great tool. Also works with mesh devices. This is ideal for my workshops. Does anyone know if there are other visual or block based approaches for Particle devices?