Skip to content

Commit

Permalink
deploy: d540466
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile committed Jan 15, 2025
1 parent b1d5531 commit 11da50d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 21 deletions.
6 changes: 3 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<meta name="msapplication-TileImage" content="/favicon-144x144.png">
<meta name="msapplication-TileColor" content="#000000">

<link rel="preload" href="/assets/css/0.styles.1234fca0.css" as="style"><link rel="preload" href="/assets/js/app.e60a21ce.js" as="script"><link rel="preload" href="/assets/js/8.4b0c70ea.js" as="script"><link rel="prefetch" href="/assets/js/2.81888de0.js"><link rel="prefetch" href="/assets/js/3.4c6115d7.js"><link rel="prefetch" href="/assets/js/4.e9b400da.js"><link rel="prefetch" href="/assets/js/5.65054941.js"><link rel="prefetch" href="/assets/js/6.6a14de5f.js"><link rel="prefetch" href="/assets/js/7.dec12f7f.js">
<link rel="preload" href="/assets/css/0.styles.1234fca0.css" as="style"><link rel="preload" href="/assets/js/app.250174ef.js" as="script"><link rel="preload" href="/assets/js/8.4b0c70ea.js" as="script"><link rel="prefetch" href="/assets/js/2.81888de0.js"><link rel="prefetch" href="/assets/js/3.cec41dba.js"><link rel="prefetch" href="/assets/js/4.3013c471.js"><link rel="prefetch" href="/assets/js/5.65054941.js"><link rel="prefetch" href="/assets/js/6.6a14de5f.js"><link rel="prefetch" href="/assets/js/7.dec12f7f.js">
<link rel="stylesheet" href="/assets/css/0.styles.1234fca0.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>How did we get here?</blockquote> <a href="/" class="router-link-active">
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>There's nothing here.</blockquote> <a href="/" class="router-link-active">
Take me home.
</a></div></div><div class="global-ui"></div></div>
<script src="/assets/js/app.e60a21ce.js" defer></script><script src="/assets/js/8.4b0c70ea.js" defer></script>
<script src="/assets/js/app.250174ef.js" defer></script><script src="/assets/js/8.4b0c70ea.js" defer></script>
</body>
</html>
17 changes: 6 additions & 11 deletions advanced/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta name="msapplication-TileImage" content="/favicon-144x144.png">
<meta name="msapplication-TileColor" content="#000000">

<link rel="preload" href="/assets/css/0.styles.1234fca0.css" as="style"><link rel="preload" href="/assets/js/app.e60a21ce.js" as="script"><link rel="preload" href="/assets/js/2.81888de0.js" as="script"><link rel="preload" href="/assets/js/3.4c6115d7.js" as="script"><link rel="prefetch" href="/assets/js/4.e9b400da.js"><link rel="prefetch" href="/assets/js/5.65054941.js"><link rel="prefetch" href="/assets/js/6.6a14de5f.js"><link rel="prefetch" href="/assets/js/7.dec12f7f.js"><link rel="prefetch" href="/assets/js/8.4b0c70ea.js">
<link rel="preload" href="/assets/css/0.styles.1234fca0.css" as="style"><link rel="preload" href="/assets/js/app.250174ef.js" as="script"><link rel="preload" href="/assets/js/2.81888de0.js" as="script"><link rel="preload" href="/assets/js/3.cec41dba.js" as="script"><link rel="prefetch" href="/assets/js/4.3013c471.js"><link rel="prefetch" href="/assets/js/5.65054941.js"><link rel="prefetch" href="/assets/js/6.6a14de5f.js"><link rel="prefetch" href="/assets/js/7.dec12f7f.js"><link rel="prefetch" href="/assets/js/8.4b0c70ea.js">
<link rel="stylesheet" href="/assets/css/0.styles.1234fca0.css">
</head>
<body>
Expand Down Expand Up @@ -110,22 +110,17 @@
{&quot;cmd&quot;:0}
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h3 id="sensor-gpio"><a href="#sensor-gpio" class="header-anchor">#</a> Sensor GPIO</h3> <p>You can get notified with a press of the button</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>home/112233445566/GPIOInputtoMQTT
{&quot;gpio&quot;:&quot;LOW&quot;}
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h3 id="default-parameters"><a href="#default-parameters" class="header-anchor">#</a> Default parameters</h3> <ul><li>Adaptive scanning activated (from v1.5.0)</li> <li>Connect to BLE devices deactivated</li> <li>BLE adaptive scan activated</li> <li>Max current that switch Off the relay: 15A</li> <li>Recover relay state upon restart or power outage activated</li></ul> <p>The BLE parameters can be changed with the commands detailed into <a href="https://docs.openmqttgateway.com/use/ble.html" target="_blank" rel="noopener noreferrer">BLE gateway usage<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>.</p> <h2 id="updating-theengs-plug"><a href="#updating-theengs-plug" class="header-anchor">#</a> Updating Theengs Plug</h2> <p>Theengs plug can benefit from Over The Air updates following these different methods:</p> <ul><li>From Home Assistant directly if you have version 1.8.0 or more, Settings-&gt;Devices &amp; Services-&gt;Devices, click on the plug, click on the firmware version, click Update</li> <li>From the WifiManager portal, by uploading a binary directly to the plug
<ul><li>Download the last version binary named &quot;Theengs-Plug-firmware&quot; from the Github <a href="https://github.com/1technophile/OpenMQTTGateway/releases" target="_blank" rel="noopener noreferrer">release page of OpenMQTTGateway<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li>Reset the plug with a long button press</li> <li>Connect to the Wifi access point with your smartphone</li> <li>Click Update</li> <li>Add the binary downloaded previously</li> <li>Click Update and wait a few minutes until you get &quot;Update successfull&quot;</li> <li>Reconfigure the plug into the Wifi portal</li></ul></li> <li>From an MQTT command to trigger the download of the firmware from a webserver
<ul><li>Connect to your MQTT broker with a client like MQTT Explorer</li> <li>Publish the update command like below (OTAPASSWORD being your Over The Air password if you changed it during the configuration):</li></ul></li></ul> <div class="language- line-numbers-mode"><pre class="language-text"><code>{
&quot;version&quot;: &quot;v1.6.0&quot;,
&quot;password&quot;: &quot;OTAPASSWORD&quot;,
&quot;url&quot;: &quot;https://github.com/1technophile/OpenMQTTGateway/releases/download/v1.6.0/theengs-plug-firmware.bin&quot;
}
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><p>or if you have version &gt;= 1.5.0</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>{
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h3 id="default-parameters"><a href="#default-parameters" class="header-anchor">#</a> Default parameters</h3> <ul><li>Adaptive scanning activated (from v1.5.0)</li> <li>Connect to BLE devices deactivated</li> <li>BLE adaptive scan activated</li> <li>Max current that switch Off the relay: 15A</li> <li>Recover relay state upon restart or power outage activated</li></ul> <p>The BLE parameters can be changed with the commands detailed into <a href="https://docs.openmqttgateway.com/use/ble.html" target="_blank" rel="noopener noreferrer">BLE gateway usage<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>.</p> <h2 id="updating-theengs-plug"><a href="#updating-theengs-plug" class="header-anchor">#</a> Updating Theengs Plug</h2> <p>Theengs plug can benefit from Over The Air updates following these different methods:</p> <ul><li>From Home Assistant directly if you have version 1.8.0 or more, Settings-&gt;Devices &amp; Services-&gt;Devices, click on the plug, click on the firmware version, click Update</li> <li>From the WifiManager portal, by uploading a binary directly to the plug for all versions
<ul><li>Download the last version binary named &quot;theengs-plug-firmware.bin&quot; from the Github <a href="https://github.com/1technophile/OpenMQTTGateway/releases" target="_blank" rel="noopener noreferrer">release page of OpenMQTTGateway<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li>Reset the plug with a long button press</li> <li>Connect to the Wifi access point with your smartphone</li> <li>Click Update</li> <li>Add the binary downloaded previously</li> <li>Click Update and wait a few minutes until you get &quot;Update successfull&quot;</li> <li>Reconfigure the plug into the Wifi portal</li></ul></li> <li>From an MQTT command to trigger the download of the firmware from a webserver
<ul><li>Connect to your MQTT broker with a client like MQTT Explorer</li> <li>Publish the update command like below if you have version &gt;= 1.8.0</li></ul></li></ul> <div class="language- line-numbers-mode"><pre class="language-text"><code>{
&quot;version&quot;: &quot;latest&quot;
}
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><p>To this topic (112233445566 being your gateway_name):</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>home/112233445566/commands/MQTTtoSYS/firmware_update
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><ul><li>The plug will restart with the new version</li></ul></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">11/15/2024, 7:14:00 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><ul><li>The plug will restart with the new version</li></ul></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">1/15/2025, 2:57:31 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/" class="prev router-link-active">
Quick start 🏠
</a></span> <!----></p></div> </main></div><div class="global-ui"></div></div>
<script src="/assets/js/app.e60a21ce.js" defer></script><script src="/assets/js/2.81888de0.js" defer></script><script src="/assets/js/3.4c6115d7.js" defer></script>
<script src="/assets/js/app.250174ef.js" defer></script><script src="/assets/js/2.81888de0.js" defer></script><script src="/assets/js/3.cec41dba.js" defer></script>
</body>
</html>
2 changes: 1 addition & 1 deletion assets/js/3.4c6115d7.js → assets/js/3.cec41dba.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/4.e9b400da.js → assets/js/4.3013c471.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/app.e60a21ce.js → assets/js/app.250174ef.js

Large diffs are not rendered by default.

Loading

0 comments on commit 11da50d

Please sign in to comment.