MQTT client¶
/stm.cgi?mqtt¶
Configure the MQTT client settings.
GET /stm.cgi?mqtt=A*B*C*D*E*F*G*H*I
Adetermines whether certain flags are set, integer0-3(2 bits 20, 21 sequentially for Enable MQTT, Enable authentication)Bis the host of the MQTT server, stringCis the port of the MQTT server, integerDis the username for authentication, stringEis the password for authentication, stringFis a prefix - the initial fragment of topics used by LK to send and receive messages, a stringGis the period of sending data in seconds, integerHis the Keep Alive parameter, integerIdetermines which readings should be send periodically, chain of 76 integers0-1{ "0": "INPA1", "1": "INPA2", "2": "INPA3", "3": "INPA4", "4": "INPA5", "5": "INPA6", "6": "VCC", "7": "INPA1R", "8": "INPA2R", "9": "INPA3R", "10": "INPA4R", "11": "INPA5R", "12": "INPA6R", "13": "TEMP", "14": "T1", "15": "H1", "16": "DS1", "17": "DS2", "18": "DS3", "19": "DS4", "20": "DS5", "21": "DS6", "22": "DIFF1", "23": "DIFF2", "24": "duralux", "25": "duraluxTemperature", "26": "duraluxPvVolt", "27": "duraluxGridCurrent", "28": "duraluxGridVolt", "29": "duraluxGridFreq", "30": "duraluxWatt", "31": "duraluxGridZero", "32": "duraluxEnergy", "33": "duraluxTotalWorkHour", "34": "duraluxCurrentState", "35": "INPD1", "36": "INPD2", "37": "INPD3", "38": "INPD4", "39": "OUT0", "40": "OUT1", "41": "OUT2", "42": "OUT3", "43": "OUT4", "44": "OUT5", "45": "POWER1", "46": "POWER2", "47": "POWER3", "48": "POWER4", "49": "ENERGY1", "50": "ENERGY2", "51": "ENERGY3", "52": "ENERGY4", "53": "PM2.5", "54": "PM10.0", "55": "P1", "56": "CO2", "57": "DS7", "58": "DS8", "59": "PM1.0", "60": "PM4.0", "61": "sdm1", "62": "sdm2", "63": "sdm3", "64": "sdm4", "65": "sdm5", "66": "sdm6", "67": "sdm7", "68": "sdm8", "69": "sdm9", "70": "sdm10", "71": "sdm11", "72": "sdm12", "73": "sdm13", "74": "sdm14", "75": "DIFF3", }
Example:
http://192.168.1.100/stm.cgi?mqtt=0*mqtt.ats.pl*1883*login*password*prefix*300*300*1000000000000000000000000000000000000000000000000000000000000000000000000000