Importing plugin to Template
The final step is to import your local plugin code into the online Template. Visit the Stormly page and click in the top Custom
and then Plugin
. Edit the plugin you've created in step 2. Now scroll down and drag your actual plugin Python code onto the drop field indicated by Drag files here to replace code
. Then uncheck [ ] Run plugin in test-mode
and then Update
. If you plugin generates notifications, for example with anomaly detection, you may want to check [✅] This plugin should run continuously
. This makes sure the plugin it not being run on a fixed schedule set by the end user (daily, weekly, etc), but continuously so that potential notifications are generated on time.
In case you want to publish your template publically, so anyone can run your plugin, it will be good to document all helper functions by adding the relevant JSON to Documentation on helpers
. For the JSON helper documentation format see the Plugin Helpers documentation for more details.
To save your changes made in your template, click Save Changes
from the top menu. In case you want to make your template and any plugins within it available publically to others, check [✅] Make publicly available as third-party template
. Finally click Save
.
Forecasting plugin tutorial
This report plugin documentation should get your started. To see an actual report plugin implemented from start to finish, check out the Forecast plugin tutorial.