1. A method for controlling a remote device configured as a publisher device, the method comprising: transmitting, by a subscriber device, a request to the publisher device within a fabric of smart devices, the publisher device including at least one sensor, the request causing the publisher device to establish a subscription to data related to a state or the at least one sensor of the publisher device; encoding a data management action into a message for transmission to the publisher device, the encoded message including a profile identifier that causes a data management entity of the publisher device to perform the data management action, the profile identifier identifying a data management profile, and the encoded message including a command tag that encodes the data management action to be performed; transmitting the encoded message to the publisher device, the transmitting the encoded message causing the publisher device to: send the data related to the state or the at least one sensor of the publisher device to the subscriber device upon an event; or send the data related to the state or the at least one sensor of the publisher device, that is stored locally on the publisher device, to the subscriber device; receiving the data related to the state or the at least one sensor of the publisher device; and based upon the receiving the data, performing, by the subscriber device, a control action based on the data related to the state or the at least one sensor of the publisher device.
1. A method for controlling a remote device configured as a publisher device, the method comprising: transmitting, by a subscriber device, a request to the publisher device within a fabric of smart devices, the publisher device including at least one sensor, the request causing the publisher device to establish a subscription to data related to a state or the at least one sensor of the publisher device; encoding a data management action into a message for transmission to the publisher device, the encoded message including a profile identifier that causes a data management entity of the publisher device to perform the data management action, the profile identifier identifying a data management profile, and the encoded message including a command tag that encodes the data management action to be performed; transmitting the encoded message to the publisher device, the transmitting the encoded message causing the publisher device to: send the data related to the state or the at least one sensor of the publisher device to the subscriber device upon an event; or send the data related to the state or the at least one sensor of the publisher device, that is stored locally on the publisher device, to the subscriber device; receiving the data related to the state or the at least one sensor of the publisher device; and based upon the receiving the data, performing, by the subscriber device, a control action based on the data related to the state or the at least one sensor of the publisher device. 6. The method of claim 1 , wherein the data comprises a state of the publisher device, wherein the publisher device comprises a radiator control valve and the state of the publisher device comprises a heat state of a radiator controlled by the radiator control valve, and wherein the data management action is related to the heat state of the radiator.