When a new device is added, its ‘description’ and ‘vendor’ are included in the ‘interview_successful’ log message.
Is it possible to get this information later on? The topic ‘zigbee2mqtt/bridge/config/devices/get’ does not return it.
You can do it in bash by looking into the database:
DB="/home/zigbee2mqtt/data/database.db"
for type in Coordinator Router EndDevice; do
echo
cat "$DB" | grep '^{"id":' | sed 's|,"epList".*||g;s|[{,]| |g' | sort | uniq -c | grep $type | sort -bk 9
done
It’s all there in 1.12.0
Thanks!!