Exec 2.0 : Updated : new functionalities to address your concerns

Is your hs-100.sh same as TP-LINK HS100 Smart Plug (WiFi)? ? The script works but I can’t get it to work in openhab2 with what you did.