The video is clear enough to follow the steps even if you do not understand Spanish.
Example code Attached you will find the arduino code.
Author Ana de Prado Navarrete
Disclaimer This thing and all other published material cannot be considered as a final product of bq and bq takes no responsibility of its use. It must be considered as an experimental and early released product developed by the Innovation and Robotics Department staff with the intention to share it and test it as soon as possible within the community. Final releases will be published on http://diwo.bq.com & http://diwo.bq.com/bq-invento-alarma-de-puerta/