I'm going to post this as an answer because I had a lot of trouble researching how to drive an ESC with just a Rasp Pi(using a zero w) and it works now, Hopefully someone having the trouble finding out how will see this:
Joan was completely right with the 1000 low and 2000 ms high pulse width.
I ran the GPIO pins at 50 hz. Here is some light arithmetic ...
It is safest to introduce a resistor.
Connect any Pi ground pin to any of the other Pi's ground pins.
Connect any Pi GPIO pin to any of the other Pi's GPIO pins via a resistor (if you have one, anything between 300 ohms to 100 thousand ohms will do).
Set the transmitting GPIO as an output and the receiving GPIO as an input.
The resistor is ...
This is likely to be a feature of RPi.GPIO. I would not try to fight it.
Perhaps change to something like the following.
STATUS = False
#When a door event occour:
print("The door has been opened!")
print("The door has been closed!")
#When one ...
As far as I am aware it should work provided you download and install the latest version of wiringPi.
sudo dpkg -i wiringpi-latest.deb