skydiver/ewelink-api

How do I know the type of device (Power meter, thermometer, etc.)?

ChrisRahme opened this issue · 1 comments

The productModel field in the device JSON is sometimes helpful to find the type of a device (e.g. NSPanel, Sonoff 4CH).

But sometimes, this field is empty (" ") for different types of products (e.g. temperature sensor and non-Sonoff breakers). Is there any way (besides examining the JSON structure) to know for sure the type of a device?