Home Assistant plugin updated for Python 3

Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

Hi

I had this up and running with my dishwasher (In HA) and was working perfectly reporting back very quickly. Then about 3 days ago it had stopped reporting. Tried restarting everything. Nothing. Tried updating HA. Nothing. Tried updating the plugin. Nothing. So then i looked at the settings couldnt see anything wrong but I updated the long lived Key and still nothing. Then I looked at one of the actual devices in Indigo and in "Edit Device Settings" where I was pasting in the HA address for the item has gone and has been replaced with a selection box "Entity" with no selections inside it. I can still see the "Address" (sensor.studio_kitchen_dishwasher_door) in the edit device page but it seems to be ignoring it. If I delete the device and re-add it I get to the same selection dropdown with no items populated in it so cant add it.

Code: Select all

 Home Assistant Agent Error      Error in plugin execution ServerReplacedElem:

  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 1379, in device_updated
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 1315, in _dispatch_device_start_comm
  File "plugin.py", line 156, in deviceStartComm
type: list index out of range

 Home Assistant Agent Error      Error in plugin execution GetUiDynamicList:

  File "plugin.py", line 224, in get_entity_list
type: ('sensor',)

   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Duration: Stopping Agent device for entity ''
   Home Assistant Agent Error      Error in plugin execution GetUiDynamicList:

  File "plugin.py", line 224, in get_entity_list
type: ('switch',)
Any thoughts?

Thanks

Lee
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 »

Please use CODE tags when posting log entries.

Turn on debug logging, then restart the plugin. Post that. With CODE tags.

Use the plugin menu to dump the entity data to the log. Post that. With CODE tags.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

Code: Select all


 Reloading plugin "Home Assistant Agent 2023.0.5" using API v3.0
   Stopping plugin "Home Assistant Agent 2023.0.5" (pid 8712)
   Home Assistant Agent Debug      stop_concurrent_thread called
   Home Assistant Agent            Studio @ Bedroom @ Bed Sensor @ Lee: Stopping Agent device for entity 'binary_sensor.withings_in_bed_lee_gorecki_s_withings_data'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Operation State: Stopping Agent device for entity 'sensor.studio_kitchen_dishwasher_operation_state'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Power: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_power'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Auto2: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_auto2'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Eco50: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_eco50'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Intensiv70: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_intensiv70'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Kurz60: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_kurz60'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ MachineCare: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_machinecare'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ NightWash: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_nightwash'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ PreRinse: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_prerinse'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Quick45: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_quick45'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Super60: Stopping Agent device for entity 'switch.studio_kitchen_dishwasher_program_super60'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program Progress: Stopping Agent device for entity 'sensor.studio_kitchen_dishwasher_program_progress'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remaining Program Time: Stopping Agent device for entity 'sensor.studio_kitchen_dishwasher_remaining_program_time'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remote Control: Stopping Agent device for entity 'binary_sensor.studio_kitchen_dishwasher_remote_control'
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remote Start: Stopping Agent device for entity 'binary_sensor.studio_kitchen_dishwasher_remote_start'
   Home Assistant Agent Debug      shutdown called
   Stopped plugin "Home Assistant Agent 2023.0.5"
   Starting plugin "Home Assistant Agent 2023.0.5" (pid 17493)
   Home Assistant Agent Debug      logLevel = 5
   Started plugin "Home Assistant Agent 2023.0.5"
   Home Assistant Agent Debug      startup called
   Home Assistant Agent Debug      Connecting to 'ws://10.0.1.203:8123/api/websocket'
   Home Assistant Agent            Studio @ Bedroom @ Bed Sensor @ Lee: Starting Agent device for entity 'binary_sensor.withings_in_bed_lee_gorecki_s_withings_data'
   Home Assistant Agent Debug      Studio @ Bedroom @ Bed Sensor @ Lee: binary_sensor.withings_in_bed_lee_gorecki_s_withings_data not in ha_entity_map[binary_sensor][withings_in_bed_lee_gorecki_s_withings_data]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Operation State: Starting Agent device for entity 'sensor.studio_kitchen_dishwasher_operation_state'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Operation State: sensor.studio_kitchen_dishwasher_operation_state not in ha_entity_map[sensor][studio_kitchen_dishwasher_operation_state]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Power: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_power'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Power: switch.studio_kitchen_dishwasher_power not in ha_entity_map[switch][studio_kitchen_dishwasher_power]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Auto2: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_auto2'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Auto2: switch.studio_kitchen_dishwasher_program_auto2 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_auto2]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Eco50: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_eco50'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Eco50: switch.studio_kitchen_dishwasher_program_eco50 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_eco50]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Intensiv70: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_intensiv70'
   Home Assistant Agent Debug      Service Rivendell House._home-assistant._tcp.local. of type _home-assistant._tcp.local. state changed: ServiceStateChange.Added
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Intensiv70: switch.studio_kitchen_dishwasher_program_intensiv70 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_intensiv70]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Kurz60: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_kurz60'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Kurz60: switch.studio_kitchen_dishwasher_program_kurz60 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_kurz60]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ MachineCare: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_machinecare'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ MachineCare: switch.studio_kitchen_dishwasher_program_machinecare not in ha_entity_map[switch][studio_kitchen_dishwasher_program_machinecare]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ NightWash: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_nightwash'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ NightWash: switch.studio_kitchen_dishwasher_program_nightwash not in ha_entity_map[switch][studio_kitchen_dishwasher_program_nightwash]
   Home Assistant Agent Debug      Found HA Servers: {'Rivendell House._home-assistant._tcp.local.': {'ip_address': '10.0.1.203', 'port': 8123}}
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ PreRinse: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_prerinse'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ PreRinse: switch.studio_kitchen_dishwasher_program_prerinse not in ha_entity_map[switch][studio_kitchen_dishwasher_program_prerinse]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Quick45: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_quick45'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Quick45: switch.studio_kitchen_dishwasher_program_quick45 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_quick45]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Super60: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_super60'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Super60: switch.studio_kitchen_dishwasher_program_super60 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_super60]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program Progress: Starting Agent device for entity 'sensor.studio_kitchen_dishwasher_program_progress'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program Progress: sensor.studio_kitchen_dishwasher_program_progress not in ha_entity_map[sensor][studio_kitchen_dishwasher_program_progress]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remaining Program Time: Starting Agent device for entity 'sensor.studio_kitchen_dishwasher_remaining_program_time'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Remaining Program Time: sensor.studio_kitchen_dishwasher_remaining_program_time not in ha_entity_map[sensor][studio_kitchen_dishwasher_remaining_program_time]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remote Control: Starting Agent device for entity 'binary_sensor.studio_kitchen_dishwasher_remote_control'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Remote Control: binary_sensor.studio_kitchen_dishwasher_remote_control not in ha_entity_map[binary_sensor][studio_kitchen_dishwasher_remote_control]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Remote Start: Starting Agent device for entity 'binary_sensor.studio_kitchen_dishwasher_remote_start'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Remote Start: binary_sensor.studio_kitchen_dishwasher_remote_

Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

And the second part just returns this:

Code: Select all

 Home Assistant Agent            
{}
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 »

At that point in the log it has not yet finished connecting to the Home Assistant server. So there's no valid data for your devices.

After this line:

Code: Select all

   Home Assistant Agent Debug      Connecting to 'ws://192.168.111.202:8123/api/websocket'
You should see these lines:

Code: Select all

   Home Assistant Agent Debug      Websocket connected
   Home Assistant Agent Debug      Websocket got auth_required for ha_version 2023.8.1, sending auth_token
   Home Assistant Agent Debug      Websocket got auth_ok for ha_version 2023.8.1
   Home Assistant Agent Debug      Websocket reply Success for subscribe_events
   Home Assistant Agent Debug      Websocket reply Success for get_states
If you don't, reselect the HA instance in the plugin config dialog, then reboot and try again.
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 »

Also, soon after restarting the plugin, you should see something like this in the log:

Code: Select all

   Home Assistant Agent Debug      Service Hangar._home-assistant._tcp.local. of type _home-assistant._tcp.local. state changed: ServiceStateChange.Added
   Home Assistant Agent Debug      Found HA Servers: {'Hangar._home-assistant._tcp.local.': {'ip_address': '192.168.111.202', 'port': 8123}}
If you don't, that means either your HA server is not broadcasting it's existence, or the Indigo machine isn't getting that broadcast. Either one should be investigated.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

So getting back on this now.

On my Indigo machine if I go to the HA webpage (in safari) I can connect to that fine and control it.
In indigo Plugins>Home Assistant Agent>Configure... It discovers the server and if I delete all the server info, save the config, restart indigo, go back to the config it still discovers it and fills out all the information. I put the long lived key in and it still won't connect.

is there a plugin config file I can delete somewhere?
Attachments
Screenshot 2023-08-13 at 13.58.57.png
Screenshot 2023-08-13 at 13.58.57.png (54.08 KiB) Viewed 2455 times
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 »

Just to be sure, do the IP address and port in the config dialog match what you use in Safari to connect to Home Assistant?

You can remove the plugin preferences file. It's in the Indigo install directory, then Preferences, then Plugins, then "no.homeassistant.plugin.indiPref". Don't delete that file right away, just move it out of the plugin preferences file. First disable the plugin, then move the prefs file, then enable the plugin. Remember to reenable debug logging. If that does happen to fix the problem, let me know. I'll want to look at the old preferences file to see if I can figure out why it broke things.

If it's still not working, post the (new) log.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

Hi yes the IP and Port Match

Tried moving the prefs file and no luck same thing again. Something I did notice is I just restarted the HA instance and this instantly popped up in the indigo log.

Code: Select all

 Home Assistant Agent Debug      Service Rivendell House._home-assistant._tcp.local. of type _home-assistant._tcp.local. state changed: ServiceStateChange.Removed
Does this suggest it can partly see the server and what's happening.

Code: Select all

 Home Assistant Agent Debug      logLevel = 5
   Started plugin "Home Assistant Agent 2023.0.5"
   Home Assistant Agent Debug      startup called
   Home Assistant Agent Debug      Connecting to 'ws://10.0.1.203:8123/api/websocket'
   Home Assistant Agent            Studio @ Bedroom @ Bed Sensor @ Lee: Starting Agent device for entity 'binary_sensor.withings_in_bed_lee_gorecki_s_withings_data'
   Home Assistant Agent Debug      Studio @ Bedroom @ Bed Sensor @ Lee: binary_sensor.withings_in_bed_lee_gorecki_s_withings_data not in ha_entity_map[binary_sensor][withings_in_bed_lee_gorecki_s_withings_data]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Operation State: Starting Agent device for entity 'sensor.studio_kitchen_dishwasher_operation_state'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Operation State: sensor.studio_kitchen_dishwasher_operation_state not in ha_entity_map[sensor][studio_kitchen_dishwasher_operation_state]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Power: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_power'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Power: switch.studio_kitchen_dishwasher_power not in ha_entity_map[switch][studio_kitchen_dishwasher_power]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Auto2: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_auto2'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Auto2: switch.studio_kitchen_dishwasher_program_auto2 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_auto2]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Eco50: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_eco50'
   Home Assistant Agent Debug      Service Rivendell House._home-assistant._tcp.local. of type _home-assistant._tcp.local. state changed: ServiceStateChange.Added
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Eco50: switch.studio_kitchen_dishwasher_program_eco50 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_eco50]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Intensiv70: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_intensiv70'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Intensiv70: switch.studio_kitchen_dishwasher_program_intensiv70 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_intensiv70]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Kurz60: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_kurz60'
   Home Assistant Agent Debug      Found HA Servers: {'Rivendell House._home-assistant._tcp.local.': {'ip_address': '10.0.1.203', 'port': 8123}}
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Kurz60: switch.studio_kitchen_dishwasher_program_kurz60 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_kurz60]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ MachineCare: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_machinecare'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ MachineCare: switch.studio_kitchen_dishwasher_program_machinecare not in ha_entity_map[switch][studio_kitchen_dishwasher_program_machinecare]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ NightWash: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_nightwash'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ NightWash: switch.studio_kitchen_dishwasher_program_nightwash not in ha_entity_map[switch][studio_kitchen_dishwasher_program_nightwash]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ PreRinse: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_prerinse'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ PreRinse: switch.studio_kitchen_dishwasher_program_prerinse not in ha_entity_map[switch][studio_kitchen_dishwasher_program_prerinse]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Quick45: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_quick45'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Quick45: switch.studio_kitchen_dishwasher_program_quick45 not in ha_entity_map[switch][studio_kitchen_dishwasher_program_quick45]
   Home Assistant Agent            Studio @ Kitchen @ Dishwasher @ Program @ Super60: Starting Agent device for entity 'switch.studio_kitchen_dishwasher_program_super60'
   Home Assistant Agent Debug      Studio @ Kitchen @ Dishwasher @ Program @ Super60: switch.studio_kitchen_dishwasher_program_super60 not in ha_entity_map[switch][studio_kitchen_dishwashe
Pretty much the same thing in the log.

Could there be any setting in HA that could be stopping it?
Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

Also if I copy and paste this: 10.0.1.203:8123/api/websocket from the LOG in to safari on the Indigo machine i get this:

No WebSocket UPGRADE hdr: None
Can "Upgrade" only to "WebSocket".
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 »

You won't be able to connect to the websocket URL with a browser. So that error is expected.

You said this was working a few days ago? Was that with the old plugin or the new Python3 version?

What is Home Assistant running on? What hardware, OS, etc?
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 »

Also, until you get this fixed, you should disable all the HAA devices in Indigo. That will keep the log from getting spammed. Uncheck the "Comm Enabled" checkbox in the Indigo UI for all these devices.
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 »

Also, please enter this in a Terminal window and post the results:

Code: Select all

pip3 show websocket-client
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 »

And...

I just pushed an update to GitHub that sets a specific timeout on that websocket connection. Maybe the error message will tell us something.

https://github.com/FlyingDiver/Indigo-H ... master.zip

You'll have to manually unpack and drop that in the plugins folder (and then restart the plugin). I didn't bump the version number, so Indigo won't do the install for you.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Wizard Sleeve
Posts: 71
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: Home Assistant plugin updated for Python 3

Post by Wizard Sleeve »

Running on the same plugin didnt change anything just stopped getting the notifications of what was happening with the dishwasher. Hardware is the same mac that indigo is on M1 mac mini and its running inside a UTM VM. Its got a static IP.



FlyingDiver wrote:You won't be able to connect to the websocket URL with a browser. So that error is expected.

You said this was working a few days ago? Was that with the old plugin or the new Python3 version?

What is Home Assistant running on? What hardware, OS, etc?
Locked

Return to “Home Assistant Agent”