Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Add a Pipeline
Copy Markdown
Open in ChatGPT
Open in Claude
To make any type of incoming data compatible to Wia cloud, you can add pipeline to custom Products. To do this follow the steps below:
- Login to you your Wia dashboard, select the Space where you want to add your Product. Click Products under Manage section. Select the Product you want to add event pipeline to.
- Click Piplelines in the top bar.
- Click Add new pipeline button.
- Name your pipeline and insert code for your pipleline. Wia cloud currently support javascript.
- Wia expects incoming data to be transformed into and stored in event object with name and data key. An example code is provided below.
Javascript
if (event.name === 'occupancy') { event = { name: "occupancy", data: event.count }}- Click create and that's it. You should now this event coming in events for your Device.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message