The App “Train IoT” is available in the App Store and can be connected to the IoT Broker: https://apps.apple.com/de/app/trainiot/id14758314
The Train IoT app follows the bring your own device (BYOD) approach and enables mobile devices to become actors and sensors by only installing the app.
The following functionality is implemented by the app:
- Controlling remote actors
- Reading remote sensors
- Providing virtual actors
- Providing virtual sensors
- Proxy for device camera as actor
- Proxy for device light as actor
The app interfaces the aforementioned functionality by implementing the MQTT protocol and thus let connect to a provided IoT Broker system as described in the “IoT Broker System” section. Once an user controls an actor the value and settings change can be observed in other app instances showing the control and/or representation of the set value.
The user can experience in a bidirectional manner the meaning of IoT devices serving sensor data and providing interfaces for controlling physical elements over internet. Thus the border between physical world and virtual controls blur and the students can experience this aspect of IoT throughout the app and the developed IoT Broker System.
Utilization in practical exercises
The teachers leading the hands on experience have to provide anonymous user accounts mandatory for authorizing students devices against the IoT broker. The account generation is described in the previous chapter.
The next screens depict the login screen and the entry screen for the available actions. The students can control other IoT devices available in the playground environment or set the app as TrainIoT device.
The following screens show the device components screen where all capabilities of the device the app is installed on are presented and can be controlled. The next screen shows the functionality of creating individual screens as aggregation of functions from different components and devices.
Finally the aggregated screens have individual names and can have different sets of functions. The following screen shows the list view of all created screens and as an example an aggregation of different functions from an IoT device.