diff --git a/404.html b/404.html index 502f938..54e3d16 100644 --- a/404.html +++ b/404.html @@ -17,13 +17,13 @@ - + -

404

Looks like we've got some broken links.
+ - + diff --git a/advanced/advanced.html b/advanced/advanced.html index 331ed59..fe08caf 100644 --- a/advanced/advanced.html +++ b/advanced/advanced.html @@ -17,7 +17,7 @@ - + @@ -39,7 +39,7 @@ Decoder
+
GitHub (opens new window)

# User Guide

# LED Indicator Guide

# Steady Orange

The bridge is generating an Access Point for network onboarding.

# Orange (5 seconds on, 5 seconds off)

The bridge is disconnected from the MQTT broker.

# Orange (2 seconds on, 2 seconds off)

The bridge is disconnected from the WiFi network.

# Steady Green

The bridge is connected to both the network and the MQTT broker.

# Steady Blue

An update or operation is currently in progress.

# Flashing Blue

Scanning or communication is in progress.

# Modules and Parameters

# Home Assistant Discovery Convention

The bridge publishes its configuration and detected BLE sensors to the broker following the Home Assistant discovery convention (opens new window). You can find the devices in the Configuration->Devices menu with Home Assistant (opens new window).

TIP

Other controllers can also use the Home Assistant convention for automatic discovery.

# Bluetooth Gateway

The bridge detects Bluetooth devices (opens new window) and publishes their data to the MQTT broker.

home/112233445566/BTtoMQTT/AABBCCDDEEFF
+     (opens new window)    

# User Guide

# LED Indicator Guide

# Steady Orange

The bridge is generating an Access Point for network onboarding.

# Orange (5 seconds on, 5 seconds off)

The bridge is disconnected from the MQTT broker.

# Orange (2 seconds on, 2 seconds off)

The bridge is disconnected from the WiFi network.

# Steady Green

The bridge is connected to both the network and the MQTT broker.

# Steady Blue

An update or operation is currently in progress.

# Flashing Blue

Scanning or communication is in progress.

# Modules and Parameters

# Home Assistant Discovery Convention

The bridge publishes its configuration and detected BLE sensors to the broker following the Home Assistant discovery convention (opens new window). You can find the devices in the Configuration->Devices menu with Home Assistant (opens new window).

TIP

Other controllers can also use the Home Assistant convention for automatic discovery.

# Bluetooth Gateway

The bridge detects Bluetooth devices (opens new window) and publishes their data to the MQTT broker.

home/112233445566/BTtoMQTT/AABBCCDDEEFF
 {"id":"AA:BB:CC:DD:EE:FF","rssi":-88,"brand":"ClearGrass/Qingping","model":"Alarm Clock","model_id":"CGC1/CGD1","tempc":20.3,"tempf":68.54,"hum":55.3,"batt":41}
 
1
2

For example with auto-discovery -

# Default parameters

  • Adaptive scanning activated (from v1.5.0)
  • Connect to BLE devices deactivated
  • BLE adaptive scan activated

The BLE parameters can be changed with the commands detailed into BLE gateway usage (opens new window).

# Updating Theengs Bridge

Theengs bridge can benefit from Over The Air updates following these different methods:

  • From Home Assistant directly, Settings->Devices & Services->Devices, click on the bridge, click on the firmware version, click Update
  • From the WifiManager portal, by uploading a binary directly to the bridge -
    • Download the last version binary named "Theengs-Bridge-firmware" from the Github release page of OpenMQTTGateway (opens new window)
    • Reset the bridge with a long button press
    • Connect to the Wifi access point with your smartphone
    • Click Update
    • Add the binary downloaded previously
    • Click Update and wait a few minutes until you get "Update successfull"
    • Reconfigure the bridge into the Wifi portal
  • From an MQTT command to trigger the download of the firmware from a webserver +

    # Default parameters

    • Adaptive scanning activated (from v1.5.0)
    • Connect to BLE devices deactivated
    • BLE adaptive scan activated

    The BLE parameters can be changed with the commands detailed into BLE gateway usage (opens new window).

    # Erasing Theengs Bridge configuration

    If connected to an MQTT broker, the bridge configuration can be erased with an MQTT command (opens new window) or the button available in HA "SYS: Erase credentials". +If not connected to an MQTT broker you can reset the board by following the procedure below:

    • Connect the bridge to your computer with a USB cable
    • Go to the upload portal https://docs.openmqttgateway.com/dev/upload/web-install.html
    • Select "theengs-bridge", and keep "Erase Flash" selected
    • Click on INSTALL, and wait a few minutes
    • The bridge will have now the latest version and the settings erased

    # Updating Theengs Bridge

    Theengs bridge can benefit from updates following these different methods:

    • From Home Assistant directly, Settings->Devices & Services->Devices, click on the bridge, click on the firmware version, click Update
    • By connecting to your computer with a USB cable +
      • Go to the upload portal https://docs.openmqttgateway.com/dev/upload/web-install.html
      • Select "theengs-bridge", and unselect "Erase Flash" to keep your parameters
      • Click on INSTALL, and wait a few minutes
      • The bridge will have now the latest version
    • From the WifiManager portal, by uploading a binary directly to the bridge +
      • Download the last version binary named "Theengs-Bridge-firmware" from the Github release page of OpenMQTTGateway (opens new window)
      • Connect to the Wifi access point with your smartphone
      • Click Update
      • Add the binary downloaded previously
      • Click Update and wait a few minutes until you get "Update successfull"
      • Reconfigure the bridge into the Wifi portal
    • From an MQTT command to trigger the download of the firmware from a webserver
      • Connect to your MQTT broker with a client like MQTT Explorer
      • Publish the update command like below (OTAPASSWORD being your Over The Air password if you changed it during the configuration):
    {
       "version": "latest"
     }
     
    1
    2
    3

    To this topic (112233445566 being your gateway_name):

    home/112233445566/commands/MQTTtoSYS/firmware_update
    -
    1
    • The bridge will restart with the new version
1
- + diff --git a/assets/js/4.c8cb93d3.js b/assets/js/4.a76e6730.js similarity index 57% rename from assets/js/4.c8cb93d3.js rename to assets/js/4.a76e6730.js index 6c2c5a3..75c56a4 100644 --- a/assets/js/4.c8cb93d3.js +++ b/assets/js/4.a76e6730.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{429:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant.1bf06f13.png"},430:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant-2.b82edac6.png"},431:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant-3.292ea1aa.png"},440:function(e,t,a){"use strict";a.r(t);var s=a(65),r=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"user-guide"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#user-guide"}},[e._v("#")]),e._v(" User Guide")]),e._v(" "),s("h2",{attrs:{id:"led-indicator-guide"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#led-indicator-guide"}},[e._v("#")]),e._v(" LED Indicator Guide")]),e._v(" "),s("h3",{attrs:{id:"steady-orange"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-orange"}},[e._v("#")]),e._v(" Steady Orange")]),e._v(" "),s("p",[e._v("The bridge is generating an Access Point for network onboarding.")]),e._v(" "),s("h3",{attrs:{id:"orange-5-seconds-on-5-seconds-off"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#orange-5-seconds-on-5-seconds-off"}},[e._v("#")]),e._v(" Orange (5 seconds on, 5 seconds off)")]),e._v(" "),s("p",[e._v("The bridge is disconnected from the MQTT broker.")]),e._v(" "),s("h3",{attrs:{id:"orange-2-seconds-on-2-seconds-off"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#orange-2-seconds-on-2-seconds-off"}},[e._v("#")]),e._v(" Orange (2 seconds on, 2 seconds off)")]),e._v(" "),s("p",[e._v("The bridge is disconnected from the WiFi network.")]),e._v(" "),s("h3",{attrs:{id:"steady-green"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-green"}},[e._v("#")]),e._v(" Steady Green")]),e._v(" "),s("p",[e._v("The bridge is connected to both the network and the MQTT broker.")]),e._v(" "),s("h3",{attrs:{id:"steady-blue"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-blue"}},[e._v("#")]),e._v(" Steady Blue")]),e._v(" "),s("p",[e._v("An update or operation is currently in progress.")]),e._v(" "),s("h3",{attrs:{id:"flashing-blue"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#flashing-blue"}},[e._v("#")]),e._v(" Flashing Blue")]),e._v(" "),s("p",[e._v("Scanning or communication is in progress.")]),e._v(" "),s("h2",{attrs:{id:"modules-and-parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#modules-and-parameters"}},[e._v("#")]),e._v(" Modules and Parameters")]),e._v(" "),s("h3",{attrs:{id:"home-assistant-discovery-convention"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#home-assistant-discovery-convention"}},[e._v("#")]),e._v(" Home Assistant Discovery Convention")]),e._v(" "),s("p",[e._v("The bridge publishes its configuration and detected BLE sensors to the broker following the "),s("a",{attrs:{href:"https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery",target:"_blank",rel:"noopener noreferrer"}},[e._v("Home Assistant discovery convention"),s("OutboundLink")],1),e._v(". You can find the devices in the Configuration->Devices menu with "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/integrate/home_assistant.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("Home Assistant"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(429)}})]),e._v(" "),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(430)}})]),e._v(" "),s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("Other controllers can also use the Home Assistant convention for automatic discovery.")])]),e._v(" "),s("h3",{attrs:{id:"bluetooth-gateway"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#bluetooth-gateway"}},[e._v("#")]),e._v(" Bluetooth Gateway")]),e._v(" "),s("p",[e._v("The bridge detects "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/prerequisites/devices.html#for-ble-devices",target:"_blank",rel:"noopener noreferrer"}},[e._v("Bluetooth devices"),s("OutboundLink")],1),e._v(" and publishes their data to the MQTT broker.")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('home/112233445566/BTtoMQTT/AABBCCDDEEFF\n{"id":"AA:BB:CC:DD:EE:FF","rssi":-88,"brand":"ClearGrass/Qingping","model":"Alarm Clock","model_id":"CGC1/CGD1","tempc":20.3,"tempf":68.54,"hum":55.3,"batt":41}\n')])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br")])]),s("p",[e._v("For example with auto-discovery\n")]),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(431)}})]),s("p"),e._v(" "),s("h3",{attrs:{id:"default-parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#default-parameters"}},[e._v("#")]),e._v(" Default parameters")]),e._v(" "),s("ul",[s("li",[e._v("Adaptive scanning activated (from v1.5.0)")]),e._v(" "),s("li",[e._v("Connect to BLE devices deactivated")]),e._v(" "),s("li",[e._v("BLE adaptive scan activated")])]),e._v(" "),s("p",[e._v("The BLE parameters can be changed with the commands detailed into "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/use/ble.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("BLE gateway usage"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("h2",{attrs:{id:"updating-theengs-bridge"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#updating-theengs-bridge"}},[e._v("#")]),e._v(" Updating Theengs Bridge")]),e._v(" "),s("p",[e._v("Theengs bridge can benefit from Over The Air updates following these different methods:")]),e._v(" "),s("ul",[s("li",[e._v("From Home Assistant directly, Settings->Devices & Services->Devices, click on the bridge, click on the firmware version, click Update")]),e._v(" "),s("li",[e._v("From the WifiManager portal, by uploading a binary directly to the bridge\n"),s("ul",[s("li",[e._v('Download the last version binary named "Theengs-Bridge-firmware" from the Github '),s("a",{attrs:{href:"https://github.com/1technophile/OpenMQTTGateway/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("release page of OpenMQTTGateway"),s("OutboundLink")],1)]),e._v(" "),s("li",[e._v("Reset the bridge with a long button press")]),e._v(" "),s("li",[e._v("Connect to the Wifi access point with your smartphone")]),e._v(" "),s("li",[e._v("Click Update")]),e._v(" "),s("li",[e._v("Add the binary downloaded previously")]),e._v(" "),s("li",[e._v('Click Update and wait a few minutes until you get "Update successfull"')]),e._v(" "),s("li",[e._v("Reconfigure the bridge into the Wifi portal")])])]),e._v(" "),s("li",[e._v("From an MQTT command to trigger the download of the firmware from a webserver\n"),s("ul",[s("li",[e._v("Connect to your MQTT broker with a client like MQTT Explorer")]),e._v(" "),s("li",[e._v("Publish the update command like below (OTAPASSWORD being your Over The Air password if you changed it during the configuration):")])])])]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('{\n "version": "latest"\n}\n')])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br"),s("span",{staticClass:"line-number"},[e._v("3")]),s("br")])]),s("p",[e._v("To this topic (112233445566 being your gateway_name):")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("home/112233445566/commands/MQTTtoSYS/firmware_update\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br")])]),s("ul",[s("li",[e._v("The bridge will restart with the new version")])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{429:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant.1bf06f13.png"},430:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant-2.b82edac6.png"},431:function(e,t,a){e.exports=a.p+"assets/img/Theengs-Plug-Settings-HomeAssistant-3.292ea1aa.png"},440:function(e,t,a){"use strict";a.r(t);var s=a(65),r=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"user-guide"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#user-guide"}},[e._v("#")]),e._v(" User Guide")]),e._v(" "),s("h2",{attrs:{id:"led-indicator-guide"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#led-indicator-guide"}},[e._v("#")]),e._v(" LED Indicator Guide")]),e._v(" "),s("h3",{attrs:{id:"steady-orange"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-orange"}},[e._v("#")]),e._v(" Steady Orange")]),e._v(" "),s("p",[e._v("The bridge is generating an Access Point for network onboarding.")]),e._v(" "),s("h3",{attrs:{id:"orange-5-seconds-on-5-seconds-off"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#orange-5-seconds-on-5-seconds-off"}},[e._v("#")]),e._v(" Orange (5 seconds on, 5 seconds off)")]),e._v(" "),s("p",[e._v("The bridge is disconnected from the MQTT broker.")]),e._v(" "),s("h3",{attrs:{id:"orange-2-seconds-on-2-seconds-off"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#orange-2-seconds-on-2-seconds-off"}},[e._v("#")]),e._v(" Orange (2 seconds on, 2 seconds off)")]),e._v(" "),s("p",[e._v("The bridge is disconnected from the WiFi network.")]),e._v(" "),s("h3",{attrs:{id:"steady-green"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-green"}},[e._v("#")]),e._v(" Steady Green")]),e._v(" "),s("p",[e._v("The bridge is connected to both the network and the MQTT broker.")]),e._v(" "),s("h3",{attrs:{id:"steady-blue"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#steady-blue"}},[e._v("#")]),e._v(" Steady Blue")]),e._v(" "),s("p",[e._v("An update or operation is currently in progress.")]),e._v(" "),s("h3",{attrs:{id:"flashing-blue"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#flashing-blue"}},[e._v("#")]),e._v(" Flashing Blue")]),e._v(" "),s("p",[e._v("Scanning or communication is in progress.")]),e._v(" "),s("h2",{attrs:{id:"modules-and-parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#modules-and-parameters"}},[e._v("#")]),e._v(" Modules and Parameters")]),e._v(" "),s("h3",{attrs:{id:"home-assistant-discovery-convention"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#home-assistant-discovery-convention"}},[e._v("#")]),e._v(" Home Assistant Discovery Convention")]),e._v(" "),s("p",[e._v("The bridge publishes its configuration and detected BLE sensors to the broker following the "),s("a",{attrs:{href:"https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery",target:"_blank",rel:"noopener noreferrer"}},[e._v("Home Assistant discovery convention"),s("OutboundLink")],1),e._v(". You can find the devices in the Configuration->Devices menu with "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/integrate/home_assistant.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("Home Assistant"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(429)}})]),e._v(" "),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(430)}})]),e._v(" "),s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("Other controllers can also use the Home Assistant convention for automatic discovery.")])]),e._v(" "),s("h3",{attrs:{id:"bluetooth-gateway"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#bluetooth-gateway"}},[e._v("#")]),e._v(" Bluetooth Gateway")]),e._v(" "),s("p",[e._v("The bridge detects "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/prerequisites/devices.html#for-ble-devices",target:"_blank",rel:"noopener noreferrer"}},[e._v("Bluetooth devices"),s("OutboundLink")],1),e._v(" and publishes their data to the MQTT broker.")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('home/112233445566/BTtoMQTT/AABBCCDDEEFF\n{"id":"AA:BB:CC:DD:EE:FF","rssi":-88,"brand":"ClearGrass/Qingping","model":"Alarm Clock","model_id":"CGC1/CGD1","tempc":20.3,"tempf":68.54,"hum":55.3,"batt":41}\n')])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br")])]),s("p",[e._v("For example with auto-discovery\n")]),s("p",{attrs:{align:"left"}},[s("img",{attrs:{src:a(431)}})]),s("p"),e._v(" "),s("h3",{attrs:{id:"default-parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#default-parameters"}},[e._v("#")]),e._v(" Default parameters")]),e._v(" "),s("ul",[s("li",[e._v("Adaptive scanning activated (from v1.5.0)")]),e._v(" "),s("li",[e._v("Connect to BLE devices deactivated")]),e._v(" "),s("li",[e._v("BLE adaptive scan activated")])]),e._v(" "),s("p",[e._v("The BLE parameters can be changed with the commands detailed into "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/use/ble.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("BLE gateway usage"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("h2",{attrs:{id:"erasing-theengs-bridge-configuration"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#erasing-theengs-bridge-configuration"}},[e._v("#")]),e._v(" Erasing Theengs Bridge configuration")]),e._v(" "),s("p",[e._v("If connected to an MQTT broker, the bridge configuration can be erased with an "),s("a",{attrs:{href:"https://docs.openmqttgateway.com/use/gateway.html#erase-the-esp-settings",target:"_blank",rel:"noopener noreferrer"}},[e._v("MQTT command"),s("OutboundLink")],1),e._v(' or the button available in HA "SYS: Erase credentials".\nIf not connected to an MQTT broker you can reset the board by following the procedure below:')]),e._v(" "),s("ul",[s("li",[e._v("Connect the bridge to your computer with a USB cable")]),e._v(" "),s("li",[e._v("Go to the upload portal https://docs.openmqttgateway.com/dev/upload/web-install.html")]),e._v(" "),s("li",[e._v('Select "theengs-bridge", and keep "Erase Flash" selected')]),e._v(" "),s("li",[e._v("Click on INSTALL, and wait a few minutes")]),e._v(" "),s("li",[e._v("The bridge will have now the latest version and the settings erased")])]),e._v(" "),s("h2",{attrs:{id:"updating-theengs-bridge"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#updating-theengs-bridge"}},[e._v("#")]),e._v(" Updating Theengs Bridge")]),e._v(" "),s("p",[e._v("Theengs bridge can benefit from updates following these different methods:")]),e._v(" "),s("ul",[s("li",[e._v("From Home Assistant directly, Settings->Devices & Services->Devices, click on the bridge, click on the firmware version, click Update")]),e._v(" "),s("li",[e._v("By connecting to your computer with a USB cable\n"),s("ul",[s("li",[e._v("Go to the upload portal https://docs.openmqttgateway.com/dev/upload/web-install.html")]),e._v(" "),s("li",[e._v('Select "theengs-bridge", and unselect "Erase Flash" to keep your parameters')]),e._v(" "),s("li",[e._v("Click on INSTALL, and wait a few minutes")]),e._v(" "),s("li",[e._v("The bridge will have now the latest version")])])]),e._v(" "),s("li",[e._v("From the WifiManager portal, by uploading a binary directly to the bridge\n"),s("ul",[s("li",[e._v('Download the last version binary named "Theengs-Bridge-firmware" from the Github '),s("a",{attrs:{href:"https://github.com/1technophile/OpenMQTTGateway/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("release page of OpenMQTTGateway"),s("OutboundLink")],1)]),e._v(" "),s("li",[e._v("Connect to the Wifi access point with your smartphone")]),e._v(" "),s("li",[e._v("Click Update")]),e._v(" "),s("li",[e._v("Add the binary downloaded previously")]),e._v(" "),s("li",[e._v('Click Update and wait a few minutes until you get "Update successfull"')]),e._v(" "),s("li",[e._v("Reconfigure the bridge into the Wifi portal")])])]),e._v(" "),s("li",[e._v("From an MQTT command to trigger the download of the firmware from a webserver\n"),s("ul",[s("li",[e._v("Connect to your MQTT broker with a client like MQTT Explorer")]),e._v(" "),s("li",[e._v("Publish the update command like below (OTAPASSWORD being your Over The Air password if you changed it during the configuration):")])])])]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('{\n "version": "latest"\n}\n')])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br"),s("span",{staticClass:"line-number"},[e._v("3")]),s("br")])]),s("p",[e._v("To this topic (112233445566 being your gateway_name):")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("home/112233445566/commands/MQTTtoSYS/firmware_update\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br")])]),s("ul",[s("li",[e._v("The bridge will restart with the new version")])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/app.01b1991a.js b/assets/js/app.77397652.js similarity index 94% rename from assets/js/app.01b1991a.js rename to assets/js/app.77397652.js index 6d8b992..2fe128a 100644 --- a/assets/js/app.01b1991a.js +++ b/assets/js/app.77397652.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,c=e[0],u=e[1],s=e[2],l=0,p=[];l=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(4),o=n(50),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},function(t,e,n){var r=n(3),o=n(160),i=n(161),a=n(133),c=n(25),u=n(5),s=u("iterator"),f=u("toStringTag"),l=a.values,p=function(t,e){if(t){if(t[s]!==l)try{c(t,s,l)}catch(e){t[s]=l}if(t[f]||c(t,f,e),o[e])for(var n in a)if(t[n]!==a[n])try{c(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var h in o)p(r[h]&&r[h].prototype,h);p(i,"DOMTokenList")},function(t,e,n){var r=n(167),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(2),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e,n){var r=n(8),o=n(12),i=n(40);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r,o=n(11),i=n(135),a=n(104),c=n(51),u=n(139),s=n(70),f=n(75),l=f("IE_PROTO"),p=function(){},h=function(t){return" +