First time poster having some problems with triggering triacs. I'm well aware of the dangers of working with mains voltage and I'm very careful.
I'm using one BT139-800 triac to switch a 35W single-phase motor and one triac for switching 3 ballasts for 6 fluorescent lamps with total power of 108 W. I'm triggering the gate of the BT139 with MOC3063 opto triac. I'm using the circuit below for both loads with the noted resistor and capacitor values.
The problem I've encountered is that when I connect the circuit to the mains both triacs are already triggered and conducting. I've started debugging by removing the opto triac which did not solve the problem so after that I've tried removing the 360 Ohm resistor between gate and terminal. Obviously the triac did not conduct and I was able to trigger it with carefully shorting the pins with a screwdriver. Thus I figured the problem is in the resistor, but I'm not sure what its value should be. Is there an easy way of determining the correct value? Are there any other problems with the circuit?
Also how do I know that the snubber circuit has correct values? The motor has a 2.5 uF starter capacitor. I guess I could eliminate the snubber circuit for the fluorescent lamps since the ballast has a power factor of 0.98 and the opto triac is zero-crossing. Is that correct?