I got it working, it seems to be only sending photos on PIR alarm and not on motion detection. Any ideas?