Collected and sent.
Thanks for the logs! What phone are you using?
Xiaomi RedMi K20 with Android 10. This phone didnāt lose bluetooth for at least a year, now it does. Cheap phone woes?
Sometimes android system updates change bluetooth functionality. Even patch updates, this happened with one of the Samsung phones that I tested with. Unfortunately I donāt have RedMi K20 so what I can do is to once again perform tests with the android device park I have access to and hope some other phone has similar issue. I do this periodically and it has been a while since the last time.
One more idea, it might have something to do with FlexiBMS. When Metr app starts, the first thing it tries to do is to fetch system information for all CAN bus devices. If FlexiBMS does not respond it might feel like some connection issue. You can go to Metr - Settings - Miscellaneous and disable āDetect DieBie/Flexiā. If that helps consider updating FlexiBMS firmware. I noticed you are using FlexiBMS 0.15 and if I remember correctly there were some changes to make CAN communication more stable.
Allright, when I disassemble my board again I will update FlexiBMS to 0.18 from 0.15 and see what happens.
I was intending on doing the same thing, however somewhere I believe I recall hearing the android wear stuff has had mixed success with Metr as the androidwear platform is segmented and maybe dying out? Anyways, I too would love some sort of display accessible without needing to look at my phone and I think a smartwatch would be sick.
Iāve also toyed with buying a cheapo old android phone and installing Metr and somehow mounting it for use as a display on my boardā¦ idk though!
If you consider second hand market, Huawei Watch GT 2 might be an option. I bought one for testing for ā¬50. Otherwise look for model that supports Wear OS 2.0 and above
There is a better way of doing it, DAVEGA X
True, I could go the DAVEGA X route and those things are super impressive - but I already have a Metr and was trying to think of possible quick ways to use what I have without wiring up more into my ESC and enclosure.
Not sure this is even possible, but I think it would be amazing if they had a device like a DAVEGA but instead of connecting directly to the board for power and metrics it had a rechargeable battery for power and wirelessly connected to the Metr for itās data. Anyways, maybe thatās just me and Iām just being lazy about the whole thing haha
Thanks for the watch recommendation though, I will certainly check that out!
I had a similar issue as @Murloc992 is describing on an system with iPhone, MetrPro, FlexiBMS, FireflyNano & 2FocBoxes.
The problem seemed to be related to the way the Metr app initiate the connexion, but simply killing the app and restarting it was solving the problem.
Symptoms were :
~70% of the time, the app was getting stuck just after starting it, while it was initiating the bluetooth connexion. When the green circle shows, it was blinking slower than usual before staying stuck in itās green state with apparently no more data being exchanged.
Restarting the app as many times as needed was solving the problem. It seems that Metr doesnāt have a timeout delay after which it would initiate a new connexion if the first attempt isnāt successful.
I managed to increase the rate of successful connexions by decreasing the noise generated by a cheap DC-DC step down converter (powering the lights) and then shielding the CAN bus, as I also noticed that the receiverās antenna distance to the CAN bus wires was having an impact on the Metr app connexion issue.
After getting better results (Metr connection failure rate was then down to ~ 35%) I reduced the frequency at which the receiver was polling the VESCās (through UART), suspecting that it could decrease the traffic on the CAN bus (I donāt know if it actually does, but it greatly improved the situation).
I finally got ~90% successful connexions when starting the Metr app.
Disabling āDetect DieBie/Flexiā didnāt have a noticeable effect.
Iām guessing a possible aproach could be to give Metr anywhere between 5s and 10s to initiate a connexion, and if not successful restart the process automatically. Successful attempts are usually taking less than 3s.
If you have access to a 3D printer, an old android, drawing up a mount sounds like a fun ideaā¦ Iād only do it if it was free with materials I have on handā¦ Iāve got one board Iād like to get a Davega on though and I couldnāt be hassled to even do that thoughā¦ (you got me thinking now though cause I got the phone, the filament, and time to draw a mount.) Either way if youāre planning on spending anything, my suggestion would be to just spring for the Davegaā¦ Itās so bullet proof, refined experience, and like mentioned elsewhere it pairs great with Metr Pro in practice.
Not sure if its a bug on unity 5.+ dual hub, but since updating i cant get to the expert tab.
I can however use the TCP bridge
futher investigation only got me as far as getting the comminication error on IOS but granted its an older IOS so that might be the cause in itself
checking app store cant even find metr, but i know i aint updating that iOS
I updated the Metr Unity first (check connection its solid)
then upodated to the newest FW 5.02 fom the version just before.
Glad I am not the only one. I donāt have any DC-DC converters or anything in my board. Metr just doesnāt want to cooperate sometimes.
Disabling FlexiBMS detection didnāt have any effect.
Will need to wait some time until I can take the board apart and upgrade the FlexiBMS firmware.
Have you found a solution to my Mode switching issue?
Yes, as I remember that was more a cosmetic issue right? After you restart the board app still shows temp mode applied which is no longer the case, right?
It was more than a cosmetics.
You are right about it still showing the temp mode but the characteristics of the main mode weāre carried over.
Main mode is low speed, low amps.
Fun mode is high speed, high amps.
If i apply the fun mode as āuntil rebootā it still has the characteristics of the Main mode apart from the speed. Weak acceleration and brakes.
To fully apply the fun mode i have to apply a different mode and then the fun mode for it to take affect but then fully applied and not until reboot.
Yes, now I remember. Did you take into consideration that temporary mode can only change specific parameters and not all? Did you look into expert tab history and check what changes after you apply temp mode and then press read?
Yes!
My modes only change speed and amps
here a gif
thatās all they change.
I created a mode with all numbers 99 so its clear
This was when i applied the All99 mode
then i applied my main mode (which is the slow one)
and then my temp mode (which is the fast one)
I just checked in realtime again. Metr does not apply the new motor amps.
When i apply the fast mode the motor amps are still capped to 20A from the slow mode instead of 45A.
This seems to be the culprit.
Here you can see it in action.
Fast mode as temp getting capped but once i fully apply it, i get the 45A it shouldāve had from the beginning.
Thank you! I am investigating
Tomorrow when I get to my UNITY I will hopefully figure it out even more