--- tags: raspberry-pi --- # 動作確認メモ ``` caroot@raspberrypi:/greengrass/v2/deployments/ongoing# cat deployment_metadata.json {"deploymentDocumentObj":{"DeploymentId":"arn:aws:greengrass:ap-northeast-1:904148038607:configuration:thinggroup/LmtokyoGroupLot1:26","Packages":[{"Name":"com.example.LmtokyoEdgeAnalyzer","RootComponent":true,"ResolvedVersion":"5.0.3","ConfigurationUpdate":{"MERGE":{"Message":"true","LicenseFolder":"/home/ggc_user/workspace/com.example.LmtokyoEdgeLicense"},"RESET":["/Message","/LicenseFolder"]}},{"Name":"com.example.LmtokyoEdgeLogger","RootComponent":true,"ResolvedVersion":"1.0.1","ConfigurationUpdate":{"MERGE":{"Message":"true","BucketName":"camera-json-log-dev","LoggingInterval":20.0,"ApplicationFolder":"/home/ggc_user/workspace/com.example.LmtokyoEdgeLogger"},"RESET":["/Message","/BucketName","/LoggingInterval","/ApplicationFolder"]}},{"Name":"com.example.LmtokyoEdgeLicense","RootComponent":true,"ResolvedVersion":"1.0.5","ConfigurationUpdate":{"MERGE":{"Message":"world","ApplicationFolder":"/home/ggc_user/workspace/com.example.LmtokyoEdgeLicense"},"RESET":["/Message","/ApplicationFolder"]}}],"GroupName":"thinggroup/LmtokyoGroupLot1","Timestamp":1619774669965,"FailureHandlingPolicy":"ROLLBACK","ComponentUpdatePolicy":{"Timeout":60,"ComponentUpdatePolicyAction":"NOTIFY_COMPONENTS"},"ConfigurationValidationPolicy":{"timeoutInSeconds":60}},"deploymentType":"IOT_JOBS","id":"ffb0ad1f-37f3-4d94-98f3-581669813fb6","deploymentStage":"DEFAULT","cancelled":false}root@raspberrypi:/greengrass/v2/deployments/ongoing# ^C ``` ``` 0,2021-04-30T13:12:50Z,0,1,165,371,502,708,-11.0648,-2.8828,1.31257,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,165,370,503,708,-11.2644,-3.07714,1.02032,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,164,370,503,709,-11.4615,-3.03739,0.842422,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,164,369,502,708,-11.4642,-3.59344,0.725902,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,165,369,502,706,-11.0373,-2.95101,0.801066,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,163,369,500,706,-11.3419,-2.88586,0.808559,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,162,369,499,706,-11.1533,-3.58292,0.807988,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,162,368,499,705,-11.1188,-3.22153,1.13988,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,160,368,497,704,-11.6777,-3.26678,0.395419,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,160,368,496,704,-11.9054,-3.62906,0.816617,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:50Z,0,1,161,368,496,703,-11.5636,-2.94292,0.627192,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,161,369,495,703,-11.6467,-3.34687,1.02326,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,161,366,498,704,-11.6774,-3.16619,1.01333,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,162,366,499,702,-11.8609,-3.25371,0.660299,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,163,364,500,701,-12.2017,-3.70442,1.0479,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,164,364,500,700,-12.3011,-4.04904,0.681743,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,165,363,501,699,-12.8236,-4.61608,0.696565,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,166,361,505,699,-12.6183,-5.24816,1.16108,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,169,360,505,696,-13.0446,-5.22728,0.803839,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,171,359,506,694,-13.2487,-5.27091,0.469986,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,173,358,507,691,-13.4911,-5.44071,0.676968,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,174,359,508,693,-14.0298,-6.2088,0.623628,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,177,359,507,690,-14.0209,-6.371,1.00702,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08,4.09985e-08,7.1278e-10,4.78615e-11,2.61025e-07,:: 0,2021-04-30T13:12:51Z,0,1,177,360,507,690,-14.8046,-6.12428,0.960536,26.1166,66.6762,4.09985e-08,0.925872,0.0741283,1,3.36503e-14,1.58404e-16,1,2.1539e-16,1,2.06775e-11,1.65086e-09,0.135177,0.864823,1,7.2576e-08,0.996382,0.0036181,1.7896e-10,1,3.42118e-08^C ``` ``` pi@raspberrypi:/tmp/log $ ls -al total 2744 drwxr-xr-x 2 pi pi 60 Apr 30 22:12 . drwxrwxrwt 18 root root 4096 Apr 30 22:19 .. -rw-r--r-- 1 root root 2802595 Apr 30 22:20 sensetime.txt ``` ``` drwxr-xr-x 3 ggc_user ggc_group 4096 Apr 30 22:08 com.example.LmtokyoEdgeLogger pi@raspberrypi:/home/ggc_user/workspace $ tree . ├── com.example.LmtokyoEdgeLicense │   └── license.lic └── com.example.LmtokyoEdgeLogger └── src ├── main.py ├── pubsub.py └── __pycache__ └── pubsub.cpython-37.pyc 4 directories, 4 files pi@raspberrypi:/home/ggc_user/workspace $ ``` ``` pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al total 1266012 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -rw-r--r-- 1 root root 1296383537 Apr 30 22:03 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al total 1268380 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -rw-r--r-- 1 root root 1298808369 Apr 30 22:03 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al total 1270540 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -rw-r--r-- 1 root root 1301020209 Apr 30 22:03 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al total 1272876 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -rw-r--r-- 1 root root 1303412273 Apr 30 22:03 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al total 1275000 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -rw-r--r-- 1 root root 1305585201 Apr 30 22:03 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ ls -al ^[[Atotal 1522080 drwxr-xr-x 2 root root 4096 Apr 30 21:57 . drwxr-xr-x 3 root root 4096 Apr 30 21:57 .. -r--r----- 1 ggc_user ggc_group 1558596096 Apr 30 22:05 edge-analyzer.tar pi@raspberrypi:/greengrass/v2/packages/artifacts/com.example.LmtokyoEdgeAnalyzer/5.0.3 $ cd ../ ```