| ... | ... |
@@ -109,6 +109,8 @@ while (my $mqttMessage = <$SUB> ) {
|
| 109 | 109 |
my $decoded = decode_json($json); |
| 110 | 110 |
if (exists $decoded->{'RfReceived'}{'Data'}){
|
| 111 | 111 |
addRF ($topic, $decoded->{'RfReceived'}{'Sync'}, $decoded->{'RfReceived'}{'Low'}, $decoded->{'RfReceived'}{'High'}, $decoded->{'RfReceived'}{'Data'});
|
| 112 |
+ my $script="php /admin/scripts/mqttparser/rf433.php $topic $decoded->{'RfReceived'}{'Data'}";
|
|
| 113 |
+ runSCRIPT ($script); |
|
| 112 | 114 |
} |
| 113 | 115 |
} |
| 114 | 116 |
if ($queue eq "ESP"){
|