I sent a pull request with Nissan Leaf remote climate control support. I also wrote up a quick blog post with a photo of my gen 1 wakeup circuit: https://carrott.org/blog/archives/158-OVMS-Nissan-Leaf-Remote-Climate-Contro... I'll post a schematic of the circuit. Gen 2 doesn't require any hardware modifications. I added #define CMD_ClimateControl 43 // (ON or OFF) with argument 'on' and 'off'. I'm using temporary hack to enable climate control via the homelink buttons. If CMD_ClimateControl is suitable, could we add support in the Apps for a better button to toggle it on and off? I see there is a car_doors5bits.HVAC to signal that climate control is on, but I don't think that is exposed in the android interface. This would be a good candidate to provide feedback that the climate control is on.
Tom, great work :)
#define CMD_ClimateControl 43 // (ON or OFF)
Command group 40-49 is meant for low level / network communication, so I reassigned CMD_ClimateControl to code 26, to add it to the vehicle control group (10-29).
with argument 'on' and 'off'. I'm using temporary hack to enable climate control via the homelink buttons.
For consistency with the other MSG commands I would expect the argument to be "0" / "1" instead of "OFF" / "ON".
If CMD_ClimateControl is suitable, could we add support in the Apps for a better button to toggle it on and off?
Sure :)
I see there is a car_doors5bits.HVAC to signal that climate control is on, but I don't think that is exposed in the android interface. This would be a good candidate to provide feedback that the climate control is on.
From my interpretation that's meant as the AC signal for the internal HV battery AC... -- Mark?
Regards, Michael -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
On Jun 3, 2016, at 3:57 PM, Michael Balzer <dexter@expeedo.de> wrote:
Tom,
great work :)
I see there is a car_doors5bits.HVAC to signal that climate control is on, but I don't think that is exposed in the android interface. This would be a good candidate to provide feedback that the climate control is on.
From my interpretation that's meant as the AC signal for the internal HV battery AC... -- Mark?
Regards, Michael
You might be joking, but HVAC is older than electric cars. It stands for Heating / Ventilating / Air-Conditioning. There are people who make entire careers out of HVAC technology. Brian
Thanks for clarification of the acronym, Brian.
From reading the roadster code my impression was the signal is bound to the battery cooldown / charging process, so signals an active temperature regulation of the battery, not the passenger space.
If it's meant that way, we should assign the passenger HVAC to an unused signal slot, i.e. 0x40 in doors5. Regards, Michael
From my interpretation that's meant as the AC signal for the internal HV battery AC... -- Mark? Regards, Michael You might be joking, but HVAC is older than electric cars. It stands for Heating / Ventilating / Air-Conditioning. There are people who make entire careers out of HVAC technology.
Brian
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
Tom, as you may have seen, I have added the support for CMD_ClimateControl to the latest Android App release. It only shows up if the vehicle capabilities contain cmd 26. I also added reading the doors5 HVAC bit for the button state, but I think it's not yet filled by the Leaf firmware. If you add that support to the firmware, the button should correctly reflect the state. The button images may be usable for the iOS App as well: https://github.com/openvehicles/Open-Vehicle-Android/blob/gcm/OpenVehicleApp... https://github.com/openvehicles/Open-Vehicle-Android/blob/gcm/OpenVehicleApp... Regards, Michael Am 04.06.2016 um 00:57 schrieb Michael Balzer:
If CMD_ClimateControl is suitable, could we add support in the Apps for a better button to toggle it on and off? Sure :) I see there is a car_doors5bits.HVAC to signal that climate control is on, but I don't think that is exposed in the android interface. This would be a good candidate to provide feedback that the climate control is on.
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
On 12/12/16 07:42, Michael Balzer wrote:
Tom,
as you may have seen, I have added the support for CMD_ClimateControl to the latest Android App release.
It only shows up if the vehicle capabilities contain cmd 26.
Thanks Michael! The A/C button shows up with the current Leaf vehicle firmware and works to turn of the AC on and of (well I haven't got to the bottom of why some second generation cars don't work, but the button correctly signals the OVMS firmware to try to turn it on).
I also added reading the doors5 HVAC bit for the button state, but I think it's not yet filled by the Leaf firmware.
If you add that support to the firmware, the button should correctly reflect the state.
I'm not setting car_doors5bits.HVAC yet, I'll squint at the CAN bus and find a suitable tell that the AC is on.
participants (3)
-
HONDA S-2000 -
Michael Balzer -
Tom Parker