I found the part in the RSUDP code that takes the screenshot (savefig) and sends its information to the other modules (Telegram, Twitter, etc) but don’t know if it’s possible for me to connect an external function I create in that part. Register that image in our Database (I have created a function that registers every image uploaded to the FTP Server and its path to make it easier to work with in the website) Send the image to the FTP Server (using ftplib on python)ī. Once the plot module takes the screenshot:Ī.It senses a movement and sends the Alert message.Is it possible to do the following using RSUDP: From here we distribute images and files to our websites. We have a server (accessible anywhere since it’s outside the school’s network) which we’re using as an FTP Server, kind of like our own private Google Drive. Username is pi and the password is raspberry Once logged in, it is a good security practice to change the default password.We have a Raspberry Shake at our school and run RSUDP in a Raspberry Pi, which we access through VNC (only way to bypass the school’s firewall limitations). Type the IP address that you wrote down from the ifconfig step into the text field that says "Host Name (or IP address)" It will prompt you for login information, this will be the same as before. For this example I am using an application called Putty as my SSH client. Write this number down and bring up your SSH client. I promise it is receiving your input! At this point, find the IP address of your raspberry pi with the following command: ifconfig In the second line of the output you will see " inet addr: " followed by a number to the effect of 192.168.1.1 (yours will be slightly different, but you get the idea). Just type out the password as you normally would and hit enter when you are done. Don't get freaked out and think your keyboard stopped working. Where it says "raspberrypi login: " type the default username which is pi and hit enter. Where it says "password: " type the default password which is raspberry *when typing the password, no characters will be displayed. Once the Raspberry Pi reboots, it will prompt you for login information. Now you will be able to ssh into your Pi so you can work on it from another computer if you would like. In addition, to get to this window any time after the initial configuration, use the following command: sudo raspi-config Use the following code to reboot your Raspberry Pi: sudo reboot * I also do not recommend overclocking your Pi for this project, the default setting works perfectly and overclocking will reduce the overall lifetime of the hardware. Update your Raspberry Pi (found in the Advanced Options) - Reboot your Raspberry Pi at this time. Enable SSH server (found in the Advanced Options) - Disable boot to desktop, we want to configure this program using only the terminal environment. Here you should make the following changes: - Expand root partition so all space on the SD card is usable. You do not need to know what it all means for this project, but I absolutely wouldn't discourage you from reading it and learning a little bit about your Raspberry Pi for your own benefit! After the boot information is complete, you will be prompted with the raspi-config window. Upon powering the Raspberry Pi with the SD card plugged in, you will see the system automatically listing information about the operating system and peripherals. Keep in mind, if you mess up anything along the way, just reformat your card, reload the disk image and start again.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |