Changes for page 2 Script
Last modified by Devin Chen on 2025/06/06 14:03
From version 12.1
edited by Jim(Forgotten)
on 2022/07/09 17:02
on 2022/07/09 17:02
Change comment:
There is no comment for this version
To version 6.1
edited by Jim(Forgotten)
on 2022/07/09 16:45
on 2022/07/09 16:45
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 22 removed)
- image-20220709165226-1.png
- image-20220709165402-1.png
- image-20220709165402-10.png
- image-20220709165402-11.png
- image-20220709165402-12.png
- image-20220709165402-13.png
- image-20220709165402-14.png
- image-20220709165402-15.png
- image-20220709165402-16.png
- image-20220709165402-17.png
- image-20220709165402-18.png
- image-20220709165402-19.png
- image-20220709165402-2.png
- image-20220709165402-20.png
- image-20220709165402-21.png
- image-20220709165402-3.png
- image-20220709165402-4.png
- image-20220709165402-5.png
- image-20220709165402-6.png
- image-20220709165402-7.png
- image-20220709165402-8.png
- image-20220709165402-9.png
Details
- Page properties
-
- Content
-
... ... @@ -256,13 +256,15 @@ 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 -\\ product2=addr_getshort("@Product 2")/10, 259 + 260 + product2=addr_getshort("@Product 2")/10, 260 260 product3=addr_getshort("@Product 3")/10, 261 261 product4=addr_getshort("@Product 4")/10, 262 262 ice1=addr_getshort("@Ice condenser 1")/10, 263 263 ice2=addr_getshort("@Ice condenser 2")/10, 264 264 vacuum=addr_getfloat("@Vacuum") 265 -\\ } 266 + 267 + } 266 266 local jsAlarm = { HPC = addr_getbit("@B_25395#W0.00"), 267 267 ODPC = addr_getbit("@B_25395#W0.01"), 268 268 MTPC=addr_getbit("@B_25395#W0.02"), ... ... @@ -277,7 +277,7 @@ 277 277 FSE=addr_getbit("@B_25395#W2.04"), 278 278 AVVSVV=addr_getbit("@B_25395#W1.12"), 279 279 ICHT=addr_getbit("@B_25395#W3.06") 280 - 282 + 281 281 } 282 282 \\ ~-~- ("@B_25395#CIO1.02") 283 283 mq.m:publish("mqtt-v-box-epsilon-fd300", json.encode(js) , 0, 0) ... ... @@ -704,85 +704,73 @@ 704 704 705 705 Login aws account and click“Connect an IoT device” 706 706 707 -[[image:image-20220709165 402-1.png]]709 +[[image:image-20220709163750-3.png]] 708 708 709 -[[image:image-20220709165 402-2.png]]711 +[[image:image-20220709163750-4.png]] 710 710 711 - 712 712 === **Create policy** === 713 713 714 714 Click “Secure”~-~-->“Policies”~-~-->“Create policy”~-~-->Click “Create” 715 715 716 -[[image:image-20220709165 402-3.png]]717 +[[image:image-20220709163750-5.png]] 717 717 718 718 Name the policy~-~-->Click “JSON”~-~-->Copy the following content~-~-->Click “Create” 719 719 720 -[[image:image-20220709165 402-5.png]]721 +[[image:image-20220709163750-7.png]] 721 721 722 -[[image:image-20220709165 402-4.png]]723 +[[image:image-20220709163750-6.png]] 723 723 724 -{{code language="java"}} 725 725 { 726 726 727 - 727 + "Version": "2012-10-17", 728 728 729 - 729 + "Statement": [ 730 730 731 - 731 + { 732 732 733 - 733 + "Effect": "Allow", 734 734 735 - 735 + "Action": [ 736 736 737 - 737 + "iot:Connect", 738 738 739 - 739 + "iot:Publish", 740 740 741 - 741 + "iot:Subscribe", 742 742 743 - 743 + "iot:Receive", 744 744 745 - 745 + "greengrass:Discover" 746 746 747 - 747 + ], 748 748 749 - 749 + "Resource": "*" 750 750 751 - 751 + } 752 752 753 - 753 + ] 754 754 755 755 } 756 -{{/code}} 757 757 758 - 1.**Create things**757 +=== **Create things** === 759 759 760 760 Click “Manage”~-~-->“Things”~-~-->“Create things”~-~-->“Create single thing” 761 761 761 +[[image:image-20220709163750-8.png]] 762 762 763 -| 764 -| |[[image:image-20220709165402-6.png]] 763 +[[image:image-20220709163750-9.png]] 765 765 766 -| 767 -| |[[image:image-20220709165402-7.png]] 768 - 769 -| 770 -| |[[image:image-20220709165402-8.png]] 771 - 772 772 Name the thing~-~-->Click “Next” 773 773 767 +[[image:image-20220709163750-10.png]] 774 774 775 775 Select the way to create certificate 776 776 771 +[[image:image-20220709163750-11.png]] 777 777 778 -| 779 -| |[[image:image-20220709165402-9.png]] 780 - 781 781 Select policy 782 782 783 783 784 -| 785 -| |[[image:image-20220709165402-10.png]] 786 786 787 787 788 788 ... ... @@ -792,8 +792,9 @@ 792 792 793 793 794 794 785 + 795 795 | 796 -| |[[image:image-20220709165 402-11.png]]787 +| |[[image:image-20220709163750-13.png]] 797 797 798 798 799 799 ... ... @@ -806,10 +806,10 @@ 806 806 807 807 808 808 | 809 -| |[[image:image-20220709165 402-12.png]]800 +| |[[image:image-20220709163750-14.png]] 810 810 811 811 | 812 -| |[[image:image-20220709165 402-13.png]]803 +| |[[image:image-20220709163750-15.png]] 813 813 814 814 815 815 ... ... @@ -819,7 +819,7 @@ 819 819 820 820 821 821 | 822 -| |[[image:image-20220709165 402-14.png]]813 +| |[[image:image-20220709163750-16.png]] 823 823 824 824 Create one connection in MQTT.fx tool, set broker port as 8883. 825 825 ... ... @@ -827,7 +827,7 @@ 827 827 828 828 829 829 | 830 -| |[[image:image-20220709165 402-15.png]]821 +| |[[image:image-20220709163750-17.png]] 831 831 832 832 833 833 Publish message to topic “TEST” ... ... @@ -834,10 +834,10 @@ 834 834 835 835 836 836 | 837 -| |[[image:image-20220709165 402-16.png]]828 +| |[[image:image-20220709163750-18.png]] 838 838 839 839 | 840 -| |[[image:image-20220709165 402-17.png]]831 +| |[[image:image-20220709163750-19.png]] 841 841 842 842 Click”Test”~-~-->”MQTT test client”~-~-->”Subscrible to a topic”, to get message publish from MQTT.fx tool. 843 843 ... ... @@ -845,7 +845,7 @@ 845 845 846 846 847 847 | 848 -| |[[image:image-20220709165 402-18.png]]839 +| |[[image:image-20220709163750-20.png]] 849 849 850 850 851 851 1. **Configurate in CloudTool** ... ... @@ -854,13 +854,13 @@ 854 854 855 855 856 856 | 857 -| |[[image:image-20220709165 402-19.png]]848 +| |[[image:image-20220709163750-21.png]] 858 858 859 859 Add a lua script and copy the lua demo into it. 860 860 861 861 862 862 | 863 -| |[[image:image-20220709165 402-20.png]]854 +| |[[image:image-20220709163750-22.png]] 864 864 865 865 866 866 ... ... @@ -1050,4 +1050,4 @@ 1050 1050 1051 1051 1052 1052 | 1053 -| |[[image:image-20220709165 402-21.png]]1044 +| |[[image:image-20220709163750-23.png]]
- image-20220709165226-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.2 MB - Content
- image-20220709165402-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -200.2 KB - Content
- image-20220709165402-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.0 KB - Content
- image-20220709165402-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -105.9 KB - Content
- image-20220709165402-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.0 KB - Content
- image-20220709165402-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -158.8 KB - Content
- image-20220709165402-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -48.1 KB - Content
- image-20220709165402-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -46.9 KB - Content
- image-20220709165402-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -140.7 KB - Content
- image-20220709165402-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.5 KB - Content
- image-20220709165402-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.2 KB - Content
- image-20220709165402-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -66.6 KB - Content
- image-20220709165402-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -188.5 KB - Content
- image-20220709165402-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.3 KB - Content
- image-20220709165402-21.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -124.8 KB - Content
- image-20220709165402-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -103.9 KB - Content
- image-20220709165402-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.0 KB - Content
- image-20220709165402-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -66.5 KB - Content
- image-20220709165402-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -110.0 KB - Content
- image-20220709165402-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -25.4 KB - Content
- image-20220709165402-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.2 KB - Content
- image-20220709165402-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Jim - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.5 KB - Content