Device Sensor Quickstart
This quickstart is a simple demonstration to provide access to devices associated with a basic application while exercising all the available endpoints. After devices are created and activated, you will see information about each device in the Available Devices section.
Using This Example
Clone this repository.
git clone email@example.com:exosite/device-sensor-example.git cd device-sensor-example
Next, install Murano CLI and initialize the project with the Application ID and Product ID using the following commands (where XXXXXX is the respective identifier):
murano config business.id XXXXXX murano config application.id XXXXXX murano config product.id XXXXXX murano -V syncup --all murano assign set
Information about the available API endpoints is accessible at the /docs URL of your deployed application (e.g., https://myapplication.apps.exosite.io/docs).
When you first navigate to the newly deployed application, you will not have any devices set up.
Click "Create Device" and add a new device with serial number
The device will be added, but you will need to activate it. Use your terminal to copy and paste the code that is displayed in the page.
After you activate, refresh your page, and you will see input fields for your device.
When you enter values into these fields, the data is submitted to your device in the platform.
You can view the most recent values submitted to your device using the Product page in Exosite Murano.