I don't see that you ever got a reply.
Python f-strings allow for field width specifiers. For example:
f"{record['outTemp']:.0f}°"
f"{record['barometer']:.2f}
Hope that helps.
- Nate
On Sunday, October 15, 2023 at 12:38:06 PM UTC-5 Lorin Tremblay wrote:
> I always wanted to learn how to
ken,
what do you see when you point a web browser at the hub? are all of your
sensors listed?
check everything. watch the http requests from the hub to the machine
running weewx (use tcpdump, or wireshark, or turn up the verbosity in the
interceptor). see which sensors are in the requests,
Thank you, yes, self.latest_sensor_data['dateTime'] should be
self.latest_sensor_data['datetime']. Fixed in 0.6.0b6.
Gary
On Sunday 28 January 2024 at 04:59:19 UTC+10 michael.k...@gmx.at wrote:
> Seems like, changed it to
> if self.latest_sensor_data is None or sensor_data['datetime'] >
>
Julian, a couple of questions:
1. These are ip-read and -write errors. What kind of logger are you using?
A WeatherLink IP?
2. The log snippet shows code from when the driver is initially loaded, so
it is unlikely to run 30 minutes in, unless this is actually a restart.
Look farther back in the
A new version of the driver is now in the GitHib repository
(https://github.com/AussieSusan/HP1000).
Ths version has been used with V4.10 of WeeWx but is intended for use with
V5.
As mentioned above, there was a 'bug' in the previous version that only
came to light recently (in my case since
v4 was flawless for me, but since upgrading to v5 (Debian package) the
daemon runs for maybe 30 minutes before crashing with this in the log:
Jan 28 09:08:18 jeeves weewxd[3350596]: INFO weewx.engine: Loading station
type Vantage (weewx.drivers.vantage)
Jan 28 09:08:25 jeeves weewxd[3350596]:
This worked! Vince and Rich, thank you so much!!
sudo weectl extension install
https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
On Saturday, January 27, 2024 at 5:20:52 PM UTC-6 Frank Gruhlke Gg wrote:
> And sorry, yes using WeeWx 5
>
> On Saturday, January
My apologies. I forgot one important detail. The "[Delta]" section tells
WeeWX how to calculate rain, but you also have to include "rain" under
[StdWXCalculations] / [[Calculations]] in order to get it to do the actual
calculation. It looks like
[StdWXCalculate]
[[Calculations]]
...
And sorry, yes using WeeWx 5
On Saturday, January 27, 2024 at 5:20:14 PM UTC-6 Frank Gruhlke Gg wrote:
> That got me much closer...but (PermissionError: [Errno 13] Permission
> denied: '/etc/weewx/bin/user/MQTTSubscribe.py')
>
>
> frank@pi4:/tmp $ weectl extension install v2.3.1.tar.gz
>
That got me much closer...but (PermissionError: [Errno 13] Permission
denied: '/etc/weewx/bin/user/MQTTSubscribe.py')
frank@pi4:/tmp $ weectl extension install v2.3.1.tar.gz
Using configuration file /etc/weewx/weewx.conf
Install extension 'v2.3.1.tar.gz' (y/n)? y
Extracting from tar archive
You didn't say which version of weewx but you probably installed v5.
See if 'weectl extension install' works (v5 syntax) rather than
'wee_extension --install' (v4 syntax).
On Saturday, January 27, 2024 at 2:34:15 PM UTC-8 Frank Gruhlke Gg wrote:
> Thanks for helping me out... here is what
Just double checking, you installed WeeWX 4.x?
What method, package or setup?
It’s a bit of a matrix of what to do depending on WeeWX version and install
method. I am hoping to simplify my instructions, but the docs are partially
done. Sorry about that. We’ll get you up and running.
On Sat, Jan
Direwolf ?
Nigel
G4ZAL
On Saturday 27 January 2024 at 15:19:46 UTC Massimiliano Buldrini wrote:
> I have a Davis Vantage Pro 2 with Serial".
>
> I have a Raspberry P4, a serial card to connect directly to the GPIO, a
> CM108 with audio and PTT that I want to connect to a portable radio that
>
Thanks for helping me out... here is what got..
frank@pi4:/tmp $ wee_extension --install=v2.3.1.tar.gz
bash: wee_extension: command not found
On Saturday, January 27, 2024 at 4:20:12 PM UTC-6 Rich Bell wrote:
> Drop the BIN_DIR
> wee_extension --install=v2.3.1.tar.gz
> Assuming you are /tmp
>
Drop the BIN_DIR
wee_extension --install=v2.3.1.tar.gz
Assuming you are /tmp
On Sat, Jan 27, 2024 at 4:56 PM bell...@gmail.com
wrote:
> You caught me in the middle of a major documentation update.
>
> For weewx v5 use,
> http://www.weewx.com/docs/5.0/utilities/weectl-extension/ and
>
You caught me in the middle of a major documentation update.
For weewx v5 use, http://www.weewx.com/docs/5.0/utilities/weectl-extension/
and http://www.weewx.com/docs/5.0/utilities/weectl-station/
And v4, http://www.weewx.com/docs/4.10/utilities.htm#wee_extension_utility
and
Hello all.. hopefully someone can help me!
I have a fresh raspbean install on a pi-4 and want to install the MQTT
driver found here:
https://github.com/bellrichm/WeeWX-MQTTSubscribe
So far managed to install the Paho MQTT Python Client but then started to
run into issues.
First,
Hi Vince,
Not quite solved. It still fails to start after reboot. I think I solved it
before by adding a line somewhere.
I have this in my notes:
Wait for network before startup:
Add $network to # Required-Start
I can't remember where I placed this before or if there's a better way to
delay
Seems like, changed it to
if self.latest_sensor_data is None or sensor_data['datetime'] >
self.latest_sensor_data['datetime']:
and it didn't crash again so far.
michael.k...@gmx.at schrieb am Samstag, 27. Januar 2024 um 14:31:43 UTC+1:
> Case typo?
>
> if self.latest_sensor_data is None or
Cool you solved it. Wouldn't have thought that a baud rate thing would get
you network unreachable.
On Saturday, January 27, 2024 at 8:59:15 AM UTC-8 Bill Hattel wrote:
> Hi Vince,
> Thank you for replying. It turns out, it was something simple as usual.
> It's not starting at power-up and
Hello Tom,
I followed your instructions:
1/“rain” field present in the database
2/ “dayRain” field not present in the database
3/ My driver returns “dayRain” values and not “rain” values in the
packetsloop
4/ [[Delta]] [[ [rain]]] input = dayRain added in weewx.conf (under
[StdWXCalculate]).
Hi Vince,
Thank you for replying. It turns out, it was something simple as usual.
It's not starting at power-up and in my haste to recognize that, I reset
the Ethernet to serial adapter to factory defaults which set the baud rate
to 115200. Once I set it back to 19200 and started weewx, it
See here
https://groups.google.com/g/weewx-user/c/AJlPGe61xVU/m/AuOh3oiZAAAJ
Στις Σάβ 27 Ιαν 2024, 17:43 ο χρήστης 'super zee' via weewx-user <
weewx-user@googlegroups.com> έγραψε:
> Jon, I am having the same error. What is the correct procedue to fix
> this? I am doing a new Bookworm 64 bit
Jon, I am having the same error. What is the correct procedue to fix
this? I am doing a new Bookworm 64 bit install.
Chris
On Tuesday, January 16, 2024 at 4:31:01 AM UTC-7 Jon Fear wrote:
> Indeed it was user error.
>
> I followed the commands in the apt directory and all appears well.
>
>
Case typo?
if self.latest_sensor_data is None or sensor_data['datetime'] >
self.latest_sensor_data['dateTime']:
michael.k...@gmx.at schrieb am Samstag, 27. Januar 2024 um 14:24:58 UTC+1:
> That part worked. You can tell by the weewx.restx: MQTT: Published record
> entries in the log, there is
That part worked. You can tell by the weewx.restx: MQTT: Published record
entries in the log, there is only one Loop packet every 10s (the poll
interval).
But after a few archive_intervals it crashed:
2024-01-27 14:17:25 weewxd[657388] INFO weewx.engine: Main loop exiting.
Shutting engine
26 matches
Mail list logo