I have been working on a version of RoboJax's code that is basically a combination of two of his examples and then some. I am using the wemos D1 with a 4 channel low level relay, and 3 physical buttons.
I need to make the three buttons only trigger the first three relays and then the 4th relay would only be controlled via web interface.I have tried many code iterations but i think i am lost in the void loop (and setup).
Eventually these will all be part of a network of about 25 stations that have lights and buzzers attached to them where they all report back to a web page and auto update the page if any one button is pressed. I will likely setup an MQTT server on a raspberry PI to manage all of these devices.Each will need a unique ID.
Simply getting a single station to function with 3 buttons and 4 relays updating the page would be a huge help.
The relays work fine with the web alone, and the buttons work fine to only relays, but the way i am putting them together, it doesn't work as desired.
Code is attached as its too big to post.
VMS3_1forumex.ino (11.1 KB)