Hello
For single zone, (L0, L1, L3, L4), the device ID can be found in the datasheet.
It is in the I²C interface - reference registers section
For multi-zones sensors, there is a dedicated function in the API. You can get infos in the User Manual.
Regards
Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.
ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'