Hallo,
habe mir mit NodeRed eine einfache Automation gebastelt, so dass bei einem voreingestellten Lade Status pausiert wird.
Hier noch der Flow wenn es jemand nachbauen will.
Funktioniert seit 15 Ladungen super!
Grüße Matze
habe mir mit NodeRed eine einfache Automation gebastelt, so dass bei einem voreingestellten Lade Status pausiert wird.
Hier noch der Flow wenn es jemand nachbauen will.
Funktioniert seit 15 Ladungen super!
Grüße Matze
JSON:
[
{
"id": "6daf89b24cc1ae9e",
"type": "tab",
"label": "Spring pausieren",
"disabled": false,
"info": "",
"env": []
},
{
"id": "2b32a6d87e1bc75c",
"type": "renault-ze",
"z": "6daf89b24cc1ae9e",
"name": "Dacia Spring",
"x": 370,
"y": 100,
"wires": [
[
"bae29c02bf167f4c"
]
]
},
{
"id": "50909a61150680b6",
"type": "change",
"z": "6daf89b24cc1ae9e",
"name": "battery-status",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "battery-status",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 40,
"wires": [
[
"2b32a6d87e1bc75c"
]
]
},
{
"id": "ea8e309c632924f7",
"type": "inject",
"z": "6daf89b24cc1ae9e",
"name": "15 Minuten interval",
"props": [],
"repeat": "900",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 160,
"y": 40,
"wires": [
[
"50909a61150680b6"
]
]
},
{
"id": "4f8d4d17f7dcec49",
"type": "switch",
"z": "6daf89b24cc1ae9e",
"name": "90% Battery",
"property": "payload.data.attributes.batteryLevel",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "90",
"vt": "num",
"v2": "99",
"v2t": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 370,
"y": 200,
"wires": [
[
"1ebbdf6802337fea"
]
]
},
{
"id": "1ebbdf6802337fea",
"type": "change",
"z": "6daf89b24cc1ae9e",
"name": "Laden pausieren",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "set-charge-pause",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 570,
"y": 200,
"wires": [
[
"2b32a6d87e1bc75c"
]
]
},
{
"id": "bae29c02bf167f4c",
"type": "switch",
"z": "6daf89b24cc1ae9e",
"name": "chargingStatus",
"property": "payload.data.attributes.chargingStatus",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "str"
}
],
"checkall": "true",
"repair": true,
"outputs": 1,
"x": 140,
"y": 200,
"wires": [
[
"4f8d4d17f7dcec49"
]
]
}
]