automate home with raspberry pi

Read about automate home with raspberry pi, The latest news, videos, and discussion topics about automate home with raspberry pi from alibabacloud.com

Raspberry Pi--root user and sudo

The Linux operating system is a multi-user operating system that accepts multiple users to log on and use a single computer.To protect the computer (and other users ' privacy). Users are limited in what they can do.Most users agree to execute most of the programs on the computer and edit and save files stored in their own home folder. The general user does not agree to edit other users ' files and some system files.However, there is a special user on

Python implements the example code of Raspberry Pi WiFi disconnection automatic reconnection, pythonwifi

Python implements the example code of Raspberry Pi WiFi disconnection automatic reconnection, pythonwifi Enable Automatic reconnection of Wi-Fi disconnection. The principle is to use Python to monitor whether the network is disconnected. If the network is disconnected, restart the network service. 1. Put the Python code autowifi. py in the/home/

Raspberry Pi Build installation MySQL

Label:Recently started a Raspberry Pi, a whim to make a small home server, at home for the hour has been hanging.   Really is very small, only slap big, to Raspberry Pi bought some accessories, shell, small fan, 2 fins, 32G SD car

NET vs. Raspberry Pi-Install SVN (iii)

sudo apt-get/home//home/pi/svn//home/pi/svn/project/conf Nano svnserve.conf### uncomment the "#" number in front of the line of code# # # # # # # # # # # # # # anon-access = none# auth-access = write# password-db passwd Execute Command Nano passwdAdd the code the first Liy

Use SFTP to manage files on Raspberry Pi

Use SFTP to manage files on Raspberry Pi SFTP (SSH File Transfer Protocol) is a network protocol that provides SSH-based file access, file transfer, and file management methods. With SFTP, you can easily modify, browse, and edit files on Raspberry Pi. SFTP is easier to configure than FTP, because Raspbian has enabled

Raspberry Pi Web server (nginx, Apache)

set these PHP scripts are not recognized)Find the definition section of PHP, remove the comments from these lines, and modify the contents as follows Location ~. php$ {Fastcgi_pass Unix:/var/run/php5-fpm.sock;Fastcgi_index index.php;Include Fastcgi_params;}There are some other definitions in the PHP section, do not move it, for example:# Fastcgi_split_path_info ...# Fastcgi_pass 127.0.0.1:9000 4) Install PHP and SQLite (about 3MB)sudo apt-get install php5-fpm php5-sqlite5) Reload

Raspberry Pi Raspbian Install matchbox-keyboard virtual keyboard

Environment: Raspbian-stretch (2018-06-27)Raspberry Pi: 3 generation B TypeOfficial website Installation Address: http://ozzmaker.com/virtual-keyboard-for-the-raspberry-pi/Home found the keyboard some keys have failed, no way, and windows, directly install a virtual key, is

Raspberry Pi B + Install ArchLinux arm version

blocks and972944Inodesfilesystem uuid:22a71438-afa8-4df5-ba65-a66166ddc784superblock backups stored on blocks:32768,98304,163840,229376,294912,819200,884736,1605632,2654208Allocating group tables: completion of writing Inode table: Completion Creating Journal ( c10>32768blocks): Complete writing Superblocks and filesystem accounting Information: complete [email protected]: /home/alexknight# mkdir root[email protected]:/

Common Linux commands for Raspberry Pi Deian

The Linux system, this powerful system, is now being used by the Raspberry Pi. For everyone to popularize a bit.Those common Linux commandsThe file structure of Linux/directory under the root directory/bin/home/dev/usr/opt/etc...No way. To use Linux, you have to remember common Linux commandsCD Enter the directory, basically the same as DosLsList files, equivalen

Raspberry Pi, a playful pie: Seventh quarter RASPBMC (UP)

One advantage of the Raspberry pi is that it has a strong video decoding capability, and it's a good option to use it to play video. It will be used for the next two seasons as a home media hub, and the XMBC software and RASPBMC distributions make this possible.First, XMBC and RASPBMCXMBC (soon to be renamed Kodi) is a leader in open source Media center software,

Setting up a remote door system for Raspberry Pi mobile phone

FileZilla on Windows to make an SFTP connection with the connection address starting with sftp://. You can no longer use stand-alone displays and keyboards."Timed Shutdown"sudo crontab-u root-eAdd the following content* * * */sbin/init 0"Start-up Run"sudo nano/etc/rc.localAdd the following contentsudo nohup python-u/home/pi/unlockhandler.py >/home/

Life is too short to learn PYTHON50 books (including Basics, algorithms, machine learning, modules, crawler frames, Raspberry Pi, etc.) there's always a book you want.

and is easily downloaded and modified by the reader.The following books will not be introduced, share the graphic coverHere is still to recommend my own built Python development Learning Group: 725479218, the group is the development of Python, if you are learning Python, small series welcome you to join, everyone is the software Development Party, not regularly share dry goods (only Python software development-related), Including a copy of my own. 2018 Latest Python Advanced materials and high

Raspberry Pi automatically runs the program

Http://blog.csdn.net/c80486/article/details/8460325 If Raspberry Pi is made into an electric appliance, several actions must be supported when it is powered on. 1. Automatic Logon 2. automatically run the startx startup Window System 3. After the window system is started, it automatically runs the custom program (generally the main interface of the application) I have studied this. Automatic Login: Modif

Raspberry Pi Install FTP server

Install FTP server on Raspberry Pi to upload \ Download fileVSFTPD is an open source, lightweight, common FTP server.1, install VSFTPD server (approx. 400KB)sudo apt-get install vsftpd2. Start the FTP servicesudo service vsftpd start3. Edit the VSFTDP configuration filesudo nano/etc/vsftpd.confLocate the following line and defineAnonymous_enable=noMeans: Anonymous access is not allowedLocal_enable=yesSet th

Linux dual-Nic intranet/Internet settings (Raspberry Pi)

Linux dual-Nic intranet/Internet settings (Raspberry Pi) Raspberry Pi dual-Nic internet/intranet settings, there are the following methods. 1) use a wired network to connect a PC to a gateway. 2) the other is wired to the intranet and wireless to the Internet. Www.2cto.com, even if there are multiple NICs in the config

Golang 2 lines of code running an HTTP Web service on an arm Linux-based Raspberry Pi, Orangepi

the following two lines of code:http. Handle ("/", HTTP. Fileserver (http. Dir ("HTML")))http. Listenandserve ("0.0.0.0:8080", nil)Step 4: The target environment is modified to CROSS-ARM6, according to "Ctrl+b" compiled, the generated execution file is the source directory "Test", no suffixStep 5: Copy "Test" to your arm Development Board (Raspberry Pi Raspberrypi, Orange pie Orangepi), and authorize: sudo

Start NFS server on Raspberry Pi

effect:[Email protected]:~$ Exportfs-raVerify the Server for NFS locally. Mount the NFS server directory to a different directory on this machine and you can see the files in the NFS server directory under the mount point directory.[Email protected]:~$ ls/home/ky/nfs/Aaaa[Email protected]:~$ sudo mount-t NFS 127.0.0.1:/home/ky/nfs/mnt[Email protected]:~$ ls/mntAaaa[Email protected]:~$ sudo umount/mnt/Use t

Raspberry Pi. Using node. js to control Gpio

40 Gpio on a Raspberry Pi is the best thing to play.They can be directly controlled by c,/c++, Python, Java and other languages.Now, let's see how to do the same thing with node. js.Before you try, install node. js, and move to: 1. Prepare the Test foldermkdir/home/pi/documents/test-gpio-demo/2. Create a file Package.j

Constructing typecho notes using raspberry pi (3) FAQ on typecho nginx sqlite

configuration files are written /var/~/var/run/php5- The path location is written in path_info forwarding. change location location ~ .*\.php(\/.*)*$ You can solve the problem. 5. The Intranet access is normal. The typecho homepage accessed through the dynamic domain name of the peanut shell is completely white. The CSS file cannot be loaded and the second-level webpage cannot be opened. In WordPress, there is a blog address setting that can be used to regulate the pointing and forwarding of se

Raspberry Pi Combat 1: Query their own intranet, external network IP

The complete effect of these 4 battles is: Let the Raspberry Pi send its own IP address to the mailbox automatically by mail.Combat 2 : http://blog.csdn.net/make_app/article/details/47305179Combat 3 : http://blog.csdn.net/make_app/article/details/47305337Combat 4: http://blog.csdn.net/make_app/article/details/473053870. System EnvironmentRaspberry Pi A +, system

Total Pages: 8 1 .... 4 5 6 7 8 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.