Customization of an Arduino library on Github

Thanks a lot for your suggestions. I attach here two pictures about my connections. I used the NO contact in order that the relay is closed unless I enable the relay. Is it correct?


Thanks again,
Lorenzo