Sonoff Pro 4ch custom code


#1

Looking for some guidance on using the Sonoff firmware with the 4ch model. I added the 2 extra channels and some code for what to do when a message comes in for each channel, however nothing happens.

Hoping someone can point me in the right direction of where to find some 4ch code assistance. Every search leads to the tasmota firmware. This will not work for what I am trying to do, as I need to have custom code run when messages are received (not just turn on a channel or turn off a channel)

Thank You,
Greg


#2

Personally, I have never used that device or firmware, maybe someone else knows?


#3

First off: I don’t now if you still need any help, but if you do, can you post the code you have now? I don’t now if I can help but i can try, I’ve designed a sketch to use 4 GPIO’s to control a PLC, wich I based on the Sprinkler system.