Autor Thema: HTTPMOD/Device für tp-link TL-SG108PE  (Gelesen 638 mal)

Offline GunterB

  • New Member
  • *
  • Beiträge: 23
HTTPMOD/Device für tp-link TL-SG108PE
« am: 01 Juli 2021, 13:03:24 »
defmod SWITCH3 HTTPMOD http://192.168.0.100/
attr SWITCH3 userattr get02Regex
attr SWITCH3 enableCookies 1
attr SWITCH3 get01Name PortSettingRpm
attr SWITCH3 get01Poll 1
attr SWITCH3 get01PollDelay 300
attr SWITCH3 get01URL http://192.168.0.100/PortSettingRpm.htm
attr SWITCH3 get02Name SystemInfoRpm
attr SWITCH3 get02Poll 1
attr SWITCH3 get02PollDelay 300
attr SWITCH3 get02URL http://192.168.0.100/SystemInfoRpm.htm
attr SWITCH3 get03Name PortStatisticsRpm
attr SWITCH3 get03Poll 1
attr SWITCH3 get03PollDelay 300
attr SWITCH3 get03URL http://192.168.0.100/PortStatisticsRpm.htm
attr SWITCH3 reAuthRegex logonInfo
attr SWITCH3 reading01Name MAC_Address
attr SWITCH3 reading01Regex macStr\:\[\n?\"([0-9A-Fa-f\:]+)\"\n?\]
attr SWITCH3 reading02Name IP_Address
attr SWITCH3 reading02Regex ipStr\:\[\n?\"([0-9.]+)\"\n?\]
attr SWITCH3 reading03Name Firmware
attr SWITCH3 reading03Regex firmwareStr\:\[\n?\"([0-9a-zA-z. ]+)\"\n?\]
attr SWITCH3 reading04Name Hardware
attr SWITCH3 reading04Regex hardwareStr\:\[\n?\"([\w -.]+?)\"\n?\]
attr SWITCH3 reading05Name Name
attr SWITCH3 reading05Regex descriStr\:\[\n?\"([\w]+)\"\n?\]
attr SWITCH3 reading06Name Netmask
attr SWITCH3 reading06Regex netmaskStr\:\[\n?\"([0-9.]+)\"\n?\]
attr SWITCH3 reading07Name Gateway
attr SWITCH3 reading07Regex gatewayStr\:\[\n?\"([0-9.]+)\"\n?\]
attr SWITCH3 reading08Name State
attr SWITCH3 reading08Regex state\:\n?\"?(\[[0-9,]+\])\"?\n?
attr SWITCH3 reading09Name Link_Status
attr SWITCH3 reading09Regex link_status\:\n?\"?(\[[0-9,]+\])\"?\n?
attr SWITCH3 reading10Name Pakets
attr SWITCH3 reading10Regex pkts\:\n?\"?(\[[0-9,]+\])\"?\n?
attr SWITCH3 room Netzwerk
attr SWITCH3 sid01Data username=admin&password=[psw]&cpassword=&logon=Login
attr SWITCH3 sid01IgnoreRedirects 1
attr SWITCH3 sid01URL http://192.168.0.100/logon.cgi
attr SWITCH3 stateFormat Link_Status
« Letzte Änderung: 23 Juli 2021, 09:35:02 von GunterB »

 

decade-submarginal