XTension 9.4.47

James Sentman james at sentman.com
Fri Jun 10 13:23:38 EDT 2022


I did deal with a couple of these, but have not gotten to the dimming issue as I hadn’t noticed that when I was testing for whatever reason the device I was using when developing wasn’t doing it. There was a reason I did the dim as well but I’ll have to review the comments and I’ll get that sorted out shortly.

Where the other errors about finding  6 and then 7 units in the last beta version? Or in the last release? I updated a ton of stuff during the beta cycle including updating the underlying libraries and such. It also changed significantly how the discovery process was implemented. So I’m interested if that is a new problem since the beta or if it was in the last release but not in this one.

> On Jun 10, 2022, at 12:54 PM, Andy Poggio <apoggio at pacbell.net <mailto:apoggio at pacbell.net>> wrote:
> 
> There were a number of problems for me withthe tpLink/Kasa plugin. There listed below along with the fixes I am currently using. Were you able to find time to fix them?
> 
> —andy
> 
> 0. Problem when turn off bulb by XTension and then turn on by power cycle, bulb comes on at 1%. 
> 
> Cause: Plugins/tplink.isf/tplink.py sets brightness to 1% as part of turn off.
> 
> Solution: comment out section that sets brightness to 1% or change it to 75%.
> 
> Solution2: All bulbs are set to is_dimmable == True (1) in Resources/python3/Resources/lib/python3.10/site-packages/kasa/tests/fixtures. Set instead to False (0)
> 
> Both solutions will fail again on XTension updates.
> 
> 1. There were some typos to fix that had resulted in some python undefines in some cases. I believe there were two such changes.
> 
> 2. It would alternate between finding 6 and 7 units. This causes huge numbers of log entries. I commented out the log line.
> 
> 3. I commented out another log line and added a harmless statement to populate the exception block:
> 
> except Exception as e:
> 					# workUnit.writeLog( f"{workUnit.name}: Error in _doPoll( {e})", xtLogRed)
> 					no_such_var = 1
> 

Thanks,
 James


James Sentman                       http://www.PlanetaryGear.org <http://www.planetarygear.org/>		http://MacHomeAutomation.com <http://machomeautomation.com/>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20220610/dcbc9ac2/attachment.html>


More information about the XTensionList mailing list