Cześć,
czy wiecie jak w NR z takiego noda:
pozyskać nazwę urządzenia?
Debug pokazuje coś takiego:
chdzi mi dokładnie o ten element:
[{"id":"d370c0b7f77bcb69","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"01564ac5a2c92d5b","type":"zigbee2mqtt-in","z":"d370c0b7f77bcb69","name":"Z Salon drzwi","server":"264e6b06d3c56e54","friendly_name":"Z Salon drzwi (MCCGQ11LM)","device_id":"0x00158d00091c481f","state":"0","outputAtStartup":true,"filterChanges":false,"enableMultiple":false,"x":350,"y":120,"wires":[["fbf4badc46dba9b7"]]},{"id":"fbf4badc46dba9b7","type":"debug","z":"d370c0b7f77bcb69","name":"debug 8","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":580,"y":120,"wires":[]},{"id":"264e6b06d3c56e54","type":"zigbee2mqtt-server","name":"zigbee2mqtt","host":"192.168.50.201","mqtt_port":"1883","mqtt_username":"","mqtt_password":"","mqtt_qos":"0","tls":"","usetls":false,"base_topic":"zigbee2mqtt"}]
W dalszej części chciałem zrobić powiadomienie o spadku baterii tj. żeby NR wysłał email że poziom batrii dla urządzenia XYZ wynosi tyle…