|  Developer
Updated on April 24, 2023

mqtt.client.unregister

  • Request from an MQTT client to the MQTT gateway addon to unregister MQTT client . MQTT geteway will stop forwarding request/response messages to/from the specified client.
Edit
Edit
Field Type Required Description
name string + Name of the MQTT client
Edit
Edit
Edit
				
					{
  "msg_group": "addon.mqtt_gateway",
  "msg_class": "request",
  "msg_subclass": "mqtt.client.unregister",
  "result": {
    "requestBody": {
      "name": "mqtt.test_client"
    },
    "sender": "mqtt.test_client",
    "uuid": "63e134860000000174696001"
  }
}				
			
Edit
				
					{
  "msg_class": "response",
  "msg_group": "mqtt.test_client",
  "msg_subclass": "ResponseResult",
  "result": {
    "responseBody": {},
    "uuid": "63e134860000000174696001"
  }
}				
			
Edit
Code Message Data
-32500 Invalid MQTT client name