Changes for page 2 Script

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

From version 13.1
edited by Leo Wei
on 2022/07/09 17:41
Change comment: There is no comment for this version
To version 14.1
edited by Leo Wei
on 2022/07/09 17:42
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,7 +798,6 @@
798 798  
799 799  
800 800  
801 -
802 802  |
803 803  | |[[image:image-20220709165402-11.png]]
804 804  
... ... @@ -805,7 +805,6 @@
805 805  
806 806  
807 807  
808 -
809 809  1. **Test with MQTT.fx tool**
810 810  
811 811  Click “View Setting” to get the “Broker Adress”
... ... @@ -822,7 +822,6 @@
822 822  
823 823  
824 824  
825 -
826 826  |
827 827  | |[[image:image-20220709165402-14.png]]
828 828  
... ... @@ -865,7 +865,6 @@
865 865  |
866 866  | |[[image:image-20220709165402-20.png]]
867 867  
868 -
869 869  sprint = print
870 870  
871 871  ~-~-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)