very nice
-
New Plugin for Edimax SmartPlugs
-
A new version (v0.0.7) of the plugin is available:
- Added
xOnLabel
,xOffLabel
,xLink
, andxAttributeOptions
extensions as part of the device configuration - Added
recoverState
feature - Energy values are now read from DB on plugin initialization
- Reduced error log output. If
debug
is not set on the plugin, only new error states will be logged - Documentation of new features, added section on “Advanced Configuration” to README
For more info see README
Note
The most important thing for me is the
recoverState
feature as Edimax Smart Plugs lack an essential feature imho, namely they do not fully recover their last state after a power failure. Say, the switch had been turned ON and you have power outage for a few minutes (you can simulate this by pulling the smart plug and plugging it to the mains socket again). In this case, the smart plug will remain OFF.How bad is this?!
To deal with this issue the
recoverState
feature (deactivated by default) has been added to automatically recover the state after a failure or pimatic has been started.Be warned, however: Don’t plug critical devices such as a freezer to the smart plug!
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
- Added
-
@leader21 Apparently, an ordinary forum user may not assign tags to threads. Maybe you can do me a favor to assign the following tags please: “wifi”, “smart plug” (new one). Thanks in advance!
Btw. I am planning to write a short review on the Orvibo S20 Wifi Smart Plug. Summary for the impatient: Don’t buy!
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig
ok did it. you can add tags as user, but only as the threat owner/starter. you can do this if you start a new threat or if you edit your 1st post in the threat.
have a look herepimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Yet another update.
I found a serious bug which caused the plugin to block if the Smart Plug had been unreachable for a longer period in time. So. please update, asap! For more info see README
Note beyond, Edimax has released a firmware update for the SP-2101W plug. The release note indicates “Improved scheduling settings featuring a new friendly UI”. Unfortunately, the state recovery issue has not been fixed. See http://www.edimax.com/edimax/download/download/data/edimax/global/download/for_home/home_automation/home_automation_smart_plug/sp-2101w
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Sorry, I had to update the package once again. I’ve just notice that I did not set a default timeout. Unfortunately, there are rare cases where the http connection is established but the Smart Plug does not send a response. To bail out a pending request, now a default timeout of 20000 msecs is set.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
I geht an error while updating through pimatic
-
@hyperx Updating through Pimatic worked fine for me. Can you please check the log for error messages and describe what kind of error message you get? Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig Tried again today, now there was no problem…
-
@hyperx Ok, thanks for the update.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Hello,
something is wrong with last update, since then my rule doesn´t work anymore.
If currentPower of check-waschmaschine > 100
…
These rules worked the last 6 month without any problems
-
@hyperx I am sorry about that. Can you pls check your log for “pimatic-edimax” error messages - in particular shortly after having started/restarted pimatic? Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@hyperx Same thing here - doesn’t work anymore
-
@LinuxDoc Can you pls check your log for “pimatic-edimax” error messages - in particular shortly after having started/restarted pimatic? Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@hyperx I have retested the current version and everything works as expected. Does the the SmartPlug give you the reading for currentPower, currentAmaperage and such? You can track them on the Variables page or you can see on the device view. Please also let me known which version of the SmartPlug firmware you have. Thanks.
@LinuxDoc It would be great if you can also check and provide feedback. This would be great and help me to understand what the problem is with your setup.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Ok I have 2 Rules:
if $waschmaschine.currentPower > 200 and $washing = 0 then set $washing to 1
and
if $washing is 1 and $waschmaschine.currentPower < 10 for 2 minutes then pushbullet title:“Wäsche ist fertig” message:“Die Wäsche ist jetzt endlich fertig” and set $washing to 0
and that doesn’t work anymore.
If I set while washing the $washing variable to 1, I will get the next seconds the push message that washing is finished, while it used more than 30W currentPower all the time.
Edimax SP2101W, fwVersion: 1.04
-
@LinuxDoc said:
Ok I have 2 Rules:
if $waschmaschine.currentPower > 200 and $washing = 0 then set $washing to 1
and
if $washing is 1 and $waschmaschine.currentPower < 10 for 2 minutes then pushbullet title:“Wäsche ist fertig” message:“Die Wäsche ist jetzt endlich fertig” and set $washing to 0
and that doesn’t work anymore.
If I set while washing the $washing variable to 1, I will get the next seconds the push message that washing is finished, while it used more than 30W currentPower all the time.
Edimax SP2101W, fwVersion: 1.04
Thats funny, i have exactly the same rule !
Problem is: the first rule seem to work the variable is set to 1. Then the secound rule doesn´t work anymore ! Even if the power is over 30 W, the rule will be executed. -
Guys, thank you very much for providing me with the details which helped me to reproduce the problem. I have released a new version which should solve the issue. I am sorry sorry for the inconvenience caused by the bug. Hope, everything will work as expected now.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Release V0.3.4 which provides some dependency updates. I have also tested my Edimax SP-2101W with firmware release 2.03 which works great.
A warning message: Logilink offers a Smart Plug, the PA0066X which looks similar and one might expect it is an OEM version of the Edimax plug. Unfortunately this is not case. The protocol is completely different and has been obfuscated. So, I won’t buy it.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law