oops, will do it this weekend
-
New plugin for TP-Link SmartPlugs HS100 and HS110
-
published
-
Works for me!
-
One thing what would be nice to be solved. After startup there are many errors. Can this be handled?
22:43:08.903 [pimatic-tplink-smartplug] error: Unable to get consumption of device: Error: TCP Timeout 22:43:08.907 [pimatic-tplink-smartplug] error: Unable to get consumption of device: Error: TCP Timeout 22:43:08.909 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout 22:43:08.912 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout 22:43:08.914 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout 22:43:08.916 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout 22:43:08.932 [pimatic-tplink-smartplug, TPlinkHS110] error: Error getting attribute value tp-link-aquarium1.state: undefined 22:43:08.938 [pimatic-tplink-smartplug, TPlinkHS110] error: Error getting attribute value tp-link-aquarium2.state: undefined 22:43:09.228 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout 22:43:09.230 [pimatic-tplink-smartplug] error: Unable to get power state of device: Error: TCP Timeout
-
I also get those errors. Round about 80 per day. I don’t know why, but it seems, that some of my sockets aren’t reachable sometimes.
Nevertheless, I changed the loglevel for those messages to warn, because it isn’t a real “error” in my opinion.
-
@saxnpaule maybe file a PR and I can add it mor quickly
-
I only changed “env.logger.error” to “env.logger.warn” for the three cases that annoy me.
But I think it’s up to you to decide whether it should be an error or a warning.
-
I think that a timeout could really be a warning.
-
Hello,
Have asked for a couple of months before
You can add daily usage and runtime to the tp link addon.
how is it in the kasa app?maybe the variables are there, then it should not be too heavy. I guess
That would be great.
Many Thanks
-
Is it possible to get the total consumption which is not reset to zero when the plug gets powerless? In the app the consumption continuous at the last value when the plug was unplugged for a while.