Glyn Posted April 28, 2019 Share Posted April 28, 2019 (edited) It's just noticed that ABRP supports live data from Leaf Spy, this is fantastic. However, I'm having trouble getting it to work. I've entered the ID and URL into leafspy and selected https. Leafspy is not showing any errors therefore I assume the data is being posted to your server correctly. However when i refresh the live data display in ABRP no data is showing. How can I debug this? Can you check my account to see if any data is being received from leafspy? I can't find any info of other users using this feature, has this feature been tested before? Edited May 5, 2019 by Jason (ABRP) Removed screenshot with mostly-visible token Link to comment Share on other sites More sharing options...
Glyn Posted April 28, 2019 Author Share Posted April 28, 2019 I noticed the ID token changes each time I refresh ABRP, is it therefore required to update the ID token in leafspy each time ABRP is to be used? This is a bit cumbersome. I ticked 'hide' next to the password field after this screenshot was taken, it didn't seem to make a difference. Link to comment Share on other sites More sharing options...
Jason-ABRP Posted April 28, 2019 Share Posted April 28, 2019 No, you shouldn't have to re-enter your token each time you update, that's only to force it to load a new token if you want one. As far as why your live data's not showing up, that's a good question. A few things to check, LeafSpy only sends data in the foreground, so if you swap fully to another app it won't send data (We have a request to the dev to fix this). If you have ABRP open on another device and have LeafSpy send data does it work? Link to comment Share on other sites More sharing options...
Glyn Posted April 28, 2019 Author Share Posted April 28, 2019 (edited) 18 minutes ago, Jason (ABRP) said: o, you shouldn't have to re-enter your token each time you update, that's only to force it to load a new token if you want one. Thanks a lot for the prompt replay. Ok, that's good to know 18 minutes ago, Jason (ABRP) said: LeafSpy only sends data in the foreground, so if you swap fully to another app it won't send data (We have a request to the dev to fix this). If you have ABRP open on another device and have LeafSpy send data does it work? I had leafspy open in the foreground on a separate device to ABRP. Is it possible to check on your backed system if you can see any data from my leaf spy arriving successfully? I wish leafspy would show a successful server connection message Edited April 28, 2019 by Glyn edit Link to comment Share on other sites More sharing options...
Jason-ABRP Posted April 28, 2019 Share Posted April 28, 2019 1 hour ago, Glyn said: Thanks a lot for the prompt replay. Ok, that's good to know I had leafspy open in the foreground on a separate device to ABRP. Is it possible to check on your backed system if you can see any data from my leaf spy arriving successfully? I wish leafspy would show a successful server connection message As it turns out, it wasn't making it. Found an error in the log that exposed a bug which is now fixed, and you should see data now! Link to comment Share on other sites More sharing options...
Glyn Posted April 28, 2019 Author Share Posted April 28, 2019 Awesome! I can confirm it's working now! Nice work This is so useful for Nissan LEAF drivers, I intend to test it out on a long trip across Europe soon (see attached). It's totally amazing that ABRP can calcualte this route! Is there any chance you could add the options to enter economy in miles/kWh (UK) and km/100kWh (Europe). Also in the UK we use miles for distance and degrees Celsius for temperature...we're strange like this . Currently, there is no way in ABRP to have both miles and deg C. Link to comment Share on other sites More sharing options...
Glyn Posted April 29, 2019 Author Share Posted April 29, 2019 So impressed with ABRP, I've just send your donation to support your server costs. It's the least I can do. Keep up the good work Link to comment Share on other sites More sharing options...
Jason-ABRP Posted April 29, 2019 Share Posted April 29, 2019 1 hour ago, Glyn said: Awesome! I can confirm it's working now! Nice work This is so useful for Nissan LEAF drivers, I intend to test it out on a long trip across Europe soon (see attached). It's totally amazing that ABRP can calcualte this route! Is there any chance you could add the options to enter economy in miles/kWh (UK) and km/100kWh (Europe). Also in the UK we use miles for distance and degrees Celsius for temperature...we're strange like this . Currently, there is no way in ABRP to have both miles and deg C. You definitely can switch your economy to mi/kWh (we use this in the US as well), just click on the "mi/kWh" button in the settings and it'll swap over. As far as Wh/km vs kWh/100km, the difference is only multiplying by 10, but we'll likely have to include that as a setting since it seems everyone is going that direction except Tesla (I do think Tesla's choice of units makes a lot of sense, but so do many of their EV design choices and no one seems to be adopting those either). As far as mixed units, I intend to include that when I overhaul the settings page - giving the option to bulk swap everything to metric/imperial, or set them individually. 1 hour ago, Glyn said: So impressed with ABRP, I've just send your donation to support your server costs. It's the least I can do. Keep up the good work Thank you very much! Link to comment Share on other sites More sharing options...
Glyn Posted April 29, 2019 Author Share Posted April 29, 2019 28 minutes ago, Jason (ABRP) said: You definitely can switch your economy to mi/kWh (we use this in the US as well), just click on the "mi/kWh" button in the settings and it'll swap over Fantastic, you're totally correct. I had missed that...doh! 1 Link to comment Share on other sites More sharing options...
Jason-ABRP Posted April 30, 2019 Share Posted April 30, 2019 On 4/28/2019 at 8:57 PM, Glyn said: Fantastic, you're totally correct. I had missed that...doh! Glad to be of service! One of the main things I want to do in my upcoming settings overhaul is make the whole thing more user-friendly. At the moment it's pretty hard for new users to get the hang of the settings because there are so many ways to configure your route. Do you have any requests on that front? Things you wish (aside from the UK units thing) we did differently / better? Link to comment Share on other sites More sharing options...
MrThrane Posted June 1, 2019 Share Posted June 1, 2019 Hi. LOVE ABRP, but I got the same problem as @Glyn . I have punched in everything in Leaf Spy Pro, but nothing appears in ABRP... Hope you can help me out here. :) Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 2, 2019 Share Posted June 2, 2019 19 hours ago, MrThrane said: Hi. LOVE ABRP, but I got the same problem as @Glyn . I have punched in everything in Leaf Spy Pro, but nothing appears in ABRP... Hope you can help me out here. :) Conveniently, there was an error in the log to fix! Give it another try and see if it works now. 1 Link to comment Share on other sites More sharing options...
Pete Posted June 3, 2019 Share Posted June 3, 2019 Everything has working nicely until part way through drive home yesterday when data stopped being transferred from leafspy, I can still read leafspy directly but abrp does not seem to be getting info anymore. I didn't (knowingly) change anything ad was driving. Have you had server problem? Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 4, 2019 Share Posted June 4, 2019 Yep, caused by a fix to the fix I put in for your lack of SoH data, you know the old Programmer song (to the tune of 99 bottles of beer): 99 little bugs in the code, 99 little bugs Take one down, patch it around 103 little bugs in the code In any case, should be all better now! 1 Link to comment Share on other sites More sharing options...
Pete Posted June 4, 2019 Share Posted June 4, 2019 11 hours ago, Jason (ABRP) said: Yep, caused by a fix to the fix I put in for your lack of SoH data, you know the old Programmer song (to the tune of 99 bottles of beer): 99 little bugs in the code, 99 little bugs Take one down, patch it around 103 little bugs in the code In any case, should be all better now! Cheers all fixed and great again. Let me know when android app as like many above I am very keen Link to comment Share on other sites More sharing options...
Goodbar Posted June 19, 2019 Share Posted June 19, 2019 This is so cool! I just found ABRP yesterday and seem to have gotten LeafSpy set up... But it's not reporting SoC and the battery temp seems to have been converted from ºC to ºF, even though LeafSpy is reporting ºF. My batt temp is ~79ºF according to LeafSpy. Hoping to try this on a more significant drive soon. Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 20, 2019 Share Posted June 20, 2019 @Goodbar - Thanks for the report! I think most of our Leaf users so far have been using Celsius, so that exposed a little bug, should be fixed now. SoC is handled two different ways, if you don't mind, could you check on the following in LeafSpy when you get 0% SoC and tell me what you get: SoC Ahr Gids We use those to approximate the displayed "dashboard" SoC in the car, since that's not provided by LeafSpy. Link to comment Share on other sites More sharing options...
Goodbar Posted June 20, 2019 Share Posted June 20, 2019 17 hours ago, Jason (ABRP) said: @Goodbar - Thanks for the report! I think most of our Leaf users so far have been using Celsius, so that exposed a little bug, should be fixed now. SoC is handled two different ways, if you don't mind, could you check on the following in LeafSpy when you get 0% SoC and tell me what you get: SoC Ahr Gids We use those to approximate the displayed "dashboard" SoC in the car, since that's not provided by LeafSpy. Thanks, the batt temp is displaying correctly now. SoC: 97.7 Ahr: 74.91 Gids: 342 Link to comment Share on other sites More sharing options...
Goodbar Posted June 21, 2019 Share Posted June 21, 2019 It's working now. Thank you! Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 23, 2019 Share Posted June 23, 2019 On 6/21/2019 at 10:27 AM, Goodbar said: It's working now. Thank you! Great! Glad I could help! Follow-up, how well does the SoC we show generally match your in-dash SoC? Always good to get some extra data points! Link to comment Share on other sites More sharing options...
Goodbar Posted June 25, 2019 Share Posted June 25, 2019 On 6/23/2019 at 11:48 AM, Jason (ABRP) said: Great! Glad I could help! Follow-up, how well does the SoC we show generally match your in-dash SoC? Always good to get some extra data points! I don't think I can see the live data in ABRP if LeafSpy still needs to be in the foreground if I'm just using my phone. I can set up an old phone to run LeafSpy if needed. Link to comment Share on other sites More sharing options...
MrThrane Posted June 25, 2019 Share Posted June 25, 2019 20 hours ago, Goodbar said: I don't think I can see the live data in ABRP if LeafSpy still needs to be in the foreground if I'm just using my phone. I can set up an old phone to run LeafSpy if needed. You can run it in split screen on your phone. I'm doing that and it's working great. Link to comment Share on other sites More sharing options...
Goodbar Posted June 26, 2019 Share Posted June 26, 2019 3 hours ago, MrThrane said: You can run it in split screen on your phone. I'm doing that and it's working great. Cool, thanks for the tip. I'd forgotten about split screen, honestly. Never had a good use for it until now, apparently. 1 Link to comment Share on other sites More sharing options...
Padraigdc Posted June 26, 2019 Share Posted June 26, 2019 11 hours ago, MrThrane said: You can run it in split screen on your phone. I'm doing that and it's working great. I'm intrigued, is there a split screen option on iphone 8 and if so how does one start this witchraft ? Link to comment Share on other sites More sharing options...
MrThrane Posted June 27, 2019 Share Posted June 27, 2019 21 hours ago, Padraigdc said: I'm intrigued, is there a split screen option on iphone 8 and if so how does one start this witchraft ? Hmm, I don't know if iPhone 8 have this option...? Link to comment Share on other sites More sharing options...