--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/1bfd830f-502f-4436-8966-d720c7c7d0f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think it might be easier to have multiple outputs from your function, one for each light. Then you can send 0 or 1 to the appropriate output and drive the relay directly.Colin
On 18 August 2017 at 12:17, Stefan Claassen <stefancl...@gmail.com> wrote:
I am extremely new to the IOT world and recently thought I would start doing some sort of home automation project to get me started.My idea was to use Google assist, Node Red, MQTT with a raspberry pi 3 Model B to toggle a 8 channel relay switch on and off via voice command and via some sort of mobile application and let Node red handle all the voice prompt recognition for each channel on the relay.Below is a flow I am attempting to use to accomplish on/off on each relay for now. For testing purposes I have only worked on on relay on my function for now.Problem I am facing is that my switch does not know what to do with the command it receives from the function, I have tried every resource I could find and still no luck with getting this right. Can someone please just guide me in the right direction to get this working?
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/706881c1-e86e-4cb1-942b-c41bd55de261%40googlegroups.com.