720 lines
36 KiB
HTML
720 lines
36 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<!-- 2022-05-09 lun. 10:04 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<title>IoT</title>
|
|
<meta name="author" content="Dehaeze Thomas" />
|
|
<meta name="generator" content="Org Mode" />
|
|
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
|
<script type="text/javascript" src="./dist/script.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="org-div-home-and-up">
|
|
<a accesskey="h" href="./index.html"> UP </a>
|
|
|
|
|
<a accesskey="H" href="./index.html"> HOME </a>
|
|
</div><div id="content" class="content">
|
|
<h1 class="title">IoT</h1>
|
|
<div id="table-of-contents" role="doc-toc">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents" role="doc-toc">
|
|
<ul>
|
|
<li><a href="#org013e4cb">Smart Bulbs</a></li>
|
|
<li><a href="#org97d1ddc">Smart Plugs</a></li>
|
|
<li><a href="#org8b9394b">ESPHome</a>
|
|
<ul>
|
|
<li><a href="#orgebb3678">Sonoff S26 - Smart Socket</a>
|
|
<ul>
|
|
<li><a href="#org13fa1b3">Sonoff S26 1</a></li>
|
|
<li><a href="#org0be5bc5">Sonoff S26 2</a></li>
|
|
<li><a href="#org7f9f788">Sonoff S26 3</a></li>
|
|
<li><a href="#org8408ebe">Sonoff S26 4</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd8c66d2">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</a>
|
|
<ul>
|
|
<li><a href="#org7e841ea">Anoopsyche CWWW 1</a></li>
|
|
<li><a href="#orge5315a1">Anoopsyche CWWW 2</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org5ddf023">Sonoff BasicR2 - DIY Smart Socket</a>
|
|
<ul>
|
|
<li><a href="#org73cd204">Sonoff Basic 1</a></li>
|
|
<li><a href="#org4a84b8d">Sonoff Basic 2</a></li>
|
|
<li><a href="#orgeb5dbea">Sonoff Basic 3</a></li>
|
|
<li><a href="#org6cacaf2">Sonoff Basic 4</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org1eb6f11">Sonoff POWR2 - DIY Power Monitoring Smart Socket</a>
|
|
<ul>
|
|
<li><a href="#org4678c86">Sonoff POWR2 1</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org013e4cb" class="outline-2">
|
|
<h2 id="org013e4cb">Smart Bulbs</h2>
|
|
<div class="outline-text-2" id="text-org013e4cb">
|
|
<p>
|
|
<a href="https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/ref=sr_1_4?dchild=1&keywords=Anoopsyche&qid=1626991095&sr=8-4">https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/ref=sr_1_4?dchild=1&keywords=Anoopsyche&qid=1626991095&sr=8-4</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org97d1ddc" class="outline-2">
|
|
<h2 id="org97d1ddc">Smart Plugs</h2>
|
|
<div class="outline-text-2" id="text-org97d1ddc">
|
|
<p>
|
|
<a href="https://sonoff.tech/product/smart-plug/s26/">https://sonoff.tech/product/smart-plug/s26/</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="https://www.jannikarndt.de/blog/2018/01/how_to_install_tasmota_on_a_sonoff_device_without_opening_it/">https://www.jannikarndt.de/blog/2018/01/how_to_install_tasmota_on_a_sonoff_device_without_opening_it/</a>
|
|
<a href="https://www.youtube.com/watch?v=ONFhXM5R-t4">https://www.youtube.com/watch?v=ONFhXM5R-t4</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8b9394b" class="outline-2">
|
|
<h2 id="org8b9394b">ESPHome</h2>
|
|
<div class="outline-text-2" id="text-org8b9394b">
|
|
</div>
|
|
<div id="outline-container-orgebb3678" class="outline-3">
|
|
<h3 id="orgebb3678">Sonoff S26 - Smart Socket</h3>
|
|
<div class="outline-text-3" id="text-orgebb3678">
|
|
<p>
|
|
<a href="https://www.amazon.fr/Connect%C3%A9e-Intelligente-Compatible-Assistant-T%C3%A9l%C3%A9command%C3%A9e/dp/B07Y1N5J6Y/">https://www.amazon.fr/Connect%C3%A9e-Intelligente-Compatible-Assistant-T%C3%A9l%C3%A9command%C3%A9e/dp/B07Y1N5J6Y/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org13fa1b3" class="outline-4">
|
|
<h4 id="org13fa1b3">Sonoff S26 1</h4>
|
|
<div class="outline-text-4" id="text-org13fa1b3">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffs26_1
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
<span class="org-variable-name">board_flash_mode</span>: dout
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Sonoff S26 1 Fallback Hotspot'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">false</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">web_server</span>:
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_1 Button"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
- <span class="org-variable-name">platform</span>: status
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_1 Status"</span>
|
|
|
|
<span class="org-variable-name">sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: wifi_signal
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_1 WiFi Signal"</span>
|
|
<span class="org-variable-name">update_interval</span>: 60s
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_1 Relay"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: <span class="org-string">'relay'</span>
|
|
- <span class="org-variable-name">platform</span>: restart
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_1 Restart"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0be5bc5" class="outline-4">
|
|
<h4 id="org0be5bc5">Sonoff S26 2</h4>
|
|
<div class="outline-text-4" id="text-org0be5bc5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffs26_2
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
<span class="org-variable-name">board_flash_mode</span>: dout
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Sonoff S26 2 Fallback Hotspot'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">false</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">web_server</span>:
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_2 Button"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
- <span class="org-variable-name">platform</span>: status
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_2 Status"</span>
|
|
|
|
<span class="org-variable-name">sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: wifi_signal
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_2 WiFi Signal"</span>
|
|
<span class="org-variable-name">update_interval</span>: 60s
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_2 Relay"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: <span class="org-string">'relay'</span>
|
|
- <span class="org-variable-name">platform</span>: restart
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_2 Restart"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7f9f788" class="outline-4">
|
|
<h4 id="org7f9f788">Sonoff S26 3</h4>
|
|
<div class="outline-text-4" id="text-org7f9f788">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffs26_3
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
<span class="org-variable-name">board_flash_mode</span>: dout
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Sonoff S26 3 Fallback Hotspot'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">false</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">web_server</span>:
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_3 Button"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
- <span class="org-variable-name">platform</span>: status
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_3 Status"</span>
|
|
|
|
<span class="org-variable-name">sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: wifi_signal
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_3 WiFi Signal"</span>
|
|
<span class="org-variable-name">update_interval</span>: 60s
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_3 Relay"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: <span class="org-string">'relay'</span>
|
|
- <span class="org-variable-name">platform</span>: restart
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_3 Restart"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8408ebe" class="outline-4">
|
|
<h4 id="org8408ebe">Sonoff S26 4</h4>
|
|
<div class="outline-text-4" id="text-org8408ebe">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffs26_4
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
<span class="org-variable-name">board_flash_mode</span>: dout
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Sonoff S26 4 Fallback Hotspot'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">false</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_s26/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">web_server</span>:
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_4 Button"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
- <span class="org-variable-name">platform</span>: status
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_4 Status"</span>
|
|
|
|
<span class="org-variable-name">sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: wifi_signal
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_4 WiFi Signal"</span>
|
|
<span class="org-variable-name">update_interval</span>: 60s
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff S26_4 Relay"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: <span class="org-string">'relay'</span>
|
|
- <span class="org-variable-name">platform</span>: restart
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"sonoffs26_4 Restart"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd8c66d2" class="outline-3">
|
|
<h3 id="orgd8c66d2">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</h3>
|
|
<div class="outline-text-3" id="text-orgd8c66d2">
|
|
<p>
|
|
<a href="https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/">https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org7e841ea" class="outline-4">
|
|
<h4 id="org7e841ea">Anoopsyche CWWW 1</h4>
|
|
<div class="outline-text-4" id="text-org7e841ea">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: anoopsyche_cwww_1
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Anoopsyche CWWW 1'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">captive_portal</span>:
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable logging</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable Home Assistant API</span>
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">output</span>:
|
|
- <span class="org-variable-name">platform</span>: esp8266_pwm
|
|
<span class="org-variable-name">id</span>: output_cold_white
|
|
<span class="org-variable-name">pin</span>: GPIO5
|
|
- <span class="org-variable-name">platform</span>: esp8266_pwm
|
|
<span class="org-variable-name">id</span>: output_warm_white
|
|
<span class="org-variable-name">pin</span>: GPIO13
|
|
|
|
<span class="org-variable-name">light</span>:
|
|
- <span class="org-variable-name">platform</span>: cwww
|
|
<span class="org-variable-name">name</span>: <span class="org-string">'Anoopsyche CWWW 1'</span>
|
|
<span class="org-variable-name">default_transition_length</span>: 1s
|
|
<span class="org-variable-name">warm_white</span>: output_warm_white
|
|
<span class="org-variable-name">cold_white</span>: output_cold_white
|
|
<span class="org-variable-name">cold_white_color_temperature</span>: 6000 K
|
|
<span class="org-variable-name">warm_white_color_temperature</span>: 2700 K
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge5315a1" class="outline-4">
|
|
<h4 id="orge5315a1">Anoopsyche CWWW 2</h4>
|
|
<div class="outline-text-4" id="text-orge5315a1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: anoopsyche_cwww_2
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Anoopsyche CWWW 2'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/ap")>>'</span>
|
|
|
|
<span class="org-variable-name">captive_portal</span>:
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable logging</span>
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable Home Assistant API</span>
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="anoopsyche_cwww/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">output</span>:
|
|
- <span class="org-variable-name">platform</span>: esp8266_pwm
|
|
<span class="org-variable-name">id</span>: output_cold_white
|
|
<span class="org-variable-name">pin</span>: GPIO5
|
|
- <span class="org-variable-name">platform</span>: esp8266_pwm
|
|
<span class="org-variable-name">id</span>: output_warm_white
|
|
<span class="org-variable-name">pin</span>: GPIO13
|
|
|
|
<span class="org-variable-name">light</span>:
|
|
- <span class="org-variable-name">platform</span>: cwww
|
|
<span class="org-variable-name">name</span>: <span class="org-string">'Anoopsyche CWWW 2'</span>
|
|
<span class="org-variable-name">default_transition_length</span>: 1s
|
|
<span class="org-variable-name">warm_white</span>: output_warm_white
|
|
<span class="org-variable-name">cold_white</span>: output_cold_white
|
|
<span class="org-variable-name">cold_white_color_temperature</span>: 6000 K
|
|
<span class="org-variable-name">warm_white_color_temperature</span>: 2700 K
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5ddf023" class="outline-3">
|
|
<h3 id="org5ddf023">Sonoff BasicR2 - DIY Smart Socket</h3>
|
|
<div class="outline-text-3" id="text-org5ddf023">
|
|
<ul class="org-ul">
|
|
<li><a href="https://esphome.io/devices/sonoff_basic.html">ESPHome documentation</a></li>
|
|
<li><a href="https://sonoff.tech/product/diy-smart-switch/basicr2/">Sonoff Website</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org73cd204" class="outline-4">
|
|
<h4 id="org73cd204">Sonoff Basic 1</h4>
|
|
<div class="outline-text-4" id="text-org73cd204">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffbasic_1
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp8285
|
|
<span class="org-variable-name">arduino_version</span>: 2.4.2
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/api")>>'</span>
|
|
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Button 1"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Relay 1"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: relay
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">yes</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4a84b8d" class="outline-4">
|
|
<h4 id="org4a84b8d">Sonoff Basic 2</h4>
|
|
<div class="outline-text-4" id="text-org4a84b8d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffbasic_2
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp8285
|
|
<span class="org-variable-name">arduino_version</span>: 2.4.2
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/api")>>'</span>
|
|
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Button 2"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Relay 2"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: relay
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">yes</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="outline-container-orgeb5dbea" class="outline-4">
|
|
<h4 id="orgeb5dbea">Sonoff Basic 3</h4>
|
|
<div class="outline-text-4" id="text-orgeb5dbea">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffbasic_3
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp8285
|
|
<span class="org-variable-name">arduino_version</span>: 2.4.2
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/api")>>'</span>
|
|
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Button 3"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Relay 3"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: relay
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">yes</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="outline-container-org6cacaf2" class="outline-4">
|
|
<h4 id="org6cacaf2">Sonoff Basic 4</h4>
|
|
<div class="outline-text-4" id="text-org6cacaf2">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffbasic_4
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp8285
|
|
<span class="org-variable-name">arduino_version</span>: 2.4.2
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/api")>>'</span>
|
|
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_basic/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Button 4"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff Basic Relay 4"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: relay
|
|
|
|
<span class="org-variable-name">status_led</span>:
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO13
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">yes</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org1eb6f11" class="outline-3">
|
|
<h3 id="org1eb6f11">Sonoff POWR2 - DIY Power Monitoring Smart Socket</h3>
|
|
<div class="outline-text-3" id="text-org1eb6f11">
|
|
<ul class="org-ul">
|
|
<li><a href="https://sonoff.tech/product/diy-smart-switch/powr2/">Sonoff Website</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org4678c86" class="outline-4">
|
|
<h4 id="org4678c86">Sonoff POWR2 1</h4>
|
|
<div class="outline-text-4" id="text-org4678c86">
|
|
<div class="org-src-container">
|
|
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
|
<span class="org-variable-name">name</span>: sonoffpowr2_1
|
|
<span class="org-variable-name">platform</span>: ESP8266
|
|
<span class="org-variable-name">board</span>: esp01_1m
|
|
<span class="org-variable-name">board_flash_mode</span>: dout
|
|
|
|
<span class="org-variable-name">wifi</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Freebox-11A882'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="wifi/Freebox-11A882")>>'</span>
|
|
<span class="org-variable-name">ap</span>:
|
|
<span class="org-variable-name">ssid</span>: <span class="org-string">'Sonoff POWR2 1 Fallback Hotspot'</span>
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'gmHu3rQHZHwH'</span>
|
|
|
|
<span class="org-variable-name">mqtt</span>:
|
|
<span class="org-variable-name">broker</span>: <span class="org-string">'192.168.1.11'</span>
|
|
|
|
<span class="org-variable-name">logger</span>:
|
|
|
|
<span class="org-variable-name">api</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_powr2/api")>>'</span>
|
|
|
|
<span class="org-variable-name">ota</span>:
|
|
<span class="org-variable-name">password</span>: <span class="org-string">'<<get-password(passname="sonoff_powr2/ota")>>'</span>
|
|
|
|
<span class="org-variable-name">uart</span>:
|
|
<span class="org-variable-name">rx_pin</span>: RX
|
|
<span class="org-variable-name">baud_rate</span>: 4800
|
|
|
|
<span class="org-variable-name">sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: cse7766
|
|
<span class="org-variable-name">current</span>:
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff POWR2_1 Current"</span>
|
|
<span class="org-variable-name">voltage</span>:
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff POWR2_1 Voltage"</span>
|
|
<span class="org-variable-name">power</span>:
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff POWR2_1 Power"</span>
|
|
|
|
<span class="org-variable-name">binary_sensor</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">pin</span>:
|
|
<span class="org-variable-name">number</span>: GPIO0
|
|
<span class="org-variable-name">mode</span>: INPUT_PULLUP
|
|
<span class="org-variable-name">inverted</span>: <span class="org-constant">True</span>
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff POWR2_1 Button"</span>
|
|
<span class="org-variable-name">on_press</span>:
|
|
- <span class="org-variable-name">switch.toggle</span>: relay
|
|
|
|
<span class="org-variable-name">switch</span>:
|
|
- <span class="org-variable-name">platform</span>: gpio
|
|
<span class="org-variable-name">name</span>: <span class="org-string">"Sonoff POWR2_1 Relay"</span>
|
|
<span class="org-variable-name">pin</span>: GPIO12
|
|
<span class="org-variable-name">id</span>: <span class="org-string">'relay'</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
|
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
|
</div>
|
|
</body>
|
|
</html>
|