cloudy cloudy

Author Topic: Two feature requests for WD for Raspberry Pi  (Read 896 times)

vv_weather and 2 Guests are viewing this topic.

Offline TheOtherJohnN

  • Posts: 24
  • Howell, NJ
  • OS/Browser:
  • (Linux Mint)
  • Chrome 75.0.3770.38
    • Mid Atlantic Weather
Re: Two feature requests for WD for Raspberry Pi
« Reply #15 on: May 28, 2019, 12:27:00 AM »
I tried changing the WU Timezone, but I still had the error. So I restarted my Pi, and it seems to be working now. I guess maybe its time got just enough out of sync to mess up the uploads, but not enough for me to notice.
midatlwx.com
CWOP: EW1682
PWS/WFY: SOUTHARDNJ
Wunderground: KNJHOWEL11
UK Met Office: 45560463

Offline TheOtherJohnN

  • Posts: 24
  • Howell, NJ
  • OS/Browser:
  • (Linux Mint)
  • Chrome 75.0.3770.38
    • Mid Atlantic Weather
Re: Two feature requests for WD for Raspberry Pi
« Reply #16 on: May 28, 2019, 01:22:59 AM »
Ok, I'm still not sure what's going on. consolewd still doesn't seem to be working properly for me. It seems like once it finishes running cronwindycom, it stops working. After it updates Windy.com, I stop seeing data flowing in. I get the result 0 message, and then I don't see anything else in my terminal window.

Code: [Select]
Current data 21:14:58: Temperature= 66.9 Windspeed =0.1 Gustspeed =0.0 Direction =237 Humidity=66 Barometer=1013.2 Daily Rain=0.0  Rain Rate 0.0mm/min
*****Received count =  ----------------------------->  99
yes VP data 79
Doing VP routine now
raw vp baro 1013.2
raw vp temp 19.4
Vpsolar = 0
Davis Data OK
Current data 21:15:00: Temperature= 66.9 Windspeed =0.1 Gustspeed =0.0 Direction =237 Humidity=66 Barometer=1013.2 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 21:15:00
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5ebea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=262&ts=1559006325&windspeedmph=0&windgustmph=1&humidity=66&tempf=66.9&rainin=0.000&baromin=29.919&dewptf=55.1&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 98
< vary: Accept-Encoding
< date: Tue, 28 May 2019 01:15:01 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESS (partial) <br> 'ts': value is greater then our now time (our time is used) dt=223s;  <br> result 0

Once when I was running consolewd it updated Windy fine but then appeared to give me that problem when updating CWOP
Code: [Select]
Current data 20:49:58: Temperature= 67.7 Windspeed =0.0 Gustspeed =0.0 Direction =223 Humidity=65 Barometer=1012.8 Daily Rain=0.0  Rain Rate 0.0mm/min
*****Received count =  ----------------------------->  99
yes VP data 79
Doing VP routine now
raw vp baro 1012.8
raw vp temp 19.8
Vpsolar = 0
Davis Data OK
Current data 20:50:00: Temperature= 67.7 Windspeed =0.0 Gustspeed =0.0 Direction =223 Humidity=65 Barometer=1012.8 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 20:50:00
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
Sending CWOP data now
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
status  0
connected to CWOP server Ok
status  0
cwop sending user EW1682 pass -1 // -1 is default (you do not have a Ham call si vers wxdisplay WD_console_18.0 31
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x1f89ea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=249&ts=1559004300&windspeedmph=0&windgustmph=0&humidity=65&tempf=67.6&rainin=0.000&baromin=29.908&dewptf=55.4&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 7
< vary: Accept-Encoding
< date: Tue, 28 May 2019 00:50:02 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESSresult 0
status  0
cwop sending EW1682>APRS,TCPIP*:@280045z4007.81N/07412.87W_223/000g000t068r000p000P000b10128h65.WD 31
status  0
I'm not sure if this is a consolewd problem or something's wrong with my Pi.
midatlwx.com
CWOP: EW1682
PWS/WFY: SOUTHARDNJ
Wunderground: KNJHOWEL11
UK Met Office: 45560463

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #17 on: May 28, 2019, 01:52:28 AM »
I will do some testing here

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #18 on: May 28, 2019, 04:28:15 AM »
try  a new update...

Offline TheOtherJohnN

  • Posts: 24
  • Howell, NJ
  • OS/Browser:
  • (Linux Mint)
  • Chrome 75.0.3770.38
    • Mid Atlantic Weather
Re: Two feature requests for WD for Raspberry Pi
« Reply #19 on: May 28, 2019, 05:00:48 AM »
It seems like something is still making it stop. Is it possible it's something on my end? I've been having some other issues with my Pi unrelated to Weather Display, so I might try re-installing Raspian tomorrow. If you want, I could just disable Windy until tomorrow, re-install Raspbian, and see if that fixes the issue.
Code: [Select]
*****Received count =  ----------------------------->  99
yes VP data 79
Doing VP routine now
raw vp baro 1012.9
raw vp temp 15.7
Vpsolar = 0
Davis Data OK
Current data 00:54:48: Temperature= 60.3 Windspeed =0.0 Gustspeed =0.0 Direction =237 Humidity=82 Barometer=1012.9 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 00:55:02
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0xf4dea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=251&ts=1559019150&windspeedmph=0&windgustmph=0&humidity=82&tempf=60.3&rainin=0.000&baromin=29.910&dewptf=54.8&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 7
< vary: Accept-Encoding
< date: Tue, 28 May 2019 04:55:03 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESSresult 0
Terminated
midatlwx.com
CWOP: EW1682
PWS/WFY: SOUTHARDNJ
Wunderground: KNJHOWEL11
UK Met Office: 45560463

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #20 on: May 28, 2019, 10:30:50 AM »
I testing via stationless
and it does not stop
but I will test tomorrow with getting data from a davis station via usb

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #21 on: May 28, 2019, 11:17:56 PM »
I hooked it up to my davis VP
and the data carry's on OK after the running of the cronwindycom
(if you stop that from sending is it OK ?)

Offline TheOtherJohnN

  • Posts: 24
  • Howell, NJ
  • OS/Browser:
  • (Linux Mint)
  • Chrome 75.0.3770.38
    • Mid Atlantic Weather
Re: Two feature requests for WD for Raspberry Pi
« Reply #22 on: May 29, 2019, 12:32:39 AM »
So I did a clean install of Raspbian, and it still seems to stop receiving data after it runs cronwindycom. If I disable cronwindycom, it keeps getting data fine. I've tried starting consolewd 3 times. This is what happened those 3 times.
Code: [Select]
Current data 19:14:58: Temperature= 73.2 Windspeed =1.8 Gustspeed =2.0 Direction =248 Humidity=82 Barometer=1005.3 Daily Rain=0.0  Rain Rate 0.0mm/min
*****Received count =  ----------------------------->  99
yes VP data 79
Doing VP routine now
raw vp baro 1005.3
raw vp temp 22.9
Vpsolar = 7
Davis Data OK
Current data 19:15:00: Temperature= 73.2 Windspeed =1.8 Gustspeed =2.0 Direction =248 Humidity=82 Barometer=1005.3 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 19:15:00
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x11dbea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=256&ts=1559085300&windspeedmph=1&windgustmph=4&humidity=82&tempf=73.3&rainin=0.000&baromin=29.688&dewptf=67.5&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 7
< vary: Accept-Encoding
< date: Tue, 28 May 2019 23:15:03 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESSresult 0
Terminated
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload customclientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
Code: [Select]
Current data 19:20:00: Temperature= 73.3 Windspeed =0.6 Gustspeed =3.0 Direction =228 Humidity=81 Barometer=1005.2 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 19:20:00
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
Sending CWOP data now
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
status  0
connected to CWOP server Ok
status  0
cwop sending user EW1682 pass -1 // -1 is default (you do not have a Ham call si vers wxdisplay WD_console_18.0 31
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x97bea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=261&ts=1559085638&windspeedmph=0&windgustmph=5&humidity=82&tempf=73.3&rainin=0.000&baromin=29.686&dewptf=67.5&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 97
< vary: Accept-Encoding
< date: Tue, 28 May 2019 23:20:02 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESS (partial) <br> 'ts': value is greater then our now time (our time is used) dt=36s;  <br> result 0
Terminated
status  0
cwop sending EW1682>APRS,TCPIP*:@282320z4007.81N/07412.87W_354/001g005t073r000p000P000b10053h82.WD 31
status  0
Code: [Select]
Current data 20:24:58: Temperature= 71.4 Windspeed =1.5 Gustspeed =1.0 Direction =270 Humidity=87 Barometer=1004.9 Daily Rain=0.0  Rain Rate 0.0mm/min
*****Received count =  ----------------------------->  99
yes VP data 79
Doing VP routine now
raw vp baro 1004.9
raw vp temp 21.9
Vpsolar = 0
Davis Data OK
Current data 20:25:00: Temperature= 71.4 Windspeed =1.5 Gustspeed =1.0 Direction =270 Humidity=87 Barometer=1004.9 Daily Rain=0.0  Rain Rate 0.0mm/min
**** doing minute routines now 20:25:00
**** updating clientraw extra files
**** updating data logs
** opening custom input file /home/pi/consolewdfiles/wxlocal.html
***closed custom tag in file
******custom output 1 /home/pi/consolewdfiles/testtags.php
******re writing custom file
**custom tags lines to write 1
** closed custom tag out file
Doing CWOP
updating windycom
*   Trying 35.241.28.33...
* TCP_NODELAY set
* Connected to stations.windy.com (35.241.28.33) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.windy.com
*  start date: Apr 18 00:00:00 2017 GMT
*  expire date: Apr 17 23:59:59 2020 GMT
*  subjectAltName: host "stations.windy.com" matched cert's "*.windy.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x1307ea8)
> GET /pws/update/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaSI6MTExMTM1NSwiaWF0IjoxNTU4NjI4NjIzfQ.DZY61VIMH9G7Ubb578fWG0fJ9w1IA1So7wxJi8-KN4c?&station=0&winddir=249&ts=1559089350&windspeedmph=1&windgustmph=4&humidity=87&tempf=71.4&rainin=0.000&baromin=29.673&dewptf=67.4&uv=0.0 HTTP/1.1
> Host: stations.windy.com
> User-Agent: curl/7.52.1
> Accept: */*
> Connection:close
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< x-powered-by: node-pws-5cd7b8cf54-r9h2d: v1.4.0 pws
< access-control-allow-origin: *
< cache-control: private, no-cache, no-store, must-revalidate
< expires: -1
< pragma: no-cache
< content-type: text/html; charset=utf-8
< content-length: 7
< vary: Accept-Encoding
< date: Wed, 29 May 2019 00:25:01 GMT
< via: 1.1 google
< alt-svc: clear
<
* Curl_http_done: called premature == 0
* Connection #0 to host stations.windy.com left intact
SUCCESSresult 0
Terminated
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload customclientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK
login OK to ftp.midatlwx.com
changing to /
upload clientraw.txt to ftp.midatlwx.com OK
upload testtags.php to ftp.midatlwx.com OK

The last time I tried killing cronwindycom and it just got stuck in a loop FTP'ing to my website.
midatlwx.com
CWOP: EW1682
PWS/WFY: SOUTHARDNJ
Wunderground: KNJHOWEL11
UK Met Office: 45560463

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #23 on: May 29, 2019, 03:02:29 AM »
humm
email me your config.txt file and your custom web files wxlocal.html and testtags.php
and I will test here

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #24 on: May 29, 2019, 06:36:49 PM »
I can duplicate
the fix goes back to the orginal problem problem of cronwindycom not closing
I will try calling curl from within consolewd and see how that works

Offline Weather Display

  • Posts: 87,025
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.157
    • Weather Display
Re: Two feature requests for WD for Raspberry Pi
« Reply #25 on: May 29, 2019, 07:31:09 PM »
finally fixed it
vers 18.1
ready now

Offline TheOtherJohnN

  • Posts: 24
  • Howell, NJ
  • OS/Browser:
  • (Linux Mint)
  • Chrome 75.0.3770.100
    • Mid Atlantic Weather
Re: Two feature requests for WD for Raspberry Pi
« Reply #26 on: July 05, 2019, 05:21:06 AM »
Hi Brian,
Just curious if you've been able to make any progress on adding extra sensor data (soil moisture and temperature) to wdpi?
midatlwx.com
CWOP: EW1682
PWS/WFY: SOUTHARDNJ
Wunderground: KNJHOWEL11
UK Met Office: 45560463

Offline staccermaccer

  • Posts: 212
  • Antwerp,Belgium
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Weather in Ekeren and Harbour of Antwerp
Re: Two feature requests for WD for Raspberry Pi
« Reply #27 on: Today at 08:58:48 AM »
Hi, all

I have one question: How do i convert the testtags.txt in consolewd to testtags.php, do i just copy the testtags into the wxlocal file or?

For the rest, consolewd is now running without a glitch for more than a year, occasionally i have to do a apt-get update/upgrade, without that it would have been running without a restart for all that time!

Great Work!!

Thanks in advance for the answer to my testtags question!

 

cumulus