Navigation

    OpenWindMap

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Skyfred
    S
    • Profile
    • Following 2
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 0
    • Groups 0

    Skyfred

    @Skyfred

    0
    Reputation
    4
    Profile views
    2
    Posts
    0
    Followers
    2
    Following
    Joined Last Online

    Skyfred Follow

    Latest posts made by Skyfred

    • RE: 🆕 Tuto : connecter une balise tierce par http

      Bonjour,

      Autre petite question, est il possible de mettre en place un webhook ?

      Pour faire simple : j'utilise la technologie LoRa pour recevoir la data depuis ma balise.
      Celle-ci arrive sur TheThingsNetwork (.org)

      Depuis TTN (The Things Network), il m'est possible de renvoyer les données via des WebHook (diffusion en JSON).

      Cela semble incompatible avec le format que tu demandes (https://api.openwindmap.org/v1/http-receive/<numero balise>?<parametre1>=<valeur1>&<parametre2>=<valeur2>&... (méthode GET))

      Ou alors je m'y prends mal...

      posted in api.openwindmap.org
      S
      Skyfred
    • RE: 🆕 Tuto : connecter une balise tierce par http

      Salut,

      Petit soucis sur la 1204 :

      https://api.openwindmap.org/v1/http-receive/1204?XXXXXXX=KEY&windunit=kmh&avg=0.75&heading=394&voltage= 2.99&temperature=34&pressure=1014&min=0&max=2.5
      
      

      La température et la pression ne passent pas , j'obtiens :

      {
        "station_id": 1204,
        "type": "measurement",
        "data": {
          "wind_speed_min": 0,
          "wind_speed_avg": 0.8,
          "wind_speed_max": 2.5,
          "wind_heading": 394,
          "pressure": null,
          "temperature": null,
          "voltage_battery": 2.99,
          "date": "2025-05-27T13:30:57.668Z"
        }
      }
      

      Est-ce une restriction ou un problème de formatage ?

      Merci pour l'aide et encore bravo pour l'ouverture !

      Fred

      posted in api.openwindmap.org
      S
      Skyfred