homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 372 forks source link

In PC Chromium browsers, Accessory buttons only work if I click them a bunch of times quickly #1022

Closed solmssen closed 3 years ago

solmssen commented 3 years ago

Describe The Bug:

Up until now, the web UI has functioned flawlessly. However after an unknown change (homebridge upgrade? homebridge-ui-x upgrade?) the accessory buttons register a click (they "grow" on a click) but do not change the accessory state or toggle appearance in PC Chrome and Edge (Chromium). However, if I click them a bunch of times, like 5 or so, very fast, they work. They work normally in PC Firefox, Mac Chrome, Safari Mac, Firefox Mac, Safari iOS, and Chrome iOS. Interestingly, the button "grow on click" feature doesn't appear to be implemented in any of the browsers that actually work? Is this a new feature? Is it possibly broken somehow?

To Reproduce:

Use PC Chrome or Edge Chromium

Expected behavior:

I expected the accessories to change state.

Logs:

Show the Homebridge / Homebridge Config UI X logs here.

[1/2/2021, 1:12:14 PM] [Homebridge UI] Restarting the docker container, make sure you have --restart=always turned on or the container will not come back online

Thank you for using the oznu/homebridge docker image!

If you find this project useful please STAR it on GitHub:

     https://github.com/oznu/docker-homebridge

[1/2/2021, 1:12:28 PM] [HB Supervisor] OS: Linux 4.4.59+ x64 [1/2/2021, 1:12:28 PM] [HB Supervisor] Node.js v14.15.3 /usr/local/bin/node [1/2/2021, 1:12:28 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [1/2/2021, 1:12:28 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [1/2/2021, 1:12:28 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [1/2/2021, 1:12:28 PM] [HB Supervisor] Started Homebridge v1.2.5 with PID: 375 [1/2/2021, 1:12:29 PM] Loaded config.json with 0 accessories and 4 platforms. [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loaded plugin: homebridge-dummy@0.4.1 [1/2/2021, 1:12:29 PM] Registering accessory 'homebridge-dummy.DummySwitch' [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loaded plugin: homebridge-govee@2.5.1 [1/2/2021, 1:12:29 PM] Registering platform 'homebridge-govee.Govee' [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loaded plugin: homebridge-lg-thinq-ac@1.8.0 [1/2/2021, 1:12:29 PM] Registering platform 'homebridge-lg-thinq-ac.LgThinqAirConditioner' [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loaded plugin: homebridge-tplink-smarthome@6.1.0 [1/2/2021, 1:12:29 PM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome' [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loaded plugin: homebridge-config-ui-x@4.36.0 [1/2/2021, 1:12:29 PM] Registering platform 'homebridge-config-ui-x.config' [1/2/2021, 1:12:29 PM] --- [1/2/2021, 1:12:29 PM] Loading 4 platforms... [1/2/2021, 1:12:29 PM] [Config] Initializing config platform... [1/2/2021, 1:12:29 PM] [Config] Running in Service Mode [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Initializing TplinkSmarthome platform... [1/2/2021, 1:12:29 PM] [TplinkSmarthome] homebridge-tplink-smarthome v6.1.0, node v14.15.3, homebridge v1.2.5 [1/2/2021, 1:12:29 PM] [Govee] Initializing Govee platform... [1/2/2021, 1:12:29 PM] [LgThinqAirConditioner] Initializing LgThinqAirConditioner platform... [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [L 1] 8006FE1648A3638EFCE78B2BB965362218B2D026 9777ac77-3217-4052-b43b-0d71cd22c76e [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [L 2] 80060F2CAAA2CB3183133A7B3D10D8C1180B4243 db5047c9-ee29-45f5-8ef7-330c456c6333 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [D 3] 80122EF0475CF5B0A20A4F72E6C689801AF751A3 411a34be-98e1-4403-b259-485619419f24 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [K 1] 8012BF893B9CA8707B7AFDF3F1AA61E7180DC554 78bc346b-14ff-4750-b0f9-0ec286f2f193 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [L 4] 8006EF791B0AAFACEF7AEC17C27123A417E2D758 4636f278-47cc-40b8-97e9-f92fe8630950 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [L 3] 80067B75A63BD1CB478EE97CC77A5856180B2184 c9730d53-78f6-401e-927a-64ccc14663ef [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [D 2] 8012FDBB4C2EC52F9138B0685315AD2E1AF73776 0582512b-0552-4fd8-80f7-2f320d45962b [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [Oil Heater] 8006E3D1B2486A016FD47605BADD56741B9E526E 734b4bf5-c7cc-42cc-a037-38f94c8092fc [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [D 1] 80120B619D99244E327372059BB437071AF5AA63 9af5a925-19a1-4c18-90e1-3baaff14551e [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [B 1] 8012C7C86AE688B5F671B6D9FF852C171D1AF48C e59aa733-4761-4c15-8096-bfe16c901ba4 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Configuring cached accessory: [B 2] 8012F16D38C38F315EC86B60F00D6F0F1AD1A700 bcd91e84-3426-48fd-8977-2bc9896e0cd9 [1/2/2021, 1:12:29 PM] [LgThinqAirConditioner] Starting refresh interval (set to 1 minutes) [1/2/2021, 1:12:29 PM] [Govee] Plugin [v2.5.1] initialised. Syncing with Govee... Setup Payload: X-HM://0023ISYWYGH5L Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

+------------+     
¦ 031-45-154 ¦     
+------------+     

[1/2/2021, 1:12:29 PM] Homebridge v1.2.5 is running on port 53055. [1/2/2021, 1:12:29 PM] [LgThinqAirConditioner] Already logged into ThinQ [1/2/2021, 1:12:29 PM] [TplinkSmarthome] New Device Online: [L 2] plug [80060F2CAAA2CB3183133A7B3D10D8C1180B4243] 192.168.254.179 9999 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Adding: [L 2] plug [80060F2CAAA2CB3183133A7B3D10D8C1180B4243] [1/2/2021, 1:12:29 PM] [TplinkSmarthome] New Device Online: [L 4] plug [8006EF791B0AAFACEF7AEC17C27123A417E2D758] 192.168.254.127 9999 [1/2/2021, 1:12:29 PM] [TplinkSmarthome] Adding: [L 4] plug [8006EF791B0AAFACEF7AEC17C27123A417E2D758] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [L 3] plug [80067B75A63BD1CB478EE97CC77A5856180B2184] 192.168.254.137 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [L 3] plug [80067B75A63BD1CB478EE97CC77A5856180B2184] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [B 1] bulb [8012C7C86AE688B5F671B6D9FF852C171D1AF48C] 192.168.254.121 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [B 1] bulb [8012C7C86AE688B5F671B6D9FF852C171D1AF48C] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [D 2] bulb [8012FDBB4C2EC52F9138B0685315AD2E1AF73776] 192.168.254.142 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [D 2] bulb [8012FDBB4C2EC52F9138B0685315AD2E1AF73776] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [B 2] bulb [8012F16D38C38F315EC86B60F00D6F0F1AD1A700] 192.168.254.107 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [B 2] bulb [8012F16D38C38F315EC86B60F00D6F0F1AD1A700] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [K 1] bulb [8012BF893B9CA8707B7AFDF3F1AA61E7180DC554] 192.168.254.198 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [K 1] bulb [8012BF893B9CA8707B7AFDF3F1AA61E7180DC554] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [D 3] bulb [80122EF0475CF5B0A20A4F72E6C689801AF751A3] 192.168.254.120 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [D 3] bulb [80122EF0475CF5B0A20A4F72E6C689801AF751A3] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [L 1] plug [8006FE1648A3638EFCE78B2BB965362218B2D026] 192.168.254.124 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [L 1] plug [8006FE1648A3638EFCE78B2BB965362218B2D026] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [Oil Heater] plug [8006E3D1B2486A016FD47605BADD56741B9E526E] 192.168.254.192 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [Oil Heater] plug [8006E3D1B2486A016FD47605BADD56741B9E526E] [1/2/2021, 1:12:30 PM] [TplinkSmarthome] New Device Online: [D 1] bulb [80120B619D99244E327372059BB437071AF5AA63] 192.168.254.116 9999 [1/2/2021, 1:12:30 PM] [TplinkSmarthome] Adding: [D 1] bulb [80120B619D99244E327372059BB437071AF5AA63] [1/2/2021, 1:12:30 PM] [Govee] [K 2] initialised with id C9:AF:A4:C1:38:8C:C2:68. [1/2/2021, 1:12:30 PM] [Govee] ? Setup complete. Don't forget to ? this plugin on GitHub if you're finding it useful! HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway. [1/2/2021, 1:12:30 PM] [Govee] Brightness issues? Please create an issue on GitHub with your model number! [1/2/2021, 1:12:32 PM] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 58004 [1/2/2021, 1:12:31 PM] [LgThinqAirConditioner] Discover found 1 total devices [1/2/2021, 1:12:31 PM] [LgThinqAirConditioner] Existing accessory: Bedroom AC Homebridge Config:

Show your homebridge config.json here

{ "bridge": { "name": "Homebridge Oznu", "username": "0E:2E:FE:B4:1D:CE", "port": 53055, "pin": "031-45-154" }, "accessories": [], "platforms": [ { "name": "Config", "port": 58004, "auth": "form", "theme": "dark-mode", "tempUnits": "f", "lang": "auto", "sessionTimeout": 604800, "proxyHost": "synology.gcc.bitboy.com:58004", "platform": "config" }, { "name": "TplinkSmarthome", "addCustomCharacteristics": true, "deviceTypes": [ "plug", "bulb" ], "platform": "TplinkSmarthome" }, { "name": "Govee", "apiKey": "6a6517c6-37b3-454c-8246-91cc3552e4dd", "debug": false, "debugReqRes": false, "disablePlugin": false, "refreshTime": 10, "platform": "Govee" }, { "country_code": "US", "language_code": "en-US", "auth_login_url": "XXX", "auth_redirected_url": "XXX", "auth_login_state": "XXX", "refresh_interval": 1, "platform": "LgThinqAirConditioner", "auth_access_token": "XXX", "auth_refresh_token": "XXX", "auth_user_number": "XXX" } ] }

Screenshots:

Environment:

solmssen commented 3 years ago

This behavior is no longer repeatable, so I am closing the issue.