-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Describe The Bug:
When setting the Lifx app light temperature to 2500K, the plugin starts generating warnings and can become non-responsive.
To Reproduce:
While running the plugin, set the lights to 2500K in either Home app or Lifx app.
Expected behavior:
The plugin will support max values of 500 for the lights and avoid the warning "This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 400 exceeded maximum of 371. See https://homebridge.io/w/JtMGR for more info."
Logs:
DEBUG - 240000144f62a9bad073d5103237000000000000000000a7000000000000000065000000 to 192.168.1.32
DEBUG - 240000144f62a9bad073d510d737000000000000000000a8000000000000000065000000 to 192.168.1.15
DEBUG - 240000144f62a9bad073d510ece4000000000000000000a9000000000000000065000000 to 192.168.1.27
DEBUG - 240000144f62a9bad073d55f23f3000000000000000000aa000000000000000065000000 to 192.168.1.13
DEBUG - 240000144f62a9bad073d5302604000000000000000000ab000000000000000065000000 to 192.168.1.24
DEBUG - 580000144f62a9bad073d510a40e00004c494658563200a618e5700a0397e4176b00000000000000ffffc4090000ffff4c69626279e2809973204c616d700000000000000000000000000000000000000000000000000000 from 192.168.1.25
[7/22/2024, 11:49:57 AM] [homebridge-lifx-plugin] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 400 exceeded maximum of 371. See https://homebridge.io/w/JtMGR for more info.
Plugin Config:
{
"name": "Lifx Plugin",
"duration": 10,
"brightnessDuration": 300,
"colorDuration": 300,
"default": "0.0.0.0",
"broadcast": "192.168.1.255",
"lightOfflineTolerance": 3,
"messageHandlerTimeout": 45000,
"resendPacketDelay": 150,
"resendMaxTimes": 3,
"updates": false,
"debug": false,
"autoDiscover": true,
"_bridge": {
"username": "0E:CF:46:EF:C4:58",
"port": 44016
},
"platform": "LifxPlugin"
}
Screenshots:
Environment:
- Plugin Version: v0.3.0
- Homebridge Version: 1.8.4
- Node.js Version: v20.9.0
- NPM Version: 10.1.0
- Operating System: macOS