The new release of Bosch IoT Manager, part of Bosch IoT Device Management, comes with the following improvements:
In addition to TaskEvents and RuleEvents, the Mass Management Engine now offers a new type of events by which you can monitor the progress of a task or rule, namely DeviceStatusEvents. When a device finishes the execution of a task or rule, a notification event is thrown for that.
You have the option to subscribe for events concerning a particular device only, or for a subgroup of devices based on their execution status. For example, you can receive events for all devices that finished the execution with an error, success or warning. Alternatively, you can receive events for all devices that simply finished the execution regardless of the result.
You can subscribe for these new events through any of the two available subscribeForDeviceStatusEvents methods in the MassManagementEngine interface, in order to receive the notifications as persistent or session events, respectively.
Find out more on DeviceStatusEvents in our Javadoc.