Ambient Weather WS-2902A

606 views
Skip to first unread message

Adnan Mumtaz

unread,
Jan 15, 2019, 1:14:38 PM1/15/19
to weewx-user
Greetings from Saudi Arabia,

I am an expat living and working in Riyadh, Saudi Arabia. I have recently purchased Ambient Weather WS-2902A which I will be receiving next week, I have a domain and web hosting where I want to publish my weather using WeeWX (belchertown template). I am a systems engineer but far from programming since a very long time, I will appreciate if someone can guide me, I did search the forum and found few had issues and those who had success are not publishing details.

Awaiting positive response .

Thank you,
Adnan

Scott Grayban

unread,
Jan 15, 2019, 1:30:32 PM1/15/19
to weewx-user

Scott Grayban

unread,
Jan 15, 2019, 1:37:41 PM1/15/19
to weewx-user
You also need to buy a Rpi from amazon or the UK Rpi store for this to work. https://www.raspberrypi.org/


On Tuesday, January 15, 2019 at 10:14:38 AM UTC-8, Adnan Mumtaz wrote:

Adnan Mumtaz

unread,
Jan 15, 2019, 2:09:11 PM1/15/19
to weewx-user
Hi Scott,

Bundle of thanks for sharing your hardwork, will you suggest which RPi should I buy, I can find few available in a local e-store https://saudi.souq.com/sa-en/raspberry-pi/s/?as=1

Regards,
Adnan

Scott Grayban

unread,
Jan 15, 2019, 2:27:19 PM1/15/19
to weewx-user

Adnan Mumtaz

unread,
Jan 15, 2019, 2:35:11 PM1/15/19
to weewx-user
Thanks a lot, ordered it. Will need your help again if i get stuck in something. So kind of you.

Regards,
Adnan

Scott Grayban

unread,
Jan 15, 2019, 2:38:12 PM1/15/19
to weewx-user
Sure but you shouldn't have any problems unless you don't know anything about linux.

Adnan Mumtaz

unread,
Jan 15, 2019, 5:23:52 PM1/15/19
to weewx-user
I am a Debian user , not a very advanced one but i have concepts, I am dowloading the RPi Debian Lite version as I wouldnt need a desktop, what size and brand SD would you recommend

Scott Grayban

unread,
Jan 15, 2019, 5:48:06 PM1/15/19
to weewx-user
I use this one https://smile.amazon.com/gp/product/B06XWMQ81P/

SanDisk Extreme 32GB microSDHC UHS-3 Card - SDSQXAF-032G-GN6MA

Adnan Mumtaz

unread,
Jan 20, 2019, 4:05:18 PM1/20/19
to weewx-user
Hi Scott,

Received the RPi , installed the OS and installed WeeWX to test, everything went smooth, then started reading the links you shared, tomorrow I should be receiving my WS too hopefully it was held by customs  :) 

Question, the link you shared with me has prerequisites , which are straight but there is a link which takes to https://github.com/matthewwall/weewx-interceptor , so the first step of prerequisites should be to install weewx interceptor and then follow the rest in the link, I understand the RPi will sniff data via WiFi and it will have access to WAN using Ethernet connection, can you also share your website.

Thanks a lot,
Adnan

Adnan Mumtaz

unread,
Jan 20, 2019, 5:01:00 PM1/20/19
to weewx-user
Sorry , I was a bit confused,  I forgot with this I will make the RPi an AP where the station will connect to, so in that case I will install plain weewx and then follow your instructions and once I can see data being received I will work on different skins, more interested in Belchertown and also weather34 

Scott Grayban

unread,
Jan 20, 2019, 5:11:26 PM1/20/19
to weewx-user

Adnan Mumtaz

unread,
Jan 21, 2019, 7:27:07 AM1/21/19
to weewx-user
Thanks for sharing your link Scott, looks so good. I have received the station today and will mount it today too, I have configured the RPi as per your guidelines, edited the dhcpcd.conf file too, do i have to assign a manual IP to the eth0 interface? as I see it is still DHCP enabled.

Adnan Mumtaz

unread,
Jan 21, 2019, 12:27:24 PM1/21/19
to weewx-user
Hi Scott,

I am live https://riyadhweather.com/  , the station is not yet connected properly its just lying on the roof only temp and humidity would be correct. was wondering is the barometer is inside the display screen or outside unit

Scott Grayban

unread,
Jan 21, 2019, 1:51:07 PM1/21/19
to weewx-user
Looks good...

I think it's outside. Have you read the manual ? It should have that info.

Scott Grayban

unread,
Jan 21, 2019, 1:59:52 PM1/21/19
to weewx-user
That's the default skin. Did you  install Belchertown ?


On Monday, January 21, 2019 at 9:27:24 AM UTC-8, Adnan Mumtaz wrote:
Hi Scott,

Adnan Mumtaz

unread,
Jan 21, 2019, 5:46:10 PM1/21/19
to weewx-user
Hi Scott,

Installed belchertown but I dont know whats wrong, the HTML_Root path was belchertown and it kept uploading to https://www.riyadhweather.com/belchertown fixed it later but it all looks upside down and the charts are also not loading see the main URL too and advise.

Scott Grayban

unread,
Jan 21, 2019, 6:08:28 PM1/21/19
to weewx-user
So you have some things wrong still.

  1. MQTT is not working
  2. Settings for Highcharts_Belchertown not set
So you have more work to do but you are close.

Adnan Mumtaz

unread,
Jan 21, 2019, 6:11:09 PM1/21/19
to weewx-user

Attaching my conf file, all passwords were removed from the file for security, ive install MQTT in one of my remote servers which also doesnt seem to work here :)


On Monday, 21 January 2019 21:59:52 UTC+3, Scott Grayban wrote:
weewx.conf

Scott Grayban

unread,
Jan 21, 2019, 6:21:12 PM1/21/19
to weewx-user
use this.....
            mqtt_topic = weather/weewx/loop

not

  mqtt_topic = "weather/#"

Scott Grayban

unread,
Jan 21, 2019, 6:24:43 PM1/21/19
to weewx-user
And this is wrong........

[[MQTT]]
        server_url = mqtt://weewx:rem...@kali.cpminhal.com.sa:1883/
        topic = weather/#
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

should be
[[MQTT]]
        server_url = mqtt://weewx:rem...@kali.cpminhal.com.sa:1883/
        topic = weather/weewx
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

Adnan Mumtaz

unread,
Jan 21, 2019, 6:27:50 PM1/21/19
to weewx-user
Fixed, on the server where I installed MQTT i have the below config in the acl file

# Allow anonymous access to the sys
topic read $SYS/#
 
# Allow anonymous to read weather
topic read weather/#
 
# weewx readwrite to the loop
user <your username from above>
topic weather/#

Scott Grayban

unread,
Jan 21, 2019, 6:30:11 PM1/21/19
to weewx-user
And one more thing........ don't use https at its throwing a error in chrome about insecure scripts.


On Monday, January 21, 2019 at 3:24:43 PM UTC-8, Scott Grayban wrote:
And this is wrong........

[[MQTT]]
        server_url = mqtt://weewx:removed@kali.cpminhal.com.sa:1883/
        topic = weather/#
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

should be
[[MQTT]]
        server_url = mqtt://weewx:removed@kali.cpminhal.com.sa:1883/
        topic = weather/weewx
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

Scott Grayban

unread,
Jan 21, 2019, 6:32:36 PM1/21/19
to weewx-user
umm you do have a username though ?

Adnan Mumtaz

unread,
Jan 21, 2019, 6:35:36 PM1/21/19
to weewx-user
yes :)

Scott Grayban

unread,
Jan 21, 2019, 6:42:26 PM1/21/19
to weewx-user
Your connection is not private

Attackers might be trying to steal your information from riyadhweather.com (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID

Adnan Mumtaz

unread,
Jan 21, 2019, 6:43:21 PM1/21/19
to weewx-user
Removed https and now charts are loading too, MQTT is still not working 

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott Grayban

unread,
Jan 21, 2019, 6:54:30 PM1/21/19
to weewx-user
Something is still wrong as https is still being forced on my end... remove ALL settings in apache for ssl.

Adnan Mumtaz

unread,
Jan 21, 2019, 7:00:30 PM1/21/19
to weewx-user
I have an external server im uploading using ftp, can you try to open in IE or in an Incognito window http://www.riyadhweather.com or without www 

Scott Grayban

unread,
Jan 21, 2019, 7:03:45 PM1/21/19
to weewx-user
Oh well that might be why MQTT isn't working as the hosting provider has blocked port 1883

Adnan Mumtaz

unread,
Jan 21, 2019, 7:05:48 PM1/21/19
to weewx-user
let me ask them

Scott Grayban

unread,
Jan 21, 2019, 7:05:52 PM1/21/19
to weewx-user
When your PI gets delivered MQTT will work as required for MQTT and the website.

Adnan Mumtaz

unread,
Jan 21, 2019, 7:08:57 PM1/21/19
to weewx-user
I forgot to add 'windrun', 'REAL' in the db file, if i add it now i will have to redo the whole process? by the way the battery thing works? I was reading your posts

On Tue, Jan 22, 2019 at 3:05 AM Scott Grayban <sgra...@gmail.com> wrote:
When your PI gets delivered MQTT will work as required for MQTT and the website.

--

Scott Grayban

unread,
Jan 21, 2019, 7:11:00 PM1/21/19
to weewx-user
Just add it according to what the docs say. No you don't need to redo anything just update the sql db.

I haven't played with the battery addon.

Adnan Mumtaz

unread,
Jan 21, 2019, 7:28:29 PM1/21/19
to weewx-user
On the server where I am running MQTT I am seeing RPi connections but with errors, 46.153.24.43 is the WAN IP of RPi

1548116710: Socket error on client <unknown>, disconnecting.
1548116710: New connection from 46.153.24.43 on port 1883.
1548116710: Socket error on client <unknown>, disconnecting.
1548116722: New connection from 46.153.24.43 on port 1883.


On Tue, Jan 22, 2019 at 3:05 AM Scott Grayban <sgra...@gmail.com> wrote:
When your PI gets delivered MQTT will work as required for MQTT and the website.

--

Scott Grayban

unread,
Jan 21, 2019, 7:30:08 PM1/21/19
to weewx-user
That's because you don't have MQTT setup right.

Adnan Mumtaz

unread,
Jan 21, 2019, 7:32:09 PM1/21/19
to weewx-user
I followed all the instructions from this link https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ 

Scott Grayban

unread,
Jan 21, 2019, 7:33:06 PM1/21/19
to weewx-user
In [StdRESTful]

    [[MQTT]]
        server_url = mqtt://user:pass@IP:1883/
        topic = weather/weewx
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

Under
[StdReport]
    [[Belchertown]]
        [[[Extras]]]
            mqtt_enabled = 1
            mqtt_host = IP
            mqtt_topic = weather/weewx/loop
            mqtt_port = 9001
            mqtt_ssl = 0
            disconnect_live_website_visitor = 1800000

Adnan Mumtaz

unread,
Jan 21, 2019, 7:46:35 PM1/21/19
to weewx-user
Do I owe you a coffee ? :) I am a home barista btw :D It shows connected now, but keeps on waiting for data

Scott Grayban

unread,
Jan 21, 2019, 7:50:58 PM1/21/19
to weewx-user
If MQTT is sending data it will show in the syslogs. The WS only sends data every 1 minutes.

Scott Grayban

unread,
Jan 21, 2019, 7:54:18 PM1/21/19
to weewx-user
Logs should show this

Jan 21 16:52:09 weewx-pi weewx[771]: restx: MQTT: Published record 2019-01-21 16:51:00 PST (1548118260)
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter hourlyrainin=0.00
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter eventrainin=0.00
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter totalrainin=1.00
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter stationtype=AMBWeatherV4.0.7
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter maxdailygust=5.8
Jan 21 16:53:09 weewx-pi weewx[771]: interceptor: MainThread: unrecognized parameter baromrelin=30.36
Jan 21 16:53:09 weewx-pi weewx[771]: restx: MQTT: Published record 2019-01-21 16:52:04 PST (1548118324)

Adnan Mumtaz

unread,
Jan 21, 2019, 7:58:39 PM1/21/19
to weewx-user
Doesn't seem to post anything, see below part of current log 

Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter hourlyrainin=0.00
Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter eventrainin=0.00
Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter totalrainin=0.00
Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter stationtype=AMBWeatherV4.1.0
Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter maxdailygust=3.4
Jan 22 03:55:24 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter baromrelin=29.87
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter hourlyrainin=0.00
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter eventrainin=0.00
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter totalrainin=0.00
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter stationtype=AMBWeatherV4.1.0
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter maxdailygust=3.4
Jan 22 03:56:28 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter baromrelin=29.86
Jan 22 03:56:34 Riyadh_WS weewx[429]: manager: Added record 2019-01-22 03:56:00 +03 (1548118560) to database 'weewx.                                                                         sdb'
Jan 22 03:56:34 Riyadh_WS weewx[429]: manager: Added record 2019-01-22 03:56:00 +03 (1548118560) to daily summary in                                                                          'weewx.sdb'
Jan 22 03:56:35 Riyadh_WS weewx[429]: cheetahgenerator: Generated 13 files for report StandardReport in 1.07 seconds
Jan 22 03:56:35 Riyadh_WS weewx[429]: copygenerator: copied 1 files to /var/www/html/weewx/
Jan 22 03:56:39 Riyadh_WS weewx[429]: cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 4.17                                                                          seconds
Jan 22 03:56:39 Riyadh_WS weewx[429]: copygenerator: copied 0 files to /var/www/html/weewx/
Jan 22 03:56:40 Riyadh_WS weewx[429]: cheetahgenerator: Generated 13 files for report Belchertown in 1.23 seconds
Jan 22 03:56:40 Riyadh_WS weewx[429]: copygenerator: copied 1 files to /var/www/html/weewx/
Jan 22 03:57:03 Riyadh_WS weewx[429]: ftpupload: Attempt #1. Failed uploading /style.css to ftp.riyadhweather.com. R                                                                         eason: timed out
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter hourlyrainin=0.00
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter eventrainin=0.00
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter totalrainin=0.00
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter stationtype=AMBWeatherV4.1.0
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter maxdailygust=3.4
Jan 22 03:57:21 Riyadh_WS weewx[429]: interceptor: MainThread: unrecognized parameter baromrelin=29.87
Jan 22 03:57:22 Riyadh_WS weewx[429]: ftpgenerator: ftp'd 18 files in 42.07 seconds

Adnan Mumtaz

unread,
Jan 21, 2019, 8:02:04 PM1/21/19
to weewx-user
checked the whole syslog, not even a single entry with the word mqtt is there 

Scott Grayban

unread,
Jan 21, 2019, 8:03:11 PM1/21/19
to weewx-user
Then MQTT is still not setup right.

/etc/mosquitto/conf.d/myconfig.conf should have this...

persistence false
allow_anonymous
true
password_file
/etc/mosquitto/passwd
acl_file
/etc/mosquitto/acl
listener
1883
protocol mqtt
# websockets
listener
9001
protocol websockets


Adnan Mumtaz

unread,
Jan 21, 2019, 8:08:59 PM1/21/19
to weewx-user
It is exactly same

Scott Grayban

unread,
Jan 21, 2019, 8:14:00 PM1/21/19
to weewx-user
Then I have no clue. It works for me.

Go through all the settings again.

mwall

unread,
Jan 21, 2019, 8:21:57 PM1/21/19
to weewx-user
adnan,

you have defined parameters for the weewx-mqtt uploader, but you have not told weewx to actually use weewx-mqtt.  put

user.mqtt.MQTT

at the end of restful_services in your weewx configuration file then restart weewx.

m

mwall

unread,
Jan 21, 2019, 8:24:44 PM1/21/19
to weewx-user
btw, if you installed the weewx-mqtt extension using wee_extension, it should have done the addition to restful_services for you.

perhaps you did not install weewx-mqtt?


m

Scott Grayban

unread,
Jan 21, 2019, 8:59:15 PM1/21/19
to weewx-user
I figured he did this since that's part of the instructions I gave him.

Adnan Mumtaz

unread,
Jan 21, 2019, 11:24:40 PM1/21/19
to weewx-user
You were right, i didn't see this step in all the guidelines I was following from Scott, after installing the weewx-mqtt it started working 


Wonder how can I take a backup of all what I did.

Thanks mwall and hats off to Scott who had been made this site up and running possible. Thank you so much Scott for your amazing support.

--

Scott Grayban

unread,
Jan 22, 2019, 12:08:17 AM1/22/19
to weewx-user
Welcome.

Liz

unread,
Jan 22, 2019, 12:41:47 AM1/22/19
to weewx...@googlegroups.com
On Tue, 22 Jan 2019 07:24:26 +0300
Adnan Mumtaz <mhhm...@gmail.com> wrote:

> Wonder how can I take a backup of all what I did.

cat history > /home/user/history.txt

and then edit out the steps which were dead ends!

Scott Grayban

unread,
Jan 22, 2019, 12:51:39 AM1/22/19
to weewx-user
It's .bash_history

Log out first so it can write the history. Then log back in.

Scott Grayban

unread,
Jan 22, 2019, 2:50:39 PM1/22/19
to weewx-user

Adnan Mumtaz

unread,
Jan 22, 2019, 4:39:59 PM1/22/19
to weewx-user
Thanks Scott, you are so helpful. Ever tried Weather34 template using weewx ? Is it possible to run 2 templates? 

Scott Grayban

unread,
Jan 22, 2019, 4:42:04 PM1/22/19
to weewx-user
Yes you can run multiple skins and choose the one you like.

URL will change depending on the skin you test... just look at the html folder for the names.

steeple ian

unread,
Jan 22, 2019, 8:06:36 PM1/22/19
to weewx...@googlegroups.com
Adnan,

Yes I can confirm that you can run weather34 alongside any other skin. The install process is slightly different from a regular weeWX skin but it works just fine with any other skin alongside.

Ian

Adnan Mumtaz

unread,
Jan 23, 2019, 8:48:27 AM1/23/19
to weewx-user
Thanks I will try it too, like this template too 

Adnan Mumtaz

unread,
Jan 25, 2019, 9:37:43 AM1/25/19
to weewx-user
Everything seemed fine , i calibrated the barometer on the display unit and since then Im seeing a different in barometer MQTT data update with the real data, it shows real data and then shows a wrong data and it keeps going on like this, 


On Wednesday, 23 January 2019 16:48:27 UTC+3, Adnan Mumtaz wrote:
Thanks I will try it too, like this template too 

On Wed, Jan 23, 2019 at 4:06 AM steeple ian <steep...@gmail.com> wrote:
Adnan,

Yes I can confirm that you can run weather34 alongside any other skin. The install process is slightly different from a regular weeWX skin but it works just fine with any other skin alongside.

Ian

On 22 Jan 2019, at 21:39, Adnan Mumtaz <mhhm...@gmail.com> wrote:

Thanks Scott, you are so helpful. Ever tried Weather34 template using weewx ? Is it possible to run 2 templates? 

On Tue, Jan 22, 2019 at 10:50 PM Scott Grayban <sgra...@gmail.com> wrote:
There are a few ways to do this...

https://www.raspberrypi.org/documentation/linux/filesystem/backup.md

On Monday, January 21, 2019 at 8:24:40 PM UTC-8, Adnan Mumtaz wrote:
Wonder how can I take a backup of all what I did.


--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

Scott Grayban

unread,
Jan 25, 2019, 3:29:01 PM1/25/19
to weewx-user
???


On Friday, January 25, 2019 at 6:37:43 AM UTC-8, Adnan Mumtaz wrote:
Everything seemed fine , i calibrated the barometer on the display unit and since then Im seeing a different in barometer MQTT data update with the real data, it shows real data and then shows a wrong data and it keeps going on like this, 

On Wednesday, 23 January 2019 16:48:27 UTC+3, Adnan Mumtaz wrote:
Thanks I will try it too, like this template too 

On Wed, Jan 23, 2019 at 4:06 AM steeple ian <steep...@gmail.com> wrote:
Adnan,

Yes I can confirm that you can run weather34 alongside any other skin. The install process is slightly different from a regular weeWX skin but it works just fine with any other skin alongside.

Ian

On 22 Jan 2019, at 21:39, Adnan Mumtaz <mhhm...@gmail.com> wrote:

Thanks Scott, you are so helpful. Ever tried Weather34 template using weewx ? Is it possible to run 2 templates? 

On Tue, Jan 22, 2019 at 10:50 PM Scott Grayban <sgra...@gmail.com> wrote:
There are a few ways to do this...

https://www.raspberrypi.org/documentation/linux/filesystem/backup.md

On Monday, January 21, 2019 at 8:24:40 PM UTC-8, Adnan Mumtaz wrote:
Wonder how can I take a backup of all what I did.


--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

Adnan Mumtaz

unread,
Jan 25, 2019, 3:36:39 PM1/25/19
to weewx-user
Open riyadhweather.com and notice the barometer reading changes, gives 3 readings when it retrieves data using and one is correct only

Scott Grayban

unread,
Jan 25, 2019, 3:45:40 PM1/25/19
to weewx-user
That's odd. Did you mount the WS on a pole or is it still laying on the roof ?

Adnan Mumtaz

unread,
Jan 25, 2019, 4:09:10 PM1/25/19
to weewx-user
Its on a pole the reading is correct on the main display, it all happened after i re-calibrated barometer relative pressure on the display unit , it looks like weewx is calculating something else, but MQTT gets the correct reading, right now the reading on the display unit is 1019.6

Adnan Mumtaz

unread,
Jan 25, 2019, 4:10:02 PM1/25/19
to weewx-user
By the way the outdoor unit doesnt have the barometer, interestingly the barometer is in the display unit confirmed by Ambient Weather support

Scott Grayban

unread,
Jan 25, 2019, 4:18:41 PM1/25/19
to weewx-user
Correct -- the barometer is calculated by the console. So what you have now are 2 different readings, 1 from the console and the one calculated by weewx.

Adnan Mumtaz

unread,
Jan 25, 2019, 4:23:02 PM1/25/19
to weewx-user
2.jpg

Adnan Mumtaz

unread,
Jan 26, 2019, 4:07:57 AM1/26/19
to weewx-user
Changed the below two calculations from prefer_hardware to hardware only and now weewx is not re-calculating the figures.

  [[Calculations]]
        pressure = hardware
        barometer = hardware

Scott Grayban

unread,
Jan 27, 2019, 5:55:32 PM1/27/19
to weewx-user
they should be set to prefer_hardware

Adnan Mumtaz

unread,
Jan 28, 2019, 1:15:28 AM1/28/19
to weewx-user
With prefer_hardware it seems weewx calculates and i get wrong figures, by the way my cloud base shows in meters as  I have group_altitude = meter , but when I change it to foot the skin calculates fine but when MQTT updates the data it changes to meter readings, MQTT setting is also set as METRIC. I see yours in feet too.

Scott Grayban

unread,
Jan 28, 2019, 1:52:41 AM1/28/19
to weewx-user
Mine should be in imperial because I live in the US. I would post the issues with the skin in https://groups.google.com/forum/#!topic/weewx-user/6Sa3vfzsH6k

Adnan Mumtaz

unread,
Jan 29, 2019, 3:05:52 AM1/29/19
to weewx-user
Hi Scott,

As i understand you use WS-2902 like mine and belchertown skin, are you seeing the same Barometer readings on your display unit and on your web page?

On Monday, 28 January 2019 01:55:32 UTC+3, Scott Grayban wrote:

Scott Grayban

unread,
Jan 29, 2019, 7:09:06 PM1/29/19
to weewx-user
Yes

Adnan Mumtaz

unread,
Apr 9, 2019, 2:22:32 PM4/9/19
to weewx-user
Hi Scott, you had been very helpful earlier, I am getting into a situation soon, moving my apartment and in the new apartment I will be on the ground floor and the station will be at the 3rd floor which is the roof, there is no way I will get signals from the station to the display base screen, hence I have planned to buy ObserverIP module and keep it near the station on the 3rd floor and pull a network cable from ObserverIP  to my apartment  to connect it to my home network, I will also need standalone hygrometer module for barometer readings since I my base station wont be working any more and the barometer is inside the display screen. Right now my setup is jsut like yours, what modifications you suggest I will need to do to make the observerIP work.

If nothing works out the only solution will be to invest in a cabled Davis station which will be not easy on my pocket specially the shipping and custom charges.

Will appreciate your response at your ease.

Thank you,
Adnan

Tom Robertson

unread,
Apr 9, 2019, 2:42:00 PM4/9/19
to weewx-user
Why do you say you will not be able to get the signals from the roof to your station? The third floor will probably be less than 40 feet from the ground.  My wireless Davis station sends signals much farther than 40 feet and through several walls.
-----
Tom

Scott Grayban

unread,
Apr 9, 2019, 2:47:25 PM4/9/19
to weewx-user
My WS is 40 feet up and 55 feet away from my console and my signal is strong.

Unless your roof is metal and the walls are metal you shouldn't have any problems.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Adnan Mumtaz

unread,
Apr 9, 2019, 4:39:12 PM4/9/19
to weewx-user
Its all concrete here, right now I am on the top floor and the station is above me on roof and I get full signals only in the room which is under the roof where the station is installed.

Scott Grayban

unread,
Apr 9, 2019, 4:51:26 PM4/9/19
to weewx-user
So it must be pretty thick concrete to restrict signal. Nothing we can do help on that.

Adnan Mumtaz

unread,
Apr 9, 2019, 4:56:56 PM4/9/19
to weewx-user
So the idea of running Observer IP module, it wont work too? I can place it up near the roof and pull a network cable from there to my apartment, I want to understand what changes I will need to make to make it work from my existing setup
Reply all
Reply to author
Forward
0 new messages