[weewx-user] Re: Weatherflow UDP driver, Tempest battery reports 'LOW'

2021-12-02 Thread John Pierce
yeesh, if I even look sideways at that code, I get a  TypeError: '>=' not 
supported between instances of 'NoneType' and 'float' in the modified 
get_battery_status routine in sensors.inc..

I don't know my python at all well, or this templating language used in the 
.inc files.

I have it working again, and I don't think I'm going to touch it.


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8121cb78-8ff8-4da6-b00c-7a7271a5349cn%40googlegroups.com.


[weewx-user] Re: Weatherflow UDP driver, Tempest battery reports 'LOW'

2021-12-02 Thread vince
yup - that's where I was going.  Use that example.

On Thursday, December 2, 2021 at 6:21:35 PM UTC-8 jhn.p...@gmail.com wrote:

> ah, I'm using Seasons.  and I just found the fix on the weatherflow-UDP 
> github 'issues'.
>
> and yeah, trying to fix it to display txBatteryStatus now, instead of 
> outTemp or wind or whatever.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7ea0db7f-e45b-483f-8be8-36912524f16en%40googlegroups.com.


[weewx-user] Re: Weatherflow UDP driver, Tempest battery reports 'LOW'

2021-12-02 Thread John Pierce
ah, I'm using Seasons.  and I just found the fix on the weatherflow-UDP 
github 'issues'.

and yeah, trying to fix it to display txBatteryStatus now, instead of 
outTemp or wind or whatever.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c44da557-7e3b-42f3-9975-b430fca9dd7en%40googlegroups.com.


[weewx-user] Re: Weatherflow UDP driver, Tempest battery reports 'LOW'

2021-12-02 Thread vince
You're going to have to tell us which skin(s) you are seeing 'low' on and 
which one(s) you want to add images to.

You only need to map the obs_st battery status to one weewx element.  The 
example you copied I think probably assume the old Air+Sky two-sensor 
Weatherflow station.  The Tempest has only one battery to report on.

Re: adding images, you want to see the Customization Guide 
 which 
admittedly is a bit of a tough read for new users.  Short answer is that 
you define your images in skin.conf for the skin you want the image to be 
in, and you hook it into the web by editing the .tmpl template file(s) for 
that skin.

Re: battery voltage showing ok/low, the default skins assume a Davis 
Vantage scenario where a battery status of  0 = ok and 1 = not_ok, so if 
you're mapping voltages to the default elements you would see the 'not ok' 
thing rather than the voltage in volts.  You'd have to edit sensors.inc in 
the Seasons skin to display voltages as you seem to want.   The check for 
zero/non-zero is at the top of the file.

At the top of sensors.inc there it says:

#def get_battery_status($x)
#if $x == 0
OK
#else
LOW
#end if
#end def

You would change it to just display the voltage in volts.
Something like the following (totally untested):

#def get_battery_status($x)
#if $x >= 0
$x
#end def

Alternately you could change the calls down below that look like:

#if $day.outTempBatteryStatus.has_data

  $obs.label.outTempBatteryStatus
  $get_battery_status($current.outTempBatteryStatus.raw)

#end if

to

#if $day.outTempBatteryStatus.has_data

  $obs.label.outTempBatteryStatus
  $current.outTempBatteryStatus.raw

#end if

The .raw will show the number.  If you omit the .raw you'll see the units 
too.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bee98149-2bc5-4ed3-bbf2-e7a89cd910f8n%40googlegroups.com.


[weewx-user] La Crosse 5-in-1 professional wireless weather station

2021-12-02 Thread Kete

Hi,

Just writing to see if the La Crosse 5-in-1 is a known but not supported 
weather station. It's a cheap station at a big box store, and the 
Weather Underground recommends it.


I'm going through the supported hardware to find something as cheap 
($100), but it's slow going.


--
Kete

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e0425657-68dc-382c-ed9f-fb918c346d24%40twinoaks.org.


[weewx-user] Re: changed station type, want to drop some grpahs

2021-12-02 Thread John Pierce
ok, I guess they aren't shown when there is no longer data in the current 
time window.cool, good enough.

On Wednesday, December 1, 2021 at 10:52:45 PM UTC-8 John Pierce wrote:

> my old station (Accurite garbage) recorded signal quality and indoor temp, 
> my new station (Weatherflow Tempest) doesn't.When I switched over to a 
> fresh instance of WeeWX configured for the Weatherflow Tempest, I imported 
> the old mysql database so i could keep my site records going back to 
> 2016...  Anyways, um, its still showing the old graphs right to the cutoff 
> point. can I somehow purge them?  or will they just disappear as that 
> data ages out ?
>
> my weewx page:
> https://freescruz.com/weewx/index.html
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ab29a7ac-1260-4c80-9214-3988536a0e67n%40googlegroups.com.


[weewx-user] Weatherflow UDP driver, Tempest battery reports 'LOW'

2021-12-02 Thread John Pierce
So I brought up my new WF Tempest w/ the UDP driver in weewx yesterday, and 
it seems to be working fine...

On  the weatherflow station website, my battery is fine, but on weewx, its 
showing consistently 'low'.

sensor map:

[WeatherFlowUDP]
driver = user.weatherflowudp
udp_address = 0.0.0.0
share_socket = False

[[sensor_map]]
outTemp = air_temperature.ST-00047518.obs_st
outHumidity = relative_humidity.ST-00047518.obs_st
pressure = station_pressure.ST-00047518.obs_st
#lightning_strikes =  lightning_strike_count.ST-00047518.obs_st
#avg_distance =  lightning_strike_avg_distance.ST-00047518.obs_st
outTempBatteryStatus = battery.ST-00047518.obs_st
windSpeed = wind_speed.ST-00047518.rapid_wind
windDir = wind_direction.ST-00047518.rapid_wind
#luxXXX = illuminance.ST-00047518.obs_st
UV = uv.ST-00047518.obs_st
rain = rain_accumulated.ST-00047518.obs_st
windBatteryStatus = battery.ST-00047518.obs_st
radiation = solar_radiation.ST-00047518.obs_st
#lightningXXX = distance.ST-00047518.evt_strike
#lightningYYY = energy.ST-00047518.evt_strike

output: 

  Battery Status
  Wind Battery: LOW
  Outside Temperature Battery : LOW

I'd really like to graph the battery voltage, but I dunno how to add a new 
graph type to weewx.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bab902e1-941e-4bef-8448-275000d143abn%40googlegroups.com.


Re: [weewx-user] new install on RPi4 with PI OS

2021-12-02 Thread vince
I opened PR-719  with the newer 
command for importing the key.  Tests ok on debian-10.

On Thursday, December 2, 2021 at 10:04:41 AM UTC-8 sali...@gmail.com wrote:

> ok thanks Rainer
> Le 02/12/2021 à 18:52, Rainer Lang a écrit :
>
> The "error" is not an error but a warning - and it just means what it says
> that apt-key will no longer be used in linux installations but will/can be 
> replaced
> by trusted.gpd.d.
> This will become effective 2022-April.
>
> It has nothing to do with the weewx version you are installing (except for 
> the instructions)
>
> The documentation for weewx downloads should be updated accordingly.
>
> On 02.12.2021 18:36, sali...@gmail.com wrote:
>
> hi,
> I am installing weewx on my RPi of test with PI OS, but I have this error
> wget -qO - https://weewx.com/keys.html | sudo apt-key add - 
> Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
> instead (see apt-key(8)).
> OK
>
> an idea, I think install beta version 4.6.0b7
>
> Patrick
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/15ecd586-261c-42c4-b94f-4713b559de0fn%40googlegroups.com
>  
> 
> .
>
>
> -- 
> 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.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/c65d142e-770a-4d3e-2544-1c8928642058%40gmail.com
>  
> 
> .
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6257ebe1-356f-44b9-9ea2-11e8234ca0e6n%40googlegroups.com.


Re: [weewx-user] new install on RPi4 with PI OS

2021-12-02 Thread salinois

ok thanks Rainer

Le 02/12/2021 à 18:52, Rainer Lang a écrit :

The "error" is not an error but a warning - and it just means what it says
that apt-key will no longer be used in linux installations but 
will/can be replaced

by trusted.gpd.d.
This will become effective 2022-April.

It has nothing to do with the weewx version you are installing (except 
for the instructions)


The documentation for weewx downloads should be updated accordingly.

On 02.12.2021 18:36, sali...@gmail.com wrote:

hi,
I am installing weewx on my RPi of test with PI OS, but I have this error
wget -qO - https://weewx.com/keys.html | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
instead (see apt-key(8)).

OK

an idea, I think install beta version 4.6.0b7

Patrick
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/15ecd586-261c-42c4-b94f-4713b559de0fn%40googlegroups.com 
.



--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c65d142e-770a-4d3e-2544-1c8928642058%40gmail.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c39c6084-fe39-efb1-15b6-1892ddcc1c0b%40gmail.com.


Re: [weewx-user] new install on RPi4 with PI OS

2021-12-02 Thread Rainer Lang

The "error" is not an error but a warning - and it just means what it says
that apt-key will no longer be used in linux installations but will/can 
be replaced

by trusted.gpd.d.
This will become effective 2022-April.

It has nothing to do with the weewx version you are installing (except 
for the instructions)


The documentation for weewx downloads should be updated accordingly.

On 02.12.2021 18:36, sali...@gmail.com wrote:

hi,
I am installing weewx on my RPi of test with PI OS, but I have this error
wget -qO - https://weewx.com/keys.html | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
instead (see apt-key(8)).

OK

an idea, I think install beta version 4.6.0b7

Patrick
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/15ecd586-261c-42c4-b94f-4713b559de0fn%40googlegroups.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c65d142e-770a-4d3e-2544-1c8928642058%40gmail.com.


[weewx-user] new install on RPi4 with PI OS

2021-12-02 Thread sali...@gmail.com
hi,
I am installing weewx on my RPi of test with PI OS, but I have this error
wget -qO - https://weewx.com/keys.html | sudo apt-key add - 
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
instead (see apt-key(8)).
OK

an idea, I think install beta version 4.6.0b7

Patrick

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/15ecd586-261c-42c4-b94f-4713b559de0fn%40googlegroups.com.


[weewx-user] Re: changed station type, want to drop some grpahs

2021-12-02 Thread John Pierce
hmmm, looks like that stuff dropped off on its own, yay.

On Wednesday, December 1, 2021 at 10:52:45 PM UTC-8 John Pierce wrote:

> my old station (Accurite garbage) recorded signal quality and indoor temp, 
> my new station (Weatherflow Tempest) doesn't.When I switched over to a 
> fresh instance of WeeWX configured for the Weatherflow Tempest, I imported 
> the old mysql database so i could keep my site records going back to 
> 2016...  Anyways, um, its still showing the old graphs right to the cutoff 
> point. can I somehow purge them?  or will they just disappear as that 
> data ages out ?
>
> my weewx page:
> https://freescruz.com/weewx/index.html
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d38477cd-83e2-406e-91cf-ac4800ae4f1fn%40googlegroups.com.