I made some major improvements in the Hubitat drivers for the multi-white and multi-color bulbs..
dramatically improved speed of CT operations and reduced packet count - Make sure to hit configure after updating.
improved speed of on/off events also reducing packets
improved speed of setLevel events also reducing packets
bug fix for rare null value in setColor
Massive reduction in "popcorn" effect from hub group changes..
I have issued a pull request but if you want to get your hands on it before it gets merged:
/**
* Copyright 2019 Inovelli / Eric Maycock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Inovelli Bulb Multi-Color LZW42
*
* Author: Eric Maycock
* Date: 2019-9-9
* updated by bcopeland 1/7/2020
* Added color pre-staging option
* Added power restored memory configuration
* Added debug logging configuration
This file has been truncated. show original
/**
* Copyright 2019 Inovelli / Eric Maycock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Inovelli Bulb Multi-White LZW41
*
* Author: Eric Maycock
* Date: 2019-9-9
* updated by bcopeland 1/7/2020
* Added color pre-staging option
* Added power restored memory configuration
* Added debug logging configuration
This file has been truncated. show original
6 Likes
nclark
February 17, 2020, 1:08am
2
Thanks @bcopeland for the new drivers, will do a few tests this week, will let you know if I see something...
BTW do we need to reconfigure every single bulb?
1 Like
Just a precaution .. It resets the lowest CT and highest CT values for the new CT change method to work properly... If installed a newly paired bulb this wouldn’t be necessary..
1 Like
Thanks @bcopeland ! What's the best way to update the driver, do i just replace the old code and click save? Then I hit configure on each bulb?
1 Like
Wow.. I forgot this thread was here..
That code is old..
/**
* Copyright 2020 Bryan Copeland
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Inovelli Bulb Multi-Color LZW42
*
* As of 4/9/2020 there is no inovelli code remaining in this driver
*
* update by bcopeland 4/9/2020
* major re-write for new coding standards / cleanup
* stabilization of color temp and color reporting
* re-organization of device data for standardization / addition of serialnumber, hardware ver, protocol ver, firmware
This file has been truncated. show original
/**
* Copyright 2020 Bryan Copeland
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Inovelli Bulb Multi-White LZW41
*
* As of 4/9/2020 there is no inovelli code remaining in this driver
*
* update by bcopeland 4/9/2020
* major re-write for new coding standards / cleanup
* stabilization of color temp reporting
* re-organization of device data for standardization / addition of serialnumber, hardware ver, protocol ver, firmware
This file has been truncated. show original
And yes.. replace old code and hit configure...
system
Closed
September 24, 2022, 11:04am
8
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.