I have weewx running on a Raspberry Pi 3 using the RTL-SDR to get info from my Acurite 5-in-1 station. Only problem is, this station doesn't have a barometer built in, it is inside of the Acurite Access.
So I have setup a separate VM with a fresh install of Ubuntu 18.04 and weewx. I created a script to scrape the pressure from the Access and use cron to keep it up to date. My hope is to later have the Pi get the pressure data from the VM, but I need the VM to work first. #!/bin/bash pressure=$(curl -fs http://192.168.0.150/ | grep -o -P '(?<=PRESSURE: ).*(?= Inch</p><p>)') echo pressure=$pressure > /var/tmp/pressure.txt This works great, and outputs pressure.txt pressure=29.06 I setup this VM with FileParse to utilize this data. All reports run, I get no errors, but the reports are empty. index.html <td class="label">Barometer</td> <td class="data"> N/A ( N/A)</td> syslog Jan 6 01:56:44 weewx systemd[1]: Started LSB: weewx weather system. Jan 6 01:56:44 weewx weewx[4911]: engine: Using configuration file /etc/weewx/weewx.conf Jan 6 01:56:44 weewx weewx[4911]: engine: Loading station type FileParse (user.fileparse) Jan 6 01:56:44 weewx weewx[4911]: fileparse: data file is /var/tmp/pressure.txt Jan 6 01:56:44 weewx weewx[4911]: fileparse: polling interval is 300.0 Jan 6 01:56:44 weewx weewx[4911]: fileparse: label map is {} Jan 6 01:56:44 weewx weewx[4911]: engine: StdConvert target unit is 0x1 Jan 6 01:56:44 weewx weewx[4911]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Jan 6 01:56:44 weewx weewx[4911]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Jan 6 01:56:44 weewx weewx[4911]: engine: Archive will use data binding wx_binding Jan 6 01:56:44 weewx weewx[4911]: engine: Record generation will be attempted in 'hardware' Jan 6 01:56:44 weewx weewx[4911]: engine: Using archive interval of 300 seconds (specified in weewx configuration) Jan 6 01:56:44 weewx weewx[4911]: engine: Using binding 'wx_binding' to database 'weewx' Jan 6 01:56:44 weewx weewx[4911]: manager: Starting backfill of daily summaries Jan 6 01:56:44 weewx weewx[4911]: restx: StationRegistry: Registration not requested. Jan 6 01:56:44 weewx weewx[4911]: restx: Wunderground: Posting not enabled. Jan 6 01:56:44 weewx weewx[4911]: restx: PWSweather: Posting not enabled. Jan 6 01:56:44 weewx weewx[4911]: restx: CWOP: Posting not enabled. Jan 6 01:56:44 weewx weewx[4911]: restx: WOW: Posting not enabled. Jan 6 01:56:44 weewx weewx[4911]: restx: AWEKAS: Posting not enabled. Jan 6 01:56:44 weewx weewx[4911]: engine: Starting up weewx version 3.9.2 Jan 6 01:56:44 weewx weewx[4911]: engine: Starting main packet loop. Jan 6 02:00:01 weewx CRON[4923]: (mt-dev) CMD (/home/mt-dev/pressure.sh) Jan 6 02:01:44 weewx weewx[4911]: manager: Added record 2020-01-06 02:00:00 UTC (1578276000) to database 'weewx' Jan 6 02:01:44 weewx weewx[4911]: manager: Added record 2020-01-06 02:00:00 UTC (1578276000) to daily summary in 'weewx' Jan 6 02:01:45 weewx weewx[4911]: cheetahgenerator: Generated 8 files for report SeasonsReport in 0.77 seconds Jan 6 02:01:46 weewx weewx[4911]: imagegenerator: Generated 28 images for SeasonsReport in 1.14 seconds Jan 6 02:01:46 weewx weewx[4911]: copygenerator: copied 5 files to /var/www/html/weewx weewx.conf snippets [Station] station_type = FileParse [FileParse] driver = user.fileparse path = /var/tmp/pressure.txt poll_interval = 300 [DataBindings] [[wx_binding]] database = archive_mysql [[MySQL]] driver = weedb.mysql host = localhost user = weewx password = ... All help is appreciated! -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dc0be5bb-c5f0-47ca-81d1-e1a5eb6fab9a%40googlegroups.com.
