The first thing is to establish motivation to get new credentials.
I think it’s likely you want to have the readings at the new location kept separate to the current location for comparison purpose.
It’s easy to do what you require.
Firstly record on paper your current credentials.
On the serial connection to your pc; in the serial terminal; type
And write down the details in particular the 5 character random code you see. (Tokencode) and the wifi credentials.
Secondly go to your login on SmartCitizen.me and create a new kit; and again write down the 5 character code that is dished up by the portal. This is the ‘tokencode’
Thirdly go back to your serial terminal and put in the config command once again; this time you enter in new details being:
Wifi login password
/>> config -network -wifi “wifi name” “wifi password”
Notice that the wifi parameters need double quotes but the token code does not.
The kit will immediately take up the new credentials after a reset. If you are not in range of the new wifi then just turn off the kit and move the kit to the new location. Turn it on again when it gets to the new site.
Plug in your laptop once again and verify that the kit is now happily connected to the new wifi and has started to publish readings.
After some delay your new kit shows up at the new location on the map. The old location shows a grey marker.
When you have finished at the temporary site……
…. Some time later….
It’s a repeat of the above instructions but use wifi credentials for the main site and your old token that you wrote down. Now you kit shows up at the old location on the map.
Please note that at no stage is it necessary to do a factory reset of your kit (although that would also work). The method I have described is a quick hackers path to achieve your goal.
Personally I use this frequently during firmware development.
I have assumed you are using the latest firmware in both data board and esp being 0.9.8
If not then it’s best to upgrade before you do any of this. See documented instructions on how to do this.
However to note after installing the new firmwares you will want to use the config command. The new firmware installation puts the kit into factory reset state.