<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>Probably. Just depends on flash memory, so I'll know more in the next few days. I think it should fit.</div><div><br></div><div>Regards, Mark</div><div><br>On 1 Jun, 2013, at 5:30 PM, Andrew Bissell <<a href="mailto:andrew.bissell@sunamp.co.uk">andrew.bissell@sunamp.co.uk</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Sounds great. Will it work on first gen hardware (currently still in the box it arrived!)</div><div><br></div><div>Andrew<br><br>Sent from my iPhone</div><div><br>On 31 May 2013, at 14:56, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div><br></div><div>I've spent some time planning this, and now have the time to try to get it done. The observant will have noticed a new branch ACC just appeared in the github repository.</div><div><br></div><div>This is primarily for Tesla Roadster owners, but once we work out how to do charge control in other cars, it will have use for them.</div><div><br></div><div>The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:</div><div><br></div><div><ul class="MailOutline"><li>We have the concept of a 'charge location'. This is an area (square, because it is easiest) around a GPS location. An area of 200m x 200m, centred on the charge location, should be sufficient for gps inaccuracies. Up to 5 such charge locations can be defined (I'm thinking home, work, and one other).</li><li>Once the car enters a charge location, an action can be triggered. At the moment, I'm only thinking of automatic home link activation, but others are possible.</li><li>When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved.</li><li>When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored.</li><li>Features that acc should support include:</li><ul><li>Homelink activation.</li><li>Cooldown (cool the car using a sequence of low amperage range mode charges) - this would need a minimum temperature (don't cool down unless ESS temperature is above this), a desired temperature (cool down until the ESS reaches this temperature),and a time limit (stop cooling down if we've been trying for too long).</li><li>Charge mode (standard, storage, range, performance).</li><li>Charge current limit.</li><li>Various charge types, including:</li><ul><li>Charge on plug-in</li><li>Start charge at specific time</li><li>Complete charge by specific time</li></ul><li>Desired charge limit (SOC%, ideal miles/kilometers, or full)</li></ul><li>In addition to the charge locations, acc should be able to be turned on, one-off, for the current location. This should be done after the car is turned off, before plugging in. It will be effective until the car is turned on again.</li><li>It should also be possible to use this one-off acc to override the charge control for the current location. This will be effective until the car is turned on again.</li><li>Control, and status, is possible by SMS commands.</li><li>Control is also possible by a new tab added to the apps. I'm going to do iPhone first, with the existing charge control moved to a new "Charge" tab.</li></ul></div><div><br></div><div>I'm not sure how to do the 'specific time'. This could be simple-to-ludicrously-complex. My inclination is to just put a day-of-week filter on each charge location - with acc only being enabled if the day matches. More than one location could be created for each physical gps location, with different day matches, to control how that would behave.</div><div><br></div><div>Changes to be made include:</div><div><br></div><div><ol class="MailOutline"><li>Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number.</li><li>Assign five new permanent parameters, one each for five charge locations (home, work, other, or whatever they want to be known as - we just call them #1, #2, #3, #4 and #5).</li><li>The parameter storage for these new locations includes the charging preferences for each location.</li><li>We would also need a parameter for time zone.</li><li>Add a new module called "acc".</li><li>If "acc" detects we are at a known charge location, it will take over the charge control from the car.</li><li>The "acc" will also support commands for the current location, and will be able to take over charge control from now until the car is next driven.</li></ol></div><div><br></div><div>Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.</div><div><br></div><div>Regards, Mark.</div><div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></body></html>