stationMode Not Valid in Heltec WiFi LoRa 32 V2 #8

Closed
opened 2026-10-05 05:27:18 +02:00 by adam · 6 comments
Owner

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
}
}

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 > } >} <!-- github-sync-id:1827869219 -->
adam closed this issue 2026-10-05 05:27:18 +02:00
Author
Owner

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

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 <!-- github-comment-id:1657092976 -->
Author
Owner

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:
@.***>

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: > ***@***.***> > <!-- github-comment-id:1657094917 -->
Author
Owner

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

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 <!-- github-comment-id:1657119269 -->
Author
Owner

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:
@.***>

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: > ***@***.***> > <!-- github-comment-id:1657126497 -->
Author
Owner

excelente!

excelente! <!-- github-comment-id:1657126805 -->
Author
Owner

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

try StationMode:2 if you can ;)

> Thanks! It works! niedz., 30 lip 2023, 13:52 użytkownik Ricardo Guzman (Richonguzman) < ***@***.***> napisał: > […](#) try StationMode:2 if you can ;) <!-- github-comment-id:1657127231 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#8