Avec possibilité d'avoir un token et le nombre de requêtes est limité à 1000/jour pour le moment.
Code : Tout sélectionner
{"forecast": {"2019-12-05 10:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 82.2444, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 278.056, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": -0.544821, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.303263, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 11:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 75.9377, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 280.263, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": -0.0851593, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.158646, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 12:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 1.1875, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 72.5924, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 281.865, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.372958, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.560678, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 13:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 2.17188, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 74.1221, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 282.724, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.630029, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.831671, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 14:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 2.29688, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 74.9457, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 282.845, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.607365, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -1.03822, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 15:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 2.26562, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 78.3999, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 282.321, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.569494, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.768864, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 16:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 1.57812, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 84.8321, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 280.741, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.909914, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.617872, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 17:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.4375, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 90.1647, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 279.221, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.77971, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.595428, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 18:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 93.3734, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 277.968, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.574191, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.800144, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 19:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 94.2389, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 277.19, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.40419, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.745646, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 20:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 94.1564, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 276.949, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": 0.0436716, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": -0.144615, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 21:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 0.0, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 95.7902, "unit": {"name": "percent", "symbol": "%"}}, "snow_depth": {"surface": 0.0, "unit": {"name": "meters", "symbol": "m"}}, "temperature": {"2 m above ground": 276.912, "unit": {"name": "kelvin", "symbol": "K"}}, "total_precipitations": {"surface": 0.0, "unit": {"name": "millimeters", "symbol": "mm"}}, "u_component_of_wind": {"10 m above ground": -0.486504, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}, "v_component_of_wind": {"10 m above ground": 0.291668, "unit": {"name": "meters_by_second", "symbol": "m.s^(-1)"}}}, "2019-12-05 22:00:00": {"cloud_cover": {"0-400 mb": 0.0, "400-800 mb": 0.0, "800 mb - surface": 15.9062, "unit": {"name": "percent", "symbol": "%"}}, "convective_available_potential_energy": {"local level type 192 0": 0.0, "unit": {"name": "joules by kilogram", "symbol": "J.kg^(-1)"}}, "relative_humidity": {"2 m above ground": 97.9321, "unit": {"name":
etc ....
Code : Tout sélectionner
2019-12-05 11:31:00.325 Status: dzVents: Info: Extraction prévisions météo v1.01: ------ Start external script: previsionMeteo.lua:, trigger: every 1 minutes
2019-12-05 11:31:00.325 Status: dzVents: Debug: Extraction prévisions météo v1.01: latitude : 50.66334
2019-12-05 11:31:00.325 Status: dzVents: Debug: Extraction prévisions météo v1.01: longitude : 3.79129
2019-12-05 11:31:00.325 Status: dzVents: Debug: Extraction prévisions météo v1.01: OpenURL: url = http://weather-data.org/api/get?model=icon-eu&lon=3.79129&lat=50.66334&token=W_234_xxxxxxxxxx_453_D
2019-12-05 11:31:00.325 Status: dzVents: Debug: Extraction prévisions météo v1.01: OpenURL: method = GET
2019-12-05 11:31:00.326 Status: dzVents: Debug: Extraction prévisions météo v1.01: OpenURL: post data = nil
2019-12-05 11:31:00.326 Status: dzVents: Debug: Extraction prévisions météo v1.01: OpenURL: headers = nil
2019-12-05 11:31:00.326 Status: dzVents: Debug: Extraction prévisions météo v1.01: OpenURL: callback = prevision-meteo_response
2019-12-05 11:31:00.326 Status: dzVents: Info: Extraction prévisions météo v1.01: ------ Finished previsionMeteo.lua
2019-12-05 11:31:00.326 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2019-12-05 11:31:01.096 Status: dzVents: Debug: Extraction prévisions météo v1.01: {"forecast":{"2019-12-05 10:00:00":{"cloud_cover":{"0-400 mb":10.8535,"400-800 mb":0,"800 mb - surface":67.4902,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":0,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":92.9886,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":274.191,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.54991,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":2.39791,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 11:00:00":{"cloud_cover":{"0-400 mb":5.05859,"400-800 mb":0,"800 mb - surface":76.5449,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":0,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":90.926,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":275.377,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":2.19218,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":2.60698,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 12:00:00":{"cloud_cover":{"0-400 mb":0.0351562,"400-800 mb":0,"800 mb - surface":74.0156,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":0,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":90.7155,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":275.985,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.74991,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":3.39538,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 13:00:00":{"cloud_cover":{"0-400 mb":30.3438,"400-800 mb":0,"800 mb - surface":58.791,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":0.859375,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":90.6631,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":276.256,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.76772,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":4.11462,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 14:00:00":{"cloud_cover":{"0-400 mb":39.5371,"400-800 mb":0,"800 mb - surface":73.5098,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":1.15625,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":90.7641,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":276.129,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.59272,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":4.1483,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 15:00:00":{"cloud_cover":{"0-400 mb":95.4238,"400-800 mb":0,"800 mb - surface":62.668,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":1.14062,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":91.0893,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":275.804,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.57828,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":4.61102,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 16:00:00":{"cloud_cover":{"0-400 mb":100,"400-800 mb":0,"800 mb - surface":84.4551,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":1.04688,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":92.336,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":275.296,"unit":{"name":"kelvin","symbol":"K"}},"total_precipitations":{"surface":0,"unit":{"name":"millimeters","symbol":"mm"}},"u_component_of_wind":{"10 m above ground":1.76245,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}},"v_component_of_wind":{"10 m above ground":4.57939,"unit":{"name":"meters_by_second","symbol":"m.s^(-1)"}}},"2019-12-05 17:00:00":{"cloud_cover":{"0-400 mb":92.9883,"400-800 mb":0,"800 mb - surface":82.9238,"unit":{"name":"percent","symbol":"%"}},"convective_available_potential_energy":{"local level type 192 0":1.48438,"unit":{"name":"joules by kilogram","symbol":"J.kg^(-1)"}},"relative_humidity":{"2 m above ground":93.6237,"unit":{"name":"percent","symbol":"%"}},"snow_depth":{"surface":0,"unit":{"name":"meters","symbol":"m"}},"temperature":{"2 m above ground":274.951,"unit":{"name":"k
2019-12-05 11:31:01.097 Status: dzVents: Debug: Extraction prévisions météo v1.01: ecriture des données dans le fichier /home/pi/domoticz/www/monitor/prevision-meteo.json
2019-12-05 11:31:01.097 Status: dzVents: Info: Extraction prévisions météo v1.01: ------ Finished previsionMeteo.lua