I am in the process of trying to debug a Version 3 install and having problems. As a check I put a successful prior install with a version 2 board. . I can connect to the Version 2 Board locomotive and ran a successful firmware upgrade. So I am connected properly. The engine responds to commands okay.
So I put the new install with a version 3 board on the track.
At first the new locomotive would show on the engine list. I went through the add cycle and the app responded that the engine was add and a temporary wifi connection was established. I then exited to the Main panel and could not see the new engine. I closed and restarted the app. The engine did not appear. So I recycled the app. I still did not see the engine but it was visible on add new locomotive. list and I ran through that again. It failed to add again not appearing on the main locomotive list. I tried it again. Each time adding the network password. This time it did not say successfully added and after recycling the app and clearing cache, it does not appear on the main screen or the add new locomotive scene.
I rechecked by running the good install and it comes up as it should. Is something in limbo. I recycled my router and tried again. The existing install works. I left it on the test track and put the new install loco back on the track too. I get a successful install for the new loco, but it does not show up on the main screen so I can complete setting it up. I tried recycling the app again and it does not show up. It show up on the add loco list again this time. This time I get a connect to network with temporary address. Again it does not show on loco list. once again it doesn't show up but is still on the Add Loco list. I seem to be in a loop. Note this is a diesel loco like the successful first.
I have an old Galaxy S8 somewhere in my tiny office/workbench layout room. I long ago took it of network. Will try to find it, remove SIM card and charge it up to see if that will work. May take a day or two will let you know result.
>Are you looking at the screen print sequence i sent this morning?
Yes. Our response was in reference to your screen prints.
>However, this was the same sequence as with the notepad yesterday where I was not stopping and quickly clicked connect.
Thank you for confirming that.
>I just reran the sequence and with a quick connect click I still got the "Something came up. The application has cancelled a request to chose a device"
It appears that something on the phone is interrupting the process of making a connection to the LocoFi unit. Note that it is an issue of Android not being able to connect to the LocoFi module to be able to transfer the WiFi router credentials and initiate a reboot of the module, not the module unable to connect to the WiFi router.
>Can you check the code to see what condition triggers the "Something came up. The application has cancelled a request to chose a device"?
This is an Android generated dialog and error message (as part of their recent enhanced security related fixes). Since an app can try to connect to another WiFi network, this prompt is yet another check (even after granting the permissions) to confirm from the user if that is really what they want to do. We have no control over it. Doing (ironically) a 'Google' search reveals that it's a common problem with some Android devices.
However, we have plenty Pixels including 6 and 6a running Android 14 and have not seen this issue on either.
Some of the other things you can try before attempting to 'Add Loco' (although we are able to add locos on our Pixels successfully without doing these) are:
Turning off Bluetooth.
Turning off Mobile Data.
Making sure you start with connected to your WiFi network and entering the correct password.
If this also fails, there's two more options:
Try to reset the network settings of the phone. Warning: Please note that you will lose your network settings e.g. all the saved networks and their passwords, etc.
Try another smartphone (if you have a spare lying around) to do the 'Add Loco' part.
Note: Please remember to revert back to your original settings e.g. re-enable your Bluetooth and Mobile Data again after you're done adding the loco.
For future, we strongly recommend using a dedicated phone without a SIM card and running at least one or two revisions older version of Android. This is not the first time that each upgraded Android tends to break plenty of apps (except probably video games and others that generate a lot in ad revenue) in the name of security and it takes time to come out with fixes. For a list of currently < $40 phone deals, please check out the thread: https://www.wifimodelrailroad.com/forum/locofi-tm-general/cell-phone-for-controller
I just reran the sequence and with a quick connect click I still got the "Something came up. The application has cancelled a request to chose a device"
Hello Ken,
Congratulations on the successful install of LocoFi 3.
To further assist you, can you please provide the following info:
1. What is the make/model of the smartphone/tablet you're using to add the loco?
2. What is Android version of the device, LocoFi app version installed and the locomotive firmware version?
3. Have you tried another device to add the loco to see if that works?
It would be great if you can provide the above info along with pictures/screenshots along the way.
>At first the new locomotive would show on the engine list.
Have you tried to connect directly to the loco and operate it? Since you have not been able to add it to your WiFi network, it appears that you are directly connected to it.
> I recycled my router and tried again.
You typically don't have to do that.
>This time I get a connect to network with temporary address.
Can you please elaborate more about the temporary address?
Couple of additional points to note:
1. You need to be on the WiFi network you want the loco to add to. Similarly, after adding the loco, you need to make sure that you are on the same WiFi network again you added the loco to. There are times when the smartphone might try to switch to another saved network and obviously you won't see the loco there.
2. Did you 'Forget network' before trying the 'Add Loco' operation? Although not an issue with newer devices, it is possible that some devices probably still exhibit this behavior.
- LocoFi Team
Further information
this is the test setup with the loco on the left showing up in loco list and new loco on right not.
Look closely and the existing install shows on loco list
list of wifi devices on home network showing new loco does not appear.,