From my original post: An update on progress
Yes a single ON WiFi signal can be sent as which will start a count down timer
which the duration oif count down - can be set with this command (20 second example)
http://192.168.0.4/cm?cmnd=PulseTime%20120As Default firmware setting..
If the 'Float Switch' reaches it's 'set height' before the 20 second ON cycle is up - it **will** turn relay off
- the desired result, not reliant on a signal going out - being interpreted - then being sent back to turn relay off (what if signal got lost delayed = overflow = bad)
It will also report the change as if 'set height' has been reached but not as I expected or hoped for
The log effectively shows as if original toggle switch on the sonoff was pressed
MQT: stat/sonoff/RESULT = {"POWER":"OFF"}
I looked into different switches Switch1, Switch2, Switch3 & Switch4
As well as SwitchMode & SwitchTopic..
Not really happy, the ideal is the first one, ALWAYS have the float switch stop the relay
BUT send MQTT (something) that is unique - so I can confirm water DID reach the desired level..