Customization of an Arduino library on Github

You have connected the relay to "NO" (Normally Open), this will have the relay being open as default. If you want the relay to be closed as default, it should be connected to "NC" (Normally Closed).

EDIT: Your 1A / 5 Watt power plug is fine, I do not think the issue is related to power. Your connections / wiring on the other hand...... :roll_eyes: :joy: