Java Magazine, September/October 2016
ORACLE COM JAVAMAGAZINE SEPTEMBER OCTOBER 2016 34 internet of things attribute updates and listen for actions The first step is to create a new device model in the IoTCS instance as shown in Figure 1 Here the devices data attributes and actions are defined In this image device attributes indicate belt speed cooling fan speed oil pressure and temperature and an action is created to power the belt on or of On the server side you define an IoTCS application to maintain the device data analytics and integration with other cloud services or applications The illustration in Figure 2 shows the overall architecture of the sample end to end IoTCS application In this case the monitoring application is built in Java and runs on premises on my laptop but it can also run in the cloud Analytics are defined to handle the threshold processing to indicate when the cooling fan needs to be turned on or the belt needs to be shut down for example due to overheating or low oil pressure and to handle the integration with a Java monitoring application Figure 3 shows the implementation of the TempThreshold1 analytic defined using Boolean logic Figure 1 The conveyor belts device model in the Oracle IoTCS administrative console
You must have JavaScript enabled to view digital editions.