the lamp works on my command!!
How do you command it then ?
the n2222 circuit still doesn't work. I haven't changed anything.
also measured the diode, the side that does not have the line and the other measuring pin at 0 volt.
At the moment the relay should be off, you should measure close to 5 volts there. - I measured close to zero.
At the moment the relay should be on, you should measure 0.6 volts. - I measured close to 5V
Ok, i Googled again and downloaded a Fairchild datasheet (instead of just a quick look at some pictures like i did yesterday).
The 2N2222 is E B C so not what i said yesterday, sorry for that.
So the yellow wire should be connected to 0 volts.
The red wire in the picture should be connected to - of your solid state relay.
The green wire in the picture should be connected to +5 volts.
Leave the other end of the diode (orange wire) disconnected.
Remember that these observations are to the pictures you posted, and might be different to what you have at this moment as you have done some changes since.
Do the same measurements, measure at 0 volts (black measuring pin) and relay - (red measuring pin).
Again, you should see relay off = 5 volts, on = 0.6 volts.