Is the txbatterystatus actually being put into the loop and/or rec records?
On Tuesday, 22 November 2016 14:30:45 UTC+2, zkab wrote: > I changed count_threshold = 10 but nothing happens ... no mails telling me > that battery is low ... > Whats next ? > > Den måndag 21 november 2016 kl. 17:23:30 UTC+1 skrev Tom Keffer: >> >> You have a short archive interval (60) seconds, which means there will >> only be about 25 LOOP packets per archive record. >> >> The alarm extension requires that it see a low battery value at least 50 >> times in an archive interval before sounding the alarm. This is to prevent >> false positives. Change it to something smaller, say 10: >> >> [Alarm] >> time_wait = 3600 >> count_threshold = 10 >> smtp_host = xxx >> smtp_user = yyy >> smtp_password = zzz >> from = xyxyx >> mailto = zxzxzxz >> subject = Väderstation - Dags att byta batteriet !!! >> >> -tk >> >> >> On Mon, Nov 21, 2016 at 8:03 AM, zkab <[email protected]> wrote: >> >>> OK - here they come ... >>> >>> Den måndag 21 november 2016 kl. 16:31:02 UTC+1 skrev Tom Keffer: >>>> >>>> I guess I should have been more explicit. For the sake of completeness: >>>> >>>> 1. Set debug=1, stop weewx, restart it, post the log from the >>>> startup through the first archive record >>>> 2. Post the output of the command wee_debug --info >>>> >>>> -tk >>>> >>>> On Mon, Nov 21, 2016 at 7:08 AM, zkab <[email protected]> wrote: >>>> >>>>> I have followed the guidelines in 'lowBattery.py' and installed only >>>>> that ... not 'alarm.py' >>>>> What more should I do ? >>>>> >>>>> >>>>> Den måndag 21 november 2016 kl. 15:47:51 UTC+1 skrev Andrew Milner: >>>>>> >>>>>> Can you give us more information as to what exactly you have changed >>>>>> and implemented, and what is happening/not happening. The log seems to >>>>>> show a system ticking along with no issues - unless I did not look at >>>>>> the >>>>>> correct time of a significant event. >>>>>> >>>>>> >>>>>> >>>>>> On Monday, 21 November 2016 16:37:04 UTC+2, zkab wrote: >>>>>> >>>>>>> OK - here comes the log ... >>>>>>> >>>>>>> Den måndag 21 november 2016 kl. 15:35:36 UTC+1 skrev Andrew Milner: >>>>>>>> >>>>>>>> What did you mean by "I have implemented low battery according to >>>>>>>> the documentation"? If you have implemented the alarm extension what >>>>>>>> expression are you using to trigger the alarm? Which battery >>>>>>>> status/value >>>>>>>> are you checking/testing? What is in the database? You really need >>>>>>>> to >>>>>>>> give us more information to work with - as well as the log and the >>>>>>>> output >>>>>>>> from a wee_debug report. >>>>>>>> >>>>>>>> >>>>>>>> On Monday, 21 November 2016 15:50:20 UTC+2, Tom Keffer wrote: >>>>>>>> >>>>>>>>> You're not giving much information. How about at least the log?? >>>>>>>>> >>>>>>>>> -tk >>>>>>>>> >>>>>>>>> On Mon, Nov 21, 2016 at 5:25 AM, zkab <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> OK - I added 'txBatteryStatus = 1' couple of days ago but >>>>>>>>>> nothing has happened ... >>>>>>>>>> >>>>>>>>>> Den fredag 18 november 2016 kl. 16:06:42 UTC+1 skrev Tom Keffer: >>>>>>>>>>> >>>>>>>>>>> Try adding this to your [StdCalibrate] section: >>>>>>>>>>> >>>>>>>>>>> [StdCalibrate] >>>>>>>>>>> [[Corrections]] >>>>>>>>>>> txBatteryStatus = 1 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -tk >>>>>>>>>>> >>>>>>>>>>> On Fri, Nov 18, 2016 at 4:45 AM, zkab <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Remove battery ? The weather station is located on a roof top >>>>>>>>>>>> with 25 cm snow ... impossible. >>>>>>>>>>>> What I had in mind was if there is away to test/simulate low >>>>>>>>>>>> battery with weewx software. >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>>>> 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]. >>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>> 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]. >>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> 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]. >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>> 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]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> 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]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
