|
|
1. Create a thing
|
|
|
## 1. Create a thing
|
|
|
|
|
|
https://us-west-2.console.aws.amazon.com/iot/home?region=us-west-2#/thinghub
|
|
|
|
|
|
2. Create certificate
|
|
|
## 2. Create certificate
|
|
|
|
|
|
https://us-west-2.console.aws.amazon.com/iot/home?region=us-west-2#/thing/Lamp
|
|
|
|
|
|

|
|
|
|
|
|
3. Add topics into policy
|
|
|
## 3. Add topics into policy
|
|
|
|
|
|

|
|
|
|
|
|

|
|
|
|
|
|

|
|
|
|
|
|
## 4. setup PM4
|
|
|
|
|
|
server address:
|
|
|

|
|
|
|
|
|
to get user id and certificate:
|
|
|
|
|
|
4.1. 
|
|
|
|
|
|
4.2. 
|
|
|
|
|
|
4.3. 
|
|
|
|
|
|
4.4. 
|
|
|
|
|
|
4.5. 
|
|
|
|
|
|
4.6. open start.ps1 with some file editor:
|
|
|
|
|
|

|
|
|
|
|
|
you can find the client-id in the last line.
|
|
|
|
|
|
4.7 to fill in the PM4
|
|
|

|
|
|
|
|
|
## 5. test
|
|
|
|
|
|
 |
|
|
\ No newline at end of file |