Two- way hall auto light system

In my project the visitor counter does’nt gives the input…
Somebody help me to solve the problem.

circuit connections is given below…,

And the coding is…,

but my output is-

Thanks in advance…

Hi @sujithraa,

What do you mean when you say the counter doesn’t give the input?

Could you describe what system should do, and how it is different from what it is doing right now?

Thanks @vinayak.joshi for your concern . But my problem is solved. It was small mistake. My bolt module was rate limited. That’s the reason for my problem.