Device ID

Returns the unique device identifier, which is the device's MAC address expressed as a
12-character hexadecimal string (e.g., a1b2c3d4e5f6).

v2 → v3 URL change:

  • v2 (ESPHome < 2026.7): /text_sensor/device_id
  • v3 (ESPHome ≥ 2026.7): /text_sensor/Device%20ID
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json