Well, even so, your experience and efforts you are making to support this community are invaluable.
My apologies for not replying your questions in a proper way.
Likewise! (Is that the correct use of the word likewise? Soy un sueco… ) Yes, I’d a great Christmas with my family. A bit too much food though…
As I said, I was guessing. But external hardware and PSU’s have given me a lot of headaches, so I thought it was worth mentioning.
I’m on to you!!
I am using couple of Nodemcu’s with 5V relays and I also face the problem of relays not operating. I checked the voltages from the assigned digital pins and it is always around 3.3 V and I never got 5 V. So it is a touch and go situation, sometimes the relays are triggered and sometimes they are not. This is my experience. I am now looking for 3.3 V relays.
In my case - dual 5 Vdc relay module worked absolutely fine. Several checks that you could do:
- as Pete nudged my thinking in the above discussion - remove everything in the web dashboard and just try with 1 or 2 switches.
- Check that the ground of the NodeMCU is connected with the ground of the 5vdc relay and power adaptor.
- Check if the jumper on the relay module is in correct position depending on your set-up.
- Power adaptor - I would choose at least 1 Amp one. Just to be on the safe side.
In my case - I made a check of relay by connecting the NodeMCU end of the IN1 cable to the D1 pin (SCL pin). It switches the relay on/off at regular intervals.