Describe the bug
I have implemented the library in node red but when Alexa send the command tu turn On the light in the app the light turn on and after few second turn off I need to communicate to siemens plc S7 and I'm using snap 7 in the DB the variable with turn ON goes to 1 and with turn OFF goes to 1 I suppose that the payload is not 1 or 0 but something else
after that I need to send to Alexa the light state when I change it from the PLC how to do that?
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Log Output
Please include log output from Node-RED console.
Environment (please complete the following information):
Node-RED node version:
Node-RED version:
Additional context
Add any other context about the problem here.
Describe the bug I have implemented the library in node red but when Alexa send the command tu turn On the light in the app the light turn on and after few second turn off I need to communicate to siemens plc S7 and I'm using snap 7 in the DB the variable with turn ON goes to 1 and with turn OFF goes to 1 I suppose that the payload is not 1 or 0 but something else
after that I need to send to Alexa the light state when I change it from the PLC how to do that?
To Reproduce Steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen.
Log Output Please include log output from Node-RED console.
Environment (please complete the following information):
Additional context Add any other context about the problem here.