products:lorawan_gateways:ecosignal:general_ecosignal_doc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:lorawan_gateways:ecosignal:general_ecosignal_doc [2023/04/20 05:54] manuproducts:lorawan_gateways:ecosignal:general_ecosignal_doc [2024/02/12 14:41] (current) – [4.2 Factory reset of the binary and the provisioning data] manu
Line 12: Line 12:
 ---- ----
  
-===== - WiFi Setup ===== +===== - Configuration Manual Setup ===== 
-  * {{:products:lorawan_gateways:ecosignal:stghw_00054_lora_micro_gateway_wifi_setup_fr.pdf|}}+In this documentation you can find all the information to setup your gateway (Wi-Fi, LoRa server, etc.) 
 +  * {{ :products:lorawan_gateways:ecosignal:stghw_00054_lora_micro_gateway_manual_en.pdf |english manual}} 
 +  * {{ :products:lorawan_gateways:ecosignal:stghw_00054_lora_micro_gateway_manual_fr.pdf |Manuel en Français}}
  
 ---- ----
Line 21: Line 23:
  
 ==== - Configure the ecoSignal Gateway for the TTN LoRaWAN server ==== ==== - Configure the ecoSignal Gateway for the TTN LoRaWAN server ====
 +
 +There are 4 steps:
 +  - put your gateway in configuration mode
 +  - change the parameters of the LoRa server connection
 +  - update your frequency plan to match the TTN plan
 +  - put your gateway back in normal mode
 +
 +Each step is detailed below.
  
 === - Put the gateway in configuration mode === === - Put the gateway in configuration mode ===
Line 37: Line 47:
  
 Your lorawan settings should look like:\\ Your lorawan settings should look like:\\
-{{:products:lorawan_gateways:ecosignal:ttn_lorawan_settings_documented.png|}}+ 
 +{{ :products:lorawan_gateways:ecosignal:ttn_lorawan_settings_documented.png?1200 |}}
  
 **DO NOT FORGET TO SAVE** **DO NOT FORGET TO SAVE**
Line 43: Line 54:
 === - Change the frequency plan by updating your SX1302 Settings === === - Change the frequency plan by updating your SX1302 Settings ===
   - Click on the link ''SX1302 Settings Configuration'' to go the configuration page of the SX1302   - Click on the link ''SX1302 Settings Configuration'' to go the configuration page of the SX1302
-  - upload your frequency plan that you use with TTN. A default configuration is provided below+  - upload your frequency plan that you use with TTN.  
 +    - Click the button ''Choose file'' at the bottom of the page 
 +    - A default json configuration for EU-868 is provided below (you can download the file by clicking on its name, in blue below).
 <file json Sx1302_configuration_TTN.json> <file json Sx1302_configuration_TTN.json>
 { {
Line 227: Line 240:
     }     }
 } }
 +</file>
 +
 +You can upload the file using the interface shown at the bottom of the configuration page (an illustration is given below):\\
 +{{ :products:lorawan_gateways:ecosignal:upload_new_frequency_plan.png?1200 |}}
 +
 +**DO NOT FORGET TO SAVE**
 +
 +
 +You can also download the current configuration, update it and upload it.
 +
 +=== - Return to normal mode ===
 +  - Once you have saved all your changes
 +  - Go back to normal mode by pressing one time on the user button
 +  - If every things is correctly configured, your gateway LED should show a solid GREEN
 +
 +----
 +
 +===== - Factory reset for Debug version =====
 +
 +==== - Factory reset of the binary ====
 +
 +When programming the gateway or another esp32 chip on the your PC, while your gateway is plugged-in, you might flash a wrong firmware or a faulty firmware on your gateway.
 +If you need to reflash a correct firmware here are some firmwares you can use:
 +
 +  * {{ :products:lorawan_gateways:ecosignal:stg-micro-lora-gw.bin | USMB EcoSignal Firmware 0.1.11-usmb}}
 +  * {{ :products:lorawan_gateways:ecosignal:stg-micro-lora-gw_0.2.1-lyon1.bin | Lyon1 EcoSignal Firmware 0.2.1-lyon1}}
 +
 +You can use the ''esptool.py'' tool from espressif with the following command:
 +<cli>
 +esptool.py write_flash 0x0 stg-micro-lora-gw_0.2.1-lyon1.bin
 +</cli>
 +
 +==== - Factory reset of the binary and the provisioning data ====
 +
 +You need to download:
 +  - the partition configuration file (below) mfg_config.csv
 +  - the security certificates of your gateway on https://pucs.wavebricks.com
 +    - the device certificate (device.crt)
 +    - the device private key (device.key)
 +  - the json configuration file
 +
 +<file csv mfg_config.csv>
 +key,type,encoding,value
 +mfg_ns,namespace,,
 +cert,file,binary,device.crt
 +priv_key,file,binary,device.key
 +ca-ota-cert,file,binary,ca_ota.crt
 +json_conf,file,binary,conf.json
 </file> </file>
  • products/lorawan_gateways/ecosignal/general_ecosignal_doc.1681970092.txt.gz
  • Last modified: 2023/04/20 05:54
  • by manu