richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
215 stars 66 forks source link

stationMode Not Valid in Heltec WiFi LoRa 32 V2 #8

Closed SP3WRO closed 1 year ago

SP3WRO commented 1 year ago

After compiling and uploading the firmware to the Heltec WiFi LoRa 32 V2 device, the following message is displayed:

------- ERROR ------- stationMode Not Valid change it on : /data/igate_conf.json

I have no idea what is incorrectly set in the igate_conf.json file because I didn't change anything.

{ "callsign": "SP3WRO-10", "stationMode": 1, "iGateComment": "LoRa_APRS_iGate", "wifi": { "AP": [ { "ssid": "****", "password": "**", "latitude": 52.7013, "longitude": 16.3902 }, { "ssid": "WIFI_2", "password": "password_2", "latitude": 0.0000000, "longitude": 0.0000000 } ] }, "digi": { "comment": "LoRa_APRS_Digirepeater", "latitude": 0.0000000, "longitude": 0.0000000 }, "aprs_is": { "passcode": "", "server": "euro.aprs2.net", "port": 14580, "reportingDistance": 30 }, "lora": { "iGateFreq": 433775000, "digirepeaterTxFreq": 433775000, "digirepeaterRxFreq": 433900000, "spreadingFactor": 12, "signalBandwidth": 125000, "codingRate4": 5, "power": 1 }, "display": { "alwaysOn": true, "timeout": 4, "turn180" : false }, "syslog": { "active": false, "server": "192.168.0.100", "port": 514 }, "other": { "beaconInterval": 15, "rememberStationTime": 30, "sendBatteryVoltage": false }, "bme": { "active": false } }

Mane76 commented 1 year ago

Hello SP3WRO,

could you please check if WLAN credentials are ok (no typo in config, no MAC filtering in Accesspoint, ...) ? This message also appears if WLAN is not connected.

Could you please also check if "passcode" is set correctly in section "aprs_is" of config ?

BR Manfred

SP3WRO commented 1 year ago

I checked everything. This is not the first time I run ESP32 with wifi.

niedz., 30 lip 2023, 11:42 użytkownik Mane76 @.***> napisał:

Hello SP3WRO,

could you please check if WLAN credentials are ok (no type in config, no MAC filtering in Accesspoint, ...) ? This message also appears if WLAN is not connected.

Could you please also check if "passcode" is set correctly in section "aprs_is" of config ?

BR Manfred

— Reply to this email directly, view it on GitHub https://github.com/richonguzman/LoRa_APRS_iGate/issues/8#issuecomment-1657092976, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTKWFXXU5GHFYZNIRLCQATXSYUAJANCNFSM6AAAAAA25CKLSM . You are receiving this because you authored the thread.Message ID: @.***>

richonguzman commented 1 year ago

the "stationMode" error means you should try to upload the "igate_conf.json" configuration file once again , as the igate did not find it when booting.

Sometimes VSCODE has a bug and you need to turn it off and restart the program once again to be able to upload the configuration file (json) once again.

let me know how it goes

SP3WRO commented 1 year ago

Thanks! It works!

niedz., 30 lip 2023, 13:52 użytkownik Ricardo Guzman (Richonguzman) < @.***> napisał:

the "stationMode" error means you should try to upload the "igate_conf.json" configuration file once again , as the igate did not find it when booting.

Sometimes VSCODE has a bug and you need to turn it off and restart the program once again to be able to upload the configuration file (json) once again.

let me know how it goes

— Reply to this email directly, view it on GitHub https://github.com/richonguzman/LoRa_APRS_iGate/issues/8#issuecomment-1657119269, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTKWFRR4IJYUBCPMJ24C4LXSZDGFANCNFSM6AAAAAA25CKLSM . You are receiving this because you authored the thread.Message ID: @.***>

richonguzman commented 1 year ago

excelente!

richonguzman commented 1 year ago

Thanks! It works! niedz., 30 lip 2023, 13:52 użytkownik Ricardo Guzman (Richonguzman) < @.***> napisał:

try StationMode:2 if you can ;)