[Ovmsdev] How to remove temperatures from app?

Thomas Bergo thomas.bergo at gmail.com
Tue Oct 29 14:15:36 HKT 2013


The temperatures are always light gray on my iPhone!? The stale timer is
updated on temperature read and decried every second. Are there more that
needs to be done to update the stale status?

Regards, Thomas

mandag 28. oktober 2013 skrev Mark Webb-Johnson følgende:

> Should be light gray if they are stale, bright white if ok.
>
> Regards, Mark
>
> On 28 Oct, 2013, at 5:55 pm, Thomas Bergo <thomas.bergo at gmail.com> wrote:
>
> Mark,
>
> The code is implemented as your example, so the temperatures will be
> indicated as stale by the code.
>
> Is there a visual indication in the app to show that the temperature are
> updated or stale? Now the app show the last temperature before the car was
> parked/stop charging.
>
> Regards, Thomas
>
>
> 2013/10/24 Mark Webb-Johnson <mark at webb-johnson.net>
>
> Matt,
>
> In the iMiev, the CAN bus stops when the car is parked and not charging,
> which means that the temperatures go stale.
>
> I want to flag this to the app, but I'm not sure how to do that. I assumed
> that setting them back to their "default" state would return the app to
> displaying "-"
>
>
> Use:
>
> ovms.{h,c}:
>   signed char car_stale_ambient; // 0 = Ambient temperature is stale
>   signed char car_stale_temps; // 0 = Powertrain temperatures are stale
>
>
> Most common method is that every time you receive a CAN bus message with
> the temps (motor, pem, battery), set car_stale_temps=60 (or
> car_stale_ambient=60 for ambient).
>
> Then, in your one-second-ticker function, just:
>
> if (car_stale_ambient>0) car_stale_ambient--;
> if (car_stale_temps>0) car_stale_temps--;
>
>
> That will automatically signal them as stale after 60 seconds of no update.
>
> P.S. Now we have iMiev support (although a bit beta) and are about to get
> Leaf support - when do we get these car picture in the app? ;-)
>
>
> Can you hold a few weeks for this? I am working on the Apps to re-work how
> we do the vehicle images. They are just too large (13MB+ already!), so I am
> working on a better way of handling the multiple colours and making it
> easier to add them to the Apps. Once I have this working, I'll let you know
> what format we need the images in.
>
> Regards, Mark.
>
> On 23 Oct, 2013, at 11:48 pm, Matt Beard <matt at beard.tv> wrote:
>
> In the iMiev, the CAN bus stops when the car is parked and not charging,
> which means that the temperatures go stale.
>
> I want to flag this to the app, but I'm not sure how to do that. I assumed
> that setting them back to their "default" state would return the app to
> displaying "-"
>
> This doesn't seem to work. Should it?
>
> Matt Beard
>
>
> P.S. Now we have iMiev support (although a bit beta) and are about to get
> Leaf support - when do we get these car picture in the app? ;-)
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131029/938d42eb/attachment.htm>


More information about the OvmsDev mailing list