diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 40dc38ea3..17ca28cd2 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -245,7 +245,7 @@ public static function getStatuses() { 'RTSPServer' => array('type'=>'boolean', 'default'=>0), 'RTSPStreamName' => '', 'Importance' => 'Normal', - 'MQTT_Enabled' => false, + 'MQTT_Enabled' => array('type'=>'boolean','default'=>0), 'MQTT_Subscriptions' => '', ); private $status_fields = array( diff --git a/web/includes/actions/monitor.php b/web/includes/actions/monitor.php index 04ea5e0ef..b6528d0b4 100644 --- a/web/includes/actions/monitor.php +++ b/web/includes/actions/monitor.php @@ -101,6 +101,7 @@ if ($action == 'save') { 'Method' => 'raw', 'GroupIds' => array(), 'LinkedMonitors' => array(), + 'MQTT_Enabled' => 0, 'RTSPServer' => 0 );