Home Assistant plugin updated for Python 3

User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Home Assistant plugin updated for Python 3

Post by FlyingDiver »

Pre-release test version available: https://github.com/FlyingDiver/IndigoHA ... g/2022.0.0

There are two Home Assistant plugins on the store. This is an update of the simpler one, which only allows for representing a Home Assistant device in Indigo. Status of the devices are polled from HA, and can be controlled from the Indigo version of the device.

This release has had very minimal testing. Please report problems using the GitHub issues system.

This update uses the same plugin ID and device types as the original, so it should "just work". Make sure to keep a copy of the old plugin if (when!) you need to revert. Or get it from the plugin store.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
farberm
Posts: 393
Joined: Sun Feb 24, 2008 2:14 pm

Re: Home Assistant plugin updated for Python 3

Post by farberm »

This is awesome. Up and running just fine. I will monitor and let you know f there are any issues.

Thanks for your help.
Colly
Posts: 550
Joined: Sat Jan 16, 2016 10:19 am
Location: Ireland

Re: Home Assistant plugin updated for Python 3

Post by Colly »

Thanks Joe,

Have this up and running with my test Home Assistant setup.
I had been planning to deploy an instance of HA in a remote property and was thinking of communicating with it through a cloud MQTT broker.

Have I any options with this plugin to connect to a remote location?

Appreciate the effort to get this up and running as I see possibilities to fill gaps in my Indigo setup with some HA integrations.
farberm
Posts: 393
Joined: Sun Feb 24, 2008 2:14 pm

Re: Home Assistant plugin updated for Python 3

Post by farberm »

You should be able to connec to a remote location so long as it has a static address
farberm
Posts: 393
Joined: Sun Feb 24, 2008 2:14 pm

Re: Home Assistant plugin updated for Python 3

Post by farberm »

Joe …. On other thought. Mr. Slim plugin also works with the Honeywell thermostats. Is it possible to update that plugin?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by FlyingDiver »

farberm wrote:Joe …. On other thought. Mr. Slim plugin also works with the Honeywell thermostats. Is it possible to update that plugin?
I have no idea, and I'm never touching another thermostat plugin. Both of the ones I've done so far have been horrible.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by FlyingDiver »

Colly wrote:Thanks Joe,

Have this up and running with my test Home Assistant setup.
I had been planning to deploy an instance of HA in a remote property and was thinking of communicating with it through a cloud MQTT broker.

Have I any options with this plugin to connect to a remote location?

Appreciate the effort to get this up and running as I see possibilities to fill gaps in my Indigo setup with some HA integrations.
This plugin does not use MQTT. That's the other one. If you can reach the remote HA instance with a web browser, this plugin should work.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Colly
Posts: 550
Joined: Sat Jan 16, 2016 10:19 am
Location: Ireland

Re: Home Assistant plugin updated for Python 3

Post by Colly »

I’ll be able to give it a go later this week. Timing is perfect as I fly out Tuesday.
User avatar
mwoodage
Posts: 189
Joined: Fri Dec 19, 2014 8:35 am
Location: Devon UK

Re: Home Assistant plugin updated for Python 3

Post by mwoodage »

Hello,
I'm getting the following error when trying to use the updated Home Assistant plugin, is it something i'm doing wrong or is there a bug?

Code: Select all

File "plugin.py", line 93, in runConcurrentThread
type: 'attributes'

   Home Assistant Error            plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Home Assistant Error            Error in plugin execution runConcurrentThread:

  File "plugin.py", line 93, in runConcurrentThread
type: 'attributes'
Thanks
Martin
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by FlyingDiver »

Not enough info. Turn on debug logging, restart the plugin, then do whatever you did to get the error. Then post the log.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
mwoodage
Posts: 189
Joined: Fri Dec 19, 2014 8:35 am
Location: Devon UK

Re: Home Assistant plugin updated for Python 3

Post by mwoodage »

Sorry, my fault! I had the wrong HA Identity ID in the device settings,

It's working now, thank you :D
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by FlyingDiver »

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by roquej »

Today, I use HomeAssitant to control only two items that don't have plugins in Indigo: Trane thermostat and iAqualink. Then I use MQTT and Virtual devices to interact with Indigo. It works but is messy. I don't care about the Trane but would love to use this plugin for the iAqualink setup to simplify my life. However, I am getting lots of errors when using it. Should I post the errors here on your GitHub?

JP
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by FlyingDiver »

roquej wrote:Today, I use HomeAssitant to control only two items that don't have plugins in Indigo: Trane thermostat and iAqualink. Then I use MQTT and Virtual devices to interact with Indigo. It works but is messy. I don't care about the Trane but would love to use this plugin for the iAqualink setup to simplify my life. However, I am getting lots of errors when using it. Should I post the errors here on your GitHub?
The Trane Home (nee Nexia) plugin doesn't work for you?

If you're getting errors with the updated for Python3 Home Assistant plugin, then yes open an issue in my GitHub repository.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: Home Assistant plugin updated for Python 3

Post by roquej »

The last time I tried the Trane Nexia plug-in, it didn't work. But let me try it again. It has been a while.

Thanks. I will open the issue in GitHub.

JP
Locked

Return to “Home Assistant Agent”