Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "adapter-id": "LampService",
- "thing-descriptions":
- [
- {
- "name":"motion_1",
- "type":"PIR",
- "version":"1.0",
- "oid":"motion_1",
- "properties":
- [
- {
- "pid":"motion_1_detection_state",
- "monitors":"????????",
- "read_link":
- {
- "href":"/objects/motion_1/properties/motion_1_detection_state",
- "output":
- {
- "field":
- [
- {
- "name":"detection_state",
- "schema":
- {
- "type":"boolean"
- }
- }
- ],
- "type":"object"
- }
- }
- },
- {
- "pid":"motion_1_relay_state",
- "monitors":"????????",
- "read_link":
- {
- "href":"/objects/motion_1/properties/motion_1_relay_state",
- "output":
- {
- "field":
- [
- {
- "name":"relay_state",
- "schema":
- {
- "type":"boolean"
- }
- }
- ],
- "type":"object"
- }
- },
- "write_link":
- {
- "href":"/objects/motion_1/properties/motion_1_relay_state",
- "input":
- {
- "field":
- [
- {
- "name":"relay_state",
- "schema":
- {
- "type":"boolean"
- }
- }
- ],
- "type":"object"
- }
- }
- }
- ],
- "actions": [],
- "events": []
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement