Changes for page 2 Script

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

From version 14.1
edited by Leo Wei
on 2022/07/09 17:42
Change comment: There is no comment for this version
To version 13.1
edited by Leo Wei
on 2022/07/09 17:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -46,7 +46,7 @@
46 46  local tag = addr_getbit("@Tag")
47 47  ------lasting time------
48 48  if temp1 > 5 and temp2 > 10 and temp3 < 20 then
49 -    timer = timer + 1
49 +    timer = timer + 1
50 50      addr_setword("@Timer",timer)
51 51  else
52 52      timer = 0
... ... @@ -798,6 +798,7 @@
798 798  
799 799  
800 800  
801 +
801 801  |
802 802  | |[[image:image-20220709165402-11.png]]
803 803  
... ... @@ -804,6 +804,7 @@
804 804  
805 805  
806 806  
808 +
807 807  1. **Test with MQTT.fx tool**
808 808  
809 809  Click “View Setting” to get the “Broker Adress”
... ... @@ -820,6 +820,7 @@
820 820  
821 821  
822 822  
825 +
823 823  |
824 824  | |[[image:image-20220709165402-14.png]]
825 825  
... ... @@ -862,6 +862,7 @@
862 862  |
863 863  | |[[image:image-20220709165402-20.png]]
864 864  
868 +
865 865  sprint = print
866 866  
867 867  ~-~-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)