alohart
Well-known member
Paul Kim of Paul Kim Consulting wrote a PHP script that when executed, emails the current charge level and the maximum battery capacity (Batt. Kapa. max in the service menu) to the user. Paul's script logs into the user's BMW Connected Drive Website account, navigates to a page on this Website that has but doesn't display the current charge level and the maximum battery capacity that have been retrieved from the user's i3, grabs the information from the Website's HTML code, packages it into an email message, and sends it to the email address the user specifies. Cool!
However, one must have access to a Web server running a mail server to use the script.
I modified Paul's script to run under macOS on a computer. When my script is double-clicked or opened in Finder, the current charge level and maximum battery capacity is printed in a Terminal window after a short delay while the BMW Connected Drive Website responds. I have no doubt that my executable script could easily be modified to run under Windows, but I don't do Windows.
For those of you with more than one i3 registered on your BMW Connected Drive Website account, this script almost certainly reports information from only one of your i3's.
If you have a Mac and would be interested in trying my script (2 scripts, actually), a Zip archive is downloadable from my DropBox account. You don't need to log into DropBox; just dismiss the login panel. This Zip archive includes a README file, Paul's PHP script that I have modified to run in a desktop environment, and an executable script that can be double-clicked to run Paul's PHP script. Both scripts are human-readable and can be opened in TextEdit, so there's no security risk.
These scripts make it possible to monitor the maximum battery capacity from a computer. At this time, this information is available only in the service menu while sitting in an i3. By running this script frequently before and after charging and/or driving, it is possible to see just how much the maximum battery capacity estimate varies. This should result in i3 owners and lessees not overemphasizing the importance of the maximum battery capacity estimate, but maybe trends in this estimate would become obvious which might be significant.
Please post any problems that you might discover.
However, one must have access to a Web server running a mail server to use the script.
I modified Paul's script to run under macOS on a computer. When my script is double-clicked or opened in Finder, the current charge level and maximum battery capacity is printed in a Terminal window after a short delay while the BMW Connected Drive Website responds. I have no doubt that my executable script could easily be modified to run under Windows, but I don't do Windows.
For those of you with more than one i3 registered on your BMW Connected Drive Website account, this script almost certainly reports information from only one of your i3's.
If you have a Mac and would be interested in trying my script (2 scripts, actually), a Zip archive is downloadable from my DropBox account. You don't need to log into DropBox; just dismiss the login panel. This Zip archive includes a README file, Paul's PHP script that I have modified to run in a desktop environment, and an executable script that can be double-clicked to run Paul's PHP script. Both scripts are human-readable and can be opened in TextEdit, so there's no security risk.
These scripts make it possible to monitor the maximum battery capacity from a computer. At this time, this information is available only in the service menu while sitting in an i3. By running this script frequently before and after charging and/or driving, it is possible to see just how much the maximum battery capacity estimate varies. This should result in i3 owners and lessees not overemphasizing the importance of the maximum battery capacity estimate, but maybe trends in this estimate would become obvious which might be significant.
Please post any problems that you might discover.