Update 107.md

This commit is contained in:
Vlad Stan 2023-10-25 12:18:16 +03:00 committed by GitHub
parent e5ebfe7d16
commit 06d9fe273b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
107.md
View File

@ -97,8 +97,8 @@ Example that turns on a device and sets the temperature to `20.9` degrees Celsiu
```json ```json
"tags": [["p", <String, pubkey of the targeted device]] "tags": [["p", <String, pubkey of the targeted device]]
``` ```
- the `p` tag is required, its value MUST be the same as the pubkey of the `device`. - the `p` tag is required, its value MUST be the same as the pubkey of the target `device`(s).
### Data Events (`kind: 8000 - 8999`) ### Data Events (`kind: 8001 - 8999`)
Data Events represent data publised by .... Data Events represent data publised by `device`(s). The `kind` of the event and the `content` must follow ths specification from [NIP-91 Event Kinds](https://github.com/nostr-protocol/nips/blob/iot/91.md#event-kinds).