cflurin / homebridge-websocket

Homebridge Plugin
Apache License 2.0
40 stars 7 forks source link

Feature Request: Receiving Serial Number on Commands #18

Open CPaxman opened 4 years ago

CPaxman commented 4 years ago

Firstly, thanks for the great work! I have a few feature requests that are a bit specific to my project:

Would it be possible to include the serial number of the device when sending from Homebridge?

Example: {"topic": "set", "payload": {"name": "flex_lamp", "serialnumber": "4711", "characteristic": "On", "value": true}}

Bonus is if we could control the device via serial number rather than name?

Example: {"topic": "setValue", "payload": {"serialnumber": "4711", "characteristic": "On", "value": true}}