change mqtt IP address
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 12 Sep 2022 12:11:52 +0000 (14:11 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 12 Sep 2022 12:11:52 +0000 (14:11 +0200)
zc-send

diff --git a/zc-send b/zc-send
index b7fe2c8..02307c1 100755 (executable)
--- a/zc-send
+++ b/zc-send
@@ -55,7 +55,8 @@ if ( $ARGV[0] =~ m/interval/ ) {
        $raw = write_parameter_frame( "\x3a" => "\x11" . pack('C',$rel_zero) );
 
 } elsif ( $ARGV[0] =~ m/mqtt/ ) {
-       my @mqtt = qw(185 201 196 30 1883);
+       #my @mqtt = qw(185 201 196 30 1883);
+       my @mqtt = qw(149 5 190 30 1883);
        print "Set server port ", join(' ', @mqtt), "\n";
        $raw = write_parameter_frame( "\x14" => "\x06" . pack('CCCCs',@mqtt) );