sman591 / homebridge-lg-thinq-ac

Homebridge plugin for LG ThinQ-enabled portable air conditioner
Apache License 2.0
53 stars 16 forks source link

Ac not showing in Home App but showing in Homebridge #73

Closed techface10 closed 3 years ago

techface10 commented 3 years ago

Ac added to my homebridge and it is showing on my Accessories tab but it is not showing in Home App. The below-mentioned error keeps showing in my log. Are there any Solutions?

[4/25/2021, 11:21:16 AM] [homebridge-lg-thinq-ac] SwingModeCharacteristic: Warning: Your A/C unit supports variable swing settings, but this is not supported by Homekit. Ignoring desired swing setting.

IMNotMax commented 3 years ago

Same kind of issue here with my wall mounted LG units. I can control ON/OFF, temperature and mode in the homebridge accessories but homekit doe not show these accessories. Here my ref model : lgelan120hsv My logs:

[4/25/2021, 9:55:26 AM] [homebridge-lg-thinq-ac] Launched child bridge with PID 11050 [4/25/2021, 9:55:27 AM] Registering platform 'homebridge-lg-thinq-ac.LgThinqAirConditioner' [4/25/2021, 9:55:27 AM] [homebridge-lg-thinq-ac] Loaded homebridge-lg-thinq-ac v1.14.0 child bridge successfully [4/25/2021, 9:55:27 AM] Loaded 2 cached accessories from cachedAccessories.0E6BBA054ADB. Preparing Advertiser for 'homebridge-lg-thinq-ac 7464' using bonjour-hap backend! Starting to advertise 'homebridge-lg-thinq-ac 7464' using bonjour-hap backend! [4/25/2021, 9:55:28 AM] Homebridge v1.3.4 (homebridge-lg-thinq-ac) is running on port 30017. [4/25/2021, 9:55:28 AM] [homebridge-lg-thinq-ac] Already logged into ThinQ [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] Discover found 3 total devices [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] Existing accessory: Clim Étage [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] TargetHeaterCoolerStateCharacteristic: Warning: Your model may support a "drying" or "dehumidification" mode. This is NOT natively supported by Homekit, and using it may show errors in Homebridge or cause temporary instability. [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] Starting refresh interval (set to 1 minutes) [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] Existing accessory: Clim du salon [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] TargetHeaterCoolerStateCharacteristic: Warning: Your model may support a "drying" or "dehumidification" mode. This is NOT natively supported by Homekit, and using it may show errors in Homebridge or cause temporary instability. [4/25/2021, 9:55:31 AM] [homebridge-lg-thinq-ac] Starting refresh interval (set to 1 minutes)

IMNotMax commented 3 years ago

Ah ah ah ah, just after posting the "Issue" I realized I forget to add the secondary bridge to homekit. #Noob ! Works great! @techface10 did you use the plugin as secondary bridge ? Or as a standard plugin in homebridge ?

IMNotMax commented 3 years ago

Ok, after a few days of use, I see a pattern. With the secondary bridge mode or with direct plugin. Every 48h or so the plugin crashes and the device is not reachable from the Home App but still works from homebridge accessories. I was not able to spot the logs before I understand this pattern. Will post here.

Last behavior, even after restarting homebridge, accessories are still unreachable in the Home App. I have to delete the accessories form homebridge, restart to have the accessories back in the Home App.

And by the way, @sman591 great work ! And thank you for your time !

sman591 commented 3 years ago

Can you update to the latest version and let me know if this still happens?

IMNotMax commented 3 years ago

no more issues after a 10 days test 👍 Nice !!!!

sman591 commented 3 years ago

Sweet!

IMNotMax commented 3 years ago

Happy to help !