Re: [weewx-user] send data to ecowitt.net

2022-07-10 Thread Rainer Lang
As far as I know weewx doesn't provide uploads to ecowitt.net - the WiKi 
shows uploads to many weather services but not to ecowitt.net - at least 
I couldn't find it.
In order for data to be sent to ecowitt.net, your console (its MAC 
address) needs to be registered with ecowitt.net. Once this is the case, 
the console can post itself to ecowitt.net. So the question is: why 
would you want weewx to to post to ecowitt.net instead of having the 
console already doing this ?


If I knew more about your use case/scenario, I could give you some hints 
of how to post indirectly to ecowitt.net.
If you want to do some sensor remapping of the console data before the 
posting, there are existing tools which can do this - no need having 
weewx doing this.


Please explain further.

On 10.07.2022 19:48, enu...@gmail.com wrote:

I don't see in stdrestful any way to send data to ecowitt. Is there a way?
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f2c80904-e9ba-4f3b-b7ba-fdde7cbbed56n%40googlegroups.com 
.


--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/de9ee261-2b6b-5b84-6e66-6c4ca51f33f9%40gmail.com.


Re: [weewx-user] send data to ecowitt.net

2022-07-10 Thread Tom Keffer
Did you check the wiki ?

On Sun, Jul 10, 2022 at 10:49 AM enu...@gmail.com  wrote:

> I don't see in stdrestful any way to send data to ecowitt. Is there a way?
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/f2c80904-e9ba-4f3b-b7ba-fdde7cbbed56n%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zED4fJAHrmktOeZFYxyBQ%3DP%2BeozvM4q1_nUyn65gyUoeqw%40mail.gmail.com.


[weewx-user] send data to ecowitt.net

2022-07-10 Thread enu...@gmail.com
I don't see in stdrestful any way to send data to ecowitt. Is there a way?

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f2c80904-e9ba-4f3b-b7ba-fdde7cbbed56n%40googlegroups.com.


Re: [weewx-user] howto fix weewx sqlite database

2022-07-10 Thread Fische Namenlos
here it is:
Sun Jul 10 19:25:39 2022 user.debug weewx[2812] DEBUG weewx.restx: Shut 
down StationRegistry thread.
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__: Caught 
unrecoverable exception:
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 database disk image is malformed
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 Traceback (most recent call last):
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 214, in run
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 callback(event)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 634, in check_loop
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 raise BreakLoop
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 weewx.engine.BreakLoop
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__: 
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 During handling of the above exception, another exception occurred:
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__: 
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 Traceback (most recent call last):
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewxd", line 153, in main
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 engine.run()
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 221, in run
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 callback(event)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 644, in post_loop
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 self._software_catchup()
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 715, in _software_catchup
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 callback(event)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/engine.py", line 675, in new_archive_record
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 dbmanager.addRecord(event.record,
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/manager.py", line 301, in addRecord
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 self._updateHiLo(accumulator, cursor)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/manager.py", line 1031, in _updateHiLo
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 _stats_dict = self._get_day_summary(_sod_ts, cursor)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weewx/manager.py", line 1412, in _get_day_summary
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 _cursor.execute(
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weedb/sqlite.py", line 30, in guarded_fn
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 return fn(*args, **kwargs)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
   File "/home/weewx/bin/weedb/sqlite.py", line 219, in execute
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 return sqlite3.Cursor.execute(self, *args, **kwargs)
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL __main__:  
 sqlite3.DatabaseError: database disk image is malformed
Sun Jul 10 19:25:39 2022 user.crit weewx[2812] CRITICAL 

Re: [weewx-user] howto fix weewx sqlite database

2022-07-10 Thread p q
What error messages are you getting?

On Sun, Jul 10, 2022 at 8:00 AM Graham Eddy  wrote:

> 15 years of data, running happily on RPi 4B:
>
> *graham@paperbark*:*/home/weewx/archive $* ls -l weewx.sdb
> -rw-r--r-- 1 weewx weewx 175935488 Jul 11 00:55 weewx.sdb
>
>
> On 11 Jul 2022, at 12:43 am, Fische Namenlos 
> wrote:
>
> my station is using sqlite database (weewx.sdb) for nearly 5 years, and
> now - I suppose - is getting to big for my Raspi-server, it stops
> working/writting.
>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/8C3EB25A-F4A3-4D14-B43C-16556831AF91%40geddy.au
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM200yxGqUWFrGsaY58_%3DbZc_FDhi%2B57v3ue%3Dsp_f1gDVWg%40mail.gmail.com.


[weewx-user] Weewx SDR

2022-07-10 Thread Mark Fraser
I had to rebuild my install of weewx recently as the SD card became 
corrupted to the point where I couldn't even use dpkg.


It is all back up and running now, except that every few hours it will 
stop receiving data from the WH1080 transmitter whilst still receiving 
data from the other 3 devices.


I have checked on my computer which is located further away from the 
WH1080 and that is receiving fine.


Is there anything that could be interfering with just one device on 
433MHz or is something on the Pi causing it?


--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/412d34f3-7927-87d6-73a1-51a90b950da7%40gmail.com.


Re: [weewx-user] howto fix weewx sqlite database

2022-07-10 Thread Graham Eddy
15 years of data, running happily on RPi 4B:
graham@paperbark:/home/weewx/archive $ ls -l weewx.sdb 
-rw-r--r-- 1 weewx weewx 175935488 Jul 11 00:55 weewx.sdb

> On 11 Jul 2022, at 12:43 am, Fische Namenlos  wrote:
> 
> my station is using sqlite database (weewx.sdb) for nearly 5 years, and now - 
> I suppose - is getting to big for my Raspi-server, it stops working/writting.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8C3EB25A-F4A3-4D14-B43C-16556831AF91%40geddy.au.


[weewx-user] howto fix weewx sqlite database

2022-07-10 Thread Fische Namenlos
Dear,
my station is using sqlite database (weewx.sdb) for nearly 5 years, and now 
- I suppose - is getting to big for my Raspi-server, it stops 
working/writting.
Howto fix or customize in weewx 4.8.0 to split this database, maybe yearly 
and howto "tell" weewx howto search historical data in "splitted" datafiles?

Sorry for my english, hope you understand what I'm meaning.

I try to find information in weewx docs session and/or wee_database, but 
(?)

thx

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9fd07af1-7dba-4bae-a026-3ff9f354b0d6n%40googlegroups.com.


[weewx-user] Re: Need some help changing a chart

2022-07-10 Thread Steve2Q
Hi Gary. I did not get to try your suggestions until today. We went on a 3 
week cruise, but when I got home I ended up with Covid. Not a very bad 
case, but I am just now getting my act together.
Just a few comments:
1. I made your suggested change by commenting out the lines pertaining to 
wind gust, but I want to wait until I see a full days plot before making 
any other changes. One thing I do see is that the 1 Hour Average Speed is 
showing as dots rather than a continuous line as before. Does that mean the 
LineGap fraction has to be changed?
2. Regarding the windspeed v windgust differences you mention. I have a 
Peet Bros Ultimeter, so the windspeed (along with the other parameters) is 
emitted nearly constantly. My archive interval is 2 minutes, while the 
Loops are approx every 2 seconds. I noticed that when I had windgust 
included in the plot, it appeared to more accurately reflect the "High 
Wind" reading under "Since Midnight" on the Current Conditions page. Is it 
possible to have windgust plotted while having the chart label as windspeed?

I just want to say thank you for all the help you have given me over the 
past few years...it is greatly appreciated

On Monday, June 6, 2022 at 9:45:57 PM UTC-4 gjr80 wrote:

> Steve,
>
> So have you tried:
>
>  #time_length = 43200
>
>#  Changed color and data_type
>   wind_avg
> color = 'yellow'
> data_type = windSpeed
> aggregate_type = avg
> aggregate_interval = 3600# 1 Hour
> line_gap_fraction = 0.05
> label =  1 Hour Avg Speed
>#  End of addition
>windSpeed
> color = 0x00
> anti_alias = 2
>
> That will plot windSpeed (black) and the one hour average windSpeed 
> (yellow) values. Keep in mind that for your system the windSpeed value in 
> each archive record is the average of all of the loop packet windSpeed 
> values seen in that archive period. So if your station sees a windSpeed 
> of, say 20mph, in a single loop packet that value well be 'lost' when all 
> of the loop packet windSpeed values are averaged to give the windSpeed 
> value for the archive period (chances are the average will be less than the 
> maximum value) - so don't expect the max wind speeds seen by your station 
> to be appear on the modified plot. The default action by WeeWX when no 
> windGust is provided by the station/driver is to use the highest windSpeed 
> value seen during the archive period as the windGust value in the archive 
> record. Another way of looking at it is to think of the labelling of your 
> current plot as 'Gust Speed1 Hour Avg Speed5 Minute Avg Speed' 
> (assuming you have a five minute archive interval).
>
> Gary
>
> On Monday, 6 June 2022 at 10:34:13 UTC+10 Steve2Q wrote:
>
>> Hi all. I have not been on since BC (before Covid). I want to change my 
>> windspeed chart, but so far (because I forgot what my initial change was), 
>> I have not been successful. Here is what I would like to do;
>> Presently my windspeed chart looks like the attached. I thought I was 
>> being clever at the time by adding what I thought was windgust, but this 
>> was incorrect as my console (Peet Bros) only sends wind speed. I also added 
>> average windspeed. As you can see, the actual windspeed (blue) is labeled 
>> Gust Speed while the incorrect windgust (black) is labeled Wind Speed. What 
>> I want to do is get rid of the windgust completely and have the true wind 
>> speed labeled properly. I also want to keep the average windspeed as that 
>> calculation appears correct. 
>> The following snip is from my skin.conf file:
>>
>>  #time_length = 43200
>>#  Removed # on following 5/8/18 Switched order of WindSpeed and 
>> WindGust
>>   windGust
>> color = 'blue'
>> anti_alias = 2
>>#  Changed color and data_type
>>   wind_avg
>> color = 'yellow'
>> data_type = windSpeed
>> aggregate_type = avg
>> aggregate_interval = 3600# 1 Hour
>> line_gap_fraction = 0.05
>> label =  1 Hour Avg Speed
>>#  End of addition
>>windSpeed
>> color = 0x00
>> anti_alias = 2
>>
>> Thanks for any help..
>>
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9a3c22a7-29ec-400d-b568-af1f86939d0bn%40googlegroups.com.