How to determine plugin Python 2 dependencies

Posted on
Tue Jul 11, 2023 10:30 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

How to determine plugin Python 2 dependencies

Hi Jay and Matt,

I got the email stating the next version (2023.1) will not support plugins that still have Python 2 dependencies. It advised users to search for alternatives for plugins that still have such dependencies.

As a user who relies heavily on 3rd party plugins, but does not usually have any insight into their inner workings, how can I determine which plugins have such dependencies? If I update Indigo to check the damage would already be done. I know there have been warnings about this for some time but I have been at a loss as to what I could do about them. I could see no way to determine which of the many plugins with warnings actually have an incompatibility. While I normally stay up to date, I'm tempted to freeze my configuration at this point if upgrading presents an impossible challenge.

Thanks.

--Dave

Posted on
Tue Jul 11, 2023 11:00 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

Any Python2 based plugins will have a warning in your plugins list. A yellow dot, I think. ALL of those will stop working.

The wording on that warning is probably a little confusing. You need to be concerned with plugins that are Python2 based, not dependencies within the plugins themselves.
Last edited by FlyingDiver on Tue Jul 11, 2023 11:01 am, edited 1 time in total.

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

Posted on
Tue Jul 11, 2023 11:01 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: How to determine plugin Python 2 dependencies

In the Plugin Store:
"The plugins below with the exclamation point badge may not be compatible with versions after Indigo 2022.2.2. Contact the developer to inquire about an update."

When looking at your Plugins in the Indigo client:
There are color indicators that show whether they are updated for Python 3. (green)

Posted on
Tue Jul 11, 2023 11:18 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Whoa! Lots of yellow dots that would render some important hardware and software extensions useless. I guess I have my answer as to what to do. Thanks for the clarification,

BTW, it would be helpful to include the colored dots in the manage plugins list as well. It's a little awkward to find them in the menu.

Posted on
Tue Jul 11, 2023 11:19 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

It would help if you posted the list of problematic plugins. Some may have more recent alternatives.

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

Posted on
Tue Jul 11, 2023 11:24 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Will do, Joe, although I have been diligent about keeping them up to date. It'll take a little while to sort through them, especially since the colored dots don't show for currently disabled plugins, some of which I use intermittently for special purposes.

Posted on
Wed Jul 12, 2023 3:39 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

FlyingDiver wrote:
It would help if you posted the list of problematic plugins. Some may have more recent alternatives.

Since you asked, Joe, here are my currently enabled plug-ins with yellow dots. Some, note with an asterisk, are used to control specific hardware devices that I would rather not lose. Others, such as Super Conditions and Switchboard are used extensively and would be a huge pain to replace.

I haven't started to look for alternatives which I intend to do before asking for more advice. Thanks.

--Dave

* Dynamic View Controller
* EPS - Device Extensions*
* EPS - Mac Commander
* EPS - Super Conditions
* Flux LED*
* Foscam Controller*
* Foscam HD Controller*
* Nanoleaf*
* Online Sensor
* Roku Network Remote*
* Samsung TV*
* shelly Direct*
* Switchboard
* UPS and Battery Monitor*

Posted on
Wed Jul 12, 2023 6:24 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

The UPS plugin was updated on GitHub, but never released to the store. You can get it here: https://github.com/bschollnick/Indigo-U ... master.zip

I don't use any of the others, so I can't really help.

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

Posted on
Wed Jul 12, 2023 11:29 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Thanks Joe. That’s a good start.

Posted on
Thu Jul 13, 2023 3:00 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: How to determine plugin Python 2 dependencies

I have done the coding to convert the FoscamHD and Dynamic View Controller plugins to Python 3.
I haven't yet scheduled in time to do the required testing prior to a pre-release version being made available.
However, I am aiming to have these released prior to the next major version of Indigo being made available.

The nanoleaf plugin has already been converted to Python 3 and is available as a pre-release on Github: Convert to Python 3 for Indigo 2022.1+

I don't know about the Foscam Controller; where did you get that from?

Posted on
Thu Jul 13, 2023 4:56 am
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: How to determine plugin Python 2 dependencies

The author of some of these plugins--Colorado4Wheeler--left the Indigo community years ago.

I don't suspect his plugins will ever be updated.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Jul 13, 2023 1:12 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

autolog wrote:
I don't know about the Foscam Controller; where did you get that from?

Thanks. This was an old plugin from Github. I'm probably not using it anymore and need to disable it.

Posted on
Thu Jul 13, 2023 1:15 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

I don't see ShellyDirect in the plugin store. Where is that from, and what does it do that the currently supported Shelly plugin doesn't?

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

Posted on
Thu Jul 13, 2023 1:25 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: How to determine plugin Python 2 dependencies

It’s my plugin.
Supports direct communication with Shelly w/o any middleware

Supports type1 devices not the new ones
It is on GitHub and indigo store and it is py3 compatible

Karl.


Sent from my iPhone using Tapatalk

Posted on
Thu Jul 13, 2023 2:03 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

kw123 wrote:
It’s my plugin.
Supports direct communication with Shelly w/o any middleware

Supports type1 devices not the new ones
It is on GitHub and indigo store and it is py3 compatible


I know your Shelly plugin is up to Py3 now. But his list has "Shelly Direct", which I thought must be something else?

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

Who is online

Users browsing this forum: No registered users and 8 guests