Methods and apparatus for using smart environment devices via application program interfaces
First Claim
1. A system, comprising:
- one or more smart-devices; and
an application programming interface (API) client device, comprising a lighting apparatus including a processor configured to;
detect one or more features of the lighting apparatus;
provide a message to an application programming interface (API), the message including information about the one or more features of the lighting apparatus to be processed by a device service associated with the API, the device service including a data model comprising information related to the one or more smart-devices, one or more smart-device environment structures comprising the smart-devices, or both; and
receive reception data from the API, the reception data including information about the one or more smart-devices, the one or more smart-device environment structures comprising the smart-devices, or both, a status of one or more features of the lighting apparatus being modified based upon the reception data, a smart-device status being modified based upon the information about the one or more features of the lighting apparatus, or both.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and Methods disclosed herein relate to providing a message to an application programming interface (API). The message includes a request for data from a data model, a submission of data to the data model, or both; and a host selection between: a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host; wherein the request for data, the submission of data, or both are configured to create, delete, modify, or any combination thereof data related to a smart-device environment structure, a thermostat, a hazard detector, or any combination thereof stored in a data model accessible by the API.
119 Citations
34 Claims
-
1. A system, comprising:
-
one or more smart-devices; and an application programming interface (API) client device, comprising a lighting apparatus including a processor configured to; detect one or more features of the lighting apparatus; provide a message to an application programming interface (API), the message including information about the one or more features of the lighting apparatus to be processed by a device service associated with the API, the device service including a data model comprising information related to the one or more smart-devices, one or more smart-device environment structures comprising the smart-devices, or both; and receive reception data from the API, the reception data including information about the one or more smart-devices, the one or more smart-device environment structures comprising the smart-devices, or both, a status of one or more features of the lighting apparatus being modified based upon the reception data, a smart-device status being modified based upon the information about the one or more features of the lighting apparatus, or both. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
Specification