Zigbee display modelId and ManufacturerId in tooltip

This commit is contained in:
Stephan Hadinger 2020-10-29 19:34:46 +01:00
parent 8a703adf84
commit c6b3864d99
1 changed files with 5 additions and 2 deletions

View File

@ -1715,10 +1715,13 @@ void ZigbeeShow(bool json)
WSContentSend_PD(PSTR(
"<tr class='ztd htr'>"
"<td><b>%s</b></td>" // name
"<td><b title='0x%04X %s - %s'>%s</b></td>" // name
"<td>%s</td>" // sbatt (Battery Indicator)
"<td><div title='" D_LQI " %s' class='ssi'>" // slqi
), name, sbatt, slqi);
), shortaddr,
device.modelId ? device.modelId : "",
device.manufacturerId ? device.manufacturerId : "",
name, sbatt, slqi);
if(device.validLqi()) {
for(uint32_t j = 0; j < 4; ++j) {