0

members

Easy Raspberry basics: Project 29i Raspberry PI 3 model B board - Home assistant WiFi Configuration

of Acoptex.com in Raspberry Pi 3

Raspberry basics: Project 29i

Project name: Raspberry PI 3 model B board - Home assistant WiFi Configuration

Tags: Raspberry, Raspberry PI 3 model B board, vers 1.1, v 1.1, Home assistant, Wifi configuration, how to do WiFi configuration for Home Assistant

Attachments: my-network

In this project, you needed these parts (Dear visitors. You can support our project buy clicking on the links of parts and buying them or donate us to keep this website alive. Thank you):

1.Raspberry PI 3 model B 1 pc

2. Micro SD card and SD card adapter 1 pc

3. Micro USB power supply (2.1 A, max 2.5 A) 1 pc

4. USB keyboard 1 pc

5. USB mouse 1 pc

6. TV or PC monitor 1 pc

7. HDMI cable 1 pc

8. Empty USB stick (size does not matter) 1 pc

General

We will learn how to do Wifi configuration for Home Assistant.

If you want to connect your Raspberry Pi 3 model B board over WiFi, you'll need to configure Home Assistant first. Home Assistant uses NetworkManager to control the host network and defaults to ethernet. 

The easiest way to install the Home Assistant is with LAN cable attached to Raspberry Pi 3 model B board LAN port. We have already published the project about it on our website: Raspberry basics: Project 29a Raspberry PI 3 model B board - Home assistant for beginners

After installation sometimes you need to setup the WiFi configuration for Home Assistant and access it through WiFi connection. This project will help you to do that.

Understanding the Home Assistant

You can read more about it here.

Understanding the Raspberry PI 3 model B

The Raspberry Pi 3 is the third-generation Raspberry Pi. It replaced the Raspberry Pi 2 Model B in February 2016.

Specification:

  • Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
  • 1GB RAM
  • BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
  • 40-pin extended GPIO
  • 4 USB 2 ports
  • 4 Pole stereo output and composite video port
  • Full size HDMI
  • CSI camera port for connecting a Raspberry Pi camera
  • DSI display port for connecting a Raspberry Pi touchscreen display
  • Micro SD port for loading your operating system and storing data
  • Upgraded switched Micro USB power source up to 2.5A

Signals and connections of the Raspberry PI 3 model B


Step by Step instruction

We recommend using a high-performance SD card for increased stability as well as plugging your device into an external display to see the default application booting up.

We assume that you have Windows 7 64 bit OS installed on your PC, micro SD card with Home Assistant installed and inserted to your Raspberry Pi 3 model B board.

1. Installing Hass.io

You can read about it in Raspberry basics: Project 29a Raspberry PI 3 model B board - Home assistant for beginners

2. Preparing the USB drive and making WiFi configuration file

  1. HassOS uses a USB Drive to load configuration files like WiFi onto the Raspberry Pi 3 model B board. The capacity of the USB stick does not matter - we'll be adding one file to the drive.
  2. Plug in your USB stick to your PC/laptop USB port.
  3. Open Computer.
  4. Click on USB stick with right button of your mouse and select Format..
  5. Make sure that File system - FAT32, Volume label - CONFIG and Format options - Quick format.
  6. Click on Start buton. When USB stick' format completed click on OK and Close buttons.
  7. make a folder on the drive named network. 
    Then, create a new file called my-network inside the network folder we just created.
    Make a folder on the formatted drive named Network
  8. Create a new file called my-network inside the Network folder.
  9. You will need to modify the my-network file with your local WiFi network ssid and psk (password). We used the Notepad ++ to edit it.
  10. If you don't want the IP address of your Raspberry Pi 3 model B board with Home Assistant to change on every bootup - go here to generate a UUID and replace uuid in the my-network file with your value. Click on Copy button to copy the uuid.
  11. Save the my-network file and unplug your USB stick from your PC/laptop.
  12. Insert the USB stick to one of your Raspberry Pi 3 model B board USB port.

3. Setup WiFi configuration of your Raspberry Pi 3 with Home Assistant

 

  1. You should have your Raspberry Pi 3 model B board connected to local network with LAN cable and Home Assistant opened.
  2. Go to Hass.io and select System tab.
  3. Click on Import from USB button.
  4. Then click on Reboot button.
  5. Unplug your LAN cable and waiit for some minutes to let the Home Assistant to reboot.
  6. Download, install  and open the Advanced IP Scanner.
  7. Click on Start button. After scanning all IPs in range you will see the local IP address of your Raspberry Pi with Home Assistant (we have 192.168.0.114). If you can not see your Raspberry Pi IP - change the IPs range (for example, from 192.168.0.1-254 to 192.168.1.1-254).
  8. You can access home assistant on any PC/laptop/smartphone connected to the same local network. Type in any internet browser http://your-raspberrypi-ipaddress:8123 by replacing your-raspberrypi-ipaddress with your Raspberry Pi IP address (We have 192.168.0.114 - http://192.168.0.114:8123).
  9. Type your username and password and click on Next button. You can control your Home Assistant through WiFi now. Congrats.

 

Summary

We have learnt how to do Wifi configuration for Home Assistant.

Libraries in use

  • None

Resources

  • See on the begining of this project


Other projects of Acoptex.com
Medium Basics: Project 083w Sipeed Maixduino board - Using PlatformIO IDE of Acoptex.com in Sipeed Maixduino 08-08-2019

« Go back to category
Is this project fake? Report it!   
Recommend to a friend
Published at 11-08-2019
Viewed: 83 times