OpenWonderLabs / SwitchBotAPI

SwitchBot Open API Documents
887 stars 73 forks source link

Get MAC address in Status #369

Open ygelt opened 16 hours ago

ygelt commented 16 hours ago

Current Situation

I see the web hook uses the MAC address to identify devices but I do not see any way to get the MAC address from the "Get Status" entry point, since it is the devideId which is used there. So, on my server-side I have no way to reconciliate the deviceId with the MAC addr unless it is written by hand.

Proposed Change

The "Get Status" should return the MAC address together with the deviceId or the web hook should send the deviceId together with the MAC address.

Additional Context

No response