Autor Tema: Envio nueva api  (Leído 188 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 299
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor ESAND4100000041520A
Envio nueva api
« en: 24 de Junio del 2024, 16:55:48 pm »
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
El Viso del Alcor

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.831
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Envio nueva api
« Respuesta #1 en: 24 de Junio del 2024, 17:00:04 pm »
Ajustar el reloj o revisar la plantilla

Si a las 14:51 mandas una plantilla actualizada a las 14:05, pues tú me dirás
Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

Home Assistant + GW1000 + WH2650
Sensores: WH32P + WS65 + WH31 (3) + WH41 + WH32