Loading...
 
Skip to main content

History: IoT Dashboard and Workflow

Preview of version: 2

Given the existence of https://doc.tiki.org/API, we began exploring their potential for integration with the physical world. This led to early experiments documented here: https://doc.tiki.org/Internet+of+Things+usage

Over time, these explorations grew into a dedicated feature designed specifically for IoT use cases, now available starting from Tiki 28: https://gitlab.com/tikiwiki/tiki/-/merge_requests/4178.

What is involved in this new feature

  • Trackers for IoT data : use Tiki Trackers to store physical object–related data and event logs.

  • Visual interface for event handling : decide what happens when new data is created in a tracker through an interactive drawing canvas.
Click to expand
Click to expand

  • Realtime dashboard : monitor your physical device in real time with dashboards that display changes as they occur. The dashboard is designed by you, drag in widget as you wish and build the dashboard in the way you want it to look
Click to expand
Click to expand


If you are familiar with Arduino you can quickly follow the steps explained in this snippet to build a remote temperature monitor tool : https://gitlab.com/-/snippets/3759981

How to get started


First of all you need to install latest version of Tiki or upgrade to Tiki 28 or later.

Then you need to enable the feature in the admin panel. From the admin panel you can search "feature_internet_of_things" in the preferences or visit "/tiki-admin.php?page=features#contentadmin_features-programmer" then activate the feature. If prompted to activated the Realtime please go ahead, it is required for the IoT feature to work.

Click to expand
Click to expand


The last thing is to enable the API access feature, please follow this link on how to do it https://doc.tiki.org/API" class="wiki wikinew text-danger tips">https://doc.tiki.org/API

If all above is done, you can start by opening /tiki-iot_dashboard.php. Note that you need to have 'tiki_p_manage_iot_apps' permission which you configure in the admin panel (by default all admins have this permission)

Click to expand
Click to expand


Create a Tracker to hold your IoT devices and define the fields depending on your requirements : This is crucial, think of the tracker your database (and it is the no-code database, not familiar with it? check https://doc.tiki.org/Trackers).

Click to expand
Click to expand
Example of a tracker for a Home Air Quality Monitor system


When your tracker is ready go back to /tiki-iot_dashboard.php and from there you can create a new IoT app and tie it to the tracker you just created.

Click to expand
Click to expand

  • Use the IoT event canvas to configure actions when new data arrives.

  • Set up your realtime dashboard to visualize incoming data.

  • Connect your IoT devices or services to Tiki using the Tiki APIs

  • Test & Next steps

History

Information Version
Elvis ANSIMA 13
Elvis ANSIMA 12
Elvis ANSIMA 11
Elvis ANSIMA 10
Elvis ANSIMA 9
Elvis ANSIMA 8
Elvis ANSIMA 7
Elvis ANSIMA 6
Elvis ANSIMA 5
Elvis ANSIMA 4
Elvis ANSIMA 3
Elvis ANSIMA 2
Elvis ANSIMA 1
Collapse/expand modules below