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: > >> there is nothing in the l

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:20 debian weewx[3413] CRITICA

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

2023-10-17 Thread Mks Mk
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:20 debian weewx[3413] CRITICAL __main__: File "/usr/share/weewx/user/myservice.py", line 10 Oct 18 06:37:20 debian weewx[3413] CRITICAL __main_

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

2023-10-17 Thread Tom Keffer
Just had a thought. I assume that weewxd is using software record generation. Check in the log. If so, [[Corrections]] does not apply the corrections to archive records because, in theory, the correction should have already been applied in the LOOP packets. Obviously that's not happening here. I'

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

2023-10-17 Thread Mks Mk
from database dateTime usUnits interval consumption ampere linevoltage pf 1697583060 1190.8423 141 0.9 1697583120 11110.3686667 141 0.9 1697583180 1

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

2023-10-17 Thread Mks Mk
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 line to calculate the consumption but it was not accurate enough so we added new sensor to read the grid incoming line voltage. earlier this formula wo

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

2023-10-17 Thread Tom Keffer
Even if all types don't appear in the LOOP packets, they should all be appearing in the archive records. Run weewxd directly from the command line and see exactly what's in the archive record. I apologize that the error diagnostics for [

Re: [weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
Thank you. I think I'm a lot closer now: python -m user.gw1000 --test-driver Using configuration file /etc/weewx/weewx.conf debug level is '3' IP address obtained from station config Port number obtained from station config Battery state filtering is 'False' (using the default) /usr/share/weewx/u

Re: [weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread 'Rainer Lang' via weewx-user
it appears that the console you are connected to (IP 192.168.50.41) is NOT a console with the Ecowitt local Gateway API (aka GW1000 API) but another console with the WiFi firmware EasyWeatherPro_V5.1.3 e.g. a HP25x0 console with the new WiFi modem. Therefore the GW1000/Ecowitt API driver canno

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

2023-10-17 Thread gjr80
So what does consumption = ((ampere * linevoltage) /1000) * 0.88 do? Gary On Wednesday, 18 October 2023 at 08:26:25 UTC+10 mksm...@gmail.com wrote: > Hi Tom > > we run weewx directly and found that 'ampere' & 'linevoltage' are in > different loop because the data are coming from two different

Re: [weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread gjr80
My apologies, sometime life gets in the road of hobbies and around here hobbies take a back seat :) I will need to sit down and look at the responses in detail, but on the face of it this is not a network/router/firewall issue but either a gateway device or driver issue. There was some re-facto

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

2023-10-17 Thread Mks Mk
Hi Tom we run weewx directly and found that 'ampere' & 'linevoltage' are in different loop because the data are coming from two different sensors by sdr.py driver. how we can combine these loops into one so weewx can process this formula, or what can we do to get this calculation done.? Thank

Re: [weewx-user] Re: Migration from 4.10.2 (setup.py) to 5.0 (pip install) problems

2023-10-17 Thread bgra...@umw.edu
I found the name was actually "python-dateutil" so with that installed in venv I'm not getting the error when I run weewxd using /home/weewx/weewx.conf. On to the next step in migration. Thanks Vince and Tom--I'm sure to have more questions... On Monday, October 16, 2023 at 8:08:49 PM UTC-4 Tom

Re: [weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
Thank you for answering. Responses below: a. weewx.conf attached. b. [Station] # Description of the station location location = "Denton, TX" # Latitude in decimal degrees. Negative for southern hemisphere latitude = 33.227786 # Longitude in decimal degrees. Negative for wes

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
My apologies. However, I'm more than a little frustrated with trying to get this up and running. I had waited four days and seen a good bit of traffic. I will point out that it did have my desired effect. On Tuesday, October 17, 2023 at 10:12:09 AM UTC-5 vince wrote: > On Tuesday, October 1

Re: [weewx-user] Re: How to revive 'frozen' WeeWX?

2023-10-17 Thread vince
Just delete the big logs from /var/log and reboot - that's all you need to do. With you providing no data on which files in /var/log are the big ones, no we can't help you much. On Tuesday, October 17, 2023 at 1:13:19 PM UTC-7 Ton vanN wrote: > Was on wrong leg, assuming KBs . > Unpleasant

Re: [weewx-user] Re: How to revive 'frozen' WeeWX?

2023-10-17 Thread Ton vanN
Was on wrong leg, assuming KBs . Unpleasant surprise, which seems to lead to conclusion that this install cannot be saved, but new start required. What is best practical approach to make new, small configuration while 'borrowing' from the old configuration the sdb-file and various conf-files?

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

2023-10-17 Thread Tom Keffer
The only symbols that can be used in the [[Corrections]] formula are other types in the archive 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 home

[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

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread vince
On Tuesday, October 17, 2023 at 4:32:48 AM UTC-7 Dale Chatham wrote: Is it possible to get an help here? It is perhaps less than typically likely with that kind of tone. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from thi

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread 'Rainer Lang' via weewx-user
I meant of course set *debug = 3* Forwarded Message Subject:Re: [weewx-user] Re: Cannot get weewx + gw1000 working Date: Tue, 17 Oct 2023 15:32:48 +0200 From: Rainer Lang To: weewx-user@googlegroups.com it's difficult to follow what you are/were doing - it

Re: [weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread 'Rainer Lang' via weewx-user
it's difficult to follow what you are/were doing - it would be helpful if you a) provided us with a copy of your weewx.conf (you can your passwords if there are any) b) set your station to GW1000 c) set debug = 0 d) provided the complete syslog from weewx startup until either the 1st repor

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
Yet another data point: python -m user.gw1000 --test-service --debug=5 --ip-address=192.168.50.41 --port=45000 Using configuration file /etc/weewx/weewx.conf debug level is '5' IP address obtained from command line options Port number obtained from command line options Battery state filtering is

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
Another data point: nmap -sV -p 1-65535 192.168.50.41 Starting Nmap 7.93 ( https://nmap.org ) at 2023-10-17 06:51 CDT Nmap scan report for ecowitt-weather (192.168.50.41) Host is up (0.0069s latency). Not shown: 65533 closed tcp ports (reset) PORT STATE SERVICE VERSION 80/tcpopen nag

[weewx-user] Re: Cannot get weewx + gw1000 working

2023-10-17 Thread Dale Chatham
Is it possible to get an help here? On Thursday, October 12, 2023 at 9:30:22 PM UTC-5 Dale Chatham wrote: > I blew it away and started over. > > Installed weewx according to: https://weewx.com/docs/redhat.htm Simulator > worked fine. > > Inst alled Ecowitt Gateway servier according to: > https:

Re: [weewx-user] Re: How to revive 'frozen' WeeWX?

2023-10-17 Thread Tom Keffer
The "-m" option to du means that sizes are in *megabytes*. Your /var/log directory has 26 *gigabytes* in it. On Tue, Oct 17, 2023 at 2:12 AM Ton vanN wrote: > Vince, > The results of the suggested checks. > > *raspberrypi9*:~ $ sudo du -sm /var/log > 25977 /var/log > *raspberrypi9:~ $ *sudo du

[weewx-user] Re: How to revive 'frozen' WeeWX?

2023-10-17 Thread Ton vanN
Vince, The results of the suggested checks. *raspberrypi9*:~ $ sudo du -sm /var/log 25977 /var/log *raspberrypi9:~ $ *sudo du -sm /tmp 1 /tmp *raspberrypi9:~ $* sudo du -sm /home/pi 53 /home/pi *raspberrypi9:~ $* sudo du -sm /var/tmp 1 /var/tmp IMHO contents of checked files ar