📜 ⬆️ ⬇️

Restricted Access and CCTV at Raspberry PI

about the project


Components


Programs
')

Installing OS Raspbian did through NOOBS .
Installing MotionEye
Installing Apache, MySQL, PHPMyAdmin

Make the setting MotionEye. Go to http: // [your_ip]: 8765 /, connect the camera. Specify in the File Storage section where to save the video, I have it in Dropbox, in the IntercomMyHome folder



In the Movies section I specified MPEG-4, so you can watch the video directly from Dropbox.



In the General Settings section, do not forget to change the password for security reasons. In the Video Streaming section settings for streaming video. There are links for screenshot and integration into the page.

To work with an electromagnetic lock, opening buttons, ringing scripts are used.

Events of the opening of doors we write to the MySQL database

The device screen turned out like this:




An application was created for remote opening of doors and viewing cameras (while for iOS). Authorization in the application by Gmail. FireBase to store profile and settings.






To integrate with the existing intercom, we had to upgrade the handset so that we could track calls and open the door to the entrance.

As a result, the whole system looks like this:




Integration with HomeKit is done, but I'm disappointed in it. Remotely in HomeKit there is no possibility to open the door, it only works if you are connected to the same Wi-Fi point as the device. Unintelligible to me integration with the camera. Perhaps in the future they will change the technology and it will be possible to return to it.

Source: https://habr.com/ru/post/357962/


All Articles