Hi, thanks for reply.
Right. It is a zigbee device is a button. This is not the Problem. The Problem is the Interface between Switch and light. When i use e.g. a Non zigbee light, Then function well
Then you can find out what the correct path is.
That will be selectable to the right with the >_ icon (copy path).
Then you paste it in the msg...... part of the switch node.
Well, that's what I think you need to do.
Though I shall (now) admit it would be a good idea to do what @DamianosS did suggest also.
That way you see the message coming out of the zigbee node and then the message/s going to the other (purple) nodes.
thank you for your great efforts. but unfortunately that doesn't work with a switch node either. I'm starting to despair. if I replace the switch node with an inject not, then I can switch the lamp on and off. when i change the zigbee-light-node with a RF433 light/bulb then function this very well. this is a sign that the switch node is set correctly. the command is passed on.
So why did you include it in your posts? You (basically) stuck it there in your examples so much as to say "But this works!".
I would suggest you forget the zigbee part until you get the turning the lights on/off working.
Once you can see you can turn them on/off (or what ever it is you want to do) then you start putting things at the input to do it automagically.
Alas it is kind of going backwards. But there is good reason for this.
At the end you want something to happen. (That is at the end of the code. Therefore at the right of the screen.)
Once you get that working with an inject node sending simple messages, you then start to build the flow (program/code) from right to left.
If something stops working, you can then establish where it stopped working.
This way you are really throwing yourself in the deep end and there are a lot of unknowns.
By all means do it. (I have done it a lot.) But there are limits to what people can (and will) do to help you.
I also have a whole lot of other problems I am trying to work out for myself. (See my name?)
I found the solution with help from Developer this Nodes.
The Problem was, the ZigBee-Smartbutton sends own Attributes and overwrite/delete the attributtes from the Zigbee Bulb. With a function node between bulb and switch reset the Attributs from zigbee smartbutton. This function now !
The Content of the function node:
msg = {};
msg.payload = true;
return msg;
this reset all information from the zigbee smartbutton. great thanks for help!