X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=serial.pl;fp=serial.pl;h=a45c9ac5da3f569b595a6fd84e9d103e39b62ccb;hb=54e54f1f7fa271f1d194a752271aa06333cbc418;hp=06a1d15b96235d41f5d987468c5ed1b93b458937;hpb=95f8429ee183074531fb3f33c6fd69a141439770;p=vaillant-thermostat diff --git a/serial.pl b/serial.pl index 06a1d15..a45c9ac 100755 --- a/serial.pl +++ b/serial.pl @@ -30,7 +30,7 @@ my $sym; sub _mqtt_pub { my ( $t, $m ) = @_; - my $cmd = "mosquitto_pub -h rpi2 -t 'stat/rpi/$t' -m '$m'"; + my $cmd = "mosquitto_pub -h rpi2 -t '$t' -m '$m'"; #warn "# _mqtt_pub [$t] = [$m]\n"; warn "## $cmd"; system $cmd;