I’m looking to replace an ageing IO-204 device from IOBridge as IOS11 no longer supports the app. It is being used to monitor the status of two doors (digital 1/0) and control two relays; each door.
I’m no code guy as hardware is my speciality. I’m very familiar with the ESP8266 boards and flashing them with Arduino, ESPEasy, Tasmota etc.
When it comes to writing code though, this 53yr old brain struggles!
Could anyone share some code to allow me to control two digital pins with a 1s pulse on the NodeMCU and read the status of two other pins so I can configure the dashboard to show whether the door is opened or closed. As far as hooking it up, that part I’m very comfortable with. The key criteria is that the output pulses for 1s on then off when activated and that the outputs don’t pulse when the NodeMCU is rebooted (opening or closing the door).
Any assistance would be appreciated.
Happy to add the project to my YouTube and Blog channels on completion.