Hola tras poner en UTC a la raspberry y en la web de meteoclimatic
pi@raspberrypi:~ $ date
lun jun 24 14:51:06 UTC 2024
He puesto que cada 5 minutos se ejecute el script en sh
Aparénteme va pero recibo este error donde puedo ver la ultima llamada a la api
{
"header": {
"title": "Meteoclimatic",
"link": "
https://www.meteoclimatic.com",
"description": "Meteoclimatic",
"version": "Alba-1.2101",
"copyright": "
https://www.meteoclimatic.com/doc/legal",
"date": "2024-06-24T14:50:44+00:00",
"language": "ca",
"docs": "
https://www.meteoclimatic.com/doc/api-post-station-weather",
"generator": "Meteoclimatic REST API V2"
},
"response": {
"station": {
"uin": 2428,
"id": "SE463",
"updated": "2024-06-24T14:05:00+00:00",
"country": "ES",
"subdivision": "Sevilla",
"city": "Viso Del Alcor",
"longitude": -5.7183,
"latitude": 37.3961,
"elevation": 170,
"sunrise": "2024-06-24T05:01:49+00:00",
"sunset": "2024-06-24T19:49:05+00:00",
"name": "El Viso del Alcor",
"mainQuality": null,
"additionalQuality": null,
"transitionalQuality": null,
"owner": "CarlosLSev",
"organization": "CarlosLSev",
"homepage": "
https://www.meteoviso.es",
"url": "
https://www.meteoclimatic.com/ca/station/SE463/viso-del-alcor",
"timezone": "Etc/UTC",
"IR": {
"a": 4190,
"b": 200,
"c": 0,
"d": 357
},
"data": {
"converted": {
"TMP": 36.2,
"DHTM": 37,
"DLTM": 21.4,
"MHTM": 39,
"MLTM": 12.7,
"YHTM": 39,
"YLTM": 4.3,
"HUM": 27,
"DHHM": 51,
"DLHM": 25,
"MHHM": 95,
"MLHM": 20,
"YHHM": 99,
"YLHM": 18,
"BAR": 1011.6,
"DHBR": 1014.4,
"DLBR": 1011.4,
"MHBR": 1023.5,
"MLBR": 1011.4,
"YHBR": 1039.5,
"YLBR": 995.4,
"AZI": 270,
"WND": 1.7500000000000013,
"DGST": 7.694444444444451,
"MGST": 11.194444444444454,
"YGST": 17.888888888888907,
"DPCP": 0,
"MPCP": 8.6,
"YPCP": 422.4,
"SUN": 684,
"DSUN": null,
"MSUN": null,
"YSUN": null
},
"rejected": null,
"recreated": null,
"missing": {
"DUVI": null,
"MUVI": null,
"YUVI": null
}
}
}
},
"fault": {
"status": "Reloj fuera de rango",
"code": 406,
"string": "Not Acceptable",
"requestID": "x"
}
}
En configuracion recibo
Última lectura
Lunes, 24 Junio 2024, 14:05 UTC - 406: Reloj fuera de rango
¿aluna sugerencia?
PD dejo activada el envio anterior mientras soluciono este