Re: [weewx-user] How to limit syslog logging

2021-01-21 Thread Mks Mk
Dear Leaf need your help to correct my system because I am having the same issue of logging so kindly advice of the correction to done to bme280wx.py and which lines to be commented. thanks On Wednesday, January 20, 2021 at 10:11:22 PM UTC+3 LeaF wrote: > So taking your advice, I looked into t

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
Found these line in the file bme280wx.py --- def logmsg(level, msg): syslog.syslog(level, 'bme280: %s' % msg) def logdbg(msg): logmsg(syslog.LOG_DEBUG, msg) def loginf(msg): logmsg(syslog.LOG_INFO, msg) def logerr(msg): logmsg(syslog.LOG_ERR, m

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
Vince I changed line 107 in (bme280wx.py) file to #logdbg(packet) unfortunately the log problem still filling up files in (/var/log) and I am puzzled because it did work for (LeaF) system but not mine !..may be there are differents somewhere in our weewx arse

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
Commenting out line 78 or line 107 only did not work, but Commenting out (line 78 & 107) did the trick. no more unnecessary writing to (/var/log) Thank you *vince & gjr80* On Saturday, January 23, 2021 at 3:16:42 AM UTC+3 gjr80 wrote: > If it's this one >

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
I am realy sorry I missed to mention that changing line 78 loginf('BME280 data %s' % bme280data) to logdbg('BME280 data %s' % bme280data) did not work On Saturday, January 23, 2021 at 4:50:58 AM UTC+3 gjr80 wrote: > Not sure why you are thanking me, you took no notice of what I

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
Yes. debug =0 in weewx.conf anytime I do changes to a driver I follow these steps sudo /etc/init.d/weewx stop *make the changes and save* sudo /etc/init.d/weewx start On Saturday, January 23, 2021 at 5:36:12 AM UTC+3 gjr80 wrote: > Did you have debug = 0 in weewx.conf and did you restart WeeW

Re: [weewx-user] How to limit syslog logging

2021-01-22 Thread Mks Mk
*Gary* Can't thank you enough the updated (bme280wx.py) solved my problem and it is working great and no more logging issue. On Saturday, January 23, 2021 at 6:09:59 AM UTC+3 gjr80 wrote: > Ah, you are running WeeWX v4 and this driver uses WeeWX v3 (legacy) > logging, hence the lack of control.

Re: [weewx-user] Re: Acurite 5in1 and rtl_sdr

2021-02-01 Thread Mks Mk
dear I hade the same problem with my station (Acurite 5in1 + SDR +Pi4) and I solved it this way *Make sure the 5 in 1 batteries are healthy *Make sure the Pi is updated 1-use USB cable to connect SDR to Pi 2-Adjust Antena length (about 31 cm) 3-Location does matter of Antena or (SDR if antena is

Re: [weewx-user] Re: Acurite 5in1 and rtl_sdr

2021-02-01 Thread Mks Mk
dear I hade the same problem with my station (Acurite 5in1 + SDR +Pi4) and I solved it this way *Make sure the 5 in 1 batteries are healthy *Make sure the Pi is updated 1-use USB cable to connect SDR to Pi 2-Adjust Antena length (about 31 cm) 3-Location does matter of Antena or (SDR if antena is

[weewx-user] Re: Acurite 5in1 and rtl_sdr

2021-02-03 Thread Mks Mk
I wish I can help you but in my case the SDR is receiving from 5in1 unit located out side my house and I do have Acurite display but *it is not* connected to the R-Pi. On Wednesday, February 3, 2021 at 12:33:52 PM UTC+3 Ξ wrote: > Maybe I'm missing something but why's the R-Pi receiving the da

[weewx-user] Re: Acurite 5in1 and rtl_sdr

2021-02-03 Thread Mks Mk
I suggest to bring the 5in1 unit indoor in the same location of R-Pi and observe the operation of the system for some days, to make sure it is not signal strength issue and if it happen again it could be hardware or power issue. *I do believe you have signal strength issue* On Wednesday, Febru

Re: [weewx-user] Re: Attempting to integrate Acurite 6045M, rtl_433 does not show parsed data, cannot figure out entry for sensor map

2021-02-10 Thread Mks Mk
try the following -update rtl_433 to latest -edit the sdr.py file and make sure the identifier is "Acurite-6045M" -add this to sensor map in weewx.conf file [[sensor_map]] extraTemp2 = temperature.0009.AcuriteLightningPacket On Thursday, February 11, 2021 at 4:46:11 AM UTC+3 kavanag..

Re: [weewx-user] Re: Attempting to integrate Acurite 6045M, rtl_433 does not show parsed data, cannot figure out entry for sensor map

2021-02-10 Thread Mks Mk
try the following install sdr and follow instructions https://github.com/matthewwall/weewx-sdr -update rtl_433 to latest -edit the sdr.py file and make sure the identifier is "Acurite-6045M" -add this to sensor map in weewx.conf file [[sensor_map]] extraTemp2 = temperature.0009.Acurit

[weewx-user] need help with weewx to do energy consumption calculation

2022-09-06 Thread Mks Mk
we want to expand the use of weewx to include energy consumption and cost calculation but we are not sure how to do that. our setup consists of: 1-weewx on raspberry pi 4 2-SDR dongle 3-energy monitor device kit with RF transmitter and display we are capturing the signal of acurite weather statio

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-06 Thread Mks Mk
or > kilowatt-hours. > > We'd need more information to get more specific. In particular, you didn't > say who built the monitor. > > -tk > > > > > On Tue, Sep 6, 2022 at 6:07 PM Mks Mk wrote: > >> we want to expand the use of weewx to include ene

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-07 Thread Mks Mk
The sensor signal contain Amps reading which is analyzed by *rtl_433* but we adjusted the *SDR driver* to convert and send *KW* instead, which is what the lcd display is showing and the *SDR driver* is sending KW reading to weewx every 20 seconds, we should have mentioned this earlier (our apol

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-07 Thread Mks Mk
the sensor reading is not constant but fluctuating based on power demand. [image: elect.png] On Wednesday, September 7, 2022 at 2:45:00 PM UTC+3 Mks Mk wrote: > The sensor signal contain Amps reading which is analyzed by *rtl_433* but > we adjusted the *SDR driver* to convert and se

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-07 Thread Mks Mk
the addition to extensions.py worked this time. regarding the data produced by the SDR driver is in agreement with the display ( the display shows "kw") [image: consum.png] in weewx database these numbers are stored there (parts of these data are below) dateTime usUnits interval elect

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-12 Thread Mks Mk
after installing (*weewx-GTS extension*) also followed the instructions on this post, we have one more question which is how to get these numbers to be displayed in *Kilowatt hour* instead of *Watt hour.* we added the tag *"electricity"* to *current.inc* and it gets generated like the image belo

Re: [weewx-user] need help with weewx to do energy consumption calculation

2022-09-12 Thread Mks Mk
we truly appreciate your support and cannot thank you enough. God bless you On Monday, September 12, 2022 at 10:45:14 PM UTC+3 gjr80 wrote: > My mistake, change $month.electricity.energy_integral.raw and > $month.electricity.energy_integral to > $month.electricity.energy_integral.kilowatt_ho

[weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
we have installed (weewx-aqi), it calculates an air quality index. the install and configuration were done and weewx just run fine with one issue we could not figured out the reason why. in weewx Seasons (*skin.conf*) file the below lines were added: *[[[dayaqi]]]data_binding = aqi

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
ot_groups". > > Look in skin.conf, in the [DisplayOptions] section, for option > "plot_groups". It is a long list of plot_groups, such as barometer, > tempdew, tempfeel, etc. Add "aqi" to the end. > > > > On Sat, Oct 29, 2022 at 1:42 AM Mks Mk wr

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
the "*weewx-aqi*" is storing the data in different data base "*aqi.sdb*" and we are not sure if this does make different! On Saturday, October 29, 2022 at 2:15:52 PM UTC+3 Mks Mk wrote: > we are using the Seasons skin and the "aqi" is there in the "

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
mple "aqi.png". > > Is that the case? > > On Sat, Oct 29, 2022 at 4:15 AM Mks Mk wrote: > >> we are using the Seasons skin and the "aqi" is there in the >> "plot_groups" with the rest of other parameters under the >> "[DisplayOpti

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
#end if > #end for > > with this > > #for obs in $getobs($plot_name) > #if $recent.check_for_data($obs) or $plot_group == "aqi" > #set $show_plot = 1 > #end if > #end for > > Let me know how that works out. > > -tk

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
somehow this below line change fixed both plots #if getattr($recent, $obs).has_data or $plot_group == "aqi" or $plot_group == "aqi1" is it ok to keep or remove it? thank you On Saturday, October 29, 2022 at 5:40:27 PM UTC+3 Mks Mk wrote: > The file "index.html.t

Re: [weewx-user] weewx 4.8.0 PNG file issue

2022-10-29 Thread Mks Mk
Thank you for your support. On Saturday, October 29, 2022 at 6:13:42 PM UTC+3 tke...@gmail.com wrote: > This should do it: > > #if getattr($recent, $obs).has_data or $plot_group == "aqi" or > $plot_group == "aqi1" > > On Sat, Oct 29, 2022 a

[weewx-user] Re: Version 4.5.0 released

2021-04-02 Thread Mks Mk
the upgrade to 4.5 from 4.4 failed and weewx is broken please advice used these commands for upgrade sudo apt update apt list --upgradable (4.5 was showing) sudo apt full-upgrade then I answered "N" to the upgrade select to keep my old files Apr 2 21:31:49 raspberrypi systemd[1]: Starting LSB: w

Re: [weewx-user] Re: Version 4.5.0 released

2021-04-03 Thread Mks Mk
ion 4.5.1 out. > > My apologies. > > On Fri, Apr 2, 2021 at 1:12 PM Tom Keffer wrote: > >> My mistake. I knew there was a reason why we didn't transition the old >> wview schema to the new V4 style! >> >> I should have a dot-dot release out later today. >

Re: [weewx-user] Re: Version 4.5.0 released

2021-04-03 Thread Mks Mk
ion number. But, it would be useful to know what happened. > > On Sat, Apr 3, 2021 at 6:44 PM Mks Mk wrote: > >> the update to 4.5.1 worked for me this time but have one issue that >> weewx.conf shows version 4.4.0 but the generated web page shows WeeWX >> version 4.5

Re: [weewx-user] Re: Version 4.5.0 released

2021-04-04 Thread Mks Mk
*mwall* started the upgrade to 4.5.0 from 4.4.0 used these commands for upgrade sudo apt update apt list --upgradable (4.5 was showing) sudo apt full-upgrade I answered "N" to the upgrade select to keep my old files but ended in failure weewx was not able to run. later that day started the upg

Re: [weewx-user] Re: BME280 Sensor Missing Inside Temp Readings

2021-08-08 Thread Mks Mk
can you try this [Bme280wx] i2c_port = 1 i2c_address = 0x76 usUnits = US pressureKeys = pressure pressure_must_have = outTemp humidityKeys = inHumidity humidity_must_have = outTemp temperatureKeys = inTemp temperature_must_have = outTemp On Sunday, August 8, 20

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-08 Thread Mks Mk
I use this line in weewx.conf and it works ok with seasons skin.. you can try it [StdCalibrate] [[Corrections]] lightning_distance = lightning_distance if lightning_strike_count > 0 else None On Sunday, August 8, 2021 at 4:09:43 AM UTC+3 gle...@gmail.com wrote: > I several questi

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-09 Thread Mks Mk
stop weewx and restart it after you make any change to the weewx.conf On Monday, August 9, 2021 at 4:57:48 PM UTC+3 gle...@gmail.com wrote: > Thanks for pointing me in the right direction, unfortunately your > suggestion did not fix the persisting 12mile lightning_distance output. I > tried

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-09 Thread Mks Mk
is Accumulator set in the weewx.conf ? at the bottom of my weewx.conf file is like this [Accumulator] [[lightning_strike_count]] extractor = sum [[lightning_distance]] extractor = min merger = minmax On Monday, August 9, 2021 at 8:11:45 PM UTC+3 gle...@gmail.com

[weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Mks Mk
Hi updated weewx using this command sudo apt update. Hardware : raspberry pi 3 b+ OS : Raspberry Pi OS (bullseye) Lite 64-bit weewx: 4.10.2 after the update we got this error: INFO weewx.manager: Added record 2024-01-18 09:45:00 +03 (1705560300) to database 'weewx.sdb' INFO weewx.mana

Re: [weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Mks Mk
; weewx.conf? > > *weectl debug > /var/tmp/debug.txt* > > > The utility will attempt to obfuscate any passwords, but it's not always > 100% accurate. Look over /var/tmp/debug.txt to see if it missed anything. > Then post the file. > > > > On Thu, Jan 18,

[weewx-user] weewx v5.0.1 upgrade problem

2024-02-06 Thread Mks Mk
The system was running weewx v5.0.0 with no issue then we did the upgrade to v5.0.1 (sudo apt update) and weewx failed to run. we downgraded weewx to v5.0.0 but it did not work this time, so we went back to v4.10.2 and it run just fine. did the upgrade again and got the same error.so we are back

Re: [weewx-user] weewx v5.0.1 upgrade problem

2024-02-06 Thread Mks Mk
we just tried the upgrade again to weewx v5.0.1 (sudo apt update) and it worked this time. (we have not done any changes to the system after the downgrade to v4.10.2) On Tuesday, February 6, 2024 at 8:32:36 PM UTC+3 Pierre-Yves wrote: > @ Matthew, thanks. I need now to "digest" all this inform

Re: [weewx-user] weewx v5.0.1 upgrade problem

2024-02-06 Thread Mks Mk
Pierre-Yves, we used these commands Pierre-Yves sudo apt remove weewx then sudo apt install weewx=4.10.2-1 On Tuesday, February 6, 2024 at 10:13:38 PM UTC+3 Pierre-Yves wrote: > @ Mks Mk, > Which command did you use to perform the downgrade from v5to v4.10.2 ? > I tried "sudo apt

Re: [weewx-user] weewx v5.0.1 upgrade problem

2024-02-06 Thread Mks Mk
Pierre-Yves we used these commands sudo apt remove weewx then sudo apt install weewx=4.10.2-1 On Tuesday, February 6, 2024 at 10:13:38 PM UTC+3 Pierre-Yves wrote: > @ Mks Mk, > Which command did you use to perform the downgrade from v5to v4.10.2 ? > I tried "sudo apt install wee

Re: [weewx-user] weewx v5.0.1 upgrade problem

2024-02-08 Thread Mks Mk
today tried to update my other raspberry pi to weewx v5.01 and this pi is different than the main weather pi that we use: 1-bme280 sensor. 2-sdr 3-weewx-wxobs skin. after the weewx update we did the following: sudo usermod -aG dialout weewx sudo usermod -aG plugdev weewx sudo systemctl restart u

[weewx-user] weewx 4.5.1 status issue

2021-09-05 Thread Mks Mk
recently after power outage when weewx status is checked we get this result *:~ $ sudo /etc/init.d/weewx status ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx; generated) Active: failed (Result: timeout) since Sun 2021-09-05 15:57:09 +03; 11min ago Docs:

[weewx-user] Re: weewx 4.5.1 status issue

2021-09-13 Thread Mks Mk
today another power outage and weewx status is showing failed , We really not sure why it is doing that or the operating system reporting this status of weewx while it is running just fine. systemctl list-units --type=service *UNIT

[weewx-user] Re: weewx 4.5.1 status issue

2021-09-14 Thread Mks Mk
*Weewx timeout in 5 minutes and the Pi needed more than 5 minutes to get the time sync.* -we have made some changes to the system so weewx must wait until the clock time get sync to the correct time but unfortunately we can not recall these changes we made. -weewx seems to work just fine and up

[weewx-user] Weewx 4.6.0b7 Wiind Vector plot

2021-11-12 Thread Mks Mk
New Pi 4 running bullseye with weewx 4.6.0b7 the generated webpage plots does not display Wind Vector, the file "daywindvec.png" is there in "/var/www/html/weewx" folder when looking into "index.html" with editor, I see no link to the file "daywindvec.png" any suggestion to bring back the Wind

[weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-14 Thread Mks Mk
r have the same issue), hopefully someone may shed light on this issue. On Saturday, November 13, 2021 at 6:35:45 AM UTC+3 Mks Mk wrote: > New Pi 4 running bullseye with weewx 4.6.0b7 > > the generated webpage plots does not display Wind Vector, the file > "daywindvec.png&

[weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-14 Thread Mks Mk
e the same result), hopefully someone may shed light on this issue. On Saturday, November 13, 2021 at 6:35:45 AM UTC+3 Mks Mk wrote: > New Pi 4 running bullseye with weewx 4.6.0b7 > > the generated webpage plots does not display Wind Vector, the file > "daywindvec.png"

[weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-15 Thread Mks Mk
gt;> file contain plot image . >> -looking inside *index.html*: >> > style="display:none"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> same thing for week,mont

Re: [weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-15 Thread Mks Mk
.com wrote: > Fixed in commit 7dc65b1 > <https://github.com/weewx/weewx/commit/7dc65b14a479c3e45f83bd1f510ae521c9ed68d4> > . > > Thanks for spotting this! > > On Mon, Nov 15, 2021 at 3:03 PM Mks Mk wrote: > >> >> Thank you Vince & Tom >> >> Vince >> >&g

Re: [weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-16 Thread Mks Mk
s we have addded "extraTemp3" to "about.inc" and it >> is working ok. >> [image: wx.png] >> On Tuesday, November 16, 2021 at 4:12:59 AM UTC+3 tke...@gmail.com wrote: >> >>> Fixed in commit 7dc65b1 >>> <https://github.com/weewx/weewx/co

Re: [weewx-user] Re: Weewx 4.6.0b7 Wiind Vector plot

2021-11-16 Thread Mks Mk
number under >>>> sensor status. is it possible? >>>> as temporary solutions we have addded "extraTemp3" to "about.inc" and >>>> it is working ok. >>>> [image: wx.png] >>>> On Tuesday, November 16, 2021 at 4:12:

[weewx-user] Weewx 4.6.2 problem

2022-02-11 Thread Mks Mk
I was running weewx v4.5.1 and have installed cputemp.py and I add it to weewx under sensors status and it worked also with weewx v4.6.0, my configuration for cpu tempreture is below In /etc/weewx/skins/Seasons/skin.conf under [DisplayOptions] I have this line for this cpu tempreture senso

[weewx-user] Re: Weewx 4.6.2 problem

2022-02-11 Thread Mks Mk
Thank you matthew I have declined the upgrade of "sensors.inc" because I did some label change to the file. then I compared the two files "sensors.inc.dpkg-dist" and "sensors.inc" to spot the difference. found it and made the change and it is working ok now. On Saturday, February 12, 2022 a

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-09-29 Thread Mks Mk
Hi We want to add below code or similar to its action to the NOAA monthly report file "*NOAA-%Y-%m.txt.tmpl*" but we do not know if it is possible to do so because of the span tags? day sunrise sunset avg. temperature while sun is up #for $span in $LMTmonth.daylights

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-09-29 Thread Mks Mk
when it comes to coding the best we can do is copy and paste, all we wanna know is if this tag (*$daylight*) actually does work within NOAA template file. thank you for your help On Friday, September 29, 2023 at 9:13:23 PM UTC+3 Karen K wrote: > Mks Mk schrieb am Freitag, 29. September 2

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-09-30 Thread Mks Mk
NONE,add_label=False) $month.outTemp.maxtime.format($D,add_label=False) $month.outTemp.min.format($Temp,$NONE,add_label=False) $month.outTemp.mintime.format($D,add_label=False) #end if thank you for your help On Saturday, September 30, 2023 at 9:18:19 AM UTC+3 Karen K wrote: > Yes. > > Mks Mk schrieb am Sam

[weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
we want to improve the accuracy of our home energy monitor and we added new sensor to read the main line voltage so we got two sensors and the data is logged in weewx database. [[sensor_map]] ampere = current.***.EfPacket linevoltage = payload5.*.RadioHeadASKPacket the

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
f' > all appear in the record, the correction will not work. > > On Tue, Oct 17, 2023 at 9:48 AM Mks Mk wrote: > >> we want to improve the accuracy of our home energy monitor and we added >> new sensor to read the main line voltage so we got two sensors and the data >

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
record. So unless 'ampere', 'linevoltage', and >>> 'pf' all appear in the record, the correction will not work. >>> >>> On Tue, Oct 17, 2023 at 9:48 AM Mks Mk wrote: >>> >>>> we want to improve the accuracy of our

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
90.2617 140.667 0.9 On Wednesday, October 18, 2023 at 3:35:05 AM UTC+3 Mks Mk wrote: > Hi Gary > > it all started here > https://groups.google.com/g/weewx-user/c/ltOVkcY1fKc/m/7sQSVGN_AQAJ > > we were using fixed value for the incoming grid lin

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
27;] = None > > This will work provided that linevoltage and ampere do not vary too much > over the archive interval. Because you are using short intervals (60 > seconds), this is probably not much of a problem. > > > > > > > > On Tue, Oct 17, 2023 at 6:1

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
added import weewx to the top of file it worked On Wednesday, October 18, 2023 at 6:50:58 AM UTC+3 Mks Mk wrote: > there is nothing in the log file related to the correction > > we tried the service but it failed twice > > 1st run failed with error: > > Oct 18 06:37

Re: [weewx-user] can not get weewx to process this formula

2023-10-17 Thread Mks Mk
Thank you Tom the service file is doing exactly what we needed. GOD bless you On Wednesday, October 18, 2023 at 7:01:27 AM UTC+3 Mks Mk wrote: > > added import weewx to the top of file > it worked > > On Wednesday, October 18, 2023 at 6:50:58 AM UTC+3 Mks Mk wrote: > >>