Hass plugin install issues

Posted on
Sat Oct 02, 2021 10:03 am
pxzel offline
Posts: 29
Joined: Jan 19, 2019
Location: Lombard, IL.

Hass plugin install issues

Can't seem to get the plugin to start on M1 Mac mini running Indigo 2021.1.1

Any ideas?
Log errors:

Installing and enabling plugin HassBridge v1.4.0
Loading plugin "HassBridge 1.4.0"
Starting plugin "HassBridge 1.4.0" (pid 867)
HassBridge Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 93, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/__init__.py", line 53, in __init__
ValueError: invalid literal for int() with base 10: ''

Stopping plugin "HassBridge 1.4.0" (pid 867)
Stopped plugin "HassBridge 1.4.0"

Posted on
Sat Oct 02, 2021 10:15 am
WonderSlug offline
Posts: 82
Joined: Sep 08, 2017

Re: Hass plugin install issues

If you have a value in the MQTT Settings:Server Port make sure it is a valid number only with no spaces or other strings around it.

If thats not the problem there might be something odd with the handling of the python version in Indigo (which is an old 2.7 version) on a M1 CPU.

Posted on
Sat Oct 02, 2021 11:16 am
pxzel offline
Posts: 29
Joined: Jan 19, 2019
Location: Lombard, IL.

Re: Hass plugin install issues

There is no configure setting when I use the plugin dropdown menu. I'm running
Python 3.8.2
Python 2.7.16

Posted on
Sat Oct 02, 2021 3:17 pm
WonderSlug offline
Posts: 82
Joined: Sep 08, 2017

Re: Hass plugin install issues

It doesnt matter what version of python you have on your machine. Its the embedded python in Indigo

Posted on
Sat Oct 02, 2021 4:03 pm
jay (support) offline
Site Admin
User avatar
Posts: 17058
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Hass plugin install issues

Indigo uses the python 2.7 install that comes with macOS. Third party python installs other than the one directly from python.org can cause issues.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Oct 02, 2021 4:44 pm
pxzel offline
Posts: 29
Joined: Jan 19, 2019
Location: Lombard, IL.

Re: Hass plugin install issues

Well, I'm pretty sure both of the Python versions came with my M1 Mac. I've read other posts that state that 2 versions come with m1 Mac Big Sur 11.6.
Can anyone verify what Python versions Indigo works with?

Posted on
Sat Oct 02, 2021 6:12 pm
jay (support) offline
Site Admin
User avatar
Posts: 17058
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Hass plugin install issues

Yes, newer macOS releases come with both. Indigo will use the 2.7 version.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Oct 02, 2021 6:19 pm
pxzel offline
Posts: 29
Joined: Jan 19, 2019
Location: Lombard, IL.

Re: Hass plugin install issues

So, is it safe to assume that the Home Assistant and Hassbridge plug-in have issues with M1 and Big Sur? I never used those plugins and just recently tried to activate them. When I initially activated them, today, they both allowed me to enter configuration parameters. But after I tried to save, the config menu disappeared for each.

After trying to reinstall, the config menus never showed up again.

Posted on
Tue Oct 05, 2021 2:12 pm
pxzel offline
Posts: 29
Joined: Jan 19, 2019
Location: Lombard, IL.

Re: Hass plugin install issues

I think its fixed. I deleted the plugins preference file and the plugin is working correctly now. Thanks for the help.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest