One of my Wemo lightswitch comes with 49154 tcp port. I've revised wemo script and added a few lines to handle this new port.
replace
PORT=49152
with following lines
PORTTEST="$( curl --silent ${DEVICE_HOST}:49152 | grep "404" )"
if testEmpty "${PORTTEST}"
then
PORT=49154
else
PORT=49152
fi
One of my Wemo lightswitch comes with 49154 tcp port. I've revised wemo script and added a few lines to handle this new port.
replace
PORT=49152
with following lines
PORTTEST="$( curl --silent ${DEVICE_HOST}:49152 | grep "404" )"
if testEmpty "${PORTTEST}"
then
PORT=49154
else
PORT=49152
fi