Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Report Weather Station Data with Home Assistant not work

    Scheduled Pinned Locked Moved Windy Stations
    4 Posts 3 Posters 1.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Makules
      last edited by

      Hello,
      I am trying to create a yaml configuration to send data through Home Assistant.
      You can find the created code in the attachment.
      The automation starts but ends with an error
      RESTful Command;
      Error. Url: https://stations.windy.com/pws/update/exxxxx Status code 400.
      Please advise what I am doing wrong, how to modify the code to send the data?

      Thank you for your help.01kode.png 02windy.png

      Nicole DolezalovaN 1 Reply Last reply Reply Quote 0
      • Nicole DolezalovaN Offline
        Nicole Dolezalova Windy Staff @Makules
        last edited by

        @Makules Hello, please ready carefully this topic. It should help you to correct the code. It seems you are missing station ID which is why it doesn't work. Have a nice day, Niki

        Niki

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Makules @Nicole Dolezalova
          last edited by

          @Nicole-Dolezalova
          Hello, I edited the code, but I still get an error and the data is not being received.
          I think it should be correct now.
          c17ad0c7-eb50-41ae-b34f-2ec48ce08056-obrazek.png

          Oleksandr HoncharovO 1 Reply Last reply Reply Quote 0
          • Oleksandr HoncharovO Offline
            Oleksandr Honcharov Windy Staff @Makules
            last edited by

            @Makules Hello Markules,

            after taking a closer look to your query I see the issue: you send baromin: 1014.7 which doesn't make any sense, since it's 35421 mbars. Try publishing pressure measurements to mbar field.

            Moreover, it's important to keep 5 min interval between measurements as we ignore such requests.

            For further request debugging please refer to the response you receive from the API. You'll be able to pinpoint exact reason why your request fails with detailed error messages.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Windy Community  |  Powered by excellent NodeBB
            Terms of Use     Privacy Policy     Windy.com