Skip to content

Commit

Permalink
Update source-Send_to_MQTT.module
Browse files Browse the repository at this point in the history
  • Loading branch information
udo1toni authored Oct 19, 2020
1 parent e12f9b5 commit 5f55e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/source-Send_to_MQTT.module
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Send_to_MQTT extends superfecta_base {

public $description = "This source will send CID number and name to an MQTT topic for external processing. The MQTT topic is added with DID and payload is JSON format. To use this feature, mosqitto has to be installed.";
public $description = "This source will send CID number and name to an MQTT topic for external processing. The MQTT topic is added with DID and payload is JSON format. To use this feature, mosquitto has to be installed.";
public $version_requirement = "2.11";
public $source_param = array(
'MQTT_broker' => array(
Expand Down Expand Up @@ -60,7 +60,7 @@ class Send_to_MQTT extends superfecta_base {
$user = ' -u '. $run_param['MQTT_user'];
};
$password = "";
if($run_param['MQTT_user'] != ''){
if($run_param['MQTT_password'] != ''){
$password = ' -P '. $run_param['MQTT_password'];
};
$clientID = ' -i '. $run_param['MQTT_clientID'];
Expand Down

0 comments on commit 5f55e66

Please sign in to comment.