Installation

Practical IOT House

1
2
3
4
5
6
7
8
9
10
11
12
13
# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/mmcblk0: 7.3 GiB, 7820279808 bytes, 15273984 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x15ae16d5
  • Extract the downloaded IOT-House_zero_w_xx.7z and write IOT-House_zero_w_xx.img to the flash memory
  • Extract the downloaded IOT-House_zero_w_xx.7z and write IOT-House_zero_w_xx.img to the flash memory
  • Turn on the Raspberry Pi, wait at least 3 minutes for the ACT LED to subside and then turn it off.
  • Take out the flash memory and edit the following /boot/iothouse_config.txt by following the example with a text editor.
  • In a Wifi environment with MAC Address filtering, register the following displayed addresses and enable filtering.

※ # Wireless address of this machine –> b8:27:eb:XX:XX:XX

  • If you use a device that can be recognized by USB connection eth0, comment out the SSID and KEY.
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    # Please describe the setting for IOTHouse below
    # Wireless address of this machine --> b8:27:eb:XX:XX:XX
    # The following is an example of a static ip address
    #HOST_NAME=iot000
    #SSID=iothouse999
    #KEY=999iothouse
    #IP_ADDRESS=192.168.1.200/24
    #GATE_WAY=192.168.1.1
    #NAME_SERVER=8.8.8.8
    # end of an example

    # The following is an example of dynamic ip address
    # Access is iot000.local
    #HOST_NAME=iot000
    #SSID=iothouse999
    #KEY=999iothouse
    #IP_ADDRESS=dhcp
    # end of an example

    HOST_NAME=
    SSID=
    KEY=
    IP_ADDRESS=
    GATE_WAY=
    NAME_SERVER=
  • Insert the flash memory after editing /boot/iothouse_config.txt and turn on the Raspberry Pi again.
  • Access http://HOST_NAME.local with a web browser and log in with username: remote password: hand
  • ssh is username: root password: pepolinux

hardware

  • Raspberry Pi Zero Self-made board
    Raspberry Pi Zero hat
  • Solid State Switch AC100V Outlet Box
    It is connected in series with AC100V for protection and has a 2A resettable fuse.
    You can turn AC100 directly on / off with the output terminal of gpio.
    solide_state_concent_box
  • Installed in the bay window on the second floor, the Raspberry Pi Zero monitors outdoor surveillance cameras, room temperature, humidity, and air quality, and has three ventilation fans with the output of gpio and twelite dip Control.
  • Activate the module camera with the Doppler sensor of Raspberry Pi for external environment monitoring installed outdoors, email videos during the day and photos at night2F_rasp