Has someone managed to get the aux heatin on with the departure time using a time picker component linked to an alarmclock? my very limited skills are holding me back. i managed to link it to my alarmclock but with a fixed value. the alarm is set to 06:10 and the heating will always start at 06:30 even if i move my alarmtime to 07:00.
i^m using node red.
somehow, the time set for the alarm must be formatted to minutes after midnight and then added at the time_1 position.
my current flow:
[{"id":"8871c13fe72d03e6","type":"api-current-state","z":"89d8ab4fc1b6f98d","name":"Alarm Clock ON?","server":"8ac3cd7f.58d3e","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.status_alarmclock","state_type":"str","blockInputOverrides":false,"outputProperties":[],"for":0,"forType":"num","forUnits":"minutes","x":670,"y":180,"wires":[["51eff1ba3109598f"],[]]},{"id":"09b346ccd0059a95","type":"api-current-state","z":"89d8ab4fc1b6f98d","name":"Bewohner Home","server":"8ac3cd7f.58d3e","version":3,"outputs":2,"halt_if":"home","halt_if_type":"str","halt_if_compare":"is","entity_id":"group.gruppe_bewohner","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":430,"y":180,"wires":[["8871c13fe72d03e6"],[]]},{"id":"0638235f967a97ef","type":"inject","z":"89d8ab4fc1b6f98d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"00 02 * * 1,2,3,4,5","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":230,"y":180,"wires":[["09b346ccd0059a95"]]},{"id":"51eff1ba3109598f","type":"api-call-service","z":"89d8ab4fc1b6f98d","name":"Heizung Mercedes 06:30","server":"8ac3cd7f.58d3e","version":5,"debugenabled":false,"domain":"mbapi2020","service":"auxheat_configure","areaId":[],"deviceId":[],"entityId":[],"data":"{\"vin\":\"WXXXXXXXXXXX\",\"time_selection\":\"1\",\"time_1\":\"390\",\"time_2\":\"420\",\"time_3\":\"450\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":970,"y":220,"wires":[[]]},{"id":"8ac3cd7f.58d3e","type":"server","name":"Home Assistant","version":4,"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"}]