This commit is contained in:
Christopher 2019-03-07 20:17:22 +01:00
parent 9106f00fe3
commit 625e49028a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if ($mqtt->connect(true, NULL, NULL, NULL))
$aktuelleZeile = 1; $aktuelleZeile = 1;
foreach ($zeilen as $zeile) foreach ($zeilen as $zeile)
{ {
if($aktuelleZeile < 4) if($aktuelleZeile <= 4)
$mqtt->publish("/unhb/dfi/".$aktuelleZeile++, $zeile, 0); $mqtt->publish("/unhb/dfi/".$aktuelleZeile++, $zeile, 0);
} }