Home Assistant plugin updated for Python 3
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
Also, just restarting the plug-in will refresh the device lists. But it’s an asynchronous process, so it might be a minute or two depending on home many HA devices and how fast the HA server is.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Home Assistant plugin updated for Python 3
Helper switches and binary sensors and regular sensors for the most part out of the 20 that I had defined and enabled the pull down only allows 3 to be defined in the list and chosen, others are not selectable and do not change with the entity state anymore since the upgrade - should I be switching back a version until this is robustly filled out?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
There’s something wrong with your setup. I don’t know what. I’m going to need screenshots and debug logs to figure it out. Please open a GitHub issue.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Home Assistant plugin updated for Python 3
Looks like 3-4 restarts of both the HA plugin and HA server over about an hour has it filling everything out...hopefully all situated now - glad you got this updated for the new Indigo requirements! Thank you!!
Re: Home Assistant plugin updated for Python 3
I am having a little issue with my 2 AQI sensors showing this error:
Home Assistant Agent Error Websocket state_changed exception: 'key lastUpdated not found in dict'
and this:
Error device "Foobot AQI" state key sensorValue not defined (ignoring update request)
Home Assistant Agent Error Websocket state_changed exception: 'key lastUpdated not found in dict'
and this:
Error device "Foobot AQI" state key sensorValue not defined (ignoring update request)
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
Did both of those Indigo devices exist from the previous plugin version? If so, edit the device and re-save it.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Home Assistant plugin updated for Python 3
I've resaved these and HA has their values listed, but in Indigo they come up as empty and it is now affecting another set of sensors as well.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
Open an issue in GitHub and include a full debug log starting with a plugin restart. Also include the device info from the plugin menu after the plugin has been running for a couple minutes.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Home Assistant plugin updated for Python 3
Joe,
Is it possible to bring a TV device across from HA? I've linked up 2 TV's in HA so would love to bring them into Indigo.
Colly
Is it possible to bring a TV device across from HA? I've linked up 2 TV's in HA so would love to bring them into Indigo.
Colly
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Home Assistant plugin updated for Python 3
I have a planned update that will let you get the states of an arbitrary HA device, which would let you trigger Indigo events based on TV state changes. I have no current plans to add control of those devices from Indigo.Colly wrote:Joe,
Is it possible to bring a TV device across from HA? I've linked up 2 TV's in HA so would love to bring them into Indigo.
Colly
I am curious, what HA device class are those?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- Different Computers
- Posts: 2730
- Joined: Sat Jan 02, 2016 10:07 am
- Location: East Coast
- Contact:
Re: Home Assistant plugin updated for Python 3
You weren't asking me, but I was able to look. I don't see anything labeled "device class" on the entity page, but maybe this helps?
Code: Select all
{
"home_assistant": {
"installation_type": "Home Assistant Core",
"version": "2023.6.3",
"dev": false,
"hassio": false,
"virtualenv": true,
"python_version": "3.11.4",
"docker": false,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.2.0-33-generic",
"run_as_root": true
},
"custom_components": {},
"integration_manifest": {
"domain": "roku",
"name": "Roku",
"codeowners": [
"@ctalkington"
],
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/roku",
"homekit": {
"models": [
"3820X",
"3810X",
"4660X",
"7820X",
"C105X",
"C135X"
]
},
"integration_type": "device",
"iot_class": "local_polling",
"loggers": [
"rokuecp"
],
"quality_scale": "silver",
"requirements": [
"rokuecp==0.18.0"
],
"ssdp": [
{
"st": "roku:ecp",
"manufacturer": "Roku",
"deviceType": "urn:roku-com:device:player:1-0"
}
],
"is_built_in": true
},
"data": {
"entry": {
"data": {
"host": "192.168.23.255"
},
"unique_id": "REDACTED"
},
"data": {
"info": {
"name": "Bar TV",
"brand": "TCL",
"device_type": "tv",
"device_location": "Bar",
"model_name": "75S535",
"model_number": "A120X",
"serial_number": "REDACTED4EGHL",
"version": "12.0.0",
"network_type": "ethernet",
"network_name": null,
"ethernet_support": true,
"ethernet_mac": "c0:79:82:04:65:3a",
"wifi_mac": "38:c8:04:a3:9d:e1",
"supports_airplay": true,
"supports_find_remote": false,
"supports_private_listening": true,
"supports_wake_on_wlan": true,
"headphones_connected": false
},
"state": {
"available": true,
"standby": true,
"at": "2023-09-27T15:16:35.183373"
},
"apps": [
{
"app_id": "31012",
"name": "Vudu Movie & TV Store",
"version": "2.0.62",
"screensaver": false
},
{
"app_id": "tvinput.hdmi4",
"name": "AV\u00a0receiver",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "551012",
"name": "Apple TV",
"version": "13.5.56",
"screensaver": false
},
{
"app_id": "13535",
"name": "Plex - Free Movies & TV",
"version": "7.8.4",
"screensaver": false
},
{
"app_id": "13",
"name": "Prime Video",
"version": "14.1.2023062023",
"screensaver": false
},
{
"app_id": "291097",
"name": "Disney Plus",
"version": "1.36.2023090701",
"screensaver": false
},
{
"app_id": "637193",
"name": "Apple Music",
"version": "13.5.56",
"screensaver": false
},
{
"app_id": "61322",
"name": "Max",
"version": "55.1.0",
"screensaver": false
},
{
"app_id": "2285",
"name": "Hulu",
"version": "6.74.1",
"screensaver": false
},
{
"app_id": "75619",
"name": "HGTV GO",
"version": "7.0.20",
"screensaver": false
},
{
"app_id": "12",
"name": "Netflix",
"version": "5.1.120088002",
"screensaver": false
},
{
"app_id": "151908",
"name": "The Roku Channel",
"version": "9.3.10",
"screensaver": false
},
{
"app_id": "75617",
"name": "Food Network GO",
"version": "7.0.20",
"screensaver": false
},
{
"app_id": "31440",
"name": "Paramount Plus",
"version": "8.6.20230907",
"screensaver": false
},
{
"app_id": "593099",
"name": "Peacock TV",
"version": "4.9.32",
"screensaver": false
},
{
"app_id": "73357",
"name": "Freeform - Movies & TV Shows",
"version": "5.18.1",
"screensaver": false
},
{
"app_id": "tvinput.dtv",
"name": "Live\u00a0TV",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "tvinput.hdmi2",
"name": "PlayStation 5",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "27536",
"name": "CBS News",
"version": "5.26.2",
"screensaver": false
},
{
"app_id": "837",
"name": "YouTube",
"version": "2.22.105005058",
"screensaver": false
},
{
"app_id": "143924",
"name": "IP Camera Viewer - Basic",
"version": "5.3.0",
"screensaver": false
},
{
"app_id": "tvinput.hdmi3",
"name": "HDMI\u00a03",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "tvinput.cvbs",
"name": "AV",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "52937",
"name": "CAMERA",
"version": "1.0.0",
"screensaver": false
},
{
"app_id": "43465",
"name": "Fubo: Watch Live TV & Sports",
"version": "4.8.2600",
"screensaver": false
}
],
"channels": [],
"app": null,
"channel": null,
"media": null
}
}
}Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana, Yamaha RX Receiver.
Re: Home Assistant plugin updated for Python 3
Help from others is always welcome. I kept meaning to get back to this.
Is below what you are referring to?
media_player.sony_xr_65a80j
Is below what you are referring to?
media_player.sony_xr_65a80j
Re: Home Assistant plugin updated for Python 3
Ideally from my perspective I’d be able to turn on/off, mute, volume up/down. Happy to live without latter if that was too much work.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
What is that data dump from? I don't recognize it.Different Computers wrote:You weren't asking me, but I was able to look. I don't see anything labeled "device class" on the entity page, but maybe this helps?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Home Assistant plugin updated for Python 3
Yeah, that's what I need. That's an entity_id, which is the device class plus the unique identifier. I thought it might be media_player, but I wasn't sure.Colly wrote:Help from others is always welcome. I kept meaning to get back to this.
Is below what you are referring to?
media_player.sony_xr_65a80j
media_player is a very complicated device type, which has no matching device type in Indigo. So that'll be a lot of work.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177