Switching Relay On by raspberry pi-assistant using Particle

Hey !
I’m working on my project which contains when I say Turn on bedroom or turn on light then by relay module my lights on and By giving another to turn off it’s going off.
As it following I’m using 4 relay-channel to access 4 different lights. So please provide some codes in particle and configuration with raspberry-pi 3 b+.
First this part of IFTTT is easy but I’m stranger for that part.
Someone Please help me out with this.

Hi @skyen,

Have you seen this post? What you want to make sounds very similar to it.

1 Like

Thanks for reply @nrobinson2000 .
Ya I already check that topic but I’m so confuse so can you please provide me the exact code for on the relay and another for off.