Skip to content

scripting

Dave edited this page Jan 8, 2021 · 4 revisions

The bundle identifier for the Fantastic Weather plugin is:
com.fogbert.indigoplugin.fantasticwWeather

Refresh Data For All Devices

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

plugin=indigo.server.getPlugin("com.fogbert.indigoplugin.fantasticwWeather")
plugin.executeAction("refresh_weather_data")

refresh_data

This action accepts no other parameters. It is unlikely that calling this Action would result in an error. However, if you call this action with no plugin devices enabled, a warning message will be written to the Events log.