Device Sensor Quickstart
This quickstart is a simple demonstration to provide access to devices associated with a basic Solution 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 firstname.lastname@example.org:exosite/device-sensor-example.git cd device-sensor-example
Next, install the Murano CLI tool then initialize the project with your Solution ID and Product ID using the following commands (where XXXXXX is your respective identifier):
murano config business.id XXXXXX murano config solution.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 solution (e.g., https://mysolution.apps.exosite.io/docs).
When you first navigate to the newly deployed solution, 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.