Updates for the Inovelli LZW41/LZW42 Multi-White and Multi-Color Bulbs
Improved speed / reduced packets on Color and CT set operations
Increased reliability of reporting
Added color fade time prefrerence for smooth Color and CT transitions
/**
* 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
/**
* 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
I have issued a pull request for these changes to get them back to the official repository:
InovelliUSA:master
β djdizzyd:master
opened 02:00PM - 11 Mar 20 UTC
1 Like
Just pushed a major update to the bulb drivers LZW-41/LZW-42:
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
re-work of associations
Fix of long-standing bug in lowest value of CT range..
This update should also help alleviate delay issues when sending commands to many bulbs at once..
I recommend hitting configure on your devices after updating.. But this is not required..
You can get them now from:
/**
* 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
/**
* 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
I have issued a pull request to Inovelli's official github:
InovelliUSA:master
β djdizzyd:inovelli-new
opened 05:28PM - 09 Apr 20 UTC
Tagging @ericm
4 Likes
@bcopeland Bryan, why do both drivers seem to refer to the 41 for both?
1 Like
Oops.. Missed the comments.. The drivers are almost identical .. so I started from the same base.. Fixing comments now..
fixed and pushed.. thanks for pointing that out @razorwing
This pull request has already been merged you can get them from inovelli official github
1 Like
dan3
April 9, 2020, 10:15pm
129
does this pr include the previous fix by another user?
1 Like
It doesn't as it is based on what was current and that pull request wasn't accepted.. But I'll look into it...
InovelliUSA:master
β npk22:LZW42_dimming_speed
opened 09:17PM - 09 Apr 20 UTC
It's a pretty simple add.. I can get it included ..
Updated
added duplicate event filtering (optional as it has a slight possibility of causing issues with voice assistants)
changed dimming speed default to 1 to match previous default functionality
duplicate event filtering is a preference option as it has a slight chance, if the values don't change, that voice assistants will report the device is not responding.
These changes have been merged..
Update to the LZW42 Multi-color bulb:
fixed bug in CT report
added gamma correction as an optional setting
/**
* 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
Pull Request:
InovelliUSA:master
β djdizzyd:inovelli-new
opened 07:57PM - 15 Apr 20 UTC
I am maintaining these drivers on my repo from now on, there is no code remaining from inovelliβs release.
/**
* 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
/**
* 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
@bcopeland Do you have the 42? I see both are 41.
1 Like
Oops messed up the links.. Fixing now.. Thanks for pointing that out
/**
* 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
going back and correct the links on the earlier post