ElectricMotorcycleForum.com

  • November 25, 2024, 02:49:17 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: 1 2 3 [4]

Author Topic: Android-App 'ZeroSpy'  (Read 5601 times)

herculeesjr

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #45 on: April 14, 2021, 07:17:21 AM »

I don't know what trigger I would have to setup on IFTTT for me to "connect" it with your ZeroSpy app.

You can use the "Webhooks" service as the "if" part. You can then find the URL to call when you navigate to "My services -> Webhooks -> Documentation". You will find something like this: https://maker.ifttt.com/trigger/{event}/with/key/abcdefghijklmnopqrstuvwxyz. This is the URL you should setup in ZeroSpy.
Hope this helps :)

Cheers

Sadly after a day the phone that connects to my bike can't manage to keep a connection. I've tried re-pairing the bluetooth, restarting the app, restarting the phone, etc. and sometimes it'll work again, but usually only for like six hours then it goes back to the constant "Reconnecting..." loop.
Logged
2017 Zero DS ZF13.0 (Charge Tank, no on-board charger)

gt13013

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #46 on: January 15, 2023, 07:08:52 AM »

Hello Boris,
Thanks a lot for developing and sharing ZeroSpy.
I do not plan at the moment to use it in order to remotely control my bike.
But on the other way, I have some problems with my bike (FXS MY2016, 11kW), which gives me completely crazy SOC values.
A very nice feature of ZeroSpy is that it can record data every second. These data can be exported and analyzed.
From what I see on the app, it seems that the Pack Capacity (Ah) is decreasing regularly while riding, unlike the SOC. It means that the Pack Capacity could help to predict the range better than the estimated SOC, particularly on the bikes where the SOC gives crazy values.
I would like to compare the curves of the SOC and of the Pack Capacity.
But unfortunately, even if ZeroSpy shows the Pack Capacity on its screen, ZeroSpy does not record the Pack Capacity values.
Could it be possible to add the Pack Capacity to the recorded values?
Thanks,
Gerard


Logged
Zero S 2023, Zero FXS 2016

Bodo

  • Jr. Member
  • **
  • Posts: 59
  • FXE
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #47 on: January 15, 2023, 07:03:19 PM »

Gerard, if I understand you right, you trust the FXS' output to show the correct battery capacity in Ah, but you don't trust the calculated SoC.
Question is, how is the capacity in Ah measured or calculated; ie could other data give you a better reference against the SoC like for example battery voltage?

ETA link to SoC estimation https://zeromanual.com/wiki/BMS/SoC_Estimation
« Last Edit: January 15, 2023, 07:07:26 PM by Bodo »
Logged

gt13013

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #48 on: January 17, 2023, 08:05:49 AM »

What is certain is that the SOC does not work on my bike anymore. And we are a lot in this case.
Clearly, the way the SOC is estimated has changed due to a firmware update, and perhaps some reprogramming from the Zero dealer.
Battery voltage is a bad way to estimate the SOC.
Using the remaining Pack Capacity could be an alternative in order to estimate the SOC and the range.

I have studied my bike's logs, and it seems that (but it has to be confirmed):

In the BMS logs, I get 8 different values related to the capacity and the SOC. They appear in lines of this form :
01469    01/09/2023 13:08:58   Discharge level      002 AH, SOC: 70%, I:034A, L:3756, l:3971, H:3807, B:051, PT:022C, BT:026C, PV:106014, M:Bike On
01470    01/09/2023 13:08:58   SOC:2341,7632,2672,26000,90,85,70,53   
In the 8 numbers that follow SOC, it seems that the third one, 2672, is the amount of mAh that the pack has delivered. I guess that this measure is obtained by Coulomb counting (or integration of the intensity). This value is rounded to 2 Ah in the line just before.
26000 is the nominal capacity of the pack in mAh. It has been stored in the BMS by the Zero dealer.
It seems that 90,85,70 are 3 different estimations of the SOC calculated from different ways.
The one that is used is the third (70%).

In my bike, I have two packs, one BMS in each pack, one log for each BMS.
And it seems that the MBB makes a mix of the information retrieved from the 2 BMS (average of their SOC).

From the line above, I have a pack with 26000 mAh and it has delivered 2672 mAh, i.e. taking only these numbers into account, its SOC should be 89.7%. Note that it is equal to the first of the 3 SOC estimations (90,85,70). But the BMS uses the third estimation of  70% ! It means that instead of telling me that I have used 10% of the capacity, the dash tells me that I have used 30% !!!

Note that lines of this kind did not appear in the logs when I had the original firmware (and good SOC estimates):
01470     01/09/2023 13:08:58   SOC:2341,7632,2672,26000,90,85,70,53   

The study of these data is quite difficult by extracting them from the log. And they are sampled every minute in the logs.
If ZeroSpy could help to extract some of these values (and with a sampling interval of 1 second), it could
- help to investigate what happens
- and with very little programming, it could be possible to make ZeroSpy display a range estimate based on the remaining Pack Capacity

« Last Edit: January 17, 2023, 08:09:10 AM by gt13013 »
Logged
Zero S 2023, Zero FXS 2016

Bodo

  • Jr. Member
  • **
  • Posts: 59
  • FXE
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #49 on: January 17, 2023, 04:38:32 PM »

What is certain is that the SOC does not work on my bike anymore. And we are a lot in this case.
Clearly, the way the SOC is estimated has changed due to a firmware update, and perhaps some reprogramming from the Zero dealer.
...
What MBB and BMS firmware versions did you use when the SoC display was working as expected, and which ones give you a non-working SoC display?
Logged

gt13013

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re: Android-App 'ZeroSpy'
« Reply #50 on: January 17, 2023, 06:02:16 PM »

@Bodo
We are digressing from the original topic. Please see this other thread: https://www.electricmotorcycleforum.com/boards/index.php?topic=11638.0
Logged
Zero S 2023, Zero FXS 2016
Pages: 1 2 3 [4]