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

    Help on checking former OK pws

    Windy API v4
    1
    3
    611
    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.
    • jf_moreiraJ
      jf_moreira
      last edited by

      Hello.

      I have been publishing data on Windy since July 2021 but for some odd reason it stopped publishing and I don't know when in time that happened. Since I publish my data on WU, PWSW, ThinkgSpeak and others and use WU mainly for checks, thought everything was OK, but it was not.

      I recently reviewed Windy code, and everything seems OK but it seems it never updates the DB. It has been a couple of days since I refreshed API key and the data never shows.

      I am using ```char WINDYPAGE [] = "GET /pws/update/?";

      
      Could someone give it a check or maybe a hint on what to check next?
      
      My station is https://www.windy.com/station/pws-f052cfed
      
      Thank you for your time.
      Jeffo.
      jf_moreiraJ 1 Reply Last reply Reply Quote 0
      • jf_moreiraJ
        jf_moreira @jf_moreira
        last edited by

        @jf_moreira Anyone?

        1 Reply Last reply Reply Quote 0
        • jf_moreiraJ
          jf_moreira
          last edited by

          All connected and no data.
          Despite being publishing normally on PWS Weather and Weather Underground.

          alt text

          here is the code:

          void windy(void)
          {
          ledON();
            Serial.print("Connecting to ");
            Serial.println(server4);
            WiFiClient client;
            if (client.connect(server4, 80)) {
              Serial.print("connected to ");
              Serial.println(client.remoteIP());
              delay(100);
            } else {
              Serial.println("connection failed");
            }
          
          client.print(WINDYPAGE);
          //client.print("station=");
          //client.print("0");
          client.print("temp=");
          client.print(tempc);
          client.print("&tempf=");
          client.print(temp_f);
          client.print("&humidity=");
          client.print(humidity);
          client.print("&wind=");
          client.print(windSpeed * 0.44704);
          client.print("&winddir=");
          client.print(CalDirection);
          client.print("&windgustmph=");
          client.print(windgustmph * 4.47);
          client.print("&gust=");
          client.print(windgustmph * 0.44704);
          client.print("&dewpoint=");
          client.print(dewpt_c);
          client.print("&mbar=");
          client.print(baromhpa);
          client.print("&precip=");
          client.print(rain);
          client.print("/ HTTP/1.1\r\nHost: stations.windy.com:80\r\nConnection: close\r\n\r\n");
          Serial.println(" ");
          delay(1000);
          }
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
          NodeBB & contributors, OSM & contributors, HERE maps
          Terms of Use     Privacy Policy