What is the format of ms_v_charge_timerstart?
Hi, What is the format of ms_v_charge_timerstart? I can’t find any info about it anywhere... Best regards, Geir
My notes have it as a Tesla Roadster message: (gmthour*60)-1, with special case midnight gmthour=24 N.B. Empirical values for TimerLSB and TimerMSB (a GMT+0800 car in Hong Kong) are: 1439 (0x059F) for midnight GMT, 59 (0x003B) for 1am GMT, up to 1379 (0x0563) for 11pm GMT. Kind of ugly, and never properly declared/used. It is sent back to the server/apps, but I don’t think it was ever used. I’m happy for it to be the number of minutes after midnight (UTC) when timed charge should start. Regards, Mark.
On 21 Jan 2018, at 8:41 PM, Geir Øyvind Vælidalo <geir@validalo.net> wrote:
Hi,
What is the format of ms_v_charge_timerstart? I can’t find any info about it anywhere...
Best regards, Geir
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Number of minutes after midnight (UTC) would be great. Best regards, Geir
22. jan. 2018 kl. 03:51 skrev Mark Webb-Johnson <mark@webb-johnson.net>:
My notes have it as a Tesla Roadster message:
(gmthour*60)-1, with special case midnight gmthour=24
N.B. Empirical values for TimerLSB and TimerMSB (a GMT+0800 car in Hong Kong) are: 1439 (0x059F) for midnight GMT, 59 (0x003B) for 1am GMT, up to 1379 (0x0563) for 11pm GMT.
Kind of ugly, and never properly declared/used. It is sent back to the server/apps, but I don’t think it was ever used.
I’m happy for it to be the number of minutes after midnight (UTC) when timed charge should start.
Regards, Mark.
On 21 Jan 2018, at 8:41 PM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Hi,
What is the format of ms_v_charge_timerstart? I can’t find any info about it anywhere...
Best regards, Geir
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto: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
Hehe! Greg, that is how effective I am 😜 The Mac’s clock is synced, but I think it is my mail-server that might be off. In the Kia Soul, it is currently the car that starts the charge, but I’m looking into being able to start and stop the charging from OVMS. Geir
22. jan. 2018 kl. 23:00 skrev Greg D. <gregd2350@gmail.com>:
Is it the car or the OVMS system that actually starts the charge? Just wondering if we have a car dependency here.
Greg
p.s. to Geir... It's kind of fitting that an email about time would arrive 11 minutes prior to its time stamp. Is your PC's clock set right?
Geir Øyvind Vælidalo wrote:
Number of minutes after midnight (UTC) would be great.
Best regards, Geir
22. jan. 2018 kl. 03:51 skrev Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>>:
My notes have it as a Tesla Roadster message:
(gmthour*60)-1, with special case midnight gmthour=24
N.B. Empirical values for TimerLSB and TimerMSB (a GMT+0800 car in Hong Kong) are: 1439 (0x059F) for midnight GMT, 59 (0x003B) for 1am GMT, up to 1379 (0x0563) for 11pm GMT.
Kind of ugly, and never properly declared/used. It is sent back to the server/apps, but I don’t think it was ever used.
I’m happy for it to be the number of minutes after midnight (UTC) when timed charge should start.
Regards, Mark.
On 21 Jan 2018, at 8:41 PM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Hi,
What is the format of ms_v_charge_timerstart? I can’t find any info about it anywhere...
Best regards, Geir
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
It is the car. This setting (ms_v_charge_timerstart) is paired with ms_v_charge_timermode to indicate the car is in timer mode (ie; will start charging at a specific time of day, rather than immediately on plug-in). For car’s that don’t have charge timers, we could directly support them within OVMS. Not too hard to do (if ms_v_charge_timermode AND ms_v_charge_pilot AND ms_v_charge_timerstart is now, then start charge). But, we would need a command to be able to remotely set this timer mode. Regards, Mark.
On 23 Jan 2018, at 6:00 AM, Greg D. <gregd2350@gmail.com> wrote:
Is it the car or the OVMS system that actually starts the charge? Just wondering if we have a car dependency here.
Greg
p.s. to Geir... It's kind of fitting that an email about time would arrive 11 minutes prior to its time stamp. Is your PC's clock set right?
Geir Øyvind Vælidalo wrote:
Number of minutes after midnight (UTC) would be great.
Best regards, Geir
22. jan. 2018 kl. 03:51 skrev Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>>:
My notes have it as a Tesla Roadster message:
(gmthour*60)-1, with special case midnight gmthour=24
N.B. Empirical values for TimerLSB and TimerMSB (a GMT+0800 car in Hong Kong) are: 1439 (0x059F) for midnight GMT, 59 (0x003B) for 1am GMT, up to 1379 (0x0563) for 11pm GMT.
Kind of ugly, and never properly declared/used. It is sent back to the server/apps, but I don’t think it was ever used.
I’m happy for it to be the number of minutes after midnight (UTC) when timed charge should start.
Regards, Mark.
On 21 Jan 2018, at 8:41 PM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Hi,
What is the format of ms_v_charge_timerstart? I can’t find any info about it anywhere...
Best regards, Geir
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
participants (3)
-
Geir Øyvind Vælidalo -
Greg D. -
Mark Webb-Johnson