mqtt_publish_message()


Pubish data to topic.

Reference

Arguments

Argument

Type

topic

string

Topic name to publish.

data

dict

Data to publish.

Return

None

Usage example

self.communication.mqtt_remove_subscription(topic="/topic_name", callback_async=self.cb_topic)