From 30f898d4a9c20b1cd44b7aef3d3ddca8924158da Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 18 Feb 2023 21:57:52 +0000 Subject: [PATCH] MQTT2_CLIENT.pm: MQTT over Websocket (Forum #111959) git-svn-id: https://svn.fhem.de/fhem/trunk@27248 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_MQTT2_CLIENT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/00_MQTT2_CLIENT.pm b/fhem/FHEM/00_MQTT2_CLIENT.pm index 00532ce5b..048ee4f4e 100644 --- a/fhem/FHEM/00_MQTT2_CLIENT.pm +++ b/fhem/FHEM/00_MQTT2_CLIENT.pm @@ -631,7 +631,7 @@ MQTT2_CLIENT_send($$;$$) } return if(!$doSend); - if($immediate) { + if($immediate || $hash->{WEBSOCKET}) { DevIo_SimpleWrite($hash, $msg, 0); } else { addToWritebuffer($hash, $msg, undef, 1); # nolimit