You are here

DeviceHive API - Sample Source Code

DeviceHive is a framework for machine-to-machine communication that can be used to bring connected devices into the Internet of Things. DeviceHive provides control software, and platform specific client libraries to jumpstart the development of home automation, remote sensors, and more. The RESTful DeviceHive API acts as a protocol for real time information exchange across connected devices. Consumers of the DeviceHive API within the DeviceHive ecosystem include the device, client, and administrator. The device sends and receives notifications via the API. The client can be used to control and monitor devices, and may use the API in order to view device status, process device notifications, and send commands to devices. The administrator parameter has full API access, and is in charge of creating and managing users, devices, and monitoring commands and notifications. DeviceHive is an open source project and can be found fully documented on GitHub.