Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-15 Thread Rahul Bedi
estamp_packet_previous))) >>> +elif pkt.timestamp_record() > (timestamp_packet_previous >>> + self._archive_threshold): >>> loginf(('genStartup() Discarding received archive' >>>

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-15 Thread Rahul Bedi
Negative value. Thanks. - Rahul On Sat 15 Sep, 2018, 7:55 PM Thomas Keffer, wrote: > What's a "-ve" value? > > -tk > > On Sat, Sep 15, 2018 at 6:10 AM Rahul Bedi wrote: > >> On the topics of negative numbers, I have also realized that in cases >> wher

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-13 Thread Rahul Bedi
As I have made no code or config changes since the day before, I believe it doing this for the right data. Let me try tweaking the config and start eliminating some of these fields and see if the error goes away. Thanks for the help. - Rahul On Fri, Sep 14, 2018 at 2:51 AM Thomas Keffer wrote:

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-13 Thread Rahul Bedi
I did drop and rebuild from scratch but the error did not go away. I do suspect that there is some data error but unable to figure out which one. On Fri, Sep 14, 2018 at 2:41 AM gjr80 wrote: > Hi, > > I would suspect some dodgy data in your daily summaries. You said you > rebuilt them, did you

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-13 Thread Rahul Bedi
Thanks Gary. Charges were done about a month ago but have seen no errors till this episode. I will do a diff with the original skin files and post it here. Thanks. - Rahul On Fri 14 Sep, 2018, 7:35 AM gjr80, wrote: > On Friday, 14 September 2018 11:30:42 UTC+10, Rahul Bedi wrote: >>

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-14 Thread Rahul Bedi
d you help me with what fields in the archive are referred to by rms ? I can try to manually check for any value discrepancy. Thanks. - Rahul On Fri, Sep 14, 2018 at 9:14 AM Rahul Bedi wrote: > Thanks Gary. > > Charges were done about a month ago but have seen no errors till this > episode

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-14 Thread Rahul Bedi
rd. Let's check that. > > *sqlite3 /var/lib/weewx/weewx.sdb* > sqlite> *SELECT datetime(dateTime, 'unixepoch','localtime'), interval > FROM archive WHERE interval<0;* > > -tk > > On Fri, Sep 14, 2018 at 5:06 AM Rahul Bedi wrote: > >> Here is what I get: >> &

Re: [weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-14 Thread Rahul Bedi
'), wsquaresum, > sumtime FROM archive_day_wind WHERE dateTime > 1533081600;* > > This will show all values from (roughly) 1-August (about 45 values). If > the bad value is before that, we'll have to use a different strategy, > rather than go looking for a needle in a haystack. > &g

[weewx-user] Cheetahgenerator gives "math domain error" while processing Seasons skin

2018-09-13 Thread Rahul Bedi
Hi, This morning, weewx running Raspberry Pi starting logging the following errors: Sep 13 21:25:17 PrideWeatherStation weewx[1608]: manager: Added record 2018-09-13 21:25:00 IST (1536854100) to database 'weewx.sdb' Sep 13 21:25:17 PrideWeatherStation weewx[1608]: manager: Added record

Re: [weewx-user] Trying to use variable outside of the main weather record in the alarm.py example

2020-08-25 Thread Rahul Bedi
the alarm.py code: "$current($data_binding='aqi_binding').aqi_pm2_5" Thx. - Rahul On Tue, Aug 25, 2020 at 8:28 PM Rahul Bedi wrote: > The expression I am trying to eval is: > > "(pm2_5_cf_1 > 0)" > > and the error is get is: > > "weewxd: alarm: n

Re: [weewx-user] Trying to use variable outside of the main weather record in the alarm.py example

2020-08-25 Thread Rahul Bedi
d, where are they? > > On Tue, Aug 25, 2020 at 7:11 AM Rahul Bedi > wrote: > >> Hi, >> >> I am trying to use the "examples/alarm.py" example in weewx 4.1.1 to send >> me an email but instead of using the main weather record fields in the >> expre

[weewx-user] Trying to use variable outside of the main weather record in the alarm.py example

2020-08-25 Thread Rahul Bedi
Hi, I am trying to use the "examples/alarm.py" example in weewx 4.1.1 to send me an email but instead of using the main weather record fields in the expression eg. rainRate etc.. I would like to use fields from the purpleair service but the expression is unable to eval them as they don't exist

[weewx-user] aqi_backfill gives error

2020-07-01 Thread Rahul Bedi
Hi, I tried running the "aqi_backfill" script which is part of the aqi extension on a weewx 4.1.1 install and get the following error. Looks like way to pull the config seems to have changes since the time this script was written. Any ideas? - Rahul pi@PrideWeatherStation:/usr/share/weewx

Re: [weewx-user] Re: Issue with NOAA Template when trying to add additional fields

2020-06-30 Thread Rahul Bedi
BTW if I was to manually replace $day with a variable that is, say, the first day of the month ? How would I do that ? I am trying to remove the loop and replace that with 31 lines that will be one for each possible date. Thx. - Rahul On Tue, Jun 30, 2020 at 7:28 PM Rahul Bedi wrote

Re: [weewx-user] Re: Issue with NOAA Template when trying to add additional fields

2020-06-30 Thread Rahul Bedi
weewx/weewx/issues/384> > as well. > > -tk > > On Tue, Jun 30, 2020 at 6:16 AM Rahul Bedi wrote: > >> Tried. I get a similar error: >> >> Jun 30 18:45:19 PrideWeatherStation weewx[23078] ERROR >> weewx.cheetahgenerator: Generate failed with exception '> '

[weewx-user] Issue with NOAA Template when trying to add additional fields

2020-06-30 Thread Rahul Bedi
Hi, I have been trying to update the NOAA template to incorporate the air quality data in the monthly report, but when I added the two entries (in red) in the file NOAA--MM.txt.tmpl, I an error (attached at the end). Interestingly the same two entries, in the hilo.inc file in the Seasons

Re: [weewx-user] Re: Issue with NOAA Template when trying to add additional fields

2020-06-30 Thread Rahul Bedi
'TimespanBinder' object is not callable On Tue, Jun 30, 2020 at 6:10 PM gjr80 wrote: > Hi, > > Try using: > > $day($data_binding='purpleair_binding').pm2_5_atm.maxtime.format($Time) > $day($data_binding='purpleair_binding').pm2_5_atm.max.nolabel($Count,$NONE > ) > > Ga

Re: [weewx-user] Re: aqi_backfill gives error

2020-07-02 Thread Rahul Bedi
n't talk to whatever device is on your USB. Are > you sure you have the WMR 200 configured correctly? Is it plugged in? > > These errors aren't even happening in the AQI code. > > On Wednesday, July 1, 2020 at 11:36:39 PM UTC-7, Rahul Bedi wrote: >> >> Tried and gives the

Re: [weewx-user] Re: aqi_backfill gives error

2020-07-02 Thread Rahul Bedi
3) > https://github.com/jonathankoren/weewx-aqi/releases/tag/v1.3 so make sure > you get that. It has some changes that effect aqi_backfill, including the > fix for this. > > Be aware, aqi_backfill pretty temperamental. > > > On Wednesday, July 1, 2020 at 3:57:10 AM UTC-7,

Re: [weewx-user] Re: aqi_backfill gives error

2020-07-11 Thread Rahul Bedi
o any devices, but the device is getting > opened as part of the engine startup, > > I have not seen anything like this with the Vantage driver. Have you tried > shutting down weewx before running aqi_backfill? > > > On Thursday, July 2, 2020 at 9:28:14 PM UTC-7, Rahul Bedi wr

Re: [weewx-user] Generating graph with multi colored background bands or multiple colors in the graph line

2020-06-29 Thread Rahul Bedi
Thanks. Is there a way to incorporate the generated graph into a Seasons template ? - Rahul On Mon, Jun 29, 2020 at 1:12 PM gjr80 wrote: > Hi, > > No, unfortunately the WeeWX image generator cannot do that. You might be > able to achieve such an effect using a 3rd party charting package such

[weewx-user] Generating graph with multi colored background bands or multiple colors in the graph line

2020-06-29 Thread Rahul Bedi
Hi, I am have integrated the AQI and PurpleAir extensions on my weather station and am now trying tweak the graphs generated. Is there a way to have the Weewx imagegenerator to do one of the following: 1. Generate a graph with the background with horizontal bands of different color based on