I've got domoticz running a week now, controlling my sunscreen based on the power delivery of my solar panels and the windspeed read from Weather Underground, some lights and 4 smoke detectors. Heating pump control is coming with an ESP8266 to measure the water temp with a DS18B20.
Now I've got 3 TP-Link smart plugs that I used before I got Domoticz and found a script but.. no joy when I place it in the script folder and call the on and off commands to the correct IP adresses and port 9999 (checked that, is indeed 9999) from a virtual switch

result from the LOG:
Error executing script command (/home/pi/domoticz/scripts/hs100.sh). returned: 32256
Anyone any suggestions ??
Script found at :
https://github.com/ggeorgovassilis/linu ... g/hs100.sh