congatudo / Congatudo

Cloud replacement for Conga vacuum robots enabling local-only operation
https://congatudo.cloud
Apache License 2.0
72 stars 22 forks source link

WifiConfigurationCapabilityRouter: Error while handling route "/" #68

Closed germanyague closed 1 year ago

germanyague commented 1 year ago

[WARN] WifiConfigurationCapabilityRouter: Error while handling route "/" { body: {}, message: "Cannot read properties of null (reading 'toString')" }

To Reproduce

Fresh install with a factory reseted Conga 3090. The /etc/wifi/wpa_suplicant.conf file was edited to:

ctrl_interface=/etc/wifi/sockets update_config=1 network={ ssid="WIFINAME" psk="PASSWORD" } -->

Screenshots

Vacuum Model

Conga 3090

Congatudo Version

2023.2.1 (same with 2023.3.0)

Expected behavior

Additional context

elraro commented 1 year ago

Hi @germanyague .

Please paste the output of iw command

elraro commented 1 year ago

Hi @germanyague ,

I think the problem is you are running Congatudo outside (container?) and the embedded variable from the config file is true. Please, change to false and try again.

germanyague commented 1 year ago

Sorry, I had no time left this week until now to test anything.

embedded:false works! For future reference: { "embedded": false, "robot": { "implementation": "CecotecCongaRobot", ... } I'm running inside Docker on a Synology 920+, so I don't fully understand why I have to set embedded to false, but now I have no errors on my logs (I also had one about Congatudo not being able to set the correct time on the 3090).

Thank you.