Creating & Managing Products
Product in Bolt Cloud is a settings template that can be applied to multiple devices. It is possible to have many devices linked to a single product but a single device cannot have multiple products associated with it.
The product can be configured for two things.
- For controlling the output Bolt devices
- For monitoring the input Bolt devices
Products for output devices.
Creating product
- Go to Products tab.
![1.png 1394](https://files.readme.io/240dcec-1.png)
- Click on the Build button
![2.png 1387](https://files.readme.io/c2b762a-2.png)
Note: If you have already created the product then click on + Add Product as shown in the image below.
![6.png 1389](https://files.readme.io/d7804c9-6.png)
- Enter the product name and choose the output device in the radio button.
Note: Product names can only have alphabets, numbers, and underscore ( _ ) as a special character. Spaces are not allowed.
![3.png 1388](https://files.readme.io/3d51e26-3.png)
- Your product is created, now we will configure it. Click on the Configure this product icon.
![5.png 1388](https://files.readme.io/79fb259-5.png)
- Product configuration page will be opened. Click on the Code tab.
![6.png 1387](https://files.readme.io/3ca507a-6.png)
- First, choose the html from the dropdown, then enter the file name for your HTML code and in last write your html code for controlling the devices.
![7.png 1393](https://files.readme.io/9975411-7.png)
- After writing the code, Click on the Save your configuration button.
![8.png 1391](https://files.readme.io/14d8cde-8.png)
- A confirmation pop will be open, Click on the SAVE button.
![9.png 1388](https://files.readme.io/24adb1d-9.png)
- Your product is configured, now you can link the product with your device.
![10.png 1390](https://files.readme.io/b0ab07d-10.png)
Editing product
After configuring the product, you can configure the product again to edit the product UI(HTML).
- Go to the product tab and select the product that you want to configure again.
![1.png 1390](https://files.readme.io/9e846e1-1.png)
- Product configuration page will be opened. Click on the Code tab.
![2.png 1391](https://files.readme.io/7451b44-2.png)
- You can change the HTML code, or the file name
![3.png 1389](https://files.readme.io/2f23845-3.png)
![5.png 1389](https://files.readme.io/284e2e4-5.png)
![4.png 1389](https://files.readme.io/2088cb0-4.png)
Your code is updated and it will be reflected in all the devices linked with this product.
Products for input devices.
Creating product
- Go to Products tab.
![1.png 1394](https://files.readme.io/f4c4376-1.png)
- Click on the Build button
![2.png 1387](https://files.readme.io/0e38519-2.png)
Note: If you have already created the product then click on + Add Product as shown in the image below.
![6.png 1389](https://files.readme.io/3398bbf-6.png)
- Enter the product name and choose the input device in the radio button. You can collect the data in two ways.
- GPIO
- UART
I am choosing the GPIO here, but the steps for UART will be the same.
Note: Product names can only have alphabets, numbers, and underscore ( _ ) as a special character. Spaces are not allowed.
![3a.png 1386](https://files.readme.io/cc435dd-3a.png)
- Your product is created, now we will configure it. Click on the Configure this product icon.
![5a.png 1392](https://files.readme.io/d1116d6-5a.png)
- Product configuration page will be opened. Click select the pins, enter the variable name and the click on Code tab.
![6a.png 1385](https://files.readme.io/7e41178-6a.png)
- First, choose the js from the dropdown, then enter the file name for your Javascript code and in last write your js code for plotting the graph.
![7a.png 1392](https://files.readme.io/1e9b609-7a.png)
- After writing the code, Click on the Save your configuration button.
![9a.png 1387](https://files.readme.io/93f3af4-9a.png)
- A confirmation pop will be open, Click on the SAVE button.
![10a.png 1386](https://files.readme.io/02f8cd0-10a.png)
- Your product is configured, now you can link the product with your device.
![8a.png 1390](https://files.readme.io/ccc75dd-8a.png)
Updated almost 6 years ago