Changes for page 2 Script

Last modified by Devin Chen on 2025/06/06 14:03

From version 11.1
edited by Jim(Forgotten)
on 2022/07/09 17:01
Change comment: There is no comment for this version
To version 12.1
edited by Jim(Forgotten)
on 2022/07/09 17:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -256,15 +256,13 @@
256 256   sv=addr_getshort("@SV Silicone")/10,
257 257   pv=addr_getshort("@PV Silicone")/10,
258 258   product1=addr_getshort("@Product 1")/10,
259 -
260 - product2=addr_getshort("@Product 2")/10,
259 +\\ product2=addr_getshort("@Product 2")/10,
261 261   product3=addr_getshort("@Product 3")/10,
262 262   product4=addr_getshort("@Product 4")/10,
263 263   ice1=addr_getshort("@Ice condenser 1")/10,
264 264   ice2=addr_getshort("@Ice condenser 2")/10,
265 265   vacuum=addr_getfloat("@Vacuum")
266 -
267 - }
265 +\\ }
268 268   local jsAlarm = { HPC = addr_getbit("@B_25395#W0.00"),
269 269   ODPC = addr_getbit("@B_25395#W0.01"),
270 270   MTPC=addr_getbit("@B_25395#W0.02"),
... ... @@ -279,7 +279,7 @@
279 279   FSE=addr_getbit("@B_25395#W2.04"),
280 280   AVVSVV=addr_getbit("@B_25395#W1.12"),
281 281   ICHT=addr_getbit("@B_25395#W3.06")
282 -
280 +
283 283   }
284 284  \\ ~-~- ("@B_25395#CIO1.02")
285 285   mq.m:publish("mqtt-v-box-epsilon-fd300", json.encode(js) , 0, 0)
... ... @@ -723,7 +723,7 @@
723 723  
724 724  [[image:image-20220709165402-4.png]]
725 725  
726 -{{code language="LUA"}}
724 +{{code language="java"}}
727 727  {
728 728  
729 729    "Version": "2012-10-17",
... ... @@ -765,7 +765,6 @@
765 765  |
766 766  | |[[image:image-20220709165402-6.png]]
767 767  
768 -
769 769  |
770 770  | |[[image:image-20220709165402-7.png]]
771 771  
... ... @@ -795,7 +795,6 @@
795 795  
796 796  
797 797  
798 -
799 799  |
800 800  | |[[image:image-20220709165402-11.png]]
801 801  
... ... @@ -804,7 +804,6 @@
804 804  
805 805  
806 806  
807 -
808 808  1. **Test with MQTT.fx tool**
809 809  
810 810  Click “View Setting” to get the “Broker Adress”
... ... @@ -823,7 +823,6 @@
823 823  
824 824  
825 825  
826 -
827 827  |
828 828  | |[[image:image-20220709165402-14.png]]
829 829  
... ... @@ -836,7 +836,6 @@
836 836  | |[[image:image-20220709165402-15.png]]
837 837  
838 838  
839 -
840 840  Publish message to topic “TEST”
841 841  
842 842  
... ... @@ -855,7 +855,6 @@
855 855  | |[[image:image-20220709165402-18.png]]
856 856  
857 857  
858 -
859 859  1. **Configurate in CloudTool**
860 860  
861 861  Copy the same setting in MQTT.fx to MQTT configuration
... ... @@ -872,7 +872,6 @@
872 872  
873 873  
874 874  
875 -
876 876  sprint = print
877 877  
878 878  ~-~-Cloud mode interface to obtain the MQTT information configured by the cloud platform: (5 returns, namely the server address, client ID, connection table, last word table, certificate table)
... ... @@ -1060,5 +1060,3 @@
1060 1060  
1061 1061  |
1062 1062  | |[[image:image-20220709165402-21.png]]
1063 -
1064 -