cloudy cloudy

Author Topic: Weather Monitor II and wdisplay  (Read 1937 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #15 on: June 17, 2019, 07:11:24 PM »
OK, so its working a bit..but getting out of sync by the sounds of it
I will check the code
and check on library files too

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #16 on: June 18, 2019, 03:43:56 AM »
re the 32/64 bit of the deploy files
using
objdump -f libcom.so | grep ^architecture

says its 64 bit (and same with all the other library files in the deploy folder

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #17 on: June 18, 2019, 01:51:13 PM »
That's at least not what I'm seeing:
[email protected]:~/consolewdfiles/deploy$ file libcom.so
libcom.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
[email protected]:~/consolewdfiles/deploy$ objdump -f libcom.so | grep ^architecture
architecture: i386, flags 0x00000150:

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #18 on: June 18, 2019, 02:26:51 PM »
Okay, redownloaded again and I concur that it's 64 bit and the libs are 64 bit.  it's running, but there still seems to be a couple of issues:

ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting
Write size 7 : 4c 4f 4f 50 ff ff 0d
ser_read : Entering
Read size 19 : 06 01 fe 02 25 03 00 5f 00 bb 4e 30 7b 4f 04 00 00 48 bc
ser_read : Exiting
*****Received count =  ----------------------------->  19
WMII Data OK
Current data 10:20:41: Temperature= 78.7 Windspeed =0.0 Gustspeed =0.0 Direction =95 Humidity=100 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
ser_read : Entering
ser_read error Resource temporarily unavailable

The temperature is close at least, the monitor console shows 80.  The humidity is way off (45% on the consoe).  I'm not sure if the "error Resource temporarily Unavailable" is a feature of debug or not.  I'm getting a lot of them, but the code is writing and getting data back

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #19 on: June 18, 2019, 07:03:38 PM »
re the humidity
check what you have set as the humidity offset maybe in the config.txt?

I could add some debug code around that

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • Mac OS X 10.14.5
  • Chrome 74.0.3729.169
Re: Weather Monitor II and wdisplay
« Reply #20 on: June 19, 2019, 05:29:11 PM »
Nope.  No offset at all.  There's one for Barometric pressure (set to 0), but none for Humidity

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #21 on: June 19, 2019, 07:25:31 PM »
I will add some debug code...

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #22 on: June 19, 2019, 07:53:37 PM »
done that
try a new update download

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #23 on: June 20, 2019, 01:15:35 PM »
I don't really see any change:
er_read : Exiting
Write size 7 : 4c 4f 4f 50 ff ff 0d
ser_read : Entering
Read size 19 : 06 01 f5 02 1b 03 00 07 01 a8 4d 35 65 60 04 00 00 32 c5
ser_read : Exiting
*****Received count =  ----------------------------->  19
WMII Data OK
Current data 09:12:27: Temperature= 77.7 Windspeed =0.0 Gustspeed =0.0 Direction =263 Humidity=100 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #24 on: June 20, 2019, 06:35:13 PM »
it should say in the debug window about the raw humidity
are you sure you have downloaded the latest consolewd64desktop version?
i.e check the modified date/time on the consolewd program to see if its like recent

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #25 on: June 20, 2019, 08:10:36 PM »
I downloaded the consolewd64desktop.tar.gz  that was changed yesterday and verified that the checksum is the same as what I'm running:
[email protected]:~/Downloads$ sum consolewdfiles/consolewd
52491  2010
[email protected]:~/Downloads$ cd ~/consolewdfiles
[email protected]:~/consolewdfiles$ sum consolewd
52491  2010
[email protected]:~/consolewdfiles$ ./consolewd | grep -i hum
Current data 16:07:06: Temperature= 87.4 Windspeed =0.0 Gustspeed =2.0 Direction =261 Humidity=66 Barometer=29.9 Daily Rain
Current data 16:08:18: Temperature= 87.4 Windspeed =2.0 Gustspeed =1.0 Direction =167 Humidity=65 Barometer=29.9 Daily Rain


Although now the humidity looks more or less right.  It was still reading 100 earlier.

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #26 on: June 20, 2019, 08:11:41 PM »
Let me let it run for a while and see if it's working now

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • (Linux Mint)
  • Chrome 68.0.3440.106
Re: Weather Monitor II and wdisplay
« Reply #27 on: June 20, 2019, 08:15:06 PM »
lol, posted too soon.  Now I'm getting weird results again.  If you called it something like "raw humidity", I should be seeing the line though

Current data 16:11:44: Temperature= 87.3 Windspeed =1.8 Gustspeed =1.0 Direction =0 Humidity=1 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
Current data 16:12:05: Temperature= 87.3 Windspeed =1.3 Gustspeed =0.0 Direction =0 Humidity=100 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
Read size 1 : 06 6:12:12: Temperature= 87.3 Windspeed =0.9 Gustspeed =80.0 Direction =0 Humidity=0 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
Current data 16:12:46: Temperature= 87.4 Windspeed =80.0 Gustspeed =0.0 Direction =238 Humidity=67 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
Current data 16:13:50: Temperature= 87.4 Windspeed =0.0 Gustspeed =1.0 Direction =0 Humidity=0 Barometer=29.9 Daily Rain=0.0  Rain Rate 0.0mm/min
Current data 16:14:03: Temperature= 87.4 Windspeed =0.4 Gustspeed =1.0 Direction =259 Humidity=67 Barometer=29.9 Da

Offline Weather Display

  • Posts: 87,437
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: Weather Monitor II and wdisplay
« Reply #28 on: June 20, 2019, 09:07:07 PM »
no need to look for it
it should be coming out in the console data
*debug outdoor hum

have you checked the actual modified date/time on the consolewd file

Offline raypfaff

  • Posts: 27
  • OS/Browser:
  • Mac OS X 10.14.5
  • Chrome 74.0.3729.169
Re: Weather Monitor II and wdisplay
« Reply #29 on: June 21, 2019, 12:51:57 PM »
2019 6 19 5:17

 

cumulus