Disclaimer: Personal Project
What It Is
For the curious/interested, I created a tampermonkey/greasemonkey script to add a “Publish Event” link to the Particle Console. This allows you to easily send events from your browser while viewing your logs in the Particle Console.
How to Instal/Use
- Install TamperMonkey.
- Go here and click “Raw” to import the script into Tampermonkey. Install the script.
- Go to the Particle Console. A little airplane icon and “Publish Event” link should appear near the “Docs” link. Press it and then follow the prompts to emit an event. Click the “Publish Event” link to launch the process. Follow the prompts.
- Provide feedback to me
How It Works
prompt(...) prompts) asking for the eventName and eventData. Once you submit those it grabs the access token and then calls the event publish API using