1. A method of automatically generating an events dictionary in an Internet of Things (IoT) network, comprising: receiving a notification of a first event from a first IoT device in the IoT network; determining a state of the first IoT device before and after the first event; comparing the states of the first IoT device; determining a type of state change of the first event based on the comparing; determining whether the type of the state change of the first event is present in the events dictionary; creating a generic entry based on the type of the state change of the first event not being present in the events dictionary, wherein the type of the state change associated with the generic entry is common to IoT devices of a same type and/or class as the first IoT device; and storing, in the events dictionary, a mapping of an event description of the first event to the generic entry.
1. A method of automatically generating an events dictionary in an Internet of Things (IoT) network, comprising: receiving a notification of a first event from a first IoT device in the IoT network; determining a state of the first IoT device before and after the first event; comparing the states of the first IoT device; determining a type of state change of the first event based on the comparing; determining whether the type of the state change of the first event is present in the events dictionary; creating a generic entry based on the type of the state change of the first event not being present in the events dictionary, wherein the type of the state change associated with the generic entry is common to IoT devices of a same type and/or class as the first IoT device; and storing, in the events dictionary, a mapping of an event description of the first event to the generic entry. 8. The method of claim 1 , further comprising: transmitting the events dictionary to other IoT devices in the IoT network.