{
  "name": "EVCC to AWTRIX",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "seconds",
              "secondsInterval": 15
            }
          ]
        }
      },
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.1,
      "position": [
        -660,
        160
      ]
    },
    {
      "parameters": {
        "url": "http://yourEVCCIPhere/api/state",
        "options": {}
      },
      "id": "f7c74fef-d4c9-48ca-a7e8-15843ad1b030",
      "name": "EVCC get",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        -420,
        160
      ]
    },
    {
      "parameters": {
        "topic": "yourbasetopicforawtrixhere/custom/homepower",
        "sendInputData": false,
        "message": "=[\n {\n  \"text\":\"{{ $json[\"result\"][\"homePower\"] }} W\",\n  \"icon\":\"32930\"\n },\n {\n  \"text\":\"{{ $json[\"result\"][\"pv\"][0][\"power\"] }} W\",\n  \"icon\":\"44625\"\n },\n {\n  \"text\":\"{{ $json[\"result\"][\"batterySoc\"] }} %\",\n  \"icon\":\"1095\"\n }\n]\n",
        "options": {}
      },
      "name": "ulanzi",
      "type": "n8n-nodes-base.mqtt",
      "typeVersion": 1,
      "position": [
        -160,
        160
      ],
      "alwaysOutputData": true,
      "credentials": {
        "mqtt": {
          "id": "2",
          "name": "MQTT bottich"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "EVCC get",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "EVCC get": {
      "main": [
        [
          {
            "node": "ulanzi",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "d004fa55-882f-420f-914b-92f3fa7023a4",
  "id": "HqQDSlAga3MLmqO3",
  "meta": {
    "instanceId": ""
  },
  "tags": []
}