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. 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. The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control: 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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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. 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. Changes to be made include: Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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. Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing. Regards, Mark.
This is sounding very good. I can help test. Jack On May 31, 2013, at 5:56 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
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.
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.
The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:
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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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.
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.
Changes to be made include:
Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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.
Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Sounds great. Will it work on first gen hardware (currently still in the box it arrived!) Andrew Sent from my iPhone On 31 May 2013, at 14:56, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
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.
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.
The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:
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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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.
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.
Changes to be made include:
Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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.
Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Probably. Just depends on flash memory, so I'll know more in the next few days. I think it should fit. Regards, Mark On 1 Jun, 2013, at 5:30 PM, Andrew Bissell <andrew.bissell@sunamp.co.uk> wrote:
Sounds great. Will it work on first gen hardware (currently still in the box it arrived!)
Andrew
Sent from my iPhone
On 31 May 2013, at 14:56, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
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.
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.
The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:
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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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.
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.
Changes to be made include:
Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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.
Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Hi mark, didi you read the Model S Manual and play with it? ;-)) Bye michael Am 31.05.2013 um 15:56 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
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). 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.
Can we get this working for twizy too, using the io ports on the OVMS hardware to trigger a NC relay? Nikki. Sent from my iPhone On 1 Jun 2013, at 10:55, Michael Jochum <mikeljo@mac.com> wrote:
Hi mark,
didi you read the Model S Manual and play with it? ;-))
Bye michael
Am 31.05.2013 um 15:56 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
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). 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.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Nikki, It will fire off the internal event callbacks, so will work with any vehicle module (or other plugin) that honors those callbacks. You should be able to implement the relay control as a plugin module, for vehicle modules without charge control. Regards, Mark On 1 Jun, 2013, at 7:11 PM, Nikki Gordon-Bloomfield <nikki@littlecollie.com> wrote:
Can we get this working for twizy too, using the io ports on the OVMS hardware to trigger a NC relay?
Nikki.
Sent from my iPhone
On 1 Jun 2013, at 10:55, Michael Jochum <mikeljo@mac.com> wrote:
Hi mark,
didi you read the Model S Manual and play with it? ;-))
Bye michael
Am 31.05.2013 um 15:56 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
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). 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.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Hi, this could be nice, not only for charge control. With a Relais you can do a lot of funny things. Some guys in the Ampera Forum take a GSM Module with some Relais and a 3 FOB. So they can control the Pre-Start/Pre-heat. Or we find the Bus command for this. ;-) Bye Michael Am 01.06.2013 um 13:16 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
You should be able to implement the relay control as a plugin module, for vehicle modules without charge control.
Not yet. Do you have a link? I have driven a model S, and seen some charge screenshots. It seemed even more basic than the roadster. Lots of complaints that even time delayed charging is missing, for TOU users. I have seen that the latest firmware has charge% rather than standard/range mode. I like the concept, and what I'm suggesting is something similar. But, the real requirement for charge limit % comes from commuters with limit range requirements that want to keep their batteries in the Goldilocks zone. Similar for cool down. I always thought it necessary for TOU users, but it is also useful for users in hot climates to cool down the battery even if they don't want/need to charge. I've tried to take the feedback from OVMS users, to come up with these requirements. I think I've got everyone's input covered, but please let me know if you can see anything missing. Regards, Mark On 1 Jun, 2013, at 5:55 PM, Michael Jochum <mikeljo@mac.com> wrote:
Hi mark,
didi you read the Model S Manual and play with it? ;-))
Bye michael
Am 31.05.2013 um 15:56 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
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). 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.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Hi, sure: for the Overview: https://www.teslamotors.com/de_DE/mytesla/manuals/ There are ALL, not only German. and this is the Manual: Model S Owners Guide Only 38 Pages! Look at Pages 17 and 28 Bye Michael Am 01.06.2013 um 13:11 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
Not yet. Do you have a link? I have driven a model S, and seen some charge screenshots. It seemed even more basic than the roadster. Lots of complaints that even time delayed charging is missing, for TOU users
Thanks. P.S. new model S charge screen: On 1 Jun, 2013, at 7:41 PM, Michael Jochum <mikeljo@mac.com> wrote:
Hi,
sure: for the Overview: https://www.teslamotors.com/de_DE/mytesla/manuals/ There are ALL, not only German.
and this is the Manual: Model S Owners Guide Only 38 Pages!
Look at Pages 17 and 28
Bye Michael
Am 01.06.2013 um 13:11 schrieb Mark Webb-Johnson <mark@webb-johnson.net>:
Not yet. Do you have a link? I have driven a model S, and seen some charge screenshots. It seemed even more basic than the roadster. Lots of complaints that even time delayed charging is missing, for TOU users
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Mark, This all sounds great. It covers everything I want, and more. Personally, I think three zones is plenty if you want to save some parameter space. Tom on 5/31/13 6:56 AM, Mark Webb-Johnson wrote:
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.
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.
The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:
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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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.
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.
Changes to be made include:
Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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.
Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Tom, My original design was 3 (home, work, other). I increased to 5 to allow for different schedules weekday / weekend, etc. Lets see how it works out. More would be good. Regards, Mark On 2 Jun, 2013, at 3:02 AM, Tom Saxton <tom@idleloop.com> wrote:
Mark,
This all sounds great. It covers everything I want, and more. Personally, I think three zones is plenty if you want to save some parameter space.
Tom
on 5/31/13 6:56 AM, Mark Webb-Johnson wrote:
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.
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.
The premise of what I'm thinking is a replacement for the limited charge control in the car, to make an Advanced Charge Control:
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). 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. When a car is turned off, while in a charge location, acc is enabled and current charge settings are saved. When a car is turned on, while in a charge location, acc is disabled and previous charge settings are restored. Features that acc should support include: Homelink activation. 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). Charge mode (standard, storage, range, performance). Charge current limit. Various charge types, including: Charge on plug-in Start charge at specific time Complete charge by specific time Desired charge limit (SOC%, ideal miles/kilometers, or full) 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. 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. Control, and status, is possible by SMS commands. 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.
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.
Changes to be made include:
Move the roadster digital speedo experimental feature to a fully supported features, and give it a permanent feature storage number. 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). The parameter storage for these new locations includes the charging preferences for each location. We would also need a parameter for time zone. Add a new module called "acc". If "acc" detects we are at a known charge location, it will take over the charge control from the car. 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.
Please let me have your comments / suggestions. I'll handle the coding, but I'll need lots of help testing.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
participants (6)
-
Andrew Bissell -
Jack West -
Mark Webb-Johnson -
Michael Jochum -
Nikki Gordon-Bloomfield -
Tom Saxton