Hi Juraj. Not sure I understand that message in stack exchange. I think from it, I get to the following conclussions, but I'm not sure if I'm right:
a) I can't use pin D0 (int_baja_persiana) as an INPUT_PULLUP. Can I use it as an OUTPUT instead?
b) most digital IO start as INPUT_PULLUP, and I guess that's what's triggering those two relays to be on HIGH at startup. Is there any way to negate this behaviour? or at least, immediately turn them off (LOW) afterwards? Right now they're not turning LOW even if I include that in the code (in the setup function).
c) only pins D3 and D4 have internal pullup resistors. I need 3 pullup pins for 3 switches (I was advised to use pullup instead of pulldown for ESP boards). What values should these be? I've read some articles about it, but I'm not sure about the Wemos in particular. Would 100k be a good standard value?
Thank you