karlg100 / homebridge-frigidaire

homebridge Platform plugin for Frigidaire connected appliances
29 stars 10 forks source link

2.1.3 on Docker/Synology - 'This Plugin Slows Down Homebridge' error. #35

Open alfista2600 opened 3 years ago

alfista2600 commented 3 years ago

Hi - this was working, but now not so much...

I'm not very familiar with home bridge or docker so I'll go try to see if I can figure out how to enable logging.

Starting to advertise 'Homebridge 951A 3B56' using bonjour-hap backend!
[6/28/2021, 9:18:46 AM] Homebridge v1.3.4 (Homebridge 951A) is running on port 53611.
getCoolingState() - no telementry, exiting
getMode() - no telementry, exiting
getRoomTemp() - no telementry, exiting
getTemp() - no telementry, exiting
getUnit() - no telementry, exiting
getFanMode() - no telementry, exiting
getCleanAir() - no telementry, exiting
getCleanAir() - no telementry, exiting
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[6/28/2021, 9:18:56 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
kietiub commented 3 years ago

My homebridge stops working cuz of this plugin and it returns the following error on the status page

[homebridge-frigidaire] This plugin is taking long time to load and preventing Homebridge from starting. See https://git.io/JtMGR for more info.

alfista2600 commented 3 years ago

it seems like making the plug-in a child container might help, but not sure how to do that either...

glnces commented 3 years ago

Frigidaire had server issues last night which lead to me having a similar issue. Can you try restarting Homebridge now?

kietiub commented 3 years ago

Doesnt matter how many times I restart, my entire homebridge crashes and none of my other plugins are able to get loaded and keeps giving the error about preventing homebridge from starting.

https://github.com/homebridge/homebridge/wiki/Child-Bridges this link walks through how to have each plugin run in its own bridge, may need to rerun some automations but should be worth it

glnces commented 3 years ago

For sure you can make a child bridge for future issues, but that doesn't solve why it's not connecting right now. Has it worked previously? Are your setup credentials correct?

kietiub commented 3 years ago

it has been working fine for the past week or so, even after its update it was working fine. There was an additional switch for clean air which didnt make sense to me but it didnt crash my entire homebridge.

Now my entire homebridge doesnt work, even the app on my phone cant be used to log in. i dont know what is causing that to happen though

kietiub commented 3 years ago

[7/2/2021, 8:09:45 AM] [homebridge-frigidaire] This plugin generated a warning from the characteristic 'Filter Change Indication': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. getRoomTemp() - no telementry, exiting getTemp() - no telementry, exiting getUnit() - no telementry, exiting getMode() - no telementry, exiting getCoolingState() - no telementry, exiting [7/2/2021, 9:24:37 AM] [DysonPureCoolPlatform] VS3-US-KAA1777A - set Active to 0: {"fpwr":"OFF","fmod":"OFF"} [7/2/2021, 9:53:52 AM] [Wyze] Setting power for 2CAA8E830A62 (Exhaust) to true getCoolingState() - no telementry, exiting getMode() - no telementry, exiting getRoomTemp() - no telementry, exiting getTemp() - no telementry, exiting getUnit() - no telementry, exiting getFanMode() - no telementry, exiting getCleanAir() - no telementry, exiting getCleanAir() - no telementry, exiting [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:44 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:45 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:45 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:50 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:51 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:51 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:51 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [7/2/2021, 9:56:51 AM] [homebridge-frigidaire] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. getRoomTemp() - no telementry, exiting getTemp() - no telementry, exiting getCoolingState() - no telementry, exiting getMode() - no telementry, exiting getUnit() - no telementry, exiting getRoomTemp() - no telementry, exiting getTemp() - no telementry, exiting getCoolingState() - no telementry, exiting getMode() - no telementry, exiting getUnit() - no telementry, exiting

loudnate commented 3 years ago

Could be related to a typo here:

https://github.com/karlg100/homebridge-frigidaire/blob/dfb57fb9ebdeb8d138129967a5f0060b7da42b0e/index.js#L431

tthoma24 commented 3 years ago

@loudnate I corrected that typo locally, but it didn't help. Upon running Homebridge in debug mode, it looks like this may be an authentication issue:

:~$ sudo DEBUG=frigidaire:* homebridge -D Initializing HAP-NodeJS v0.9.4... [7/5/2021, 10:13:40 PM] Loaded config.json with 0 accessories and 4 platforms. [7/5/2021, 10:13:40 PM] Loaded 3 cached accessories from cachedAccessories. [7/5/2021, 10:13:40 PM] --- [7/5/2021, 10:13:40 PM] Loaded plugin: homebridge-frigidaire@2.1.3 [7/5/2021, 10:13:40 PM] Registering platform 'homebridge-frigidaire.Frigidaire' [7/5/2021, 10:13:40 PM] --- [SNIP] [7/5/2021, 10:13:41 PM] [Frigidaire] Initializing Frigidaire platform... frigidaire:lib init() +0ms frigidaire:lib authStage1() +1ms frigidaire:lib authStage1() - post() +0ms frigidaire:lib authStage1() - end +3ms frigidaire:lib init() - end +0ms frigidaire:homebridge Autodetecting all devices... +0ms frigidaire:lib getDevices() +0ms frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms [SNIP] frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +1ms frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +1ms [SNIP] frigidaire:lib getDevices() +2s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms [SNIP] frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +1ms [SNIP] frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - auth is pending, reschedluing this call in 1000 +0ms [SNIP] frigidaire:lib getDevices() +1s frigidaire:lib getDevices() - max retries reached. Not rescheduling. +0ms [7/5/2021, 10:14:01 PM] [homebridge-frigidaire] This plugin is taking long time to load and preventing Homebridge from starting. See https://git.io/JtMGR for more info.

gabemunro commented 2 years ago

Would be super amazing if there were some sort of solve here. Getting the same issue, have it set up as a child bridge, but have to restart it at least once per day. Also have corrected the "fulter" typo locally.