How to specify Plugin is Indigo 2022.xx compatible

Posted on
Sat May 21, 2022 9:41 am
rbdubz3 offline
User avatar
Posts: 224
Joined: Sep 18, 2016
Location: San Diego, CA

How to specify Plugin is Indigo 2022.xx compatible

Regarding upgrading plugins to be compatible post Indigo 2022.1 and Python 3.. How is this determined and the python runtime specified?

Scanned a bunch of docs/forums but couldn't find it :( . I 'think' it's 'ServerApiVersion' but not sure - below is a section of the Info.plist file from latest NOAA weather:

<key>PluginVersion</key>
<string>2022.1.0</string>
<key>ServerApiVersion</key>
<string>3.0</string>

<key>IwsApiVersion</key>
<string>1.0.0</string>
<key>LoadPriority</key>
<integer>5</integer>
<key>CFBundleDisplayName</key>
<string>NOAA Weather</string>
<key>CFBundleIdentifier</key>
<string>com.perceptiveautomation.indigoplugin.NOAAWeather</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>CFBundleURLTypes</key>

I automate because I am lazy :D - My Plugins: https://forums.indigodomo.com/viewforum.php?f=309

Posted on
Sat May 21, 2022 9:56 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to specify Plugin is Indigo 2022.xx compatible

ServerApiVersion is correct. 3.0 or higher will use the Python 3 runtime. Anything less than 3.0 will use the old Python2 runtime (and stop working in 2022.2).

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat May 21, 2022 9:57 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: How to specify Plugin is Indigo 2022.xx compatible

You're correct. if you are using API 3.0 (compatible with Python 3), use the values you have bolded in your info.plist .

Note, this won't make your plugin compatible, but it will tell Indigo to use API v3

Posted on
Sat May 21, 2022 10:16 am
rbdubz3 offline
User avatar
Posts: 224
Joined: Sep 18, 2016
Location: San Diego, CA

Re: How to specify Plugin is Indigo 2022.xx compatible

Thanks for the quick replies

ryanbuckner wrote:
You're correct. if you are using API 3.0 (compatible with Python 3), use the values you have bolded in your info.plist .

Note, this won't make your plugin compatible, but it will tell Indigo to use API v3


Yeah just digging into this - i have a bit of more work to do it seems

I automate because I am lazy :D - My Plugins: https://forums.indigodomo.com/viewforum.php?f=309

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests