Re: [weewx-user] want to use lux value to calculate value for 'radiation'

2023-09-29 Thread Eric K
trike_count > 0 else None >>>> # For each type, an arbitrary calibration expression can be >>>> given. >>>> # It should be in the units defined in the StdConvert section. >>>> # Example: >>>> foo = foo + 0.2 &g

Re: [weewx-user] want to use lux value to calculate value for 'radiation'

2023-09-27 Thread Eric K
Share the [StdCalibrate] [[Corrections]] section of your weewx.conf file with us. On Wednesday, September 27, 2023 at 5:53:10 PM UTC-5 Kevin Crivelli wrote: I have the same problem but this didn't work for me. any ideas? On Tuesday, May 18, 2021 at 6:04:08 PM UTC-4 Greg Troxel wrote: E

[weewx-user] Re: affordable lightning detector

2023-06-23 Thread Eric K
This post shows the AS3935 board setup I put together in 2021. https://groups.google.com/g/weewx-user/c/TaLWUitdDmE/m/Zt7DPUMTAwAJ I bought this board, which is cheaper than the Sparkfun board, but not as cheap as the Acurite 6045. https://www.amazon.com/Lightning-Distances-Detection-Interfacing-

[weewx-user] Re: need help fixing problem in database: can't complete a --rebuild-daily

2023-06-23 Thread Eric K
empBatteryStatus'] = ''; ... changed to None Timestamp = 1685832600; record['windGustDir'] = ''; ... changed to None Timestamp = 1685832900; record['outTempBatteryStatus'] = ''; ... changed to None 4 of 4 null strings found were fixed. Applied Nul

[weewx-user] Re: need help fixing problem in database: can't complete a --rebuild-daily

2023-06-23 Thread Eric K
data binding to use. Default is 'wx_binding'. --dest-binding=BINDING_NAME The destination data binding (option --transfer only). --dry-run Print what would happen but do not do it. Default is False. On Friday, June 23, 2023 at 11:50:41 AM UTC-5 Eric K wrote: > I've been runnin

[weewx-user] need help fixing problem in database: can't complete a --rebuild-daily

2023-06-23 Thread Eric K
I've been running weewx 4.5.1 in a RaspberryPi for the last 2 years. In the past, I have successfully used DB Browser for SQLite to fix erronous readings created by my system sensor behavior. In the last 30 days, I edited some erronous wind speed values and now the "sudo bin/wee_database weewx.co

Re: [weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-06-14 Thread Eric K
Maybe the better question is, what version of weewx-sdr do you have? I installed mine in May 2021. On Wednesday, June 14, 2023 at 1:12:37 PM UTC-5 Eric K wrote: > Oh, interesting. I'm running weewx 4.5.1. > What version are you running? > > On Wednesday, June 14, 2023 at 11:59

Re: [weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-06-14 Thread Eric K
Oh, interesting. I'm running weewx 4.5.1. What version are you running? On Wednesday, June 14, 2023 at 11:59:13 AM UTC-5 Mark Fraser wrote: > On 13/06/2023 20:17, Kevin Crivelli wrote: > > mines definitely a little different. This is what I already have. It > > seems to follow the logic you s

Re: [weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-06-13 Thread Eric K
ketV2 >> inHumidity = humidity.3071.AcuriteTowerPacketV2 >> pressure = pressure.171.FOWH32BPacket >> >> >> [[deltas]] >> rain = rain_total >> lightning_strike_count = strikes_total >> >> >> >> O

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-06-13 Thread Eric K
ing distance that was recorded weeks ago. not sure where to go from > here but thank you for providing all of that for me. > > [image: lightning5.JPG] > > > On Sunday, June 11, 2023 at 5:09:28 PM UTC-4 Eric K wrote: > >> Hi Kevin, >> >> In the graphs.conf file

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-06-11 Thread Eric K
## On Sunday, June 11, 2023 at 3:36:30 PM UTC-5 Kevin Crivelli wrote: Eric K, could you provide the chart.conf configuration for that chart and also what ended up being the correct way to add the correction in weewx.conf? Your chart is essentially what I am try

Re: [weewx-user] Belchertown graphs stopped working

2023-05-09 Thread Eric K
Huh. I didn't do anything and the charts returned. On Tuesday, May 9, 2023 at 10:58:23 AM UTC-5 Eric K wrote: > I implemented the workaround posted by James-76 in issue 881 > <https://github.com/poblabs/weewx-belchertown/issues/881>, and it worked > for the last 2 weeks.

Re: [weewx-user] Belchertown graphs stopped working

2023-05-09 Thread Eric K
I implemented the workaround posted by James-76 in issue 881 , and it worked for the last 2 weeks...until this morning. I have not looked for clues yet, but I'm betting that Highcharts changed something on their server, and now our links t

[weewx-user] Belchertown skin - dark theme switchover around sunset

2022-03-26 Thread Eric K
I have the Belchertown skin theme set to "auto" so it switches over to the dark theme around sunset. I have noted that the Belchertown skin switches over to the dark theme at large fractions of an hour before sunset actually occurs. Then, I got a report from a friend in the Eastern time zone, tha

Re: [weewx-user] Re: want to have /home/weewx/public_html in a ramdisk

2022-03-12 Thread Eric K
the imagemagick package to add date/time info to each webcam grab. If nothing else, my webcam pictures are likely loading and processing faster. Eric On Saturday, March 12, 2022 at 5:10:05 PM UTC-6 Eric K wrote: > No problem, Doug. > Your intention to share helpful information is appreciat

Re: [weewx-user] Re: want to have /home/weewx/public_html in a ramdisk

2022-03-12 Thread Eric K
No problem, Doug. Your intention to share helpful information is appreciated! On Saturday, March 12, 2022 at 5:00:15 PM UTC-6 do...@dougjenkins.com wrote: > I am sorry, I didn't read the entire post. > > On Sat, Mar 12, 2022, 5:33 PM Eric K wrote: > >> Its'

Re: [weewx-user] Re: want to have /home/weewx/public_html in a ramdisk

2022-03-12 Thread Eric K
write failures. > > On Sat, Mar 12, 2022, 4:46 PM Eric K wrote: > >> Hi Peter. >> >> Correct, extending the life of the SD card is my goal. >> >> I am currently rebuilding my weewx Raspberry Pi system because of a >> suspected SD card failure. >> I

Re: [weewx-user] Re: want to have /home/weewx/public_html in a ramdisk

2022-03-12 Thread Eric K
recast >> else >>logger "error - rc.local could not mkdir for weewx" >> fi >> >> You might run into timing issues if you do too much this way since >> rc.local tends to run toward the end of the startup sequence, but a quick >> mk

[weewx-user] want to have /home/weewx/public_html in a ramdisk

2022-03-12 Thread Eric K
Currently running weewx 4.5.1 in a Raspberry Pi 3B+ with the Bullseye version of Raspberry Pi OS. For a Raspberry Pi (using a microSD card as the OS system drive) I want to create a ramdisk for the /home/weewx/public_html directory. I followed examples from various webpages on the ramdisk topic

Re: [weewx-user] When die the blast wave of the eruption "hit" your station?

2022-01-16 Thread Eric K
It arrived in Minnesota around 14:20 UTC (8:20am CDT). [image: 2022-1-15 Tonga Volcano pressure wave wide.JPG] [image: 2022-1-15 Tonga Volcano pressure wave.JPG] On Sunday, January 16, 2022 at 12:24:02 PM UTC-6 n0...@n0nb.us wrote: > * On 2022 16 Jan 11:09 -0600, storm...@gmail.com wrote: > > If

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2022-01-02 Thread Eric K
After weewx was working in Ubuntu 21.04 I made a backup and tried upgrading to 21.10 - worked fine, without breakage! So, now weewx 4.5.1 is running fine in Ubuntu 21.10. On Saturday, January 1, 2022 at 12:56:45 PM UTC-6 Eric K wrote: > I just restarted Ubuntu and made sure the mosquitto.

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2022-01-01 Thread Eric K
x: Wunderground-PWS: Published record 2022-01-01 12:40:00 CST (1641062400) Jan 1 12:45:19 Ubuntu20-WEEWX weewx[1224] INFO weewx.restx: PWSWeather: Published record 2022-01-01 12:45:00 CST (1641062700) Jan 1 12:45:19 Ubuntu20-WEEWX weewx[1224] INFO weewx.restx: Wunderground-PWS: Published record

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2022-01-01 Thread Eric K
/pwfile". 1641059578: Error opening password file "/etc/mosquitto/pwfile". On Saturday, January 1, 2022 at 11:09:48 AM UTC-6 bell...@gmail.com wrote: > Now that the broker is running, does mosquitto_sub work? > Also, as Vince suggested, adding the -v option (verbose) to the m

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2022-01-01 Thread Eric K
osquitto >> >> On my ubuntu 21.10 vm permissions look like: >> >> root@ubuntu-focal:/run# ls -lagd /run/mosquitto >> drwxr- 2 root 60 Dec 31 23:42 /run/mosquitto >> >> root@ubuntu-focal:/run# ls -lagd /run/mosquitto/* >> -rw-r--r-- 1 mosquitto 4 Dec 31 2

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-31 Thread Eric K
No, its not working. Running the commands with sudo still failed to generate a pid file. Running with the default config allowed mosquitto to start and MQTTSubscribe tried to connect but it disconnected after 5 seconds. When I started weewx and forced wee_reports to run, it bomed out with many

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-31 Thread Eric K
* typing errror allow_anymous true *should have been allow_anonymous true On Friday, December 31, 2021 at 3:02:38 PM UTC-6 Eric K wrote: > OK, I edited the /etc/mosquitto/mosquitto.conf so it is like your example: > listener 1883 > allow_anymous true > > weewx@Ubuntu20-WEEWX:~$

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-31 Thread Eric K
gt; On Friday, December 31, 2021 at 11:04:00 AM UTC-8 Eric K wrote: > >> This confirms that mosquitto 2.x requires passwords (where version 1.x >> does not). >> see: https://mosquitto.org/documentation/migrating-to-2-0/ >> > > No, it doesn't. > The example I po

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-31 Thread Eric K
I've currently got 2 Ubuntu setups I can switch back and forth between. mosquitto works fine in Ubuntu 20.10, (works with no passwords). mosquitto does not work after the Ubuntu 21.04 upgrade. I just switched from 20.10 to 21.04 and can report. Ubuntu 20.10 has mosquitto 1.6.12 Ubuntu 21.04 has mo

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-30 Thread Eric K
I forgot to post this: weewx@Ubuntu20-WEEWX:~$ python3 -c "import paho.mqtt.client;print(paho.mqtt.client.__file__)" /usr/lib/python3/dist-packages/paho/mqtt/client.py On Thursday, December 30, 2021 at 10:38:58 PM UTC-6 Eric K wrote: > Simply reinstalling python3-paho-mqtt has

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-30 Thread Eric K
s=1/FAILURE) I'm not sure how many of weewx's dependencies have to be reinstalled? On Wednesday, December 29, 2021 at 10:36:37 AM UTC-6 vince wrote: > On Tuesday, December 28, 2021 at 7:45:22 PM UTC-8 Eric K wrote: > >> After re-installing python3-paho-mqtt into Ubuntu 21

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-28 Thread Eric K
At this point, I'm keeping VM snapshots of both the working Ubuntu 20.10 and the broken Ubuntu 21.04 so I can bounce back and forth between them. Python 3.8 is the version in Ubuntu 20.10. weewx@Ubuntu20-WEEWX:~$ python3 --version Python 3.8.10 Python 3.9 is the version in Ubuntu 21.04. weewx@Ub

Re: [weewx-user] error after update

2021-12-28 Thread Eric K
I've had weewx 4.5.1 running fine in a Ubuntu 20.10 virtual machine, with mqtt-subscribe and the usr.sdr driver for about 9 months. I just tried to update my Ubuntu virtual machine from 20.10 to 21.04. (I took a snapshot of the VM before I updated, so I could revert back to a working system.) Up

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-28 Thread Eric K
pretty easy: just install paho for whatever > version of Python you are using. > > On Tue, Dec 28, 2021 at 3:31 PM Eric K wrote: > >> I saw this thread and the symptoms are VERY similar if not the same: >> https://groups.google.com/g/weewx-user/c/LS5QyRlJNU4/m/UtBjwkss

[weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2021-12-28 Thread Eric K
I saw this thread and the symptoms are VERY similar if not the same: https://groups.google.com/g/weewx-user/c/LS5QyRlJNU4/m/UtBjwkssAgAJ I've had a working weewx 4.5.1 system running inside Ubuntu 20.10 virtual machine for about 9 months. I'm running the user.sdr driver and MQTTsubscribe. I ju

Re: [weewx-user] Re: recommend IP cameras that are easy to grab a single frame from?

2021-08-10 Thread Eric K
. On Tuesday, August 10, 2021 at 5:57:47 PM UTC-5 Eric K wrote: > I changed my scripts to put the pictures into a ramdisk. > But, the web server can't find them in the ramdisk. > > First I tried this - web s

Re: [weewx-user] Re: recommend IP cameras that are easy to grab a single frame from?

2021-08-10 Thread Eric K
arched for some guidence and then tried this - web server didn't find it: How are others accessing a ramdisk for webserver photos? On Tuesday, August 10, 2021 at 3:58:50

Re: [weewx-user] Re: recommend IP cameras that are easy to grab a single frame from?

2021-08-10 Thread Eric K
I like the idea of writing to the RAM disk, to avoid multiple rewrites the micro SD card. I didn't know it was an option. This is all there is to it? https://www.linuxbabe.com/command-line/create-ramdisk-linux Looks easy! On Tuesday, August 10, 2021 at 3:47:36 PM UTC-5 vince wrote: > I use a c

[weewx-user] Re: recommend IP cameras that are easy to grab a single frame from?

2021-08-07 Thread Eric K
I also want to check out your perl scripts, @mwall! On Saturday, August 7, 2021 at 5:18:33 PM UTC-5 Eric K wrote: > Thanks for all the responses. > > Shortly after posting this I got a couple of the ESP32-CAM modules and > loaded Tasmota firmware into them. > see: https://c

Re: [weewx-user] recommend IP cameras that are easy to grab a single frame from?

2021-07-02 Thread Eric K
video conferencing, so delivering still frames for webpages was not on the required features list. Eric On Friday, July 2, 2021 at 5:52:03 PM UTC-5 Greg Troxel wrote: > > Eric K writes: > > > Based on first hand experience, can people recommend various IP cameras > > (i

[weewx-user] recommend IP cameras that are easy to grab a single frame from?

2021-07-02 Thread Eric K
Based on first hand experience, can people recommend various IP cameras (ideally an Ethernet or wifi camera) with a focus towards ease of grabbing a single frame from a Linux command line? I'd like to be able to grab single frames to use in the weewx webpage. I don't want an RaspberryPi camera b

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2021-06-28 Thread Eric K
ot;:7}} 18:05:12.146 MQT: tele/AS3935/SENSOR = {"Time":"2021-06-28T18:05:12","AS3935":{"Event":4,"Distance":1,"Energy":22788,"Stage":7}} 18:05:50.188 MQT: tele/AS3935/SENSOR = {"Time":"2021-06-28T18:05:50",&qu

[weewx-user] Re: lightning sensor made at home cheaply

2021-06-27 Thread Eric K
ignore = true On Friday, June 25, 2021 at 8:15:48 PM UTC-5 Eric K wrote: > I've made some progress and I have MQTT messages getting received into > MQTTSubscribe and put into the weewx database file! > > Here's the relevant section from the MQTTSubscribe

[weewx-user] Re: lightning sensor made at home cheaply

2021-06-25 Thread Eric K
ce = AS3935_Distance if AS3935_Event == 1 else None* Finally, I looked in the weewx.sdb database file and saw 3 lightning events listed in the variables lightning_distance and lightning_energy! See attached. I don't have the lightning_strike_count getting accumulated, yethave to try and f

[weewx-user] Re: lightning sensor made at home cheaply

2021-06-16 Thread Eric K
you get this working, this is exactly the type of MQTTSubscribe > configuration that I would like to capture as an example to help others in > the future. > - Rich > > > On Tuesday, 15 June 2021 at 19:35:19 UTC-4 Eric K wrote: > >> I just assembled this exact setup - AS

[weewx-user] Re: How to send AS3935 Thunder Board (SwitchDocs) data to weewx.sdb

2021-06-16 Thread Eric K
Getting answers from people who already know doesn't require much effort from anyone, so its a good plan, in my view. On Wednesday, June 16, 2021 at 12:52:42 PM UTC-5 vince wrote: > On Wednesday, June 16, 2021 at 9:50:22 AM UTC-7 Eric K wrote: > >> Vince, if you don't know

[weewx-user] Re: How to send AS3935 Thunder Board (SwitchDocs) data to weewx.sdb

2021-06-16 Thread Eric K
Vince, if you don't know the answer to a question, why do you respond? On Wednesday, June 16, 2021 at 11:46:02 AM UTC-5 vince wrote: > On Wednesday, June 16, 2021 at 9:42:51 AM UTC-7 Eric K wrote: > >> I wonder if anyone knows if this AS9395 service >> https://github.com/

[weewx-user] Re: How to send AS3935 Thunder Board (SwitchDocs) data to weewx.sdb

2021-06-16 Thread Eric K
I wonder if anyone knows if this AS9395 service https://github.com/weewx/weewx/wiki/as3935 can be configured to work with MQTT data, or if its hard-coded to only talk to ports on the Raspberry Pi? On Monday, August 20, 2018 at 10:22:36 AM UTC-5 bgra...@umw.edu wrote: > Pat, >>> > This is t

[weewx-user] Re: help troubleshooting: weewx database stopped accepting data, out of the blue

2021-06-10 Thread Eric K
Ubuntu20-WEEWX weewx[3673] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping. Jun 10 12:15:33 Ubuntu20-WEEWX weewx[3673] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping. Jun 10 12:15:34 Ubuntu20-WEEWX weewx[3673] INFO weewx.restx: Wunderground-PWS: Pub

[weewx-user] help troubleshooting: weewx database stopped accepting data, out of the blue

2021-06-10 Thread Eric K
After running for a month without problems, it appears the weewx.sdb file has stopped accepting data. It happened about 11:30am today, without any warning or apparent cause. I'm pulling in data via the sdr driver primarily and also from MQTTSubscribe. >From the syslog, I can see that data is sti

[weewx-user] Re: weewx stopped for no apparent reason

2021-06-10 Thread Eric K
@JRJ, it appears this (or something similar) has just happened on my weewx 4.5.1 installation. I suppose I should start a new thread on it. I'll be watching yours to see if you find out whats going wrong! On Wednesday, June 9, 2021 at 2:29:39 PM UTC-5 cub...@gmail.com wrote: > @michael: No, t

Re: [weewx-user] Re: new weewx install not creating database or webpage

2021-05-25 Thread Eric K
I want to point out an error from above, so no one copies my mistake. The [[Corrections]] section does not belong in the [SDR] driver section! Here's how it should look: ## [SDR] # This section is for the software-de

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2021-05-25 Thread Eric K
ettings. And if the > correction was not under [StdCalibrate] [[Corrections]] then WeeWX wasn't > applying the correction either. > > Might just have to remain a mystery. > > Gary > > On Monday, 24 May 2021 at 07:33:56 UTC+10 Eric K wrote: > >> Thanks for

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2021-05-23 Thread Eric K
On Sunday, May 23, 2021 at 3:10:54 PM UTC-5 gjr80 wrote: > I think you might find the [[Corrections]] stanza belongs under > [StdCalibrate] <http://weewx.com/docs/usersguide.htm#StdCalibrate> rather > than the SDR driver. > > Gary > On Monday, 24 May 2021 at 02:32:14

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2021-05-23 Thread Eric K
2.04, 'Atlas_strike_count': 45, 'lightning_distance': 10, 'windBatteryStatus': 0, 'dateTime': 1621785380, 'usUnits': 1} May 23 10:56:24 Ubuntu20-WEEWX weewx[14069] DEBUG user.MQTTSubscribe: (Service) data-> final packet is 2021-05-23 10:56:20

[weewx-user] Re: Lightning Data Stored in weewx.sdb

2021-05-23 Thread Eric K
I am seeing a weird problem with the lightning distance value, where the distance gets stuck reporting 10! I copied the [[Corrections]] scheme shown earlier in this thread. I'm pretty sure I got it right, because it works most of the time. ##

Re: [weewx-user] want to use lux value to calculate value for 'radiation'

2021-05-18 Thread Eric K
-lux-to-w-m-2-conversion-factor-126-7 https://cumulus.hosiene.co.uk/viewtopic.php?t=3979 On Tuesday, May 18, 2021 at 5:04:08 PM UTC-5 Greg Troxel wrote: > > Eric K writes: > > > The Acurite Atlas weather sensor provides a UV and a lux value, but not > a > > radiation

Re: [weewx-user] want to use lux value to calculate value for 'radiation'

2021-05-18 Thread Eric K
> > Then the calculated value will be stored as radiation in the database and > you can use it in your reports/skins > > On 18.05.2021 21:10, Eric K wrote: > > The Acurite Atlas weather sensor provides a UV and a lux value, but not a > radiation value. > I want to

[weewx-user] want to use lux value to calculate value for 'radiation'

2021-05-18 Thread Eric K
The Acurite Atlas weather sensor provides a UV and a lux value, but not a radiation value. I want to use this formula to calculate solar radiation from the lux sensor in the Acurite Atlas: radiation = lux * 0.0079 I've been searching the weewx documentation for details and examples of how to c