Kasa builtin Plug Switch Driver always issues trace

Installed 2.3.4.114
Trace continues. Please fix this!

1 Like

It does tend to fill the logs making it easy to miss other important things.

1 Like

Agreed this is a logging hog and I can't see much of anything besides the traces.

So...I disabled the RM for the offending device until this is fixed.

@djgutheinz

Fixed in the custom version. Awaiting staff fix in Hubitat.

Which custom version? The "Plug Switch" driver on github looks unchanged, still at ver 2.3.4-1. This version still spits out large trace messages unless line 741 is commented out

@bravenel @mike.maxwell Kindly expedite this fix.

1 Like

Looked at the PlugSwitch driver on GitHub and you are mistaken. Link: Sign in to GitHub · GitHub

The only log.trace and logTrace references are in line 749. These are never called from within the code (the logTrace is used during development and is in my library code for all my drivers).

2.3.4-1 is my version for this Hubitat Version 2.3.4.xxxx. The next planned update is for the next Hubitat update.

I also did a function test setting refresh to 5 seconds. No log.trace logs being generated.

That driver (2.3.4-1) is giving me many messages like this. If I comment out line 741 (as noted in a previous post) they stop....

2022-11-24 07:00:19.282 AMtrace{"system":{"get_sysinfo":{"sw_ver":"1.0.11 Build 211013 Rel.170827","hw_ver":"2.0","model":"HS300(US)","deviceId":"800676DF9DCBCD40BCD30750B7AAF7A01F06357D","oemId":"32BD0B21AA9BF8E84737D1DB1C66E883","hwId":"955F433CBA24823A248A59AA64571A73","rssi":-41,"latitude_i":0,"longitude_i":0,"alias":"TP-LINK_Power Strip_D564","status":"new","mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","mac":"B0:A7:B9:80:D5:64","updating":0,"led_off":0,"children":[{"id":"00","state":1,"alias":"Kasa11","on_time":238288,"next_action":{"type":-1}},{"id":"01","state":1,"alias":"Kasa12","on_time":238288,"next_action":{"type":-1}},{"id":"02","state":1,"alias":"Kasa13","on_time":238288,"next_action":{"type":-1}},{"id":"03","state":1,"alias":"Kasa14","on_time":238288,"next_action":{"type":-1}},{"id":"04","state":1,"alias":"Kasa15","on_time":238288,"next_action":{"type":-1}},{"id":"05","state":1,"alias":"Kasa16","on_time":238288,"next_action":{"type":-1}}],"child_num":6,"err_code":0}}}

Running test for 3rd time today. Will PM you with information.

+1 on this issue, looking forward to a fix!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.