cflurin / homebridge-mqtt

Homebridge-mqtt is a Plugin for Homebridge.
Apache License 2.0
229 stars 39 forks source link

Added a request_id to requests and responses #91

Closed LaborEtArs closed 4 years ago

LaborEtArs commented 4 years ago

To allow the identification of homebridge-mqtt responses, a 'request_id' was added as a request parameter and this 'request_id' is returned with the response. If no 'request_id' is given, a "request_id" : 0 will be responded, so this shouldn't disturb anyone.

cflurin commented 4 years ago

Hi, Would you please also add the use of request_id in the README.

LaborEtArs commented 4 years ago

Done :-)