Open S474N opened 1 year ago
It may be problem with another information in msg:
Sir, want to help but can’t My house with HC3 in the military occupation city. Alas. Waiting when UA is back. Sorry.
I understand, it's OK of course. Слава України
So tested it, and first node (Spinac 4.1) after switch sends everytime three times payload.
Second node (Spinac 5.2) cannot receive payload directly from 4.1 (I think, that problem is all payload). If I injected only true/false, is it ok.
As workaround you can transform payload from first device to true/false IMHO
This is of course tested - it's Turn On/Off
node at screentshot:
var zapnisvetlo = { payload: true };
var vypnisvetlo = { payload: false };
if (msg.payload == true) {
return zapnisvetlo;
}
else {
return vypnisvetlo;
}
It works, so that is reason, why I think, that problem is in another's informations in payload.
My friend have problem with this plugin. Two Fibaro Wally and second doesn't respond to changes from first. Please see screenshot with debug:
It reacts normally to both injects (true/false).