Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

->set_sk_server() does not update #678

Open
peugenio opened this issue Feb 11, 2024 · 0 comments
Open

->set_sk_server() does not update #678

peugenio opened this issue Feb 11, 2024 · 0 comments

Comments

@peugenio
Copy link

In upgrading from openplotter 3 to openplotter 4, I needed to change the SK server address and WiFi credentials.
The ->set_wifi() method worked but the not the ->set_sk_server(). For example in the code below, the ESP32 serial terminal shows a good connection to the new WiFi but the SK server address was not updated. Rather old OP3 SK server address remained as depicted by the serial message:
"Websocket is connecting to Signal K server on address 10.10.10.1:3000".

sensesp_app = (&builder)
->set_hostname("FreshWater")
->set_wifi("SV-JROSE", "XXXXXXX")
->set_sk_server("192.168.3.80", 3000)
->get_app();

A work around fix is to change SK server via the ESP32 web interface (i.e. http://FreshWater.local). Once this was done, it was back working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant