When the remote http ESP Easy sensor (192.168.1.2) is down the above command simply hangs, so even the mqtt is not triggered. Is there a way to trigger the mqtt irrespective whether the http device is up or down?
To elaborate on Vincent’s question, why are you using both MQTT and HTTP? ESP Easy supports MQTT so just use MQTT.
There is no way to trigger just the MQTT whether or not the HTTP device is up or down. I suppose you could write a Rule to do something like that with Timers and such, but ultimately it would far less work to use MQTT with the ESP Easy.