I have added GPIO = 0,
nothing changes. I have noticed one more thing, maybe important. When I connect both voltages- from car battery and from power grid - transformer 230/12 V is buzzing (it is quite without 12 V from battery).
I have replaced 7805 with zenner diode 5,1V. I have tried it with 5V and 12V relay and it works like it should work.
I am sending wiring diagram. Should I replace 2 capacitors C3 and C4?