Last modified by Mengting Qiu on 2025/06/04 18:42

From version 230.5
edited by Xiaoling
on 2024/12/09 09:42
Change comment: There is no comment for this version
To version 230.11
edited by Xiaoling
on 2024/12/09 10:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -836,8 +836,8 @@
836 836  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
837 837  
838 838  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
839 -|(% style="width:50px" %)**bit 7**|(% style="width:50px" %)**bit 6**|(% style="width:50px" %)**bit 5**|(% style="width:50px" %)**bit 4**|(% style="width:90px" %)**bit 3**|(% style="width:80px" %)**bit 2**|(% style="width:90px" %)**bit 1**|(% style="width:80px" %)**bit 0**
840 -|(% style="width:64px" %)N/A|(% style="width:68px" %)N/A|(% style="width:63px" %)N/A|(% style="width:66px" %)N/A|(% style="width:109px" %)DI2_STATUS|(% style="width:93px" %)DI2_FLAG|(% style="width:109px" %)DI1_STATUS|(% style="width:99px" %)DI1_FLAG
839 +|(% style="width:50px" %)**bit 7**|(% style="width:50px" %)**bit 6**|(% style="width:50px" %)**bit 5**|(% style="width:50px" %)**bit 4**|(% style="width:90px" %)**bit 3**|(% style="width:80px" %)**bit 2**|(% style="width:90px" %)**bit 1**|(% style="width:95px" %)**bit 0**
840 +|(% style="width:49px" %)N/A|(% style="width:53px" %)N/A|(% style="width:53px" %)N/A|(% style="width:55px" %)N/A|(% style="width:99px" %)DI2_STATUS|(% style="width:83px" %)DI2_FLAG|(% style="width:98px" %)DI1_STATUS|(% style="width:85px" %)DI1_FLAG
841 841  
842 842  * Each bit shows which status has been triggered on this uplink.
843 843  
... ... @@ -868,6 +868,7 @@
868 868  
869 869  == 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
870 870  
871 +
871 871  (((
872 872  You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks.
873 873  )))
... ... @@ -882,19 +882,25 @@
882 882  
883 883  * (% style="color:blue" %)**Sensor-related commands**(%%):
884 884  
886 +
885 885  === 3.4.1 Common commands ===
886 886  
889 +
887 887  (((
888 888  These are available for each sensors and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s.
892 +
893 +
889 889  )))
890 890  
891 891  === 3.4.2 Sensor-related commands ===
892 892  
898 +
893 893  These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
894 894  
895 895  
896 896  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
897 897  
904 +
898 898  Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes.
899 899  
900 900  (% style="color:#037691" %)**AT command**
... ... @@ -941,6 +941,7 @@
941 941  
942 942  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
943 943  
951 +
944 944  Sets the working mode.
945 945  
946 946  (% style="color:#037691" %)**AT command**
... ... @@ -996,8 +996,10 @@
996 996  Sets the device to working mode 2 (Double DI Counting + DO + RO)
997 997  )))
998 998  
1007 +
999 999  ==== 3.4.2.3 Request an uplink from the device ====
1000 1000  
1010 +
1001 1001  Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
1002 1002  
1003 1003  (% style="color:#037691" %)**AT command**
... ... @@ -1015,8 +1015,10 @@
1015 1015  Requests an uplink from LT-22222-L.
1016 1016  )))
1017 1017  
1028 +
1018 1018  ==== 3.4.2.4 Enable/Disable Trigger Mode ====
1019 1019  
1031 +
1020 1020  Enable or disable the trigger mode for the current working mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]).
1021 1021  
1022 1022  (% style="color:#037691" %)**AT Command**
... ... @@ -1052,8 +1052,10 @@
1052 1052  Enable trigger mode for the current working mode
1053 1053  )))
1054 1054  
1067 +
1055 1055  ==== 3.4.2.5 Request trigger settings ====
1056 1056  
1070 +
1057 1057  Requests the trigger settings.
1058 1058  
1059 1059  (% style="color:#037691" %)**AT Command:**
... ... @@ -1071,8 +1071,10 @@
1071 1071  Uplinks the trigger settings.
1072 1072  )))
1073 1073  
1088 +
1074 1074  ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ====
1075 1075  
1091 +
1076 1076  Enable or disable DI1/DI2/DI3 as a trigger.
1077 1077  
1078 1078  (% style="color:#037691" %)**AT Command**
... ... @@ -1125,11 +1125,12 @@
1125 1125  Enable DI1 trigger, disable DI2 trigger
1126 1126  )))
1127 1127  
1144 +
1128 1128  ==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ====
1129 1129  
1147 +
1130 1130  Sets DI1 or DI3 (for LT-33222-L) as a trigger.
1131 1131  
1132 -
1133 1133  (% style="color:#037691" %)**AT Command**
1134 1134  
1135 1135  (% border="2" style="width:500px" %)
... ... @@ -1164,11 +1164,12 @@
1164 1164  Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms.
1165 1165  )))
1166 1166  
1184 +
1167 1167  ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ====
1168 1168  
1187 +
1169 1169  Sets DI2 as a trigger.
1170 1170  
1171 -
1172 1172  (% style="color:#037691" %)**AT Command**
1173 1173  
1174 1174  (% border="2" style="width:500px" %)
... ... @@ -1198,8 +1198,10 @@
1198 1198  )))
1199 1199  |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64**
1200 1200  
1219 +
1201 1201  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
1202 1202  
1222 +
1203 1203  Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1204 1204  
1205 1205  (% style="color:#037691" %)**AT Command**
... ... @@ -1247,8 +1247,10 @@
1247 1247  )))
1248 1248  |(% style="width:104px" %)Note|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1249 1249  
1270 +
1250 1250  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1251 1251  
1273 +
1252 1252  Sets the current trigger based on the AV port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1253 1253  
1254 1254  (% style="color:#037691" %)**AT Command**
... ... @@ -1294,8 +1294,10 @@
1294 1294  )))
1295 1295  |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1296 1296  
1319 +
1297 1297  ==== 3.4.2.11 Trigger – Set minimum interval ====
1298 1298  
1322 +
1299 1299  Sets the AV and AC trigger minimum interval. The device won't respond to a second trigger within this set time after the first trigger.
1300 1300  
1301 1301  (% style="color:#037691" %)**AT Command**
... ... @@ -1329,8 +1329,10 @@
1329 1329  )))
1330 1330  |(% style="width:112px" %)Note|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.**
1331 1331  
1356 +
1332 1332  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1333 1333  
1359 +
1334 1334  Controls the digital outputs DO1, DO2, and DO3
1335 1335  
1336 1336  (% style="color:#037691" %)**AT Command**
... ... @@ -1379,6 +1379,7 @@
1379 1379  )))
1380 1380  )))
1381 1381  
1408 +
1382 1382  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1383 1383  
1384 1384  
... ... @@ -1493,6 +1493,7 @@
1493 1493  
1494 1494  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1495 1495  
1523 +
1496 1496  Controls the relay output time.
1497 1497  
1498 1498  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1690,8 +1690,10 @@
1690 1690  )))
1691 1691  |(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01**
1692 1692  
1721 +
1693 1693  ==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ====
1694 1694  
1724 +
1695 1695  This command allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds.
1696 1696  
1697 1697  (% style="color:#037691" %)**AT Command**
... ... @@ -1721,8 +1721,10 @@
1721 1721  Sets the device to save its counting results to the memory every 60 seconds.
1722 1722  )))
1723 1723  
1754 +
1724 1724  ==== 3.4.2.20 Reset saved RO and DO states ====
1725 1725  
1757 +
1726 1726  This command allows you to reset the saved relay output (RO) and digital output (DO) states when the device joins the network. By configuring this setting, you can control whether the device should retain or reset the relay states after a reset and rejoin to the network.
1727 1727  
1728 1728  (% style="color:#037691" %)**AT Command**
... ... @@ -1770,8 +1770,10 @@
1770 1770  After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1771 1771  )))
1772 1772  
1805 +
1773 1773  ==== 3.4.2.21 Encrypted payload ====
1774 1774  
1808 +
1775 1775  This command allows you to configure whether the device should upload data in an encrypted format or in plaintext. By default, the device encrypts the payload before uploading. You can toggle this setting to either upload encrypted data or transmit it without encryption.
1776 1776  
1777 1777  (% style="color:#037691" %)**AT Command:**
... ... @@ -1801,6 +1801,7 @@
1801 1801  
1802 1802  ==== 3.4.2.22 Get sensor value ====
1803 1803  
1838 +
1804 1804  This command allows you to retrieve and optionally uplink sensor readings through the serial port.
1805 1805  
1806 1806  (% style="color:#037691" %)**AT Command**
... ... @@ -1830,6 +1830,7 @@
1830 1830  
1831 1831  ==== 3.4.2.23 Resetting the downlink packet count ====
1832 1832  
1868 +
1833 1833  This command manages how the node handles mismatched downlink packet counts. It offers two modes: one disables the reception of further downlink packets if discrepancies occur, while the other resets the downlink packet count to align with the server, ensuring continued communication.
1834 1834  
1835 1835  (% style="color:#037691" %)**AT Command**
... ... @@ -1906,8 +1906,10 @@
1906 1906  Set DISMACANS=1
1907 1907  )))
1908 1908  
1945 +
1909 1909  ==== 3.4.2.25 Copy downlink to uplink ====
1910 1910  
1948 +
1911 1911  This command enables the device to immediately uplink the payload of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1912 1912  
1913 1913  (% style="color:#037691" %)**AT Command**(%%)**:**
... ... @@ -1933,6 +1933,7 @@
1933 1933  
1934 1934  ==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ====
1935 1935  
1974 +
1936 1936  This command is used to query key information about the device, including its firmware version, frequency band, sub band, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device.
1937 1937  
1938 1938  * (((
... ... @@ -1951,10 +1951,13 @@
1951 1951  
1952 1952  == 3.5 Integrating with ThingsEye.io ==
1953 1953  
1993 +
1954 1954  The Things Stack application supports integration with ThingsEye.io. Once integrated, ThingsEye.io acts as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic.
1955 1955  
1996 +
1956 1956  === 3.5.1 Configuring The Things Stack ===
1957 1957  
1999 +
1958 1958  We use The Things Stack Sandbox in this example:
1959 1959  
1960 1960  * In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added.
... ... @@ -1968,8 +1968,10 @@
1968 1968  
1969 1969  [[image:tts-mqtt-integration.png]]
1970 1970  
2013 +
1971 1971  === 3.5.2 Configuring ThingsEye.io ===
1972 1972  
2016 +
1973 1973  The ThingsEye.io IoT platform is not open for self-registration at the moment. If you are interested in testing the platform, please send your project information to admin@thingseye.io, and we will create an account for you.
1974 1974  
1975 1975  * Login to your [[ThingsEye.io >>https://thingseye.io]]account.
... ... @@ -2039,6 +2039,7 @@
2039 2039  
2040 2040  ==== 3.5.2.1 Viewing integration details ====
2041 2041  
2086 +
2042 2042  Click on your integration from the list. The **Integration details** window will appear with the **Details **tab selected. The **Details **tab shows all the settings you have provided for this integration.
2043 2043  
2044 2044  [[image:integration-details.png]]
... ... @@ -2050,8 +2050,10 @@
2050 2050  See also [[ThingsEye documentation>>https://wiki.thingseye.io/xwiki/bin/view/Main/]].
2051 2051  {{/info}}
2052 2052  
2053 -==== **3.5.2.2 Viewing events** ====
2054 2054  
2099 +==== 3.5.2.2 Viewing events ====
2100 +
2101 +
2055 2055  The **Events **tab displays all the uplink messages from the LT-22222-L.
2056 2056  
2057 2057  * Select **Debug **from the **Event type** dropdown.
... ... @@ -2065,13 +2065,15 @@
2065 2065  [[image:thingseye-json.png]]
2066 2066  
2067 2067  
2068 -==== **3.5.2.3 Deleting an integration** ====
2115 +==== 3.5.2.3 Deleting an integration ====
2069 2069  
2117 +
2070 2070  If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
2071 2071  
2072 2072  
2073 2073  ==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ====
2074 2074  
2123 +
2075 2075  This will be added soon.
2076 2076  
2077 2077