If anybody is interested
https://github.com/oh7bf/RasPiPwrSwitch/wiki
Small continuous currents 1 - 3 A can be switched with 12 V power supply for the two outputs. The circuit uses power FETs for switching (no relays). Typical application is LED lights or radioamateur equipment. The switch board communicates with Raspberry Pi using slow 10 - 20 kHz i2c. Switching can be done with the two push buttons on the board or from Raspberry Pi. The PCB can be produced at home with toner transfer method. The PIC programming directly on the board works correctly only for reading the chip now so it is better to first program the 12F675 before inserting it into the circuit.