Node red admin flow

#1

There is a very interesting flow for node red and Z2M

https://flows.nodered.org/flow/1f1c0dde4ff193e5c14d5b99442a7d00

Take a look at it

1 Like
#2

this is very cool thank you for your share
just wanna say that in this link it doesn’t work.
it says there is few misconfigured node and the list of device is not shown
but the version with subflow that is in you github is really cool and working

#3

I suggest that you to visit the node red flows page were you may find this flow and well some nodes for some xiaomi
Thank you

#4

Hello bob

I rechecked it and it runs perfectly.
The author of this flow mentions that its an upgrade the one you mentioned, and after compare them both I think that this iteration is an improvement.

JLG

#5

it wasn’t for me but that’s ok it’s working now :smile: and i get a much cleaner flow
thanks

#6

Mine works almost perfectly with the exception of the device list, which is empty.

It detects all my 37 devices and I can see them all on target device drop-down list.

The old Zigbee2MQTT flow shows all devices as expected.

Any tips in this case?

#7

strange just happen to e now

#8

I suspect that is due to the fact that the coordinator shows up with different format.

for the time being just comment

        // 'icon': 'https://www.zigbee2mqtt.io/images/devices/' + entry.model.replace(new RegExp('/', 'g'), '-') + '.jpg'

it will shot no so fancy with the icon, buts is workable

#9

hello all

there is a new version

https://flows.nodered.org/flow/1f1c0dde4ff193e5c14d5b99442a7d00

#10

I have a error, this in all devices:
image

#12

This NR flow caused my z2m (hassio addon) to start getting hit by config/log mqtt messages every 5 seconds.
When I disabled the flow and redeployed it stopped.

E.g. (truncated rows)

  zigbee2mqtt:info 5/21/2019, 8:11:45 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:11:45 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{
  zigbee2mqtt:info 5/21/2019, 8:11:50 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":"
  zigbee2mqtt:info 5/21/2019, 8:11:50 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:11:50 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"
  zigbee2mqtt:info 5/21/2019, 8:11:55 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":
  zigbee2mqtt:info 5/21/2019, 8:11:55 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:11:55 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{
  zigbee2mqtt:info 5/21/2019, 8:12:00 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":
  zigbee2mqtt:info 5/21/2019, 8:12:00 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:12:00 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[
  zigbee2mqtt:info 5/21/2019, 8:12:05 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":
  zigbee2mqtt:info 5/21/2019, 8:12:05 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:12:05 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{
  zigbee2mqtt:info 5/21/2019, 8:12:10 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":"
  zigbee2mqtt:info 5/21/2019, 8:12:10 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:12:10 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{
  zigbee2mqtt:info 5/21/2019, 8:12:11 PM MQTT publish: topic 'zigbee2mqtt/CC2531 Router Kitchen', payload '{"state":false,"linkquality":10}'
  zigbee2mqtt:info 5/21/2019, 8:12:15 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":
  zigbee2mqtt:info 5/21/2019, 8:12:15 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:12:15 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{
  zigbee2mqtt:info 5/21/2019, 8:12:20 PM MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":
  zigbee2mqtt:info 5/21/2019, 8:12:20 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"groups","message":{}}'
  zigbee2mqtt:info 5/21/2019, 8:12:20 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":