I’ve been looking at the github. But I wondered if there are any other commands outside of the can commands listed? Are there any commands in the XML to say reboot realdash or restart the connection after a timeout? Or is there any means to configure this in realdash?
Some, yes. They are not listed as they are ‘unofficial’ and may change or be removed completely.
Is there a command to say pause establishing a connection or restart the canbus connection? I’m trying to work around the issue I’m having with my setup and Holley.
No, the XML could not issue restart of the connection. This would require option in connection settings.
So is there any means to restart realdash from within itself? I see an option for triggers, but no listing to restart real dash.
No there is no way to restart the app from app itself.
Ok, thank you. Guess I’ll have to go at this from a different angle. Is there any means to delay the connection via the xml?
I’ve noticed that I can get the data from the holley to display by going into the garage and opening up the canbus monitor then exiting. But it also seems that I can establish data by unplugging the usb adapter and plugging it back in. Maybe a delay of connection would resolve it. If that’s not an option, I’m going to try to wire in a time delay relay to connect the canbus after a few seconds to see if that will consistently establish a connection on startup.
I remember from the past in similar situation that we have tried adding delay to connection and it did not solve the connection issue.
You are using two USB connections at the same time, right? First try with only one USB connection. If that is solid, we know that something in two USB connections is interfering each other.
Yes, I’m using two USB connections. But let me throw a curveball at you. Last night I tried starting up the vehicle/dash with both the Dashbox interface and the waveshare adapters plugged in. However I did not plug the waveshare adapter to the holley. It was simply connected to USB and unconnected to the holley. Once I plugged it into the canbus, data would flow. I can try tonight leaving it connected both ways and disconnect just the holley side and reconnect it to see if it reestablishes connection from the current failed state.
If we can’t add in a delay, I’ll simply get a double throw time delay relay and manually establish the connection if this is the path to resolve this.
This evening I left it as normal. Started the car. No data from the dash. I unpluged the canbus interface from the holley to the waveshare adapter and plugged it back in, instant data. So the issue isn’t with the two USB devices. But rather something about the holley data negotiating the connection to the waveshare interface.
Is there a command I can add in the XML to pause for say 5 seconds before trying to connect to the canbus? Or a means for the XML to check if no data seen for say 10 seconds, restart the connection? I don’t believe there’s anything going on with the USB side of things.
Believe me, the delay does not help.
Question; are you running on Android device that has some sort of a sleep mode? So it does not shut down completely, but does kill power from USB when it enters to sleep mode.
This started bothering me and I ran some very aggressive tests. On some cases when power to the USB is cut and restored quickly, RealDash will connect to the USB device and everything is seemingly fine, but adapter receives no data from CAN. I used Waveshare CAN adapter which has status leds, an RX led does not blink as it should when receiving CAN messages.
This indicates that adapter is not reading CAN bus, as its leds should and will blink regardless if RD is connected to the adapter or not.
So, for some reason, adapter can go into the state that it does not read CAN. Reconnecting the adapter from RD will fix the situation. Note that reason why going into Garage fixes it is because all connections are terminated as soon as you go to connections list, and re-connected when you return to the dashboard.
I don’t know if this is the same issue you are experiencing, but symptoms are similar. For me I can only make it happen by agressively swithing power on/off for the adapter.
It’s a android head unit so it does enter a sleep mode after power is cut to the “on” lead. The USB devices do get powered down as well.
This doesn’t appear to be anything I can configure on the device.
Is there a way to terminate the connections and restart them from xml or anything withing the application?
Hi Dev, I believe this is my problem with the OBD2 that I mentioned in another topic. A workaround is to take the red 5V USB wire and connect a relay to it, turn it on and off, the screen is on, the USB connection is off and on. In my case, since the screen stays on for a few seconds with the ignition off, the connection is not activated if I try to turn on the ignition if the application has not been closed.
No, and I’m not going to do anything like that into the XML. It is meant to describe the CAN frames, nothing else.
Did you have access to pre-release Dropbox folder? If you do, please try the APK from there.
Yes, I’ve tried every flavor pre-release you’ve posted. Is there a command line I could use with a rule to restart the connection?
You tried ‘RealDash-v253-prerel3-2.apk’ from Dropbox? It has a connection start delay option in connection settings.