captain-coredump / weatherflow-udp

WeatherFlow Personal Weather Station driver for weewx, via UDP broadcast packets
GNU General Public License v3.0
54 stars 18 forks source link

RSSI / Signal Level #19

Open RonV42 opened 2 years ago

RonV42 commented 2 years ago

I added the following to the sensor map and was able to record the RSSI level and have it display in the widget on the page:

rxCheckPercent = rssi.ST-00006682.device_status

My issue is that it appears the graph for the data is only scaled for positive percentage:

image

image

How does one change the scale for that chart? I have been reading quite a bit on the WeeWx site but can't seems to understand how charts in skins work.

Thanks.

Never mind...I kept digging and digging and found the scaling in the skin directory and in the skin.conf file. There were one for each time domain, day, week,month,year.

         [[[dayrx]]]
#            yscale = 0.0, 100.0, 25.0
            yscale = -99, 0, 25.0
            [[[[rxCheckPercent]]]]
captain-coredump commented 2 years ago

I'm pretty sure that rxCheckPercent was intended to store the received packet success statistics on Davis Vantage stations, which is cast as a percentage in all of the reports as well as the default database schema.

My $0.02 is to extend the WeeWX database schema to create a new field for RSSI, and then tweak the reports to use/graph that field with a proper (integer?) casting.  Changing the casting of rxCheckPercent in the default schema may lead to headaches down the road when you need to update WeeWX or if you ever change stations.

This question should be addressed to the weewx-users Google Group, since it is beyond the scope of the station driver.....

--  Sent from my iEtch-a-Sketch via subspace

From: RonV42 @.> Reply: captain-coredump/weatherflow-udp @.> Date: December 22, 2021 at 9:38:04 AM To: captain-coredump/weatherflow-udp @.> Cc: Subscribed @.> Subject:  [captain-coredump/weatherflow-udp] RSSI / Signal Level (Issue #19)

I added the following to the sensor map and was able to record the RSSI level and have it display in the widget on the page:

rxCheckPercent = rssi.ST-00006682.device_status

My issue is that it appears the graph for the data is only scaled for positive percentage:

How does one change the scale for that chart? I have been reading quite a bit on the WeeWx site but can't seems to understand how charts in skins work.

Thanks.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.