Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| products:lorawan_gateways:ecosignal:general_ecosignal_doc [2022/08/19 13:33] – created manu | products: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 10: | Line 10: | ||
| * {{: | * {{: | ||
| - | ===== - WiFi Setup ===== | + | ---- |
| - | * {{: | + | |
| + | ===== - Configuration Manual | ||
| + | In this documentation you can find all the information to setup your gateway (Wi-Fi, LoRa server, etc.) | ||
| + | * {{ : | ||
| + | * {{ : | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== - LoRaWAN Server Configuration ===== | ||
| + | |||
| + | |||
| + | ==== - 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 === | ||
| + | * Connect your gateway in ethernet (simpler but wifi works also) to the same network your browser is connected to | ||
| + | * Push one time on the user button, once the LED blink your gateway is in configuration mode | ||
| + | * Go to the configuration page in a web browser: < | ||
| + | where '' | ||
| + | |||
| + | === - Go to the LoRaWAN Configuration page === | ||
| + | - Click on the '' | ||
| + | - Change the following settings: | ||
| + | - input the '' | ||
| + | - input the '' | ||
| + | - set the '' | ||
| + | - and set the '' | ||
| + | |||
| + | Your lorawan settings should look like:\\ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | **DO NOT FORGET TO SAVE** | ||
| + | |||
| + | === - Change the frequency plan by updating your SX1302 Settings === | ||
| + | - Click on the link '' | ||
| + | - upload your frequency plan that you use with TTN. | ||
| + | - Click the button '' | ||
| + | - 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> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | You can upload the file using the interface shown at the bottom of the configuration page (an illustration is given below):\\ | ||
| + | {{ : | ||
| + | |||
| + | **DO NOT FORGET TO SAVE** | ||
| + | |||
| + | |||
| + | You can also download the current configuration, | ||
| + | |||
| + | === - 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: | ||
| + | |||
| + | * {{ : | ||
| + | * {{ : | ||
| + | |||
| + | You can use the '' | ||
| + | < | ||
| + | esptool.py write_flash 0x0 stg-micro-lora-gw_0.2.1-lyon1.bin | ||
| + | </ | ||
| + | |||
| + | ==== - 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:// | ||
| + | - the device certificate (device.crt) | ||
| + | - the device private key (device.key) | ||
| + | - the json configuration file | ||
| + | |||
| + | <file csv mfg_config.csv> | ||
| + | key, | ||
| + | mfg_ns, | ||
| + | cert, | ||
| + | priv_key, | ||
| + | ca-ota-cert, | ||
| + | json_conf, | ||
| + | </ | ||