Build Your First Heisenware App
Copy the app from our demo and learn how to build faster with Heiseware.
Last updated
Copy the app from our demo and learn how to build faster with Heiseware.
Last updated
Log in to your Heisenware account
Click on Apps
Click on the + to add a new app
Choose an App Name
Upload an App Icon
Open the App Builder
Configure the function:
URL
Parameters
Trigger the function.
Call the client Demo
or use any other name you like.
Trigger the function.
Trigger the connect function
Check the connection with the isConnected node
Add a JSONata modifier to the function and extract the value with:
Drag and drop the combine function on to the canvas.
Connect the modifier of the get function with argument 1 of the combine function and the modifier of the readNode function with argument 2 of the combine function.
Trigger the combine function
Add a JSONata modifier to the function and enter the sum function:
Set the readNode trigger and the get function trigger to every 10s
.
Set the combine trigger to on input change
by drag and drop of each of the functions arguments (or just one of them) on the trigger.
Call the recorded data point demo_data
or use any other name you like.
Start the test mode for a minute or so to record some data.
Configure start and end value (0 to 500) and the color sections of the circular gauge.
Connect the modifier of the combine function to the circular gauge with drag and drop. Make sure to select the circular gauge first.
Start the test mode and see the data coming.
Within the read function, change the tail
value to 10.
Trigger the read function.
Select the new page.
Connect the output of the read function (array) to the chart with drag and drop. Make sure to select the circular gauge first.
Resize and configure the chart.
Connect read function trigger and button.
Test your logic using the test mode.
Adjust all widgets size and position for each screen.
Pick a base theme.
Pick a default theme or configure your own theme.
Scan the QR code to open the app on your phone or click the URL to open the desktop version of your app.
Optionally install the app on your device.
Drag and drop the on the canvas
Add a to the function and enter the average function:
Create an OPC UA client with the node.
Connect to an OPC UA server using the from within the client just created. You can use the following public server:
Use the clients node and configure it with the following node ID:
Alternatively to step 7 and 8, you can also use the node to get right to the value.
Test your logic using the . Wait at least 10 seconds to see data.
Add a to the modifier behind the combine function.
Upload your logo or any other image to the .
Drag and drop the image onto the .
Pick a from the display widgets and click in the UI builder to place it.
Click on the database icon of the recorder to auto generate the .
Create a with right-click in the pages panel on the first page and a click on New Page
.
Configure the apps main menu using the . Rename pages and add icons if you like.
Add a widget to the page.
Add a and configure it.
Choose the of rotated phone, tablet, rotated tablet or desktop.
Open the .
Click on .