Arduino and Raspberry Alarm System

Hello everyone. I would like to ask something , i thought to make a home scurity alarm system with arduino and raspberry Pi3. My concept is very simple. I connect a magnet switch to my door and if security is enabled that triggers alarm on.

MyQuestion

Can Raspberry Pi3 communicate with arduino via bluetooh ? I want to activatge alarm with bluetooth from android appliciation , and insert events to my security interface with php and mysql.

Thanks :)

Can Raspberry Pi3 communicate with arduino via bluetooh ?

Does your PI have a bluetooth device connected to it? Does you Arduino have a bluetooth device connected to it? Are the devices paired? If the answer to any of those questions is no, the answer to your question is NO!

By the way, why not just connect the sensor to the Pi, and let it read it? The Arduino doesn't seem to be doing a heck of a lot.