{"id":33943,"date":"2019-10-31T21:55:32","date_gmt":"2019-10-31T18:55:32","guid":{"rendered":"https:\/\/prohoster.info\/blog\/mozilla-webthings-na-raspberry-pi-nachalo-raboty\/"},"modified":"2019-10-31T21:55:32","modified_gmt":"2019-10-31T18:55:32","slug":"mozilla-webthings-na-raspberry-pi-nachalo-raboty","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/mozilla-webthings-na-raspberry-pi-nachalo-raboty","title":{"rendered":"Mozilla WebThings on Raspberry Pi - Getting Started","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/8f4787ade04f18dafdb9d8db6361e14d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<h3><i>from the translator<\/i><\/h3>\n<p><\/p>\n<p><i>Mozilla has created a universal hub for smart home devices, allowing the integration of devices from different vendors and protocols (including Zigbee and Z-Wave), enabling control without cloud dependency and from a single location. A year ago <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/globalsign\/blog\/348988\/\">there was news<\/a><\/noindex> about the first version, and today I am releasing the translation of the recently updated documentation, which addresses most fundamental questions regarding the project. I welcome discussions and exchanges of opinions in the comments.<\/i><\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>WebThings Gateway for Raspberry Pi<\/h2>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/iot.mozilla.org\/gateway\/\">Mozilla's WebThings Gateway<\/a><\/noindex> is software for gateways used in smart home systems that allows for direct monitoring and control of smart devices over the internet without intermediaries.<\/p>\n<p><\/p>\n<h3>What You'll Need<\/h3>\n<p><\/p>\n<ol>\n<li><strong>Computer <noindex><a rel=\"nofollow\" href=\"https:\/\/www.raspberrypi.org\/products\/\">Raspberry Pi<\/a><\/noindex><\/strong> and a power supply (at least 2A required for Raspberry Pi 3)<\/li>\n<li><strong>microSD card<\/strong> (at least 8 GB, class 10)<\/li>\n<li> <strong>USB adapter<\/strong> (see the list of <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/mozilla-iot\/wiki\/wiki\/Supported-Hardware#adapters\">compatible adapters<\/a><\/noindex>)\n <\/li>\n<\/ol>\n<p><\/p>\n<p><strong>Note:<\/strong> Raspberry Pi 3 comes with built-in Wi-Fi and Bluetooth. A USB adapter is needed to connect devices via protocols like Zigbee and Z-Wave.<\/p>\n<p><\/p>\n<h3>1. Download the image<\/h3>\n<p><\/p>\n<p>Download the image from the <noindex><a rel=\"nofollow\" href=\"https:\/\/iot.mozilla.org\/gateway\/\">Mozilla IoT<\/a><\/noindex>.<\/p>\n<p><\/p>\n<h3>2. Flash the image<\/h3>\n<p><\/p>\n<p>Flash the image onto the microSD card. There are various <noindex><a rel=\"nofollow\" href=\"https:\/\/www.raspberrypi.org\/documentation\/installation\/installing-images\/\">methods<\/a><\/noindex> for writing. We recommend using <noindex><a rel=\"nofollow\" href=\"https:\/\/www.balena.io\/etcher\/\">Etcher.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/a13843875da740c448d498b7795e54a9.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<ol>\n<li>Open Etcher<\/li>\n<li>Insert the memory card into your computer's adapter.<\/li>\n<li>Select the image as the source<\/li>\n<li>Select the memory card<\/li>\n<li>Click 'Flash!'<\/li>\n<\/ol>\n<p><\/p>\n<p>Once done, remove the memory card.<\/p>\n<p><\/p>\n<h3>3. Booting Raspberry Pi<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/09bef8e4143a028c67e117b12a3f0d35.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<ol>\n<li>Insert the memory card into the Raspberry Pi<\/li>\n<li>Connect USB adapters if available<\/li>\n<li>Connect the power supply to begin booting<\/li>\n<\/ol>\n<p><\/p>\n<p><strong>Note:<\/strong> The first boot of the Raspberry Pi may take 2-3 minutes.<\/p>\n<p><\/p>\n<h3>4. Connecting via Wi-Fi<\/h3>\n<p><\/p>\n<p>After booting, the gateway will create an access point named '<strong>WebThings Gateway XXXX<\/strong>' (where XXXX are the last four digits of the Raspberry Pi's MAC address). Connect to this access point using your computer or smartphone.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/1f2c573a160e7048d5ed9b6ad913ef5b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Once connected, you should see the WebThings gateway welcome screen, which will then begin to search for your home Wi-Fi network.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/dcc25a955e27d1555eb9a66cb2397852.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Select your home network from the list and enter the password to connect.<\/p>\n<p><\/p>\n<p><strong>Note:<\/strong><\/p>\n<p><\/p>\n<ul>\n<li>If you connected to the access point 'WebThings Gateway XXXX' but do not see the welcome screen, try opening the page at <noindex>192.168.2.1<\/noindex>.<\/li>\n<li>The Raspberry Pi can be connected to the network using an Ethernet cable. In this case, it will attempt to obtain an IP address from your router automatically. Then, type in your browser \"http:\/\/gateway.local\" for the initial gateway setup.<\/li>\n<li>If you move the gateway to another location or it loses access to the original network, it will automatically switch to access point mode so you can connect to it and set up another network.<\/li>\n<\/ul>\n<p><\/p>\n<h3>5. Choosing a Subdomain<\/h3>\n<p><\/p>\n<p>After connecting the gateway to the network, ensure that your computer or smartphone from which you are configuring it is on the same network. After that, go to the address<strong><noindex>gateway.local<\/noindex><\/strong> in your browser.<\/p>\n<p><\/p>\n<p>After this, you will have the option to register a free subdomain for accessing the gateway outside of the local network via <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/mozilla-iot\/wiki\/wiki\/Gateway-Remote-Access\">a secure tunnel<\/a><\/noindex> from Mozilla.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/d46bd31a5fafb5ba76fff315e92ac2b2.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Enter your desired subdomain and email address (for password recovery in the future), and click \"Create.\"<\/p>\n<p><\/p>\n<p><strong>Note:<\/strong><\/p>\n<p><\/p>\n<ul>\n<li>This step can be skipped, and you can use the gateway entirely locally or set up port forwarding and DNS manually. However, in this case, if you decide later to use the Mozilla subdomain, you will need to reset the gateway's settings completely.<\/li>\n<li>If the page at <noindex>gateway.local<\/noindex> does not open, try to find the gateway's IP address through your router (look for connected devices like \"gateway\" or with a MAC address starting with \"b8:27:eb\"), and try to open the page directly via IP.<\/li>\n<li>If <noindex>gateway.local<\/noindex> If both http:\/\/ and https:\/\/ do not work, ensure that both your computer and Raspberry Pi are connected to the same network.<\/li>\n<li>If you have previously registered a subdomain, enter its name and the email address you used during registration. Instructions for accessing it will appear on the screen.<\/li>\n<\/ul>\n<p><\/p>\n<h3>6. Creating an Account<\/h3>\n<p><\/p>\n<p>After registering the subdomain, a page will open with the next steps for configuring the gateway. Enter your name, email address, and password, and click \"Next.\"<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/b17e7b79a9b2baaf0265c8363cd9481c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p><strong>Note:<\/strong> Additional accounts can be created later.<\/p>\n<p><\/p>\n<h3>Done!<\/h3>\n<p><\/p>\n<p>After this, the \"Things\" page should open for connecting smart devices to the gateway.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Mozilla WebThings on Raspberry Pi - Getting Started\" src=\"\/wp-content\/uploads\/2019\/05\/c8dee67346e438ceadf02cd4bdd930c9.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>See. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/448654\/\">WebThings Gateway User Guide<\/a><\/noindex> for further configuration.<\/p>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/448652\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u043e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 Mozilla \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u0430\u0431 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430, \u0447\u0442\u043e\u0431\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0432\u0435\u043d\u0434\u043e\u0440\u043e\u0432 \u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 (\u0432 \u0442.\u0447. Zigbee \u0438 Z-Wave), \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043c\u0438 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u043a\u043e\u0432 \u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u0431\u044b\u043b\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u043e \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u043e\u0439 \u043d\u0430 \u0434\u043d\u044f\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":25602,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-33943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u043e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/mozilla-webthings-na-raspberry-pi-nachalo-raboty\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Mozilla WebThings \u043d\u0430 Raspberry Pi \u2014 \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u043e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/mozilla-webthings-na-raspberry-pi-nachalo-raboty\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:55:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:55:32+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Mozilla WebThings on Raspberry Pi \u2014 Getting Started | ProHoster","description":"from the translator.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/mozilla-webthings-na-raspberry-pi-nachalo-raboty","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Mozilla WebThings \u043d\u0430 Raspberry Pi \u2014 \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b | ProHoster","og:description":"\u043e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/mozilla-webthings-na-raspberry-pi-nachalo-raboty","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:55:32+00:00","article:modified_time":"2019-10-31T18:55:32+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33943","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 17:19:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:30:25","updated":"2026-01-21 17:19:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/33943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=33943"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/33943\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/25602"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=33943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=33943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=33943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}