REST api - latest record

Hi all!
Maybe stupid question since I’m quite noob and not beeing a programmer :slight_smile:
I call REST api like this:

- resource: "https://api.openvehicles.com:6869/api/historical/<vehicle-id>/*-Log-Notification/?username=****&password=***"
  scan_interval: 120
  sensor:
    - name: ev_consumption
      value_template: "{{ value_json.h_data}}"
      json_attributes:
        - h_data
        - h_timestamp

And I get:

h_data: I,Trip 20.0km Avg 28km/h Alt -12m
Energy 125Wh/km; 26% recd
SOC -2.0% = 41.5%
Range -9.4km = 188.0km

h_timestamp: 2023-01-10 06:05:06
friendly_name: ev_consumption

But the problem is that this is the oldest data (timestamp).

If I call REST api with curl, I get more data and also latest data which interests me:

curl --location --request GET 'https://api.openvehicles.com:6869/api/historical/<vehicle-id>/*-Log-Notification/?username=<username>&password=<password>'
[{"h_data":"I,Trip 20.0km Avg 28km/h Alt -12m\rEnergy 125Wh/km; 26% recd\rSOC -2.0% = 41.5%\rRange -9.4km = 188.0km\r","h_recordnumber":20670,"h_timestamp":"2023-01-10 06:05:06"},{"h_data":"I,Trip 21.0km Avg 32km/h Alt -5m\rEnergy 129Wh/km; 25% recd\rSOC +0.0% = 41.5%\rRange -0.2km = 187.8km\r","h_recordnumber":20696,"h_timestamp":"2023-01-10 06:10:19"},{"h_data":"I,Trip 23.0km Avg 34km/h Alt +11m\rEnergy 130Wh/km; 23% recd\rSOC +0.0% = 41.0%\rRange -0.2km = 185.3km\r","h_recordnumber":20721,"h_timestamp":"2023-01-10 06:18:48"},{"h_data":"A,12V Battery critical: 12.8V (ref=14.6V)","h_recordnumber":21357,"h_timestamp":"2023-01-10 08:19:47"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":21582,"h_timestamp":"2023-01-10 08:52:49"},{"h_data":"A,12V Battery critical: 12.8V (ref=14.6V)","h_recordnumber":21757,"h_timestamp":"2023-01-10 09:24:59"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":21922,"h_timestamp":"2023-01-10 09:57:10"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":22295,"h_timestamp":"2023-01-10 10:29:19"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":23608,"h_timestamp":"2023-01-10 11:01:29"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":24106,"h_timestamp":"2023-01-10 11:33:40"},{"h_data":"A,12V Battery critical: 12.8V (ref=14.6V)","h_recordnumber":24296,"h_timestamp":"2023-01-10 12:05:52"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":24485,"h_timestamp":"2023-01-10 12:38:00"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":24677,"h_timestamp":"2023-01-10 13:10:10"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":24852,"h_timestamp":"2023-01-10 13:42:22"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":25056,"h_timestamp":"2023-01-10 14:14:31"},{"h_data":"A,12V Battery critical: 13.0V (ref=14.6V)","h_recordnumber":25590,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"A,12V Battery restored: 14.4V (ref=14.6V)","h_recordnumber":25591,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"A,12V Battery critical: 12.2V (ref=14.6V)","h_recordnumber":25592,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"A,12V Battery restored: 14.0V (ref=14.6V)","h_recordnumber":25593,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":25594,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"A,12V Battery restored: 14.0V (ref=14.6V)","h_recordnumber":25595,"h_timestamp":"2023-01-10 15:50:04"},{"h_data":"I,Trip 23.0km Avg 28km/h Alt +0m\rEnergy 22Wh/km; 79% recd\rSOC -1.5% = 64.5%\rRange -6.3km = 294.9km\r","h_recordnumber":25598,"h_timestamp":"2023-01-10 15:50:28"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":25599,"h_timestamp":"2023-01-10 15:50:33"},{"h_data":"A,12V Battery restored: 13.9V (ref=14.6V)","h_recordnumber":25608,"h_timestamp":"2023-01-10 15:52:33"},{"h_data":"I,Trip 23.0km Avg 0km/h Alt +0m\rEnergy 22Wh/km; 79% recd\rSOC +0.0% = 64.5%\rRange +0.3km = 295.3km\r","h_recordnumber":25612,"h_timestamp":"2023-01-10 15:53:15"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":26238,"h_timestamp":"2023-01-10 17:52:31"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":26429,"h_timestamp":"2023-01-10 18:24:41"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":26595,"h_timestamp":"2023-01-10 18:56:51"},{"h_data":"A,12V Battery critical: 12.8V (ref=14.6V)","h_recordnumber":26616,"h_timestamp":"2023-01-10 19:00:51"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":26803,"h_timestamp":"2023-01-10 19:33:52"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":26850,"h_timestamp":"2023-01-10 20:06:02"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":26910,"h_timestamp":"2023-01-10 20:38:12"},{"h_data":"A,12V Battery critical: 12.5V (ref=14.6V)","h_recordnumber":26970,"h_timestamp":"2023-01-10 21:10:23"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":27029,"h_timestamp":"2023-01-10 21:42:33"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":27070,"h_timestamp":"2023-01-10 22:14:43"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":27115,"h_timestamp":"2023-01-10 22:46:53"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":27178,"h_timestamp":"2023-01-10 23:19:03"},{"h_data":"A,12V Battery critical: 12.3V (ref=14.6V)","h_recordnumber":27232,"h_timestamp":"2023-01-10 23:51:13"},{"h_data":"A,12V Battery critical: 12.3V (ref=14.6V)","h_recordnumber":27269,"h_timestamp":"2023-01-11 00:23:23"},{"h_data":"A,12V Battery critical: 12.3V (ref=14.6V)","h_recordnumber":27311,"h_timestamp":"2023-01-11 00:55:33"},{"h_data":"A,12V Battery critical: 12.3V (ref=14.6V)","h_recordnumber":27358,"h_timestamp":"2023-01-11 01:27:43"},{"h_data":"A,12V Battery critical: 12.2V (ref=14.6V)","h_recordnumber":27515,"h_timestamp":"2023-01-11 01:59:54"},{"h_data":"A,12V Battery critical: 12.2V (ref=14.6V)","h_recordnumber":27560,"h_timestamp":"2023-01-11 02:32:03"},{"h_data":"A,12V Battery critical: 12.2V (ref=14.6V)","h_recordnumber":27593,"h_timestamp":"2023-01-11 03:04:14"},{"h_data":"A,12V Battery critical: 12.2V (ref=14.6V)","h_recordnumber":27623,"h_timestamp":"2023-01-11 03:36:27"},{"h_data":"A,12V Battery critical: 12.1V (ref=14.6V)","h_recordnumber":27655,"h_timestamp":"2023-01-11 04:08:34"},{"h_data":"A,12V Battery critical: 12.1V (ref=14.6V)","h_recordnumber":27689,"h_timestamp":"2023-01-11 04:40:44"},{"h_data":"A,12V Battery critical: 12.1V (ref=14.6V)","h_recordnumber":27763,"h_timestamp":"2023-01-11 05:12:55"},{"h_data":"A,12V Battery critical: 12.1V (ref=14.6V)","h_recordnumber":27881,"h_timestamp":"2023-01-11 05:45:05"},{"h_data":"A,12V Battery restored: 14.3V (ref=14.6V)","h_recordnumber":27949,"h_timestamp":"2023-01-11 06:06:05"},{"h_data":"A,12V Battery critical: 12.4V (ref=14.6V)","h_recordnumber":27992,"h_timestamp":"2023-01-11 06:17:49"},{"h_data":"A,12V Battery restored: 14.4V (ref=14.6V)","h_recordnumber":27993,"h_timestamp":"2023-01-11 06:17:49"},{"h_data":"A,12V Battery critical: 12.9V (ref=14.6V)","h_recordnumber":27994,"h_timestamp":"2023-01-11 06:18:05"},{"h_data":"A,12V Battery restored: 12.0V (ref=12.6V)","h_recordnumber":28052,"h_timestamp":"2023-01-11 06:32:05"},{"h_data":"I,Trip 20.0km Avg 33km/h Alt -11m\rEnergy 85Wh/km; 43% recd\rSOC -2.0% = 71.0%\rRange -9.0km = 322.7km\r","h_recordnumber":880,"h_timestamp":"2023-01-11 15:11:56"},{"h_data":"I,Trip 21.0km Avg 28km/h Alt -17m\rEnergy 95Wh/km; 41% recd\rSOC -0.5% = 69.5%\rRange -2.7km = 315.4km\r","h_recordnumber":3324,"h_timestamp":"2023-01-12 06:16:47"},{"h_data":"I,Trip 29.0km Avg 36km/h Alt +16m\rEnergy 107Wh/km; 37% recd\rSOC -2.5% = 67.0%\rRange -12.1km = 303.3km\r","h_recordnumber":3367,"h_timestamp":"2023-01-12 06:38:27"},{"h_data":"I,Trip 37.0km Avg 33km/h Alt -19m\rEnergy 108Wh/km; 37% recd\rSOC -2.0% = 64.0%\rRange -9.8km = 289.0km\r","h_recordnumber":4001,"h_timestamp":"2023-01-12 15:03:45"},{"h_data":"I,Trip 45.0km Avg 36km/h Alt +20m\rEnergy 104Wh/km; 36% recd\rSOC -1.5% = 62.5%\rRange -7.2km = 281.8km\r","h_recordnumber":4028,"h_timestamp":"2023-01-12 15:20:09"},{"h_data":"I,Trip 54.0km Avg 37km/h Alt -20m\rEnergy 104Wh/km; 36% recd\rSOC -2.0% = 60.5%\rRange -9.6km = 272.2km\r","h_recordnumber":4100,"h_timestamp":"2023-01-12 16:05:05"},{"h_data":"I,Trip 69.0km Avg 30km/h Alt +9m\rEnergy 120Wh/km; 33% recd\rSOC -6.0% = 54.5%\rRange -29.9km = 242.3km\r","h_recordnumber":10343,"h_timestamp":"2023-01-13 06:40:09"},{"h_data":"I,Trip 77.0km Avg 37km/h Alt -30m\rEnergy 117Wh/km; 34% recd\rSOC -2.0% = 52.5%\rRange -10.2km = 232.1km\r","h_recordnumber":25561,"h_timestamp":"2023-01-13 15:12:47"},{"h_data":"I,Trip 78.0km Avg 27km/h Alt +3m\rEnergy 119Wh/km; 33% recd\rSOC -0.5% = 52.0%\rRange -3.9km = 228.2km\r","h_recordnumber":25707,"h_timestamp":"2023-01-13 15:22:29"}]
➜  /config 

Is there any filter I can use to get only latest data?

Thank you for your help in advance!

Your attributes are taking only the first set.
For the attributes it is not possible (yet) to write a template

Option 1: if you know that the number of blocks is always the same then you can refer to it via the json_attributes_path (see the documentation on restful)…in the above output the last would be block 62 so

json_attributes_path: $.62

Option 2: if the feedback differs then you could load the whole json into a single sensor (as attributes) and work from there on with additional template sensor(s)

Thank you @vingerha for your help!
In the meantime I figured out different call to get the latest data but what I get is:

h_timestamp: 2023-01-13 19:36:52
h_data: {"v.b.consumption":0,"xkn.v.trip.consumption.KWh/100km":17.8205,"xkn.v.trip.consumption.km/kWh":5.6115}
friendly_name: ev_consumption

I know how to get records only from h_data, but this h_data contains:

{"v.b.consumption":0,"xkn.v.trip.consumption.KWh/100km":17.8205,"xkn.v.trip.consumption.km/kWh":5.6115}

Any suggestion how to get only data from:

"xkn.v.trip.consumption.KWh/100km"

How to configure sensor?
Thanks!

Not sure what/how you did this but maybe this will help, try pasting it in Developer Tools > Templates

{## Imitate available variables: ##}
{% set my_test_json = {
    "h_timestamp": '2023-01-13 19:36:52',
    "h_data": {"v.b.consumption":0,"xkn.v.trip.consumption.KWh/100km":17.8205,"xkn.v.trip.consumption.km/kWh":5.6115},
    "friendly_name": ev_consumption,
} %}

{{ my_test_json.h_data['xkn.v.trip.consumption.km/kWh'] }}
1 Like

It works!!! Thank you so much!!!
I get exactly what I wanted!!!

Now I’ll try to figure out how the sensor should be configured :slight_smile:

I really can’t figure out the configuration of sensor for xkn.v.trip.consumption.km/kWh
I get data from REST api by calling:

- resource: "https://api.openvehicles.com:6869/api/historical/<vehicle-id>/XKN-LOG-Consumption/?username=<user>&password=<password>"
  scan_interval: 120
  sensor:
    - name: ev_consumption
      value_template: "{{ value_json.h_data }}"
      json_attributes:
        - h_timestamp
        - h_data

and the output of sensor is:

h_timestamp: 2023-01-13 19:36:52
h_data: {"v.b.consumption":0,"xkn.v.trip.consumption.KWh/100km":17.8205,"xkn.v.trip.consumption.km/kWh":5.6115}
friendly_name: ev_consumption

If I put the above template from @vingerha into developer tools (template) I get:

5.6115

which is the right value, but I want values from entity sensor.ev_consumption which comes from REST api.

Can anyone help me with templating the sensor for consumption → h_dataxkn.v.trip.consumption.km/kWh”?

This REST api I get from open vehicles server. In their docs is stated:

Field h_data contains the JSON encoded metrics dump, so needs to be parsed via JSON.parse() or the respective client platform variant.

But don’t know how to do that. I would appreciate some help here with configuring the sensor.

Thanks!

still not sure what you want where but here are more pointers

- resource: "https://api.openvehicles.com:6869/api/historical/<vehicle-id>/XKN-LOG-Consumption/?username=<user>&password=<password>"
   scan_interval: 120
   sensor:
      - name: ev_consumption
        value_template: "{{ value_json.h_data['xkn.v.trip.consumption.km/kWh'] }}"
        json_attributes_path: $.h_data
        json_attributes:
          - xkn.v.trip.consumption.km/kWh

@vingerha thanks for your help. It didn’t work…i got state unknown.
I took different approach:
From sensor from REST api forward I created template sensor:

  - platform: template
    sensors:
      ev_h_data:
        friendly_name: h_data
        value_template: "{{ state_attr('sensor.ev_consumption', 'h_data' ) }}"

I get this state:

{
  "xkn.v.trip.consumption.KWh/100km": 17.8205
}

then from this I created one more sensor:

  - platform: template
    sensors:
      ev_h_data_consumption:
        friendly_name: h_data Consumption
        value_template: "{{ states('sensor.ev_h_data').split(':')[1] }}"
        unit_of_measurement: "kWh/100km"

and i get state:

17.8205}

Firstly, I don’t know how to get rid of } after the value?

Secodnly, if I parse the value from REST api from JSONformatter I can see more records (the server runs script every minute to tunnel data to rest api. It looks like this:

[
  {
    "h_data": "{\"v.b.consumption\":0,\"xkn.v.trip.consumption.KWh/100km\":17.8205,\"xkn.v.trip.consumption.km/kWh\":5.6115}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-13 19:36:52"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":17.8205}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 12:50:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":17.8205}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 14:04:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":17.8205}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:52:35"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":17.8205}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:53:35"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":17.8205}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:54:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-290.002}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:55:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-145.001}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:56:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-144.998}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:57:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-93.3329}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:58:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-93.3329}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 15:59:37"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-67.5003}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:00:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-50}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:01:41"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-48.0005}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:02:40"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-40.0004}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:03:40"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-31.4287}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:04:37"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-27.4994}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:05:44"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-27.4994}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:05:54"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-27.4994}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:19:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-27.4994}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:20:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-26.2497}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:54:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-23.3331}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:55:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-22.2222}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:56:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-21.1107}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:57:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-15.4547}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:58:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-12.5}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 16:59:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-12.5}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:00:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-11.5385}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:01:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-10.7694}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:02:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-9.99991}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:03:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-8.46135}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:04:37"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-7.14286}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:05:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-6.00016}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:06:36"
  },
  {
    "h_data": "{\"xkn.v.trip.consumption.KWh/100km\":-5.00031}",
    "h_recordnumber": 0,
    "h_timestamp": "2023-01-14 17:07:36"
  }
]

Is there any way to parse only the latest record? Any clue or hint how to do this?

I still believe you donot need all those addtional sensors but as I cannot replicate this…can only work with the data you sent…try this anyhow and have a look at the results

  - resource: "https://api.openvehicles.c.......
    scan_interval: 120
    sensor:
      - name: TESTEV1
        value_template: >
            {{ value_json | list | last }}
      - name: TESTEV2
        value_template: > 
            {{ (value_json | list | last )['h_data'] }}
      - name: TESTEV3
        value_template: >
            {{ (value_json | list | last )['h_data'].split(':')[1][:-1] }}

1 Like

Thank you @vingerha! I really appreciate your help! :clap: :pray:

Now it works. Have to see when the fresh data will be tunneled from the server, I hope it will still work :slight_smile: I was really banging my head, trying, reading documentation… The learning curve here for me is very steep :slight_smile:
I’m really happy it works now! Thanks and have a nice weekend!