openHAB REST API v2.4 - Source Code
openHAB is a smart home REST interface designed to integrate thousands of devices into one platform. openHAB enables easy automation and a flexible engine that supports event-based triggers, scripts, actions, notifications, and voice control features. The API returns JSON data associated with motion sensors, surveillance cameras and other IoT enabled devices.

- Summary
- SDKs (5)
- Articles (1)
- How To(0)
- Source Code(14)
- Libraries(0)
- Developers (0)
- Followers (22)
- Changelog (0)
Sample Source Code (14)
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
Title | Description | |
---|---|---|
![]() | openHAB Cloud Login implementation JavaScript Sample Code | The openHAB Cloud Login implementation JavaScript Sample Code demonstrates how to redirect to the login page to take in correct credentials and how to redirect to home when credentials are accepted. |
![]() | openHAB Cloud Items implementation JavaScript Sample Code | The openHAB JavaScript Sample Code demonstrates how to open items pages when correct credentials are provided, take in a timezone, and how to redirect to the login page when credentials are missing. |
![]() | openHAB Cloud Events JavaScript Sample Code | This openHAB JavaScript Sample Code is a test session application that demonstrates how to display the events page when correct credentials are provided, and how to redirect to the login page in order to input credentials. |
![]() | openHAB Cloud Devices JavaScript Sample Code | This openHAB JavaScript Sample Code demonstrates how to open the devices page when correct credentials are provided, and how to redirect to the login page to provide credentials. |
![]() | openHAB Cloud Applications JavaScript Sample Code | This openHAB JavaScript Sample Code is a test session application that demonstrates how to open the applications page when correct credentials are provided, and how to redirect to the login page in case credentials are missing. |
![]() | openHAB Cloud Account implementation JavaScript Sample Code | This openHAB JavaScript Sample Code registers an account with email, throws errors when the password or the email is invalid, and redirects to home when correct credentials are provided. |
![]() | openHAB Cloud User model test JavaScript Sample Code | This openHAB JavaScript Sample Code demonstrates user methods. The application shows how to register users to accounts, authenticate users, and handle incorrect passwords. |
![]() | openHAB Cloud User route JavaScript Sample Code | This openHAB JavaScript Sample Code implements user page displays with credentials. |
![]() | openHAB Cloud Event route JavaScript Sample Code | This openHAB JavaScript Sample Code is a test method for Cloud events. Template functions for page displays are included. |
![]() | openHAB Cloud Item route JavaScript Sample Code | This openHAB JavaScript Sample Code describes item routes when sorted by name, by last_update, and by status. |
![]() | openHAB Cloud Notification test JavaScript Sample Code | This openHAB JavaScript Sample Code implements notification services for Cloud-enabled user models. |
![]() | openHAB Cloud User test JavaScript Sample Code | This openHAB JavaScript Sample Code demonstrates user authentication methods to access cloud services. |
![]() | openHAB Cloud Console test JavaScript Sample Code | This openHAB Cloud JavaScript Sample Code uses Socket.IO methods to connect to a device cloud. This application demonstrates logging, notification and update operations. |
![]() | openHAB Cloud Imitator JavaScript Sample Code | This openHAB Cloud JavaScript Sample Code demonstrates how to connect to openHAB sockets with cycles and randomly. |