MQTT: Unterschied zwischen den Versionen
Lh (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<br />[Datei:MQTT.png] <br /><u>Enable MQTT:</u>Aktiviert MQTT Unterstützung. <br /><u>Broker:</u>DNS oder IP-Adresse des MQTT Brokers. <br /><u>TLS:</u>Schal…“) |
Lh (Diskussion | Beiträge) |
||
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <br /> | + | Dieses Gerät unterstützt MQTT 3.1.1 um konfigurierte Nachrichten zu verschicken, und auch Kommandos entgegenzunehmen. Dieses Kapitel ist für alle Gude Geräte allgemein gehalten, manche Gude Modelle haben keine schaltbaren Ports. |
− | <br />< | + | *Default Port für eine unverschlüsselte Verbindung ist Port 1883. |
− | <br />< | + | *Default Port für eine TLS gesicherte Verbindung ist Port 8883. |
− | <br />< | + | *Wenn der Broker einen anonymen Login erlaubt, sind Benutzername und Passwort beliebig, aber ein Benutzername muss angegeben werden. |
− | <br />< | + | *Wenn mehrere MQTT Clients mit einem Broker verbunden sind, müssen die Namen der Clients verschieden sein. Aus diesem Grund wird als Default Name "client_xxxx" generiert. Dabei sind "xxxx" die 4 letzten Stellen der MAC-Adresse. |
− | <br /> | + | |
− | <br />< | + | ='''Nachrichtenformat'''= |
− | <br /> | + | <br />Die MQTT Nachrichten des Gerätes werden immer im JSON Format verschickt. Z.B. |
− | <br />[Datei:Wichtig_zeichen.png]Die | + | <br /> |
− | <br />< | + | <br />{"type": "portswitch", "idx": 2, "port": "2", "state": 1, "cause": {"id": 2, "txt": "http"}, "ts": 1632} |
− | <br />< | + | <br /> |
− | <br />< | + | <br />Dies ist ein Schalten des zweiten Ports in den Zustand ("state") on. Die Quelle des Schaltkommando ist CGI ("http"). Der Index ist immer numerisch, "port" kann bei Geräten mit mehreren Banks auch alphanumerisch sein, z.B. "A2". Am Ende folgt ein timestamp ("ts"), der die Anzalh der Sekunden anzeigt, die das Gerät eingeschaltet ist, oder unixtime wenn das Gerät sich mit einem NTP-Server synchronisiert hat. |
− | + | ||
− | <br />< | + | ='''MQTT Topic Prefix'''= |
− | <br />< | + | <br />Das Topic Prefix für die Nachrichten ist in der MQTT Konfiguration einstellbar. Ein Default wäre z.B. "de/gudesystems/epc/[mac]". Hier steht "[mac]" als Platzhalter für die MAC-Adresse des Gerätes, ein weiterer möglicher Platzhalter ist "[host]", der den Host-Namen beinhaltet. Ein Beispiel Topic für eine Schaltnachricht des zweites Ports wäre dann: |
− | <br />[Datei: | + | <br /> |
− | < | + | <br />"de/gudesystems/epc/00:19:32:01:16:41/switch/2". |
− | < | + | <br /> |
+ | ='''Ausführen von Konsolen Kommandos'''= | ||
+ | Das Gerät kann über MQTT komplett mit Konsolen Kommandos ferngesteuert werden. Eine Liste aller Kommandos findet sich im Kapitel Konsole . Je nach Topic werden die Kommandos in verschiedenen Formaten angenommen. | ||
+ | <br /> | ||
+ | <br />[[Datei:Wichtig_zeichen.png]] Als Default ist das Ausführen vom Kommandos nicht erlaubt, sondern muss in der MQTT Konfiguration ("Permit CLI commands") freigeschaltet werden! | ||
+ | <br /> | ||
+ | <br />'''Format 1: Kommando in JSON Syntax''' | ||
+ | <br /> | ||
+ | <br />Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd" | ||
+ | <br />Publish Message: "{"type": "cli", "cmd": "port 2 state set 1", "id": 10}" | ||
+ | <br /> | ||
+ | <br />Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres" | ||
+ | <br />"{"type": "cli", "cmdres": ["OK."], "result": {"num": 0, "hint": "ok"}, "id": 10}" | ||
+ | <br />[[Datei:Wichtig_zeichen.png]] Das JSON Objekt "result" gibt zurück, ob das Kommando valide war. Das Objekt "id" im Kommando ist optional und wird in der Antwort vom Gerät durchgereicht. Die Übergebene Nummer kann helfen eine Synchronizität zwischen Kommando und Antwort über den Broker herzustellen. | ||
+ | <br /> | ||
+ | <br />'''Format 2: Raw Text''' | ||
+ | <br /> | ||
+ | <br />Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd/cli" | ||
+ | <br />Publish Message: "port 2 state set 1" | ||
+ | <br /> | ||
+ | <br />Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres/cli" | ||
+ | <br />"OK." | ||
+ | <br /> | ||
+ | <br />'''Format 3: Vereinfachtes Port schalten''' | ||
+ | <br /> | ||
+ | <br />Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd/port/2" | ||
+ | <br />Publish Message: "0" oder "1" | ||
+ | <br />Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres/port/2" | ||
+ | <br />"0" oder "1" | ||
+ | <br />[[Datei:Wichtig_zeichen.png]] Diese Spezialform existiert nur für die Port Schaltbefehle. | ||
+ | |||
+ | ='''Device Data Summary'''= | ||
+ | <br />In der '''Device Data Summary''' werden in einem JSON Objekt die wichtigsten Daten des Gerätes zusammengefasst und in einem konfigurierbaren Zeitintervall periodisch verschickt. Diese Zusammenfassung hängt von den Eigenschaftes des Gerätes und der angeschlossenen Sensoren ab, und könnte z.B. so aussehen: | ||
+ | <br /> | ||
+ | <br />Topic: <code>de/gudesystems/epc/00:19:32:01:16:41/device/telemetry</code> | ||
+ | <br /> | ||
+ | <br />Nachricht: | ||
+ | <br />[[Datei:MQTT1.png]] | ||
+ | |||
+ | ='''Befehlsliste'''= | ||
+ | {|cellpadding="10" border="0" cellspacing="1" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|logout | ||
+ | |align="left"|go to login prompt when enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|quit | ||
+ | |align="left"|quits telnet session - nothing in serial console | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|back | ||
+ | |align="left"|back one cmd level | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|help | ||
+ | |align="left"|show all cmds from this level | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|help all | ||
+ | |align="left"|show all cmds | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock | ||
+ | |align="left"|enters cmd group "clock" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock ntp enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables ntp | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock ntp enabled show | ||
+ | |align="left"|shows if ntp enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock timezone set {minutes} | ||
+ | |align="left"|sets timezone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock timezone show | ||
+ | |align="left"|shows timezone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock dst enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables dst | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock dst enabled show | ||
+ | |align="left"|shows if dst is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock manual set "{hh:mm:ss yyyy-mm-dd}" | ||
+ | |align="left"|sets time and date manually | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock show | ||
+ | |align="left"|shows actual time and date | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock ntp server {PRIMARY=0|BACKUP=1} set "{dns_name}" | ||
+ | |align="left"|sets ntp server name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|clock ntp server {PRIMARY=0|BACKUP=1} show | ||
+ | |align="left"|shows ntp server name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console | ||
+ | |align="left"|enters cmd group "console" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console version | ||
+ | |align="left"|shows unique console version number | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables telnet on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet enabled show | ||
+ | |align="left"|shows if telnet enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet port set {ip_port} | ||
+ | |align="left"|sets telnet port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet port show | ||
+ | |align="left"|shows telnet port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet raw set {OFF=0|ON=1} | ||
+ | |align="left"|sets raw mode (disables editing) on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet raw show | ||
+ | |align="left"|shows if raw mode enabled | ||
+ | |- | ||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet echo set {OFF=0|ON=1} | ||
+ | |align="left"|enables echo on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet echo show | ||
+ | |align="left"|shows if echo enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet activeneg set {OFF=0|ON=1} | ||
+ | |align="left"|enables telnet active negotiation (IAC) on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet activeneg show | ||
+ | |align="left"|shows if active negotiation enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login set {OFF=0|ON=1} | ||
+ | |align="left"|enables login on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login show | ||
+ | |align="left"|shows if login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login local set {OFF=0|ON=1} | ||
+ | |align="left"|enables local login on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login local show | ||
+ | |align="left"|shows if local login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login radius set {OFF=0|ON=1} | ||
+ | |align="left"|enables login for RADIUS on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login radius show | ||
+ | |align="left"|shows if RADIUS login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login delay set {OFF=0|ON=1} | ||
+ | |align="left"|enables delay (after 3 login fails) on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet login delay show | ||
+ | |align="left"|shows if login delay enabled | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet pushmsgs config set {OFF=0|ON=1} | ||
+ | |align="left"|enables persistent push msgs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet pushmsgs config show | ||
+ | |align="left"|shows if persistent push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet pushmsgs set {OFF=0|ON=1} | ||
+ | |align="left"|enables temporary push msgs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet pushmsgs show | ||
+ | |align="left"|shows if temporary push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet user set "{username}" | ||
+ | |align="left"|sets login user name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet user show | ||
+ | |align="left"|shows login user name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet passwd set "{passwd}" | ||
+ | |align="left"|sets login password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console telnet passwd hash set "{passwd}" | ||
+ | |align="left"|sets login hashed password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables SSH | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh enabled show | ||
+ | |align="left"|shows if SSH enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh port set {ip_port} | ||
+ | |align="left"|sets SSH port | ||
+ | |- | ||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh port show | ||
+ | |align="left"|shows SSH port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh echo set {OFF=0|ON=1} | ||
+ | |align="left"|enables echo on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh echo show | ||
+ | |align="left"|shows if echo enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh pushmsgs config set {OFF=0|ON=1} | ||
+ | |align="left"|enables persistent push msgs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh pushmsgs config show | ||
+ | |align="left"|shows if persistent push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh pushmsgs set {OFF=0|ON=1} | ||
+ | |align="left"|enables temporary push msgs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh pushmsgs show | ||
+ | |align="left"|shows if temporary push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh public hash set "{passwd}" | ||
+ | |align="left"|sets hash of SSH public key | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console ssh public hash show | ||
+ | |align="left"|shows hash of SSH public key | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables serial console on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial enabled show | ||
+ | |align="left"|shows if serial console enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial raw set {OFF=0|ON=1} | ||
+ | |align="left"|sets raw mode (disables editing) on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial raw show | ||
+ | |align="left"|shows if raw mode enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial echo set {OFF=0|ON=1} | ||
+ | |align="left"|enables echo on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial echo show | ||
+ | |align="left"|shows if echo enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial kvm set {OFF=0|ON=1} | ||
+ | |align="left"|enables binary KVM cmds on serial port on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial kvm show | ||
+ | |align="left"|shows if binary KVM cmds enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial utf8 set {OFF=0|ON=1} | ||
+ | |align="left"|enables UTF8 support | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial utf8 show | ||
+ | |align="left"|shows if UTF8 enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login set {OFF=0|ON=1} | ||
+ | |align="left"|enables login on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login show | ||
+ | |align="left"|shows if login enabled | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login local set {OFF=0|ON=1} | ||
+ | |align="left"|enables local login on/off | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login local show | ||
+ | |align="left"|shows if local login enabled | ||
+ | |- | ||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login radius set {OFF=0|ON=1} | ||
+ | |align="left"|enables login for RADIUS on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login radius show | ||
+ | |align="left"|shows if RADIUS login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login delay set {OFF=0|ON=1} | ||
+ | |align="left"|enables delay (after 3 login fails) on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial login delay show | ||
+ | |align="left"|shows if login delay enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial pushmsgs config set {OFF=0|ON=1} | ||
+ | |align="left"|enables persistent push msgs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial pushmsgs config show | ||
+ | |align="left"|shows if persistent push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial pushmsgs set {OFF=0|ON=1} | ||
+ | |align="left"|enables temporary push msgs | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial pushmsgs show | ||
+ | |align="left"|shows if temporary push msgs are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial user set "{username}" | ||
+ | |align="left"|sets login user name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial user show | ||
+ | |align="left"|shows login user name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial passwd set "{passwd}" | ||
+ | |align="left"|sets login password | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"| | ||
+ | |align="left"| | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|console serial passwd hash set "{passwd}" | ||
+ | |align="left"|sets login hashed password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email | ||
+ | |align="left"|enters cmd group "email" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables email on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email enabled show | ||
+ | |align="left"|shows if email is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email sender set "{email_addr}" | ||
+ | |align="left"|sets email sender address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email sender show | ||
+ | |align="left"|shows email sender address | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email recipient set "{email_addr}" | ||
+ | |align="left"|sets email recipient address | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email recipient show | ||
+ | |align="left"|shows email recipient address | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email server set "{dns_name}" | ||
+ | |align="left"|sets email SMTP server address | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email server show | ||
+ | |align="left"|shows email SMTP server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email port set {ip_port} | ||
+ | |align="left"|sets email SMTP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email port show | ||
+ | |align="left"|shows email SMTP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email security set {NONE=0|STARTTLS=1|SSL=2} | ||
+ | |align="left"|sets SMTP connection security | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email security show | ||
+ | |align="left"|shows SMTP connection security | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email auth set {NONE=0|PLAIN=1|LOGIN=2} | ||
+ | |align="left"|sets email authentication | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email auth show | ||
+ | |align="left"|show email authentication | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email user set "{username}" | ||
+ | |align="left"|sets SMTP username | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email user show | ||
+ | |align="left"|shows SMTP username | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email passwd set "{passwd}" | ||
+ | |align="left"|sets SMTP password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email passwd hash set "{passwd}" | ||
+ | |align="left"|sets crypted SMTP password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|email testmail | ||
+ | |align="left"|send test email | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ethernet | ||
+ | |align="left"|enters cmd group "ethernet" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ethernet mac show | ||
+ | |align="left"|shows MAC address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ethernet link show | ||
+ | |align="left"|shows ethernet link state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ethernet phyprefer set {10MBIT_HD=0|10MBIT_FD=1|100MBIT_HD=2|100MBIT_FD=3} | ||
+ | |align="left"|sets preferred speed for PHY Auto Negotiation | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ethernet phyprefer show | ||
+ | |align="left"|shows preferred speed for PHY Auto Negotiation | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput | ||
+ | |align="left"|enters cmd group "extinput" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} state show | ||
+ | |align="left"|shows input state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput all state {MODE0=0|MODE1=1|MODE2=2} show | ||
+ | |align="left"|shows input state of all ports in 3 different view modes | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} name set "{name}" | ||
+ | |align="left"|sets sensor name to label | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} name show | ||
+ | |align="left"|shows label of sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} invert enabled set {OFF=0|ON=1} | ||
+ | |align="left"|inverts input on/off | ||
+ | |- | ||
+ | |||
+ | |||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} invert enabled show | ||
+ | |align="left"|shows if input inverted | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} label {LOW=0|HIGH=1} set "{name}" | ||
+ | |align="left"|sets input low/high text | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} label {LOW=0|HIGH=1} show | ||
+ | |align="left"|shows input low/high text | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} events set {OFF=0|ON=1} | ||
+ | |align="left"|enables input events on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} events show | ||
+ | |align="left"|shows if input events are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2 | ||
+ | ,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONS | ||
+ | OLE=7,EVT_MQTT=8}" | ||
+ | |align="left"|enables different event types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} events type show | ||
+ | |align="left"|shows what event types are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish mode set | ||
+ | {NONE=0|INTERVAL=1|DELTA=2| | ||
+ | INTERV_DELTA=3} | ||
+ | |align="left"|sets publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish mode show | ||
+ | |align="left"|showshows publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish mqtt retain set {OFF=0|ON=1} | ||
+ | |align="left"|sets mqtt retain | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish mqtt retain show | ||
+ | |align="left"|shows if mqtt retain set | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish timer set {num_secs} | ||
+ | |align="left"|sets publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} publish timer show | ||
+ | |align="left"|shows publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} {LOW=0|HIGH=1} port set {port_num} | ||
+ | |align="left"|sets Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} {LOW=0|HIGH=1} port show | ||
+ | |align="left"|shows Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} {LOW=0|HIGH=1 state set {OFF=0|ON=1|DISABLED=2} | ||
+ | |align="left"|sets Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extinput {port_num} {inp_num} {LOW=0|HIGH=1} state show | ||
+ | |align="left"|shows Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor | ||
+ | |align="left"|enters cmd group "extsensor" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor all show | ||
+ | |align="left"|shows all values from connected external sensors | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor all show | ||
+ | |align="left"|shows all plugged sensors and fields | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_field} value show | ||
+ | |align="left"|shows sensor value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} label set "{name}" | ||
+ | |align="left"|sets sensor name to label | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} label show | ||
+ | |align="left"|shows label of sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} type show | ||
+ | |align="left"|shows type of sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} events set {off=0|on=1} | ||
+ | |align="left"|enables sensor events on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} events show | ||
+ | |align="left"|shows if sensor events are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | events type set | ||
+ | "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2 | ||
+ | ,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER | ||
+ | =5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_M | ||
+ | QTT=8}" | ||
+ | |align="left"|enables different event types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} events type show | ||
+ | |align="left"|shows what event types are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | events beeper mode set {CONTINOUS=0| | ||
+ | INTERMITTENT=1} | ||
+ | |align="left"|sets beeper tone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} events beeper mode show | ||
+ | |align="left"|shows beeper tone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} maxval set {num} | ||
+ | |align="left"|sets maximum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} maxval show | ||
+ | |align="left"|shows maximum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} minval set {num} | ||
+ | |align="left"|sets minimum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} minval show | ||
+ | |align="left"|shows minimum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} hyst set {num} | ||
+ | |align="left"|sets hysterese value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} hyst show | ||
+ | |align="left"|shows hysterese value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | publish mode set {NONE=0|INTERVAL=1| | ||
+ | DELTA=2|INTERV_DELTA=3} | ||
+ | |align="left"|sets publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish mode show | ||
+ | |align="left"|shows publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish mqtt retain set {OFF=0|ON=1} | ||
+ | |align="left"|sets mqtt retain | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish mqtt retain show | ||
+ | |align="left"|shows if mqtt retain set | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish timer set {num_secs} | ||
+ | |align="left"|sets publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish timer show | ||
+ | |align="left"|shows publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"| | ||
+ | |align="left"| | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish delta set {float} | ||
+ | |align="left"|sets publish delta value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} publish delta show | ||
+ | |align="left"|shows publish delta value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} port set {port_num} | ||
+ | |align="left"|sets Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} port show | ||
+ | |align="left"|shows Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} state set {OFF=0|ON=1| | ||
+ | DISABLED=2} | ||
+ | |align="left"|sets Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_type} {sen_field} | ||
+ | {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} state show | ||
+ | |align="left"|shows Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor period set {24H=0|12H=1|2H=2|1H=3|30MIN=4} | ||
+ | |align="left"|sets sensor Min/Max measurement period | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor period show | ||
+ | |align="left"|shows sensor Min/Max measurement period | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor beeper set {OFF=0|ON=1} | ||
+ | |align="left"|enables beeper sensor alarms | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor beeper show | ||
+ | |align="left"|shows if beeper sensor alarms are enabled | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_field} calib set {float} | ||
+ | |align="left"|sets calibration offset for temperature or humidity | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|extsensor {port_num} {sen_field} calib show | ||
+ | |align="left"|shows calibration offset for temperature or humidity | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http | ||
+ | |align="left"|enters cmd group "http" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http server set {HTTP_BOTH=0|HTTPS_ONLY=1|HTTP_ONLY=22|HTTPS_REDIR=3} | ||
+ | |align="left"|sets accepted connection types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http server show | ||
+ | |align="left"|shows accepted connection types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http port set {ip_port} | ||
+ | |align="left"|sets http port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http port show | ||
+ | |align="left"|shows http port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http portssl set {ip_port} | ||
+ | |align="left"|sets https port | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http portssl show | ||
+ | |align="left"|shows https port | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http tls mode set {TLS12=0|TLS13_12=1|TLS13=2|TLS13_12_11=3} | ||
+ | |align="left"|restricts TLS mode | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http tls mode show | ||
+ | |align="left"|shows TLS mode restriction | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http auth mode set {BASIC=0|SESSION=1|SESSION_EXT=2} | ||
+ | |align="left"|sets http session authentication mode | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http auth mode show | ||
+ | |align="left"|shows http session authentication mode and compatibility | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables http password on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http timeout admin set {num_secs} | ||
+ | |align="left"|sets admin session timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http timeout admin show | ||
+ | |align="left"|shows admin session timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http timeout user set {num_secs} | ||
+ | |align="left"|sets user session timeout | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http timeout user show | ||
+ | |align="left"|shows user session timeout | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd enabled show | ||
+ | |align="left"|shows if http password enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd local set {OFF=0|ON=1} | ||
+ | |align="left"|enables local login on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd local show | ||
+ | |align="left"|shows if local login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd radius set {OFF=0|ON=1} | ||
+ | |align="left"|enables login for RADIUS on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd radius show | ||
+ | |align="left"|shows if RADIUS login enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd user set "{passwd}" | ||
+ | |align="left"|sets http user password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd admin set "{passwd}" | ||
+ | |align="left"|sets http admin password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|http passwd hash user set "{passwd}" | ||
+ | |align="left"|sets hashed http user password | ||
+ | http passwd hash admin set "{passwd}" sets hashed http admin password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 | ||
+ | |align="left"|enters cmd group "ip4" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 hostname set "{name}" | ||
+ | |align="left"|sets device hostname | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 hostname show | ||
+ | |align="left"|shows device hostname | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 address set "{ip_address}" | ||
+ | |align="left"|sets IPv4 address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 address show | ||
+ | |align="left"|shows IPv4 address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 netmask set "{ip_address}" | ||
+ | |align="left"|sets IPv4 netmask | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 netmask show | ||
+ | |align="left"|shows IPv4 netmask | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 gateway set "{ip_address}" | ||
+ | |align="left"|sets IPv4 gateway address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 gateway show | ||
+ | |align="left"|shows IPv4 gateway address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 dns set "{ip_address}" | ||
+ | |align="left"|sets IPv4 DNS server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 dns show | ||
+ | |align="left"|shows IPv4 DNS server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 dhcp enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables IPv4 DHCP on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip4 dhcp enabled show | ||
+ | |align="left"|shows IPv4 DHCP state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 | ||
+ | |align="left"|enters cmd group "ip6" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables IPv6 on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 enabled show | ||
+ | |align="left"|shows if IPv6 is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 routadv enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables IPv6 router advertisement | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 routadv enabled show | ||
+ | |align="left"|shows IPv6 router advertisement state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 dhcp enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables IPv6 DHCP on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 dhcp enabled show | ||
+ | |align="left"|shows if IPv6 DHCP is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 address show | ||
+ | |align="left"|show all IPv6 addresses | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 gateway show | ||
+ | |align="left"|show all IPv6 gateways | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 dns show | ||
+ | |align="left"|show all IPv6 DNS server | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables manual IPv6 addresses | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual enabled show | ||
+ | |align="left"|shows if manual IPv6 addresses are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual address {1..4} set "{ip_address}" | ||
+ | |align="left"|sets manual IPv6 address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual address {1..4} show | ||
+ | |align="left"|shows manual IPv6 address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual gateway set "{ip_address}" | ||
+ | |align="left"|sets manual IPv6 gateway address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual gateway show | ||
+ | |align="left"|shows manual IPv6 gateway address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual dns {1..2} set "{ip_address}" | ||
+ | |align="left"|sets manual IPv6 DNS server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ip6 manual dns {1..2} show | ||
+ | |align="left"|shows manual IPv6 DNS server address | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl | ||
+ | |align="left"|enters cmd group "ipacl" | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl ping enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables ICMP ping on/off | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl ping enabled show | ||
+ | |align="left"|shows if ICMP ping enabled | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enable IP filter on/off | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl enabled show | ||
+ | |align="left"|shows if IP filter enabled | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl filter {ipacl_num} set "{dns_name}" | ||
+ | |align="left"|sets IP filter {ipacl_num} | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|ipacl filter {ipacl_num} show | ||
+ | |align="left"|shows IP filter {ipacl_num} | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor | ||
+ | |align="left"|enters cmd group "linesensor" | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor all {field_list} show | ||
+ | |align="left"|shows energy sensors according field list of all line sensors | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {field_list} show | ||
+ | |align="left"|shows energy sensors according field list of one line sensor | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} value show | ||
+ | |align="left"|shows energy sensor of given line | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} ovp show | ||
+ | |align="left"|show state of Overvoltage Protection | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} counter reset | ||
+ | |align="left"|resets energy metering counter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} label set "{name}" | ||
+ | |align="left"|sets line meter to label | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} label show | ||
+ | |align="left"|shows label of line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events set {OFF=0|ON=1} | ||
+ | |align="left"|enables events on/off | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events show | ||
+ | |align="left"|shows if events are enabled | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER =5}" | ||
+ | |align="left"|enables different event types | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events type show | ||
+ | |align="left"|shows what event types are enabled | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events beeper mode set {CONTINOUS=0| INTERMITTENT=1} | ||
+ | |align="left"|sets beeper tone | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} events beeper mode show | ||
+ | |align="left"|shows beeper tone | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} maxval set {float} | ||
+ | |align="left"|sets maximum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} maxval show | ||
+ | |align="left"|shows maximum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} minval set {float} | ||
+ | |align="left"|sets minimum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} minval show | ||
+ | |align="left"|shows minimum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} hyst set {float} | ||
+ | |align="left"|sets hysterese value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} hyst show | ||
+ | |align="left"|shows hysterese value for line meter | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish mode set {NONE=0|INTERVAL=1|DELTA=2| INTERV_DELTA=3} | ||
+ | |align="left"|sets publish mode | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish mode show | ||
+ | |align="left"|shows publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish mqtt retain set {OFF=0|ON=1} | ||
+ | |align="left"|sets mqtt retain | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish mqtt retain show | ||
+ | |align="left"|shows if mqtt retain set | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish timer set {num_secs} | ||
+ | |align="left"|sets publish time interval | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish timer show | ||
+ | |align="left"|shows publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish delta set {float} | ||
+ | |align="left"|sets publish delta value | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} publish delta show | ||
+ | |align="left"|shows publish delta value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} | ||
+ | {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} port set {port_num} | ||
+ | |align="left"|sets Port for Power Port Switching actions | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} port show | ||
+ | |align="left"|shows Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} state set {OFF=0|ON=1| DISABLED=2} | ||
+ | |align="left"|sets Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| | ||
+ | BELOWMAX=3} state show | ||
+ | |align="left"|shows Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} events set {OFF=0|ON=1} | ||
+ | |align="left"|LEGACY - enables events on/off | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} events show | ||
+ | |align="left"|LEGACY - shows if events are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2 | ||
+ | ,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_M QTT=8}" | ||
+ | |align="left"|LEGACY - enables different event types | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} events type show | ||
+ | |align="left"|LEGACY - shows what event types are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} maxval set {float} | ||
+ | |align="left"|LEGACY - sets maximum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} maxval show | ||
+ | |align="left"|LEGACY - shows maximum value for line meter | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} minval set {float} | ||
+ | |align="left"|LEGACY - sets minimum value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} minval show | ||
+ | |align="left"|LEGACY - shows minimum value for line meter | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} hyst set {float} | ||
+ | |align="left"|LEGACY - sets hysterese value for line meter | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} hyst show | ||
+ | |align="left"|LEGACY - shows hysterese value for line meter | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} | ||
+ | port set {port_num} | ||
+ | |align="left"|LEGACY - sets Port for Power Port Switching actions | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} | ||
+ | port show | ||
+ | |align="left"|LEGACY - shows Port for Power Port Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} | ||
+ | state set {OFF=0|ON=1|DISABLED=2} | ||
+ | |align="left"|LEGACY - sets Port state for Power Port Switching actions | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} | ||
+ | state show | ||
+ | |align="left"|LEGACY - shows Port state for Power Port | ||
+ | Switching actions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor beeper set {OFF=0|ON=1} | ||
+ | |align="left"|enables beeper for line meter alarms | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|linesensor beeper show | ||
+ | |align="left"|shows if beeper for line meter alarms is enabled | ||
+ | |- | ||
+ | |||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|modbus | ||
+ | |align="left"|enters cmd group "modbus" | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|modbus enabled set <off=0/on=1> | ||
+ | |align="left"|enables Modbus TCP support | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|modbus enabled show | ||
+ | |align="left"|shows if Modbus is enabled | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|modbus port set <ip_port> | ||
+ | |align="left"|sets Modbus TCP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|modbus port show | ||
+ | |align="left"|shows Modbus TCP port | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt | ||
+ | |align="left"|enters cmd group "mqtt" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enable mqtt | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} enabled show | ||
+ | |align="left"|shows if mqtt enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} server set "{dns_name}" | ||
+ | |align="left"|sets broker name | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} server show | ||
+ | |align="left"|shows broker name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} tls enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enable TLS | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} tls enabled show | ||
+ | |align="left"|shows if TLS enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} port set {ip_port} | ||
+ | |align="left"|set broker TCP/IP port | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} port show | ||
+ | |align="left"|shows broker TCP/IP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} user set "{username}" | ||
+ | |align="left"|sets username | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} user show | ||
+ | |align="left"|shows username | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} passwd set "{passwd}" | ||
+ | |align="left"|sets password | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} passwd hash set "{passwd}" | ||
+ | |align="left"|sets hashed passwd | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} client set "{name}" | ||
+ | |align="left"|sets client name | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} client show | ||
+ | |align="left"|shows client name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} qos set {QOS0=0|QOS1=1} | ||
+ | |align="left"|sets QoS level | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} qos show | ||
+ | |align="left"|shows QoS level | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} keepalive set {num_secs} | ||
+ | |align="left"|sets keep-alive time | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} keepalive show | ||
+ | |align="left"|shows keep-alive time | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} topic set "{name}" | ||
+ | |align="left"|sets topic prefix | ||
+ | |- | ||
+ | |||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} topic show | ||
+ | |align="left"|shwos topic prefix | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} console enabled set {OFF=0| ON=1} | ||
+ | |align="left"|permit console cmds | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} console enabled show | ||
+ | |align="left"|shows if console cmds allowed | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} device data timer set {num_secs} | ||
+ | |align="left"|sets telemetry interval | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|mqtt {broker_idx} device data timer show | ||
+ | |align="left"|shows telemetry interval | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port | ||
+ | |align="left"|enters cmd group "port" | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} state set {OFF=0|ON=1} | ||
+ | |align="left"|sets port to new state | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} state show | ||
+ | |align="left"|shows port state | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port all state set "{port_list}" {OFF=0|ON=1} | ||
+ | |align="left"|sets several ports in one cmd - e.g. port all state set "1,3,5" 1 | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port all state {MODE0=0|MODE1=1|MODE2=2} show | ||
+ | |align="left"|shows all port states in 3 different view modes | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port all set {OFF=0|ON=1|OFF_REV=2|ON_REV=3} | ||
+ | |align="left"|switch all ports on/off forward or reverse | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port restart all set {REINIT=0| OFF_REV_REINIT=1,OFF_REINIT=2} | ||
+ | |align="left"|reinit coldstart sequence (optional first all off) | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} reset | ||
+ | |align="left"|start reset sequence for port | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} toggle | ||
+ | |align="left"|toggles port | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} batch set {OFF=0|ON=1} wait {num_secs} {OFF=0|ON=1} | ||
+ | |align="left"|starts batch mode for port | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} batch cancel | ||
+ | |align="left"|cancels batch mode | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} label set "{name}" | ||
+ | |align="left"|sets port label name | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} label show | ||
+ | |align="left"|shows port label name | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} initstate coldstart set {OFF=0| ON=1|REMEMBER=2} | ||
+ | |align="left"|sets port coldstart initialization | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} initstate coldstart show | ||
+ | |align="left"|shows port coldstart initialization | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} initstate delay set {num} | ||
+ | |align="left"|sets port init delay | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} initstate delay show | ||
+ | |align="left"|shows port init delay | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} repowerdelay set {num} | ||
+ | |align="left"|sets port repower delay | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} repowerdelay show | ||
+ | |align="left"|shows port repower delay | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} resettime set {num} | ||
+ | |align="left"|sets port reset duration | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} resettime show | ||
+ | |align="left"|shows port reset duration | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog enabled set {OFF=0| ON=1} | ||
+ | |align="left"|sets port watchdog to on/off | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog enabled show | ||
+ | |align="left"|shows port watchdog state | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog mode set {OFF=0| PORT_RESET=1|IP_MS=2|IP_MS_INV=3} | ||
+ | |align="left"|sets port watchdog mode | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog mode show | ||
+ | |align="left"|shows port watchdog mode | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog type set {WD_ICMP=0| WD_TCP=1} | ||
+ | |align="left"|sets port watchdog type | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog type show | ||
+ | |align="left"|shows port watchdog type | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog link down set {OFF=0| ON=1} | ||
+ | |align="left"|sets if watchdog active when eth link down | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog link down show | ||
+ | |align="left"|shows if watchdog active when eth link down | ||
+ | |- | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog host set "{dns_name}" | ||
+ | |align="left"|sets port watchdog host target | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog host show | ||
+ | |align="left"|shows port watchdog host target | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog port set {ip_port} | ||
+ | |align="left"|sets port watchdog TCP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog port show | ||
+ | |align="left"|shows port watchdog TCP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog pinginterval set {num} | ||
+ | |align="left"|sets port watchdog ping interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog pinginterval show | ||
+ | |align="left"|shows port watchdog ping interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog pingretries set {num} | ||
+ | |align="left"|sets port watchdog ping retries | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog pingretries show | ||
+ | |align="left"|shows port watchdog ping retries | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog retrybooting set {OFF=0|ON=1} | ||
+ | |align="left"|sets port watchdog retry booting to on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog retrybooting show | ||
+ | |align="left"|shows port watchdog retry booting state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog bootretries set {num} | ||
+ | |align="left"|sets port watchdog retry boot timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|port {port_num} watchdog bootretries show | ||
+ | |align="left"|hows port watchdog retry boot timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius | ||
+ | |align="left"|enters cmd group "radius" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} enabled set <off=0/on=1> | ||
+ | |align="left"|enables radius client | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} enabled show | ||
+ | |align="left"|show if radius client enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} server set "<dns_name>" | ||
+ | |align="left"|sets radius server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} server show | ||
+ | |align="left"|shows radius server address | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} password set "{passwd}" | ||
+ | |align="left"|sets radius server shared secret | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} password hash set "{passwd}" | ||
+ | |align="left"|sets radius server crypted shared secret | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} auth timeout set {num_secs} | ||
+ | |align="left"|sets server request timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} auth timeout show | ||
+ | |align="left"|shows server request timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} retries set {0..99} | ||
+ | |align="left"|sets server number of retries | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius {PRIMARY=0|SECONDARY=1} retries show | ||
+ | |align="left"|shows server number of retries | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius chap enabled set <off=0/on=1> | ||
+ | |align="left"|enables CHAP | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius chap enabled show | ||
+ | |align="left"|shows if CHAP is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius message auth set <off=0/on=1> | ||
+ | |align="left"|enables request message authentication | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius message auth show | ||
+ | |align="left"|shows if request message authentication is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius default timeout set {num_secs} | ||
+ | |align="left"|sets default session timeout (when not returned as Session-Timout Attribute) | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|radius default timeout show | ||
+ | |align="left"|shows default session timeout | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb | ||
+ | |align="left"|enters cmd group "rcmb" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} state show | ||
+ | |align="left"|show rcmb module state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} value show | ||
+ | |align="left"|shows RMS/DC RC values | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} output show | ||
+ | |align="left"|shows module RMS/DC outputs | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events set {OFF=0|ON=1} | ||
+ | |align="left"|enables sensor events on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events show | ||
+ | |align="left"|shows if sensor events are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONS | ||
+ | OLE=7,EVT_MQTT=8}" | ||
+ | |align="left"|enables different event types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events type show | ||
+ | |align="left"|shows what event types are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events beeper mode set {CONTINOUS=0|INTERMITTENT=1} | ||
+ | |align="left"|sets beeper tone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} events beeper mode show | ||
+ | |align="left"|shows beeper tone | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} maxval set {float} | ||
+ | |align="left"|sets maximum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} maxval show | ||
+ | |align="left"|shows maximum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} minval set {float} | ||
+ | |align="left"|sets minimum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} minval show | ||
+ | |align="left"|shows minimum value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} hyst set {float} | ||
+ | |align="left"|sets hysterese value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} hyst show | ||
+ | |align="left"|shows hysterese value for sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish mode set {NONE=0|INTERVAL=1|DELTA=2| | ||
+ | INTERV_DELTA=3} | ||
+ | |align="left"|sets publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish mode show | ||
+ | |align="left"|shows publish mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish mqtt retain set {OFF=0|ON=1} | ||
+ | |align="left"|sets mqtt retain | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish mqtt retain show | ||
+ | |align="left"|shows if mqtt retain set | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish timer set {num_secs} | ||
+ | |align="left"|sets publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish timer show | ||
+ | |align="left"|shows publish time interval | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish delta set {float} | ||
+ | |align="left"|sets publish delta value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} publish delta show | ||
+ | |align="left"|shows publish delta value | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} port set {port_num} | ||
+ | |align="left"|sets power port for sensor values action | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} port show | ||
+ | |align="left"|shows power port for sensor values action | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} state set {OFF=0|ON=1|DISABLED=2} | ||
+ | |align="left"|sets state for sensor values action | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| | ||
+ | ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} state show | ||
+ | |align="left"|shows state for sensor values action | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp | ||
+ | |align="left"|enters cmd group "snmp" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp port set {ip_port} | ||
+ | |align="left"|sets SNMP UDP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp port show | ||
+ | |align="left"|shows SNMP UDP port | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpget enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables SNMP GET cmds on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpget enabled show | ||
+ | |align="left"|show if SNMP GET cmds are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpset enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables SNMP SET cmds on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpset enabled show | ||
+ | |align="left"|show if SNMP SET cmds are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables SNMP v2 on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 enabled show | ||
+ | |align="left"|show if SNMP v2 is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 public set "{text}" | ||
+ | |align="left"|enables SNMP v3 on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 public show | ||
+ | |align="left"|show if SNMP v3 isenabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 private set "{text}" | ||
+ | |align="left"|sets SNMP v2 public cummnity | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv2 private show | ||
+ | |align="left"|shows SNMP v2 public community | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp system {CONTACT=0|NAME=1| LOCATION=2} set "{text}" | ||
+ | |align="left"|sets sysLocation/sysName/sysContact | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp system {CONTACT=0|NAME=1|LOCATION=2} show | ||
+ | |align="left"|gets sysLocation/sysName/sysContact | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 enabled set {OFF=0|ON=1} | ||
+ | |align="left"|sets SNMP v2 private community | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 enabled show | ||
+ | |align="left"|shows SNMP v2 private community | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 username set "{text}" | ||
+ | |align="left"|sets SNMP v3 username | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 username show | ||
+ | |align="left"|shows SNMP v3 username | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 authalg set {NONE=0|MD5=1| SHA1=2|SHA256=3|SHA384=4|SHA512=5} | ||
+ | |align="left"|sets SNMP v3 authentication | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 authalg show | ||
+ | |align="left"|show SNMP v3 authentication algorithm | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 privalg set {NONE=0|DES=1| 3DES=2|AES128=3|AES192=4|AES256=5| AES192*=6|AES256*=7} | ||
+ | |align="left"|sets SNMP v3 privacy algorithm | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 privalg show | ||
+ | |align="left"|show SNMP v3 privacy algorithm | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 authpasswd set "{passwd}" | ||
+ | |align="left"|sets SNMP v3 authentication password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 privpasswd set "{passwd}" | ||
+ | |align="left"|sets SNMP v3 privacy password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 authpasswd hash set "{passwd}" | ||
+ | |align="left"|sets SNMP v3 authentication hashed password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp snmpv3 privpasswd hash set "{passwd}" | ||
+ | |align="left"|sets SNMP v3 privacy hashed password | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp trap type set {NONE=0|V1=1|V2=2|V3=3} | ||
+ | |align="left"|sets type of SNMP traps | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp trap type show | ||
+ | |align="left"|show SNMP trap type | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp trap receiver {trap_num} set "{dns_name}" | ||
+ | |align="left"|sets address and port of SNMP trap receiver {trap_num} | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|snmp trap receiver {trap_num} show | ||
+ | |align="left"|show address and port of SNMP trap receiver {trap_num} | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|syslog | ||
+ | |align="left"|enters cmd group "syslog" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|syslog enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables syslog msgs on/off | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|syslog enabled show | ||
+ | |align="left"|show if syslog enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|syslog server set "{dns_name}" | ||
+ | |align="left"|sets address of syslog server | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|syslog server show | ||
+ | |align="left"|shows address of syslog server | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system | ||
+ | |align="left"|enters cmd group "system" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system beeper manual set {OFF=0|ON=1} {millisec} | ||
+ | |align="left"|manually sets beeper with optional duration | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system beeper manual show | ||
+ | |align="left"|shows beeper state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system restart | ||
+ | |align="left"|restarts device | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system fabsettings | ||
+ | |align="left"|restore fab settings and restart device | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system bootloader | ||
+ | |align="left"|enters bootloader mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system flushdns | ||
+ | |align="left"|flush DNS cache | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system uptime | ||
+ | |align="left"|number of seconds the device is running | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system name show | ||
+ | |align="left"|shows device name | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system version show | ||
+ | |align="left"|shows actual firmware version | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display {disp_num} default extsensor {port_num} {sen_type} set {sen_field} | ||
+ | |align="left"|shows external sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display {disp_num} default linesensor {line_num} set {sen_field} | ||
+ | |align="left"|shows energy line sensor | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display {disp_num} default set {BLANK=0,LOCAL_TIME=1,UTC_TIME=2} | ||
+ | |align="left"|shows other contents | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display {disp_num} default show | ||
+ | |align="left"|shows default setting for display | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display default hash set "{data}" | ||
+ | |align="left"|sets hashed display setting | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system display default hash show | ||
+ | |align="left"|shows hashed display setting | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system sensor {VSYS=0|VAUX=1|VMAIN=2| TCPU=3} show | ||
+ | |align="left"|shows internal sensors if model supports it | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events set {OFF=0| ON=1} | ||
+ | |align="left"|enable global events | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events show | ||
+ | |align="left"|shows if global events enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER | ||
+ | =5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_MQTT=8}" | ||
+ | |align="left"|enables different event types | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events type show | ||
+ | |align="left"|shows what event types are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events mqtt retain set {OFF=0|ON=1} | ||
+ | |align="left"|sets mqtt retain | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system {SWITCH_PORT=0} events mqtt retain show | ||
+ | |align="left"|shows if mqtt retain set | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system panel enabled set {OFF=0|ON=1} | ||
+ | |align="left"|blocks panel buttons when not enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system panel enabled show | ||
+ | |align="left"|shows if panel buttons are enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system panel port all set {OFF=0|ON=1} | ||
+ | |align="left"|enable siwtch all relays from panel buttons | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|system panel port all show | ||
+ | |align="left"|shows if siwtch all relays from panel buttons enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer | ||
+ | |align="left"|enters cmd group "timer" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables timer functions | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer enabled show | ||
+ | |align="left"|shows if timer a enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer syslog facility set {0..23} | ||
+ | |align="left"|sets facility level for timer syslog | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer syslog facility show | ||
+ | |align="left"|shows facility level for timer syslog | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer syslog verbose set {0..7} | ||
+ | |align="left"|sets verbose level for timer syslog | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer syslog verbose show | ||
+ | |align="left"|shows verbose level for timer syslog | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} enabled set {OFF=0|ON=1} | ||
+ | |align="left"|enables rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} enabled show | ||
+ | |align="left"|shows if rule is enabled | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} name set "{name}" | ||
+ | |align="left"|sets name of rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} name show | ||
+ | |align="left"|shows name of rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} {FROM=0|UNTIL=1} set "{yyyymm-dd}" | ||
+ | |align="left"|sets date range of rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} {FROM=0|UNTIL=1} show | ||
+ | |align="left"|shows date range of rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger jitter set {0..65535} | ||
+ | |align="left"|sets jitter for rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger jitter show | ||
+ | |align="left"|show jitter of rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger random set {0..100} | ||
+ | |align="left"|sets probability for rule | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger random show | ||
+ | |align="left"|shows rule probability | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger {HOUR=0|MIN=1|SEC=2| DAY=3|MON=4|DOW=5} set "{time_date_list}" | ||
+ | |align="left"|sets time date list | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} trigger {HOUR=0|MIN=1|SEC=2| DAY=3|MON=4|DOW=5} show | ||
+ | |align="left"|shows time date list | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action mode set {SWITCH=1| CLI=2} | ||
+ | |align="left"|sets switch or cli cmd | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action mode show | ||
+ | |align="left"|shows if switch or cli cmd | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action {SWITCH1=0| SWITCH2=1} {OFF=0|ON=1} set "{port_list}" | ||
+ | |align="left"|sets port list for switch cmd | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action {SWITCH1=0| SWITCH2=1} {OFF=0|ON=1} show | ||
+ | |align="left"|shows port list for switch cmd | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action delay set {0..65535} | ||
+ | |align="left"|delay between cmds | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action delay show | ||
+ | |align="left"|shows delay between cmds | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action console set "{cmd}" | ||
+ | |align="left"|sets cmd string | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action console show | ||
+ | |align="left"|shows cmd string | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action hash set "{data}" | ||
+ | |align="left"|sets action binary form | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} action hash show | ||
+ | |align="left"|shows action binary form | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer {rule_num} delete | ||
+ | |align="left"|delete one timer | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|timer delete all | ||
+ | |align="left"|delete all timer | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 | ||
+ | |align="left"|enters cmd group "vt100" | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 echo set {OFF=0|ON=1} | ||
+ | |align="left"|sets console echo state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 echo show | ||
+ | |align="left"|shows console echo state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 numeric set {OFF=0|ON=1} | ||
+ | |align="left"|sets numeric mode | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 numeric show | ||
+ | |align="left"|shows numeric mode state | ||
+ | |- | ||
+ | |- bgcolor="#C1DDFB" | ||
+ | |align="left"|vt100 reset | ||
+ | |align="left"|resets terminal | ||
+ | |- | ||
+ | |} |
Aktuelle Version vom 18. April 2024, 12:52 Uhr
Dieses Gerät unterstützt MQTT 3.1.1 um konfigurierte Nachrichten zu verschicken, und auch Kommandos entgegenzunehmen. Dieses Kapitel ist für alle Gude Geräte allgemein gehalten, manche Gude Modelle haben keine schaltbaren Ports.
- Default Port für eine unverschlüsselte Verbindung ist Port 1883.
- Default Port für eine TLS gesicherte Verbindung ist Port 8883.
- Wenn der Broker einen anonymen Login erlaubt, sind Benutzername und Passwort beliebig, aber ein Benutzername muss angegeben werden.
- Wenn mehrere MQTT Clients mit einem Broker verbunden sind, müssen die Namen der Clients verschieden sein. Aus diesem Grund wird als Default Name "client_xxxx" generiert. Dabei sind "xxxx" die 4 letzten Stellen der MAC-Adresse.
Nachrichtenformat
Die MQTT Nachrichten des Gerätes werden immer im JSON Format verschickt. Z.B.
{"type": "portswitch", "idx": 2, "port": "2", "state": 1, "cause": {"id": 2, "txt": "http"}, "ts": 1632}
Dies ist ein Schalten des zweiten Ports in den Zustand ("state") on. Die Quelle des Schaltkommando ist CGI ("http"). Der Index ist immer numerisch, "port" kann bei Geräten mit mehreren Banks auch alphanumerisch sein, z.B. "A2". Am Ende folgt ein timestamp ("ts"), der die Anzalh der Sekunden anzeigt, die das Gerät eingeschaltet ist, oder unixtime wenn das Gerät sich mit einem NTP-Server synchronisiert hat.
MQTT Topic Prefix
Das Topic Prefix für die Nachrichten ist in der MQTT Konfiguration einstellbar. Ein Default wäre z.B. "de/gudesystems/epc/[mac]". Hier steht "[mac]" als Platzhalter für die MAC-Adresse des Gerätes, ein weiterer möglicher Platzhalter ist "[host]", der den Host-Namen beinhaltet. Ein Beispiel Topic für eine Schaltnachricht des zweites Ports wäre dann:
"de/gudesystems/epc/00:19:32:01:16:41/switch/2".
Ausführen von Konsolen Kommandos
Das Gerät kann über MQTT komplett mit Konsolen Kommandos ferngesteuert werden. Eine Liste aller Kommandos findet sich im Kapitel Konsole . Je nach Topic werden die Kommandos in verschiedenen Formaten angenommen.
Als Default ist das Ausführen vom Kommandos nicht erlaubt, sondern muss in der MQTT Konfiguration ("Permit CLI commands") freigeschaltet werden!
Format 1: Kommando in JSON Syntax
Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd"
Publish Message: "{"type": "cli", "cmd": "port 2 state set 1", "id": 10}"
Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres"
"{"type": "cli", "cmdres": ["OK."], "result": {"num": 0, "hint": "ok"}, "id": 10}"
Das JSON Objekt "result" gibt zurück, ob das Kommando valide war. Das Objekt "id" im Kommando ist optional und wird in der Antwort vom Gerät durchgereicht. Die Übergebene Nummer kann helfen eine Synchronizität zwischen Kommando und Antwort über den Broker herzustellen.
Format 2: Raw Text
Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd/cli"
Publish Message: "port 2 state set 1"
Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres/cli"
"OK."
Format 3: Vereinfachtes Port schalten
Publish Topic: "de/gudesystems/epc/00:19:32:01:16:41/cmd/port/2"
Publish Message: "0" oder "1"
Antwort vom Gerät an "de/gudesystems/epc/00:19:32:01:16:41/cmdres/port/2"
"0" oder "1"
Diese Spezialform existiert nur für die Port Schaltbefehle.
Device Data Summary
In der Device Data Summary werden in einem JSON Objekt die wichtigsten Daten des Gerätes zusammengefasst und in einem konfigurierbaren Zeitintervall periodisch verschickt. Diese Zusammenfassung hängt von den Eigenschaftes des Gerätes und der angeschlossenen Sensoren ab, und könnte z.B. so aussehen:
Topic: de/gudesystems/epc/00:19:32:01:16:41/device/telemetry
Nachricht:
Befehlsliste
logout | go to login prompt when enabled |
quit | quits telnet session - nothing in serial console |
back | back one cmd level |
help | show all cmds from this level |
help all | show all cmds |
clock | enters cmd group "clock" |
clock ntp enabled set {OFF=0|ON=1} | enables ntp |
clock ntp enabled show | shows if ntp enabled |
clock timezone set {minutes} | sets timezone |
clock timezone show | shows timezone |
clock dst enabled set {OFF=0|ON=1} | enables dst |
clock dst enabled show | shows if dst is enabled |
clock manual set "{hh:mm:ss yyyy-mm-dd}" | sets time and date manually |
clock show | shows actual time and date |
clock ntp server {PRIMARY=0|BACKUP=1} set "{dns_name}" | sets ntp server name |
clock ntp server {PRIMARY=0|BACKUP=1} show | shows ntp server name |
console | enters cmd group "console" |
console version | shows unique console version number |
console telnet enabled set {OFF=0|ON=1} | enables telnet on/off |
console telnet enabled show | shows if telnet enabled |
console telnet port set {ip_port} | sets telnet port |
console telnet port show | shows telnet port |
console telnet raw set {OFF=0|ON=1} | sets raw mode (disables editing) on/off |
console telnet raw show | shows if raw mode enabled |
console telnet echo set {OFF=0|ON=1} | enables echo on/off |
console telnet echo show | shows if echo enabled |
console telnet activeneg set {OFF=0|ON=1} | enables telnet active negotiation (IAC) on/off |
console telnet activeneg show | shows if active negotiation enabled |
console telnet login set {OFF=0|ON=1} | enables login on/off |
console telnet login show | shows if login enabled |
console telnet login local set {OFF=0|ON=1} | enables local login on/off |
console telnet login local show | shows if local login enabled |
console telnet login radius set {OFF=0|ON=1} | enables login for RADIUS on/off |
console telnet login radius show | shows if RADIUS login enabled |
console telnet login delay set {OFF=0|ON=1} | enables delay (after 3 login fails) on/off |
console telnet login delay show | shows if login delay enabled |
console telnet pushmsgs config set {OFF=0|ON=1} | enables persistent push msgs |
console telnet pushmsgs config show | shows if persistent push msgs are enabled |
console telnet pushmsgs set {OFF=0|ON=1} | enables temporary push msgs |
console telnet pushmsgs show | shows if temporary push msgs are enabled |
console telnet user set "{username}" | sets login user name |
console telnet user show | shows login user name |
console telnet passwd set "{passwd}" | sets login password |
console telnet passwd hash set "{passwd}" | sets login hashed password |
console ssh enabled set {OFF=0|ON=1} | enables SSH |
console ssh enabled show | shows if SSH enabled |
console ssh port set {ip_port} | sets SSH port |
console ssh port show | shows SSH port |
console ssh echo set {OFF=0|ON=1} | enables echo on/off |
console ssh echo show | shows if echo enabled |
console ssh pushmsgs config set {OFF=0|ON=1} | enables persistent push msgs |
console ssh pushmsgs config show | shows if persistent push msgs are enabled |
console ssh pushmsgs set {OFF=0|ON=1} | enables temporary push msgs |
console ssh pushmsgs show | shows if temporary push msgs are enabled |
console ssh public hash set "{passwd}" | sets hash of SSH public key |
console ssh public hash show | shows hash of SSH public key |
console serial enabled set {OFF=0|ON=1} | enables serial console on/off |
console serial enabled show | shows if serial console enabled |
console serial raw set {OFF=0|ON=1} | sets raw mode (disables editing) on/off |
console serial raw show | shows if raw mode enabled |
console serial echo set {OFF=0|ON=1} | enables echo on/off |
console serial echo show | shows if echo enabled |
console serial kvm set {OFF=0|ON=1} | enables binary KVM cmds on serial port on/off |
console serial kvm show | shows if binary KVM cmds enabled |
console serial utf8 set {OFF=0|ON=1} | enables UTF8 support |
console serial utf8 show | shows if UTF8 enabled |
console serial login set {OFF=0|ON=1} | enables login on/off |
console serial login show | shows if login enabled |
console serial login local set {OFF=0|ON=1} | enables local login on/off |
console serial login local show | shows if local login enabled |
console serial login radius set {OFF=0|ON=1} | enables login for RADIUS on/off |
console serial login radius show | shows if RADIUS login enabled |
console serial login delay set {OFF=0|ON=1} | enables delay (after 3 login fails) on/off |
console serial login delay show | shows if login delay enabled |
console serial pushmsgs config set {OFF=0|ON=1} | enables persistent push msgs |
console serial pushmsgs config show | shows if persistent push msgs are enabled |
console serial pushmsgs set {OFF=0|ON=1} | enables temporary push msgs |
console serial pushmsgs show | shows if temporary push msgs are enabled |
console serial user set "{username}" | sets login user name |
console serial user show | shows login user name |
console serial passwd set "{passwd}" | sets login password |
console serial passwd hash set "{passwd}" | sets login hashed password |
enters cmd group "email" | |
email enabled set {OFF=0|ON=1} | enables email on/off |
email enabled show | shows if email is enabled |
email sender set "{email_addr}" | sets email sender address |
email sender show | shows email sender address |
email recipient set "{email_addr}" | sets email recipient address |
email recipient show | shows email recipient address |
email server set "{dns_name}" | sets email SMTP server address |
email server show | shows email SMTP server address |
email port set {ip_port} | sets email SMTP port |
email port show | shows email SMTP port |
email security set {NONE=0|STARTTLS=1|SSL=2} | sets SMTP connection security |
email security show | shows SMTP connection security |
email auth set {NONE=0|PLAIN=1|LOGIN=2} | sets email authentication |
email auth show | show email authentication |
email user set "{username}" | sets SMTP username |
email user show | shows SMTP username |
email passwd set "{passwd}" | sets SMTP password |
email passwd hash set "{passwd}" | sets crypted SMTP password |
email testmail | send test email |
ethernet | enters cmd group "ethernet" |
ethernet mac show | shows MAC address |
ethernet link show | shows ethernet link state |
ethernet phyprefer set {10MBIT_HD=0|10MBIT_FD=1|100MBIT_HD=2|100MBIT_FD=3} | sets preferred speed for PHY Auto Negotiation |
ethernet phyprefer show | shows preferred speed for PHY Auto Negotiation |
extinput | enters cmd group "extinput" |
extinput {port_num} {inp_num} state show | shows input state |
extinput all state {MODE0=0|MODE1=1|MODE2=2} show | shows input state of all ports in 3 different view modes |
extinput {port_num} {inp_num} name set "{name}" | sets sensor name to label |
extinput {port_num} {inp_num} name show | shows label of sensor |
extinput {port_num} {inp_num} invert enabled set {OFF=0|ON=1} | inverts input on/off |
extinput {port_num} {inp_num} invert enabled show | shows if input inverted |
extinput {port_num} {inp_num} label {LOW=0|HIGH=1} set "{name}" | sets input low/high text |
extinput {port_num} {inp_num} label {LOW=0|HIGH=1} show | shows input low/high text |
extinput {port_num} {inp_num} events set {OFF=0|ON=1} | enables input events on/off |
extinput {port_num} {inp_num} events show | shows if input events are enabled |
extinput {port_num} {inp_num} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2
,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONS OLE=7,EVT_MQTT=8}" |
enables different event types |
extinput {port_num} {inp_num} events type show | shows what event types are enabled |
extinput {port_num} {inp_num} publish mode set
{NONE=0|INTERVAL=1|DELTA=2| INTERV_DELTA=3} |
sets publish mode |
extinput {port_num} {inp_num} publish mode show | showshows publish mode |
extinput {port_num} {inp_num} publish mqtt retain set {OFF=0|ON=1} | sets mqtt retain |
extinput {port_num} {inp_num} publish mqtt retain show | shows if mqtt retain set |
extinput {port_num} {inp_num} publish timer set {num_secs} | sets publish time interval |
extinput {port_num} {inp_num} publish timer show | shows publish time interval |
extinput {port_num} {inp_num} {LOW=0|HIGH=1} port set {port_num} | sets Port for Power Port Switching actions |
extinput {port_num} {inp_num} {LOW=0|HIGH=1} port show | shows Port for Power Port Switching actions |
extinput {port_num} {inp_num} {LOW=0|HIGH=1 state set {OFF=0|ON=1|DISABLED=2} | sets Port state for Power Port Switching actions |
extinput {port_num} {inp_num} {LOW=0|HIGH=1} state show | shows Port state for Power Port Switching actions |
extsensor | enters cmd group "extsensor" |
extsensor all show | shows all values from connected external sensors |
extsensor all show | shows all plugged sensors and fields |
extsensor {port_num} {sen_field} value show | shows sensor value |
extsensor {port_num} {sen_type} label set "{name}" | sets sensor name to label |
extsensor {port_num} {sen_type} label show | shows label of sensor |
extsensor {port_num} type show | shows type of sensor |
extsensor {port_num} {sen_type} {sen_field} events set {off=0|on=1} | enables sensor events on/off |
extsensor {port_num} {sen_type} {sen_field} events show | shows if sensor events are enabled |
extsensor {port_num} {sen_type} {sen_field}
events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2 ,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER =5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_M QTT=8}" |
enables different event types |
extsensor {port_num} {sen_type} {sen_field} events type show | shows what event types are enabled |
extsensor {port_num} {sen_type} {sen_field}
events beeper mode set {CONTINOUS=0| INTERMITTENT=1} |
sets beeper tone |
extsensor {port_num} {sen_type} {sen_field} events beeper mode show | shows beeper tone |
extsensor {port_num} {sen_type} {sen_field} maxval set {num} | sets maximum value for sensor |
extsensor {port_num} {sen_type} {sen_field} maxval show | shows maximum value for sensor |
extsensor {port_num} {sen_type} {sen_field} minval set {num} | sets minimum value for sensor |
extsensor {port_num} {sen_type} {sen_field} minval show | shows minimum value for sensor |
extsensor {port_num} {sen_type} {sen_field} hyst set {num} | sets hysterese value for sensor |
extsensor {port_num} {sen_type} {sen_field} hyst show | shows hysterese value for sensor |
extsensor {port_num} {sen_type} {sen_field}
publish mode set {NONE=0|INTERVAL=1| DELTA=2|INTERV_DELTA=3} |
sets publish mode |
extsensor {port_num} {sen_type} {sen_field} publish mode show | shows publish mode |
extsensor {port_num} {sen_type} {sen_field} publish mqtt retain set {OFF=0|ON=1} | sets mqtt retain |
extsensor {port_num} {sen_type} {sen_field} publish mqtt retain show | shows if mqtt retain set |
extsensor {port_num} {sen_type} {sen_field} publish timer set {num_secs} | sets publish time interval |
extsensor {port_num} {sen_type} {sen_field} publish timer show | shows publish time interval |
extsensor {port_num} {sen_type} {sen_field} publish delta set {float} | sets publish delta value |
extsensor {port_num} {sen_type} {sen_field} publish delta show | shows publish delta value |
extsensor {port_num} {sen_type} {sen_field}
{BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| BELOWMAX=3} port set {port_num} |
sets Port for Power Port Switching actions |
extsensor {port_num} {sen_type} {sen_field}
{BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| BELOWMAX=3} port show |
shows Port for Power Port Switching actions |
extsensor {port_num} {sen_type} {sen_field}
{BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| BELOWMAX=3} state set {OFF=0|ON=1| DISABLED=2} |
sets Port state for Power Port Switching actions |
extsensor {port_num} {sen_type} {sen_field}
{BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| BELOWMAX=3} state show |
shows Port state for Power Port Switching actions |
extsensor period set {24H=0|12H=1|2H=2|1H=3|30MIN=4} | sets sensor Min/Max measurement period |
extsensor period show | shows sensor Min/Max measurement period |
extsensor beeper set {OFF=0|ON=1} | enables beeper sensor alarms |
extsensor beeper show | shows if beeper sensor alarms are enabled |
extsensor {port_num} {sen_field} calib set {float} | sets calibration offset for temperature or humidity |
extsensor {port_num} {sen_field} calib show | shows calibration offset for temperature or humidity |
http | enters cmd group "http" |
http server set {HTTP_BOTH=0|HTTPS_ONLY=1|HTTP_ONLY=22|HTTPS_REDIR=3} | sets accepted connection types |
http server show | shows accepted connection types |
http port set {ip_port} | sets http port |
http port show | shows http port |
http portssl set {ip_port} | sets https port |
http portssl show | shows https port |
http tls mode set {TLS12=0|TLS13_12=1|TLS13=2|TLS13_12_11=3} | restricts TLS mode |
http tls mode show | shows TLS mode restriction |
http auth mode set {BASIC=0|SESSION=1|SESSION_EXT=2} | sets http session authentication mode |
http auth mode show | shows http session authentication mode and compatibility |
http passwd enabled set {OFF=0|ON=1} | enables http password on/off |
http timeout admin set {num_secs} | sets admin session timeout |
http timeout admin show | shows admin session timeout |
http timeout user set {num_secs} | sets user session timeout |
http timeout user show | shows user session timeout |
http passwd enabled show | shows if http password enabled |
http passwd local set {OFF=0|ON=1} | enables local login on/off |
http passwd local show | shows if local login enabled |
http passwd radius set {OFF=0|ON=1} | enables login for RADIUS on/off |
http passwd radius show | shows if RADIUS login enabled |
http passwd user set "{passwd}" | sets http user password |
http passwd admin set "{passwd}" | sets http admin password |
http passwd hash user set "{passwd}" | sets hashed http user password
http passwd hash admin set "{passwd}" sets hashed http admin password |
ip4 | enters cmd group "ip4" |
ip4 hostname set "{name}" | sets device hostname |
ip4 hostname show | shows device hostname |
ip4 address set "{ip_address}" | sets IPv4 address |
ip4 address show | shows IPv4 address |
ip4 netmask set "{ip_address}" | sets IPv4 netmask |
ip4 netmask show | shows IPv4 netmask |
ip4 gateway set "{ip_address}" | sets IPv4 gateway address |
ip4 gateway show | shows IPv4 gateway address |
ip4 dns set "{ip_address}" | sets IPv4 DNS server address |
ip4 dns show | shows IPv4 DNS server address |
ip4 dhcp enabled set {OFF=0|ON=1} | enables IPv4 DHCP on/off |
ip4 dhcp enabled show | shows IPv4 DHCP state |
ip6 | enters cmd group "ip6" |
ip6 enabled set {OFF=0|ON=1} | enables IPv6 on/off |
ip6 enabled show | shows if IPv6 is enabled |
ip6 routadv enabled set {OFF=0|ON=1} | enables IPv6 router advertisement |
ip6 routadv enabled show | shows IPv6 router advertisement state |
ip6 dhcp enabled set {OFF=0|ON=1} | enables IPv6 DHCP on/off |
ip6 dhcp enabled show | shows if IPv6 DHCP is enabled |
ip6 address show | show all IPv6 addresses |
ip6 gateway show | show all IPv6 gateways |
ip6 dns show | show all IPv6 DNS server |
ip6 manual enabled set {OFF=0|ON=1} | enables manual IPv6 addresses |
ip6 manual enabled show | shows if manual IPv6 addresses are enabled |
ip6 manual address {1..4} set "{ip_address}" | sets manual IPv6 address |
ip6 manual address {1..4} show | shows manual IPv6 address |
ip6 manual gateway set "{ip_address}" | sets manual IPv6 gateway address |
ip6 manual gateway show | shows manual IPv6 gateway address |
ip6 manual dns {1..2} set "{ip_address}" | sets manual IPv6 DNS server address |
ip6 manual dns {1..2} show | shows manual IPv6 DNS server address |
ipacl | enters cmd group "ipacl" |
ipacl ping enabled set {OFF=0|ON=1} | enables ICMP ping on/off |
ipacl ping enabled show | shows if ICMP ping enabled |
ipacl enabled set {OFF=0|ON=1} | enable IP filter on/off |
ipacl enabled show | shows if IP filter enabled |
ipacl filter {ipacl_num} set "{dns_name}" | sets IP filter {ipacl_num} |
ipacl filter {ipacl_num} show | shows IP filter {ipacl_num} |
linesensor | enters cmd group "linesensor" |
linesensor all {field_list} show | shows energy sensors according field list of all line sensors |
linesensor {line_num} {field_list} show | shows energy sensors according field list of one line sensor |
linesensor {line_num} {energy_sensor} value show | shows energy sensor of given line |
linesensor {line_num} ovp show | show state of Overvoltage Protection |
linesensor {line_num} counter reset | resets energy metering counter |
linesensor {line_num} label set "{name}" | sets line meter to label |
linesensor {line_num} label show | shows label of line meter |
linesensor {line_num} {energy_sensor} events set {OFF=0|ON=1} | enables events on/off |
linesensor {line_num} {energy_sensor} events show | shows if events are enabled |
linesensor {line_num} {energy_sensor} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER =5}" | enables different event types |
linesensor {line_num} {energy_sensor} events type show | shows what event types are enabled |
linesensor {line_num} {energy_sensor} events beeper mode set {CONTINOUS=0| INTERMITTENT=1} | sets beeper tone |
linesensor {line_num} {energy_sensor} events beeper mode show | shows beeper tone |
linesensor {line_num} {energy_sensor} maxval set {float} | sets maximum value for line meter |
linesensor {line_num} {energy_sensor} maxval show | shows maximum value for line meter |
linesensor {line_num} {energy_sensor} minval set {float} | sets minimum value for line meter |
linesensor {line_num} {energy_sensor} minval show | shows minimum value for line meter |
linesensor {line_num} {energy_sensor} hyst set {float} | sets hysterese value for line meter |
linesensor {line_num} {energy_sensor} hyst show | shows hysterese value for line meter |
linesensor {line_num} {energy_sensor} publish mode set {NONE=0|INTERVAL=1|DELTA=2| INTERV_DELTA=3} | sets publish mode |
linesensor {line_num} {energy_sensor} publish mode show | shows publish mode |
linesensor {line_num} {energy_sensor} publish mqtt retain set {OFF=0|ON=1} | sets mqtt retain |
linesensor {line_num} {energy_sensor} publish mqtt retain show | shows if mqtt retain set |
linesensor {line_num} {energy_sensor} publish timer set {num_secs} | sets publish time interval |
linesensor {line_num} {energy_sensor} publish timer show | shows publish time interval |
linesensor {line_num} {energy_sensor} publish delta set {float} | sets publish delta value |
linesensor {line_num} {energy_sensor} publish delta show | shows publish delta value |
linesensor {line_num} {energy_sensor}
{BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2| BELOWMAX=3} port set {port_num} |
sets Port for Power Port Switching actions |
linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2|
BELOWMAX=3} port show |
shows Port for Power Port Switching actions |
linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2|
BELOWMAX=3} state set {OFF=0|ON=1| DISABLED=2} |
sets Port state for Power Port Switching actions |
linesensor {line_num} {energy_sensor} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2|
BELOWMAX=3} state show |
shows Port state for Power Port Switching actions |
linesensor {line_num} events set {OFF=0|ON=1} | LEGACY - enables events on/off |
linesensor {line_num} events show | LEGACY - shows if events are enabled |
linesensor {line_num} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2
,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_M QTT=8}" |
LEGACY - enables different event types |
linesensor {line_num} events type show | LEGACY - shows what event types are enabled |
linesensor {line_num} maxval set {float} | LEGACY - sets maximum value for line meter |
linesensor {line_num} maxval show | LEGACY - shows maximum value for line meter |
linesensor {line_num} minval set {float} | LEGACY - sets minimum value for line meter |
linesensor {line_num} minval show | LEGACY - shows minimum value for line meter |
linesensor {line_num} hyst set {float} | LEGACY - sets hysterese value for line meter |
linesensor {line_num} hyst show | LEGACY - shows hysterese value for line meter |
linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3}
port set {port_num} |
LEGACY - sets Port for Power Port Switching actions |
linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3}
port show |
LEGACY - shows Port for Power Port Switching actions |
linesensor {line_num} {BELOWMIN=0|ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3}
state set {OFF=0|ON=1|DISABLED=2} |
LEGACY - sets Port state for Power Port Switching actions |
linesensor {line_num} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3}
state show |
LEGACY - shows Port state for Power Port
Switching actions |
linesensor beeper set {OFF=0|ON=1} | enables beeper for line meter alarms |
linesensor beeper show | shows if beeper for line meter alarms is enabled |
modbus | enters cmd group "modbus" |
modbus enabled set <off=0/on=1> | enables Modbus TCP support |
modbus enabled show | shows if Modbus is enabled |
modbus port set <ip_port> | sets Modbus TCP port |
modbus port show | shows Modbus TCP port |
mqtt | enters cmd group "mqtt" |
mqtt {broker_idx} enabled set {OFF=0|ON=1} | enable mqtt |
mqtt {broker_idx} enabled show | shows if mqtt enabled |
mqtt {broker_idx} server set "{dns_name}" | sets broker name |
mqtt {broker_idx} server show | shows broker name |
mqtt {broker_idx} tls enabled set {OFF=0|ON=1} | enable TLS |
mqtt {broker_idx} tls enabled show | shows if TLS enabled |
mqtt {broker_idx} port set {ip_port} | set broker TCP/IP port |
mqtt {broker_idx} port show | shows broker TCP/IP port |
mqtt {broker_idx} user set "{username}" | sets username |
mqtt {broker_idx} user show | shows username |
mqtt {broker_idx} passwd set "{passwd}" | sets password |
mqtt {broker_idx} passwd hash set "{passwd}" | sets hashed passwd |
mqtt {broker_idx} client set "{name}" | sets client name |
mqtt {broker_idx} client show | shows client name |
mqtt {broker_idx} qos set {QOS0=0|QOS1=1} | sets QoS level |
mqtt {broker_idx} qos show | shows QoS level |
mqtt {broker_idx} keepalive set {num_secs} | sets keep-alive time |
mqtt {broker_idx} keepalive show | shows keep-alive time |
mqtt {broker_idx} topic set "{name}" | sets topic prefix |
mqtt {broker_idx} topic show | shwos topic prefix |
mqtt {broker_idx} console enabled set {OFF=0| ON=1} | permit console cmds |
mqtt {broker_idx} console enabled show | shows if console cmds allowed |
mqtt {broker_idx} device data timer set {num_secs} | sets telemetry interval |
mqtt {broker_idx} device data timer show | shows telemetry interval |
port | enters cmd group "port" |
port {port_num} state set {OFF=0|ON=1} | sets port to new state |
port {port_num} state show | shows port state |
port all state set "{port_list}" {OFF=0|ON=1} | sets several ports in one cmd - e.g. port all state set "1,3,5" 1 |
port all state {MODE0=0|MODE1=1|MODE2=2} show | shows all port states in 3 different view modes |
port all set {OFF=0|ON=1|OFF_REV=2|ON_REV=3} | switch all ports on/off forward or reverse |
port restart all set {REINIT=0| OFF_REV_REINIT=1,OFF_REINIT=2} | reinit coldstart sequence (optional first all off) |
port {port_num} reset | start reset sequence for port |
port {port_num} toggle | toggles port |
port {port_num} batch set {OFF=0|ON=1} wait {num_secs} {OFF=0|ON=1} | starts batch mode for port |
port {port_num} batch cancel | cancels batch mode |
port {port_num} label set "{name}" | sets port label name |
port {port_num} label show | shows port label name |
port {port_num} initstate coldstart set {OFF=0| ON=1|REMEMBER=2} | sets port coldstart initialization |
port {port_num} initstate coldstart show | shows port coldstart initialization |
port {port_num} initstate delay set {num} | sets port init delay |
port {port_num} initstate delay show | shows port init delay |
port {port_num} repowerdelay set {num} | sets port repower delay |
port {port_num} repowerdelay show | shows port repower delay |
port {port_num} resettime set {num} | sets port reset duration |
port {port_num} resettime show | shows port reset duration |
port {port_num} watchdog enabled set {OFF=0| ON=1} | sets port watchdog to on/off |
port {port_num} watchdog enabled show | shows port watchdog state |
port {port_num} watchdog mode set {OFF=0| PORT_RESET=1|IP_MS=2|IP_MS_INV=3} | sets port watchdog mode |
port {port_num} watchdog mode show | shows port watchdog mode |
port {port_num} watchdog type set {WD_ICMP=0| WD_TCP=1} | sets port watchdog type |
port {port_num} watchdog type show | shows port watchdog type |
port {port_num} watchdog link down set {OFF=0| ON=1} | sets if watchdog active when eth link down |
port {port_num} watchdog link down show | shows if watchdog active when eth link down |
port {port_num} watchdog host set "{dns_name}" | sets port watchdog host target |
port {port_num} watchdog host show | shows port watchdog host target |
port {port_num} watchdog port set {ip_port} | sets port watchdog TCP port |
port {port_num} watchdog port show | shows port watchdog TCP port |
port {port_num} watchdog pinginterval set {num} | sets port watchdog ping interval |
port {port_num} watchdog pinginterval show | shows port watchdog ping interval |
port {port_num} watchdog pingretries set {num} | sets port watchdog ping retries |
port {port_num} watchdog pingretries show | shows port watchdog ping retries |
port {port_num} watchdog retrybooting set {OFF=0|ON=1} | sets port watchdog retry booting to on/off |
port {port_num} watchdog retrybooting show | shows port watchdog retry booting state |
port {port_num} watchdog bootretries set {num} | sets port watchdog retry boot timeout |
port {port_num} watchdog bootretries show | hows port watchdog retry boot timeout |
radius | enters cmd group "radius" |
radius {PRIMARY=0|SECONDARY=1} enabled set <off=0/on=1> | enables radius client |
radius {PRIMARY=0|SECONDARY=1} enabled show | show if radius client enabled |
radius {PRIMARY=0|SECONDARY=1} server set "<dns_name>" | sets radius server address |
radius {PRIMARY=0|SECONDARY=1} server show | shows radius server address |
radius {PRIMARY=0|SECONDARY=1} password set "{passwd}" | sets radius server shared secret |
radius {PRIMARY=0|SECONDARY=1} password hash set "{passwd}" | sets radius server crypted shared secret |
radius {PRIMARY=0|SECONDARY=1} auth timeout set {num_secs} | sets server request timeout |
radius {PRIMARY=0|SECONDARY=1} auth timeout show | shows server request timeout |
radius {PRIMARY=0|SECONDARY=1} retries set {0..99} | sets server number of retries |
radius {PRIMARY=0|SECONDARY=1} retries show | shows server number of retries |
radius chap enabled set <off=0/on=1> | enables CHAP |
radius chap enabled show | shows if CHAP is enabled |
radius message auth set <off=0/on=1> | enables request message authentication |
radius message auth show | shows if request message authentication is enabled |
radius default timeout set {num_secs} | sets default session timeout (when not returned as Session-Timout Attribute) |
radius default timeout show | shows default session timeout |
rcmb | enters cmd group "rcmb" |
rcmb {mod_num} state show | show rcmb module state |
rcmb {mod_num} {RMS=0|DC=1} value show | shows RMS/DC RC values |
rcmb {mod_num} {RMS=0|DC=1} output show | shows module RMS/DC outputs |
rcmb {mod_num} {RMS=0|DC=1} events set {OFF=0|ON=1} | enables sensor events on/off |
rcmb {mod_num} {RMS=0|DC=1} events show | shows if sensor events are enabled |
rcmb {mod_num} {RMS=0|DC=1} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_BEEPER=5,EVT_DISPLAY=6,EVT_CONS
OLE=7,EVT_MQTT=8}" |
enables different event types |
rcmb {mod_num} {RMS=0|DC=1} events type show | shows what event types are enabled |
rcmb {mod_num} {RMS=0|DC=1} events beeper mode set {CONTINOUS=0|INTERMITTENT=1} | sets beeper tone |
rcmb {mod_num} {RMS=0|DC=1} events beeper mode show | shows beeper tone |
rcmb {mod_num} {RMS=0|DC=1} maxval set {float} | sets maximum value for sensor |
rcmb {mod_num} {RMS=0|DC=1} maxval show | shows maximum value for sensor |
rcmb {mod_num} {RMS=0|DC=1} minval set {float} | sets minimum value for sensor |
rcmb {mod_num} {RMS=0|DC=1} minval show | shows minimum value for sensor |
rcmb {mod_num} {RMS=0|DC=1} hyst set {float} | sets hysterese value for sensor |
rcmb {mod_num} {RMS=0|DC=1} hyst show | shows hysterese value for sensor |
rcmb {mod_num} {RMS=0|DC=1} publish mode set {NONE=0|INTERVAL=1|DELTA=2|
INTERV_DELTA=3} |
sets publish mode |
rcmb {mod_num} {RMS=0|DC=1} publish mode show | shows publish mode |
rcmb {mod_num} {RMS=0|DC=1} publish mqtt retain set {OFF=0|ON=1} | sets mqtt retain |
rcmb {mod_num} {RMS=0|DC=1} publish mqtt retain show | shows if mqtt retain set |
rcmb {mod_num} {RMS=0|DC=1} publish timer set {num_secs} | sets publish time interval |
rcmb {mod_num} {RMS=0|DC=1} publish timer show | shows publish time interval |
rcmb {mod_num} {RMS=0|DC=1} publish delta set {float} | sets publish delta value |
rcmb {mod_num} {RMS=0|DC=1} publish delta show | shows publish delta value |
rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} port set {port_num} | sets power port for sensor values action |
rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} port show | shows power port for sensor values action |
rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0| ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} state set {OFF=0|ON=1|DISABLED=2} | sets state for sensor values action |
rcmb {mod_num} {RMS=0|DC=1} {BELOWMIN=0|
ABOVEMIN=1|ABOVEMAX=2|BELOWMAX=3} state show |
shows state for sensor values action |
snmp | enters cmd group "snmp" |
snmp port set {ip_port} | sets SNMP UDP port |
snmp port show | shows SNMP UDP port |
snmp snmpget enabled set {OFF=0|ON=1} | enables SNMP GET cmds on/off |
snmp snmpget enabled show | show if SNMP GET cmds are enabled |
snmp snmpset enabled set {OFF=0|ON=1} | enables SNMP SET cmds on/off |
snmp snmpset enabled show | show if SNMP SET cmds are enabled |
snmp snmpv2 enabled set {OFF=0|ON=1} | enables SNMP v2 on/off |
snmp snmpv2 enabled show | show if SNMP v2 is enabled |
snmp snmpv2 public set "{text}" | enables SNMP v3 on/off |
snmp snmpv2 public show | show if SNMP v3 isenabled |
snmp snmpv2 private set "{text}" | sets SNMP v2 public cummnity |
snmp snmpv2 private show | shows SNMP v2 public community |
snmp system {CONTACT=0|NAME=1| LOCATION=2} set "{text}" | sets sysLocation/sysName/sysContact |
snmp system {CONTACT=0|NAME=1|LOCATION=2} show | gets sysLocation/sysName/sysContact |
snmp snmpv3 enabled set {OFF=0|ON=1} | sets SNMP v2 private community |
snmp snmpv3 enabled show | shows SNMP v2 private community |
snmp snmpv3 username set "{text}" | sets SNMP v3 username |
snmp snmpv3 username show | shows SNMP v3 username |
snmp snmpv3 authalg set {NONE=0|MD5=1| SHA1=2|SHA256=3|SHA384=4|SHA512=5} | sets SNMP v3 authentication |
snmp snmpv3 authalg show | show SNMP v3 authentication algorithm |
snmp snmpv3 privalg set {NONE=0|DES=1| 3DES=2|AES128=3|AES192=4|AES256=5| AES192*=6|AES256*=7} | sets SNMP v3 privacy algorithm |
snmp snmpv3 privalg show | show SNMP v3 privacy algorithm |
snmp snmpv3 authpasswd set "{passwd}" | sets SNMP v3 authentication password |
snmp snmpv3 privpasswd set "{passwd}" | sets SNMP v3 privacy password |
snmp snmpv3 authpasswd hash set "{passwd}" | sets SNMP v3 authentication hashed password |
snmp snmpv3 privpasswd hash set "{passwd}" | sets SNMP v3 privacy hashed password |
snmp trap type set {NONE=0|V1=1|V2=2|V3=3} | sets type of SNMP traps |
snmp trap type show | show SNMP trap type |
snmp trap receiver {trap_num} set "{dns_name}" | sets address and port of SNMP trap receiver {trap_num} |
snmp trap receiver {trap_num} show | show address and port of SNMP trap receiver {trap_num} |
syslog | enters cmd group "syslog" |
syslog enabled set {OFF=0|ON=1} | enables syslog msgs on/off |
syslog enabled show | show if syslog enabled |
syslog server set "{dns_name}" | sets address of syslog server |
syslog server show | shows address of syslog server |
system | enters cmd group "system" |
system beeper manual set {OFF=0|ON=1} {millisec} | manually sets beeper with optional duration |
system beeper manual show | shows beeper state |
system restart | restarts device |
system fabsettings | restore fab settings and restart device |
system bootloader | enters bootloader mode |
system flushdns | flush DNS cache |
system uptime | number of seconds the device is running |
system name show | shows device name |
system version show | shows actual firmware version |
system display {disp_num} default extsensor {port_num} {sen_type} set {sen_field} | shows external sensor |
system display {disp_num} default linesensor {line_num} set {sen_field} | shows energy line sensor |
system display {disp_num} default set {BLANK=0,LOCAL_TIME=1,UTC_TIME=2} | shows other contents |
system display {disp_num} default show | shows default setting for display |
system display default hash set "{data}" | sets hashed display setting |
system display default hash show | shows hashed display setting |
system sensor {VSYS=0|VAUX=1|VMAIN=2| TCPU=3} show | shows internal sensors if model supports it |
system {SWITCH_PORT=0} events set {OFF=0| ON=1} | enable global events |
system {SWITCH_PORT=0} events show | shows if global events enabled |
system {SWITCH_PORT=0} events type set "{EVT_SYSLOG=0,EVT_SNMP=1,EVT_EMAIL=2,EVT_SMS=3,EVT_GSMEMAIL=4,EVT_BEEPER
=5,EVT_DISPLAY=6,EVT_CONSOLE=7,EVT_MQTT=8}" |
enables different event types |
system {SWITCH_PORT=0} events type show | shows what event types are enabled |
system {SWITCH_PORT=0} events mqtt retain set {OFF=0|ON=1} | sets mqtt retain |
system {SWITCH_PORT=0} events mqtt retain show | shows if mqtt retain set |
system panel enabled set {OFF=0|ON=1} | blocks panel buttons when not enabled |
system panel enabled show | shows if panel buttons are enabled |
system panel port all set {OFF=0|ON=1} | enable siwtch all relays from panel buttons |
system panel port all show | shows if siwtch all relays from panel buttons enabled |
timer | enters cmd group "timer" |
timer enabled set {OFF=0|ON=1} | enables timer functions |
timer enabled show | shows if timer a enabled |
timer syslog facility set {0..23} | sets facility level for timer syslog |
timer syslog facility show | shows facility level for timer syslog |
timer syslog verbose set {0..7} | sets verbose level for timer syslog |
timer syslog verbose show | shows verbose level for timer syslog |
timer {rule_num} enabled set {OFF=0|ON=1} | enables rule |
timer {rule_num} enabled show | shows if rule is enabled |
timer {rule_num} name set "{name}" | sets name of rule |
timer {rule_num} name show | shows name of rule |
timer {rule_num} {FROM=0|UNTIL=1} set "{yyyymm-dd}" | sets date range of rule |
timer {rule_num} {FROM=0|UNTIL=1} show | shows date range of rule |
timer {rule_num} trigger jitter set {0..65535} | sets jitter for rule |
timer {rule_num} trigger jitter show | show jitter of rule |
timer {rule_num} trigger random set {0..100} | sets probability for rule |
timer {rule_num} trigger random show | shows rule probability |
timer {rule_num} trigger {HOUR=0|MIN=1|SEC=2| DAY=3|MON=4|DOW=5} set "{time_date_list}" | sets time date list |
timer {rule_num} trigger {HOUR=0|MIN=1|SEC=2| DAY=3|MON=4|DOW=5} show | shows time date list |
timer {rule_num} action mode set {SWITCH=1| CLI=2} | sets switch or cli cmd |
timer {rule_num} action mode show | shows if switch or cli cmd |
timer {rule_num} action {SWITCH1=0| SWITCH2=1} {OFF=0|ON=1} set "{port_list}" | sets port list for switch cmd |
timer {rule_num} action {SWITCH1=0| SWITCH2=1} {OFF=0|ON=1} show | shows port list for switch cmd |
timer {rule_num} action delay set {0..65535} | delay between cmds |
timer {rule_num} action delay show | shows delay between cmds |
timer {rule_num} action console set "{cmd}" | sets cmd string |
timer {rule_num} action console show | shows cmd string |
timer {rule_num} action hash set "{data}" | sets action binary form |
timer {rule_num} action hash show | shows action binary form |
timer {rule_num} delete | delete one timer |
timer delete all | delete all timer |
vt100 | enters cmd group "vt100" |
vt100 echo set {OFF=0|ON=1} | sets console echo state |
vt100 echo show | shows console echo state |
vt100 numeric set {OFF=0|ON=1} | sets numeric mode |
vt100 numeric show | shows numeric mode state |
vt100 reset | resets terminal |