Skip to content

scripting

DaveL17 edited this page Mar 6, 2026 · 6 revisions

You can invoke plugin actions through Python code using the steps outlined below. Each action may be different in the way the method is used, so it's best to follow the steps for that particular action.

The bundle identifier for the BikeShare plugin is: com.fogbert.indigoplugin.bikeShare


Refresh Bike Data

You can invoke the Indigo Action item Refresh Bike Data through a simple Python script:

plugin=indigo.server.getPlugin("com.fogbert.indigoplugin.bikeShare")
plugin.executeAction("refresh_bike_data")

refresh_bike_data (Required)

If successful, the plugin will write an informational message to the log (you must have debugging set to informational messages for the message to appear in the Indigo Events log.)

Clone this wiki locally