![]() Now, open up the Raspberry Pi file browser, and you should see the pi-home-automation folder. ![]() Sudo chmod 4755 /var/www/rfoutlet/codesend cd wiringPi. Sudo chown root.root /var/www/rfoutlet/codesend Git clone sudo git clone /var/www/rfoutlet Open up a terminal window and enter these commands: sudo pip3 install 'pubnub=3.9.0' After connecting it to WiFi, you may use an SSH server, but I find it easier to use the GUI for now. Once your raspberry pi is started, connect it to your WiFi. It may restart a few times during the first boot, but that is normal. Your raspberry pi will now start to boot. The one closest to the end of the Pi is power, while the one closer to the middle is USB. One is for power, the other is an actual USB port. Plug in a keyboard (and mouse if you have a multi-USB hub) and plug in the power cable. ![]() At this point, you will need to connect your Raspberry Pi to a monitor with the HDMI converter. Once Etcher has completed, remove your SD card from your computer (Etcher automatically ejects it) and insert it into your Raspberry Pi. Click "Flash", and wait for Etcher to complete. Select it, then click "Select Drive" and select your micro SD card from the list. Click "Select Image" and navigate to the unzipped Raspberry Pi OS file. Insert your Micro SD card into your computer, and open up Etcher. Install Etcher onto your computer, and unzip (if necessary) the Raspberry Pi OS. Raspberry Pi OS (Download Raspbian Desktop)Įtcher disk imager (For writing the Pi OS to the SD Card)Ĭomputer for downloading Pi OS and Etcherĭownload Etcher and the Raspberry Pi OS onto your computer (links in parts list) Wire for antenna (I used 22 gauge solid core copper wire, other wire may work)īreadboard, Jumper wires, 40 pin male-to-male header RF Transmitter and receiver (Note: the frequency of the transmitter/receiver must match the frequency of the remote outlets) - I used these You can use a different model of Raspberry Pi, but the Raspberry Pi must have some form of internet connection, and the Pi Zero W is the cheapest option. For only $30, it is a pretty good option ( link) Note: I got a Raspberry Pi Zero W starter kit from Amazon that came with Raspberry Pi Zero W, SD card, case, power cable, HDMI converter, and USB converter. Mini HDMI to HDMI cable/converter (There is a difference between mini and micro, make sure to get the right one!) ![]()
0 Comments
Leave a Reply. |