kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
114 stars 37 forks source link

"Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'temp')" when controlling Wiz bulb #145

Open soerenb opened 7 months ago

soerenb commented 7 months ago

I have a Wiz bulb that I'm trying to control. The bridge is finding the bulb reliably, but when I try to turn it on/off or set a color nothing happens and I'm getting the failures below.

I'm using version 3.2.8 of the wiz-lan plugin in a HoobsBox running version 4.3.0 (Node 16.20.2, HomeBridge 1.6.0).

Wiz Lan Bridge starting
11/12/2023, 9:32:35 AMWiz Lan BridgeLoaded plugin 'homebridge-wiz-lan'
11/12/2023, 9:32:35 AMWiz Lan BridgeLoading 1 platforms...
11/12/2023, 9:32:35 AMWiz Lan BridgeWizSmarthome[Refresh] Pings are off
11/12/2023, 9:32:35 AMWiz Lan BridgeWizSmarthome[Socket] Setting up socket on 192.168.0.115:38900
11/12/2023, 9:32:35 AMWiz Lan BridgeWizSmarthome[Discovery] Sending discovery UDP broadcast to 255.255.255.255:38899
11/12/2023, 9:32:35 AMWiz Lan BridgeBridge is running on port 51836.
11/12/2023, 9:32:35 AMWiz Lan BridgeWizSmarthomeAdding new accessory: Wiz RGB Bulb a8bb50897fdf
11/12/2023, 9:32:35 AMWiz Lan BridgeWARNINGA platform configured a new accessory under the plugin name "WizSmarthome". However no loaded plugin could be found for the name.
11/12/2023, 9:32:47 AMWiz Lan BridgeERROR[Wiz Lan Bridge 2D6A@Wiz RGB Bulb a8bb50897fdf@Wiz RGB Bulb a8bb50897fdf@Hue] Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'temp')
11/12/2023, 9:32:47 AMWiz Lan BridgeERROR[Wiz Lan Bridge 2D6A@Wiz RGB Bulb a8bb50897fdf@Wiz RGB Bulb a8bb50897fdf@Saturation] Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'temp')