Control the photon from desktop

Hello guys,

I have a question: How can I control the photon (InternetButton) from my Mac? I would like to send a command using a UI. Do I have to write an OSX Application or can I somehow solve it in a cheaper way? :slight_smile: Maybe a REST link in a browser? I don’t want to go to the console each time…

You could use a script that runs a curl command
Or have a simple HTML/JS page like shown here
Tutorial: Spark Variable and Function on One Web Page
and numerous other options

https://console.particle.io will let you trigger functions/variables, as will this page I made.
Great for prototyping :slight_smile:

Thank you for the suggestions. I’ve chosen a different way (I’m lazy :slight_smile:). I’ve installed particle-cli and send the command by using the Automator Service.