Photon WiFi connectivity, new credentials

I have a photon that has been working fine in the past. But we moved and I want to connect to our new WiFi network. I do have 2.4 GHz WiFi available, but can't seem to find an easy way to put in new credentials without overwriting existing working code or updating the OS. I have not been able to find a clear process that doesn't wipe out the existing code on the device. And I also have data stored in EEPROM that I want to keep. I do have the green flashing LED, but I assume it is looking for my old WiFi. I can connect via USB as well, but, again don't want to trash the existing code on the device. Any help available for this? I thought I had notes on this, but I can't find them. Thanks.

Is this a Photon 1 or Photon 2?

If a Photon 2, you can use the Configure Wi-Fi tool to change Wi-Fi credentials from a web browser with the device connected by USB.

For either Photon, you can use the Particle CLI on a computer with the device connected by USB. Use the particle serial wifi command change only the Wi-Fi credentials leaving everything else unchanged.

Thanks Rick. It is an original Photon (1?) from quite a few years back. As long as I can use the CLI, and not disturb anything else, I'll try that.

Thanks.

Dave

Thanks Rick. I was able to get this Photon connected to our new WiFi. I appreciate the help.

Dave