Internet of Things (Iot)

Can i use this WixCode to add to my website a UI for my customers? I want them to be able to get information from my product they purchase - using Iot (sensor data, motor data, power data) all using internet. I can create the pages - but i need them to populate according to each data information point or (Iot). This will be used to have my customers login, and view certain data information they need to make decisions. Examples: They could view - Sales of the machine. Fluid levels. Power status. Thanks

Hi,
I’m not sure what you are trying to achieve. You can have HTTP functions. HTTP functions are used to expose an API of your site’s functionality. HTTP functions allow you to expose the functionality of your site as a service. That means other people can write code to consume the functionality you expose by calling the functions of an API that you define. Click here to learn more about it.

Best,
Tal.

Ok. Thank you for your response. What i need is a way to have pages on my website that - using the correct API - can communicate to my Raspberry Pi ( has many sensors and motors hooked to it) and get data information pulled to the webpages. I need to be able to have members login to these pages so they are only seeing their data information.
My project is one that uses Iot. We are placing a raspberry Pi into each of our machines- we are building. Once our customers purchase the machine - we want them to be able to view from their computer/phone/ipad - any relevant data coming from the sensors and motors. For example: if a sensor tells one of my customers that they are out of product - they can see that from their phone instead of driving to the site to physically look EVERYTIME. Does this make sense?

So basically, you can use the Fetch API to get information from the API. Based on this information you can change the relevant components. In order to have members page, you can use either code or the editor option .

Good luck!
Tal