📜 ⬆️ ⬇️

Mozilla WebThings on Raspberry Pi - Getting Started

What you need

from translator


Mozilla made a universal hub for smart home devices to connect devices from different vendors and protocols (including Zigbee and Z-Wave) together, and manage them without using clouds and from one place. A year ago there was news about the first version, and today I post a translation of the recently updated documentation that answers most of the basic questions about the project. I look forward to discussion and exchange of views in the comments.


Gateway WebThings for Raspberry Pi


Mozilla's WebThings Gateway is software for gateways used in smart home systems that will allow you to directly monitor and control smart devices over the Internet without intermediaries.


What you need


  1. Computer Raspberry Pi and power supply (for Raspberry Pi 3 requires at least 2A)
  2. microSD card (at least 8 GB, class 10)
  3. USB adapter (see the list of compatible adapters )

Note: Raspberry Pi 3 comes with Wi-Fi and Bluetooth. A USB adapter is required to connect devices using protocols like Zigbee and Z-Wave.


1. Download the image


Download the image from the Mozilla IoT website.


2. Sew the image


Sew the image onto the microSD card. There are different ways to record. We recommend using Etcher .


kvtqbirtvhvqjqi-5mlaiox5vkw


  1. Open Etcher
  2. Insert the memory card into the adapter of your computer.
  3. Choose image as source
  4. Choose a memory card
  5. Click “Flash!”

Upon completion, remove the memory card.


3. Booting the Raspberry Pi


Connection


  1. Insert the memory card into the Raspberry PI
  2. Connect USB adapters if available
  3. Connect power to start the download.

Note: The first download of the Raspberry Pi can take 2-3 minutes.


4. Connecting via Wi-Fi


After downloading, the gateway will create the “ WebThings Gateway XXXX ” access point (where XXXX is four digits from the Raspberry Pi MAC address). Connect to this point from your computer or smartphone.


ggce2y2towakstrtgebgdhgydwm


Once connected, you should see the welcome screen of the WebThings gateway, which will then start searching for your home Wi-Fi network.


Wi-Fi connection


Select your home network from the list and enter the password to connect.


Note:



5. The choice of subdomain


After connecting the gateway to the network, make sure that your computer or smartphone from which you are configuring is on the same network. After that, go to the gateway.local address in the browser.


After that, you will have the option to register a free subdomain to access the gateway outside the local network via a secure Mozilla tunnel .


Subdomain selection


Enter the desired subdomain and email address (to reset the password in the future), and click “Create”.


Note:



6. Creating an account


After registering the subdomain, a page will open with the following gateway configuration steps. Enter your name, email address and password, and click “Next”.


Create a user account


Note: Additional accounts can be created later.


Done!


After this, the “Things” page should open to connect smart devices to the gateway.


Things Page


See the WebThings Gateway User Guide for further configuration.


')

Source: https://habr.com/ru/post/448652/


All Articles