Skip to content

Altruist can't connect to the wi-fi #41

@nakata5321

Description

@nakata5321

Describe the bug
I take new sensor and make clear software installation on webflasher.robonomics.network. After that tried to connect to me home wifi and get next error:

[10:28:39]opened config file...
[10:28:39]nullfailed to load json config
[10:28:39]opened config file...
[10:28:39]nullfailed to load json config
[10:28:39]Send to :
[10:28:39]Robonomics Address: 4GPMKwZTvx5wVtNbhW2qM354EgbUkcLZG4VQyKMiyhkfWhKn
[10:28:39]Saving config...
[10:28:39][ 21007][E][vfs_api.cpp:182] remove(): /config.json.old does not exists or is directory
[10:28:39][ 21043][E][vfs_api.cpp:137] rename(): /config.json does not exists
[10:28:39]Config written successfully.
[10:28:39]Robonomics private key: ---------------------------------------------------------------------
10:28:39]Robonomics datalog API is ready with sending interval (sec): 600
[10:28:39]Updating device status for Robonomics Datalog
[10:28:39]Creating new API status
[10:28:39]Created new API status
[10:28:39]API status upadted
[10:28:39]Robonomics HTTP API is ready with sending interval (sec): 30
[10:28:39]Updating device status for Robonomics Map
[10:28:39]Creating new API status
[10:28:39]Created new API status
[10:28:39]API status upadted
[10:28:39]Current reg: Global
[10:28:39]Read SDS...: 23-06-26(23b6)
[10:28:39]Stopping SDS011...
[10:28:39]SDS011 started with fetch interval (sec): 300
[10:28:39]Sensor was added: SDS
[10:28:39]Trying BMx280 sensor on 76
[10:28:39] ... found
[10:28:39]BMx280 started with fetch interval (sec): 300
[10:28:39]I2C driver deleted successfully.
[10:28:39]Sensor was added: BME280
[10:28:39]I2S Noise Sensor started with fetch interval (sec): 30
[10:28:39]Sensor was added: ICS43434
[10:28:39]Begin SCD4xSensor
[10:28:39]Begin SCD4x serial number: 6�
[10:28:39]I2C driver deleted successfully.
[10:28:39]Sensor was not added: SCD4x
[10:28:39]RadSens address: 0
[10:28:39]I2C driver deleted successfully.
[10:28:39]Sensor was not added: RadSens
[10:28:39]Connecting to Not Set
[10:28:39]....................
[10:28:39]Starting WiFiManager
[10:28:39]AP ID: Altruist-183c5f97bacc
[10:28:39]Password: 
[10:28:39]scan for wifi networks...
[10:28:39]AP Password is: 
[10:28:39]Starting Webserver... 0.0.0.0
[10:28:46]ws: guest ...
[10:28:46]begin webserver_config_body_get ...
[10:28:47]wifi networks found: 26
[10:28:47]ws: wifi ...
[10:29:05]ws: guest ...
[10:29:06]E (86443) wifi:Set status to INIT
[10:29:06]E (86474) wifi:Set status to INIT
[10:29:06]E (86489) wifi:Set status to INIT
[10:29:06]E (86504) wifi:Set status to INIT
[10:29:06]E (86518) wifi:Set status to INIT
[10:29:06]E (86534) wifi:Set status to INIT
[10:29:06]E (86548) wifi:Set status to INIT
[10:29:06]E (86567) wifi:Set status to INIT
[10:29:06]E (86582) wifi:Set status to INIT
[10:29:06]E (86672) wifi:Set status to INIT
[10:29:06]E (86688) wifi:Set status to INIT
[10:29:06]E (86703) wifi:Set status to INIT
[10:29:06]E (86718) wifi:Set status to INIT
[10:29:06]E (86733) wifi:Set status to INIT
[10:29:06]E (86754) wifi:Set status to INIT
[10:29:06]E (86774) wifi:Set status to INIT
[10:29:06]E (86790) wifi:Set status to INIT
[10:29:06]E (86805) wifi:Set status to INIT
[10:29:06]E (86820) wifi:Set status to INIT
[10:29:06]E (86875) wifi:Set status to INIT
[10:29:06]E (86889) wifi:Set status to INIT
[10:29:06]E (86904) wifi:Set status to INIT
[10:29:06]E (86920) wifi:Set status to INIT
[10:29:06]E (86935) wifi:Set status to INIT
[10:29:06]E (86951) wifi:Set status to INIT
[10:29:06]E (86983) wifi:Set status to INIT
[10:29:06]E (87003) wifi:Set status to INIT
[10:29:06]E (87020) wifi:Set status to INIT
[10:29:06]E (87034) wifi:Set status to INIT
[10:29:06]E (87048) wifi:Set status to INIT
[10:29:06]E (87063) wifi:Set status to INIT
[10:29:06]E (87082) wifi:Set status to INIT
[10:29:06]E (87098) wifi:Set status to INIT
[10:29:06]E (87112) wifi:Set status to INIT
[10:29:06]E (87129) wifi:Set status to INIT
[10:29:07]E (87143) wifi:Set status to INIT
[10:29:07]E (87158) wifi:Set status to INIT
[10:29:07]E (87174) wifi:Set status to INIT

After some time the sensor tried to restart, but get the same problem:

[10:35:30]E (166324) wifi:Set status to INIT
[10:35:30]E (166338) wifi:Set status to INIT
[10:35:30]E (166355) wifi:Set status to INIT
[10:35:30]E (166373) wifi:Set status to INIT
[10:35:30]E (166389) wifi:Set status to INIT
[10:35:30]E (166410) wifi:Set status to INIT
[10:35:30]E (166424) wifi:Set status to INIT
[10:35:30]E (166439) wifi:Set status to INIT
[10:35:30]E (166456) wifi:Set status to INIT
[10:35:30]E (166471) wifi:Set status to INIT
[10:35:30]ESP-ROM:esp32c3-api1-20210207
[10:35:30]Build:Feb  7 2021
[10:35:30]rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
[10:35:30]Saved PC:0x40382686
[10:35:30]SPIWP:0xee
[10:35:30]mode:DIO, clock div:1
[10:35:30]load:0x3fcd5810,len:0x438
[10:35:30]load:0x403cc710,len:0x90c
[10:35:30]load:0x403ce710,len:0x2624
[10:35:30]entry 0x403cc710
[10:35:33]Start setup
[10:35:33]Altruist: R-URB_2025-06/EN
[10:35:33]mounting FS...
[10:35:33]opened config file...
[10:35:33]{"SOFTWARE_VERSION":"R-URB_2025-06","current_lang":"EN","wlanssid":"DinoHome","wlanpwd":"-------","wlannopwd":false,"www_username":"admin","www_password":"","fs_ssid":"Altruist-183c5f97bacc","fs_pwd":"","www_basicauth_enabled":false,"rws_owner":"Not Set","robonomics_public_node":"polkadot.rpc.robonomics.network","private_key":"-----------","coords_gps":"0.0,0.0","send2robonomics":true,"send2csv":false,"auto_update":true,"use_beta":false,"has_display":false,"has_sh1106":false,"has_flipped_display":false,"debug":3,"sending_intervall_ms":30000,"datalog_sending_intervall_ms":600000,"time_for_wifi_config":600000,"send2custom":false,"host_custom":"192.168.100.73","url_custom":"","port_custom":5000,"user_custom":"","pwd_custom":"","ssl_custom":false,"send2influx":false,"host_influx":"influx.server","url_influx":"/write?db=sensorcommunity","port_influx":8086,"user_influx":"","pwd_influx":"","measurement_name_influx":"feinstaub","ssl_influx":false,"donated_by":"","current_reg":"Global","temp_correction":"0.0","local_hostname":"altruist"}parsed json...
[10:35:33]Send to :
[10:35:33]Robonomics Address: 4GAvF3cyYuXC5rDrKxLK6jMCoZ8qSt3YQ837kGiX3SWHoTZL
[10:35:33]Robonomics private key: -------------------------------------
[10:35:33]Robonomics datalog API is ready with sending interval (sec): 600
[10:35:33]Updating device status for Robonomics Datalog
[10:35:33]Creating new API status
[10:35:33]Created new API status
[10:35:33]API status upadted
[10:35:33]Robonomics HTTP API is ready with sending interval (sec): 30
[10:35:33]Updating device status for Robonomics Map
[10:35:33]Creating new API status
[10:35:33]Created new API status
[10:35:33]API status upadted
[10:35:33]Current reg: Global
[10:35:35]Read SDS...: 
[10:35:35]Stopping SDS011...
[10:35:35]SDS011 started with fetch interval (sec): 300
[10:35:35]Sensor was not added: SDS
[10:35:35]Trying BMx280 sensor on 76
[10:35:35] ... found
[10:35:35]BMx280 started with fetch interval (sec): 300
[10:35:35]I2C driver deleted successfully.
[10:35:35]Sensor was added: BME280
[10:35:35]I2S Noise Sensor started with fetch interval (sec): 30
[10:35:35]Sensor was added: ICS43434
[10:35:35]Begin SCD4xSensor
[10:35:35]Begin SCD4x serial number: 6�
[10:35:35]I2C driver deleted successfully.
[10:35:35]Sensor was not added: SCD4x
[10:35:35]RadSens address: 0
[10:35:35]I2C driver deleted successfully.
[10:35:35]Sensor was not added: RadSens
[10:35:36]E (5875) wifi:Set status to INIT
[10:35:36]E (5889) wifi:Set status to INIT
[10:35:36]Connecting to DinoHome
[10:35:36]E (5907) wifi:Set status to INIT
[10:35:36]E (5924) wifi:Set status to INIT
[10:35:36]E (5940) wifi:Set status to INIT
[10:35:36]E (5965) wifi:Set status to INIT
[10:35:36]E (5980) wifi:Set status to INIT
[10:35:36]E (5999) wifi:Set status to INIT
[10:35:36]E (6017) wifi:Set status to INIT
[10:35:36]E (6033) wifi:Set status to INIT
[10:35:36]E (6050) wifi:Set status to INIT
[10:35:36]E (6071) wifi:Set status to INIT
[10:35:36]E (6085) wifi:Set status to INIT
[10:35:36]E (6099) wifi:Set status to INIT
[10:35:36]E (6114) wifi:Set status to INIT
[10:35:36]E (6129) wifi:Set status to INIT
[10:35:36]E (6145) wifi:Set status to INIT
[10:35:36]E (6167) wifi:Set status to INIT
[10:35:36]E (6184) wifi:Set status to INIT
[10:35:36]E (6201) wifi:Set status to INIT
[10:35:36]E (6218) wifi:Set status to INIT

Expected behavior
Want to connect to my wi-fi

Desktop (please complete the following information):
you can find all information in logs.

Additional context
Probably problem happens bc i have 2 router(mikrotik) with same wi-fi name. Maybe sensor tried to connect not to the nearest router

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions