I promised a while ago to add my NodeRed flows for charging the CX-60 and controlling car pre-conditioning. The following flow is my setup in case it helps someone. I have tried to add comment nodes to explain what each group is relating to.
A couple of points to note:
- Pod Point charging is scheduled from the new local calendar integration - I have setup a calendar called ‘Car’
- In the calendar integration, I have created 2 entries ‘Charge Car’ and ‘Precondition Car’.
- I have set the charge to be a daily repeat between 12:45am and 4:15am - I am on Octopus Go tariff so get cheap overnight electric.
- I usually set out at 7:40am each day midweek for school runs so I have set preconditioning to start at 7:15am and end at 7:30am.
- When the car is preconditioning, I enable battery charging on the Pod Point
I have setup up notifications to go via the Companion App:
- A notification is sent at 10:00pm to remind me to plug the car in if it is not plugged in and the car battery is less than 85%
- At 10:10pm, an actionable notification is set to be fired - it tells me what pre conditioning I have set for the next morning, if any, and allows me to change preconditioning options for next morning ie turn off preconditioning automation, heat the cabin, enable front demister, enable rear demister, enable front and rear demister
- At 7:10am a notification is sent with the same options above as I might want to change preconditioning options when I look ut and see the weather
I guess the next thing I can automate on this would be to enable preconditioning automatically if there is frost/snow or below a certain temperature.
[{"id":"c297dece1a83e2e3","type":"api-call-service","z":"4572911c1f8357d7","g":"0dd4a100e7646ae8","name":"Notification","server":"60e3c8e2.b47df8","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_james_iphone","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\"{{message.message}}\",\"title\":\"{{title}}\",\"data\":{\"actions\":[{\"action\":\"TURN_OFF_AUTOMATION\",\"title\":\"Turn Off Automation\"},{\"action\":\"CABIN_HEAT\",\"title\":\"Heat Only\"},{\"action\":\"HEAT_AND_FRONT_DEFROSTER\",\"title\":\"Heat and front defroster\"},{\"action\":\"HEAT_AND_REAR_DEFROSTER\",\"title\":\"Heat and rear defroster\"},{\"action\":\"HEAT_AND_ALL_DEFROSTER\",\"title\":\"Heat and both defrosters\"}],\"persistent\":true,\"tag\":\"persistent\",\"push\":{\"badge\":\"{{states.counter.iosbadgecount.state}}\"},\"sound\":{\"name\":\"default\",\"critical\":\"1\",\"volume\":\"0.25\"}}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":1120,"wires":[[]]},{"id":"60e3c8e2.b47df8","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]