Hello, I am not a programmer but I usually solve it by reading, I have been using Home Assistant for 4 years but the first time I am stuck, I want to acquire the official live meteorological data from the official mereology institute from a Json page that is the following:
https://climatologia.meteochile.gob.cl/application/productos/datosRecientesEma/330020
But it won’t let me… the truth is that I’ve been trying for days and nothing, surely it’s nonsense, excuse my ignorance but I swear it’s the first time I’ve asked for help, my code, which I think is where the thing goes, I would like it to be updated every 20 minutes
rest:
- resource: "https://climatologia.meteochile.gob.cl/application/productos/datosRecientesEma/330020"
sensor:
- name: "Mateo temp"
value_template: "{{ value_json.datos[0].temperatura }}"
unit_of_measurement: "°C"
- name: "Mateo Minima"
value_template: "{{ value_json.datos[0].temperaturaMinima12Horas }}"
unit_of_measurement: "°C"
- name: "Mateo Maxima"
value_template: "{{ value_json.datos[0]temperaturaMaxima12Horas }}"
unit_of_measurement: "°C"
scan_interval: 35
If you help me capture the latest published data (every ten minutes) I would appreciate it…
THX