diff --git a/Monitoring Server Influx V1/form.json b/Monitoring Server Influx V1/form.json index 00fc12a..94af766 100644 --- a/Monitoring Server Influx V1/form.json +++ b/Monitoring Server Influx V1/form.json @@ -17,7 +17,7 @@ "caption": "Whatsapp-Setup", "items": [ { "type": "CheckBox", "name": "SendWhatsapp", "caption": "Send Whatsapp" }, - { "type": "SelectInstance", "name": "WhatappInst", "caption": "Whatsapp Insance" }, + { "type": "ValidationTextBox", "name": "WhatappInst", "caption": "Whatsapp Insance" }, { "type": "ValidationTextBox", "name": "WhatsappNumbers", "caption": "Whatsapp-Numbers" } ] }, diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 03ca349..878da2e 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -21,7 +21,7 @@ class MonitoringServer extends IPSModule { $this->RegisterPropertyBoolean("SendNotification","false"); $this->RegisterPropertyBoolean("SendWhatsapp",false); - $this->RegisterPropertyInteger("WhatappInst", 0); + $this->RegisterPropertyInteger("WhatappInst","DdiBL06tEUa76w7NNCsW9y2s6UkUmrpxZcR8CvTNWMX5z4leyjqI1go2wpatYhCz"); $this->RegisterPropertyString("WhatsappNumbers", "0159123456789,0157987456123"); $this->RegisterPropertyBoolean("SendMail",false);