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".
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.
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.