[weewx-user] Re: Wee_import: I do not understand the explanations on the dateTime element in the [[FieldMap]]

2021-10-21 Thread gjr80
Hi,

Perhaps it is the language barrier but I am not quite sure what you are 
asking. As I understand it you have some CSV format data you wish to import 
using wee_import. Your data has a field named Date that contains date-time 
information for each row. 

If that is the case you need to set raw_datetime_format to match the format 
used in your Date field. The default format is %Y-%m-%d %H:%M:%S but you 
should change this to suit the format of your data. For example, if your 
Date field contains date-time data of the form 21:55:00 22 10 2021 you 
would set raw_datetime_format = %H:%M:%S %d %m %Y. If the format was 
21:55:00 22 Oct 21 you might use raw_datetime_format = %H:%M:%S %d %B %y. 
It all depends on your data. The available format codes and their meaning 
are listed under strftime() and strptime() Format Codes 

.

One other thing you will need to do is set the mapping of your Date field 
to the WeeWX dateTime field. You do this by including a/modifying the 
dateTime setting under [[FieldMap]] in your CSV import config file. In your 
case something like the following should work (untested):

[CSV]

[[FieldMap]]
dateTime = Date, unix_epoch


Gary
On Thursday, 21 October 2021 at 19:24:22 UTC+10 blaise@gmail.com wrote:

>
> Hello,
> I am francophone and sometimes have problems with understanding.
> I have a CSV file with a Date field named "Date" whose format is declared.
> (raw_datetime_format = %Y-%m-%d %H:%M:%S)
> What should I inquire in the datetime element?
> Thank you for your help,
> Pc
>

-- 
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/ab57907e-ff1f-4eb5-9563-e7f06d3ca887n%40googlegroups.com.


[weewx-user] Re: Seasons report - Hide some data

2021-10-21 Thread gjr80
Why not just do 2 and 3? Fewer change sand less complexity. Unless you are 
exposing your database publicly nobody will see your data.

Gary 

On Thursday, 21 October 2021 at 23:21:36 UTC+10 itec wrote:

> Hi.
> I'd like to hide some data in the Seasons report: Inside Temperature, 
> Inside Humidity and Signal quality should not be published on my site
> I can do it in 3 ways:
> 1 - Deleting data from db and setting [[Corrections]] in config to set 
> new values to NULL
> 2 - Removing graphs from Seasons skin
> 3 - Changing skin in order to show/hide graphs based on a varible I can 
> set in config
>
> What do you think it would be the better way to do it?
>
> Thanks
> itec
>

-- 
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/5d1837f8-ddc1-442e-b08a-1b67e02305a7n%40googlegroups.com.


Re: [weewx-user] Seasons report all time

2021-10-21 Thread gjr80
Hi,

Unfortunately time_length can only be set in skin.conf or overriden from 
weewx.conf. and consequently there is no ability to dynamically set 
time_length.

Gary 

On Friday, 22 October 2021 at 08:38:27 UTC+10 itec wrote:

> What I can't undestand is how to set the right time_length in order to 
> create graphs with imagegenerator.
> itec
>
>

-- 
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/b0678a82-e879-41db-a755-5110eedd9b61n%40googlegroups.com.


[weewx-user] Re: Trying to eliminate bad data

2021-10-21 Thread vince
Because it's owned by root and you tried to do your editing as the 
non-privileged 'pi' user ?

On Thursday, October 21, 2021 at 5:54:02 PM UTC-7 Steve2Q wrote:

> Hi..I followed the instructions here:  
> https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data
>
> First, I shut down Weewx and made a copy of my weewx.sdb file. When I 
> tried to change the bad data (on the copy) to NULL, I received an sqlite3 
> error that I could not write to a read-only file. I thought that weewx.sdb 
> allowed writing, so why would a copy turn into read-only?
>
> Thanks.
>

-- 
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/31f76f26-3a88-49b7-a8dd-d9a33b35484an%40googlegroups.com.


[weewx-user] Trying to eliminate bad data

2021-10-21 Thread Steve2Q
Hi..I followed the instructions here:  
https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data

First, I shut down Weewx and made a copy of my weewx.sdb file. When I tried 
to change the bad data (on the copy) to NULL, I received an sqlite3 error 
that I could not write to a read-only file. I thought that weewx.sdb 
allowed writing, so why would a copy turn into read-only?

Thanks.

-- 
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/3d2b7f15-aaa3-4e36-9fb6-7d49b9303182n%40googlegroups.com.


Re: [weewx-user] Seasons report all time

2021-10-21 Thread itec

>
> firsy need to install the xstats extension of weewx. 
>

Wow, this is amazing!
I can create a new extension, and xstats is a good base.
What I can't undestand is how to set the right time_length in order to 
create graphs with imagegenerator.
itec

-- 
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/24e77c42-0a86-4fdd-b92d-4c594c8ad964n%40googlegroups.com.


Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-21 Thread Karen K
Seth Ratner schrieb am Donnerstag, 21. Oktober 2021 um 21:27:14 UTC+2:

> How are variables in weewx.conf referenced?


By the variable config_dict you find in __init__. It is a dictionary the 
represents weewx.conf. For Example the section [Station] you find as 
config_dict['Station']. The entry "location" in the [Station] section you 
find as config_dict['Station']['location'].

If you need your own entries, define a section and put your values there. 
Then you can access them via config_dict.
 

-- 
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/8f3975bd-a8d0-4313-bbf5-ae04a8109489n%40googlegroups.com.


Re: [weewx-user] Seasons report all time

2021-10-21 Thread Δημήτρης Βήχος
my aproach to this .

in my page i was replace in seasons skin in statistics page the "rain year" 
column with "all time records"  . thinking the "rain year" from the "year" 
statistics difrrents only in rain and all rest prices are the same.

firsy need to install the xstats extension of weewx. 

then need to replace the  statistics.inc page . in my case of course all 
the labes are in greek. this easily change

## statistics module for weewx skins
## Copyright Tom Keffer, Matthew Wall
## See LICENSE.txt for your rights
#errorCatcher Echo
#encoding UTF-8

#set $archive_data = [$day, $week, $month, $year, $alltime]


  
Στατιστικά Σταθμού
  
  


  

  
  
  Ημέρας
  Εβδομάδας
  Mήνα
  Ετους
  Aπό την αρχή


  $obs.label.outTemp
  $unit.label.outTemp
  #for $archive in $archive_data
  $archive.outTemp.max.format(add_label=False)
$archive.outTemp.maxtime
$archive.outTemp.min.format(add_label=False)
$archive.outTemp.mintime
  
  #end for


  $obs.label.heatindex
  $unit.label.heatindex
  #for $archive in $archive_data
  $archive.heatindex.max.format(add_label=False)
$archive.heatindex.maxtime
  
  #end for


  $obs.label.windchill
  $unit.label.windchill
  #for $archive in $archive_data
  $archive.windchill.min.format(add_label=False)
$archive.windchill.mintime
  
  #end for


  $obs.label.dewpoint
  $unit.label.dewpoint
  #for $archive in $archive_data
  $archive.dewpoint.max.format(add_label=False)
$archive.dewpoint.maxtime
$archive.dewpoint.min.format(add_label=False)
$archive.dewpoint.mintime
  
  #end for


  $obs.label.outHumidity
  $unit.label.outHumidity
  #for $archive in $archive_data
  $archive.outHumidity.max.format(add_label=False)
$archive.outHumidity.maxtime
$archive.outHumidity.min.format(add_label=False)
$archive.outHumidity.mintime
  
  #end for


  $obs.label.barometer
  $unit.label.barometer
  #for $archive in $archive_data
  $archive.barometer.max.format(add_label=False)
$archive.barometer.maxtime
$archive.barometer.min.format(add_label=False)
$archive.barometer.mintime
  
  #end for


  $obs.label.rain
  $unit.label.rain
  #for $archive in $archive_data
  $archive.rain.sum.format(add_label=False)
  #end for


  $obs.label.rainRate
  $unit.label.rainRate
  #for $archive in $archive_data
  
$archive.rainRate.max.format(add_label=False)
$archive.rainRate.maxtime
  
  #end for

#if $day.ET.has_data and $day.ET.sum.raw > 0.0
  
  $obs.label.ET
  $unit.label.ET
  #for $archive in $archive_data
  $archive.ET.sum.format(add_label=False)
  #end for
  
#end if

  Mέγιστη Ριπή
  
$unit.label.wind

  
  #for $archive in $archive_data
  
$archive.wind.max.format(add_label=False)
$archive.wind.gustdir.ordinal_compass
$archive.wind.maxtime
  
  #end for


  Μέση Ταχύτητα Αέρα
  $unit.label.wind
  #for $archive in $archive_data
  
$archive.wind.avg.format(add_label=False)
  #end for


  Αέρα RMS
  $unit.label.wind
  #for $archive in $archive_data
  $archive.wind.rms.format(add_label=False)
  #end for



  
Μέσο Διάνυσμα
Μέση Διέυθυνση
  
  
$unit.label.wind

  
  #for $archive in $archive_data
  
$archive.wind.vecavg.format(add_label=False)
$archive.wind.vecdir.ordinal_compass
  
  #end for


#if $day.UV.has_data

  $obs.label.UV
  $unit.label.UV
  #for $archive in $archive_data
  
$archive.UV.max.format(add_label=False)
$archive.UV.maxtime
$archive.UV.min.format(add_label=False)
$archive.UV.mintime
  
  #end for

#end if

#if $day.radiation.has_data

  $obs.label.radiation
  $unit.label.radiation
  #for $archive in $archive_data
  
$archive.radiation.max.format(add_label=False)
   

Re: [weewx-user] Re: No AQI on Belchertown Skin

2021-10-21 Thread Clifford Snow
On Thu, Oct 21, 2021 at 7:08 AM 'super zee' via weewx-user <
weewx-user@googlegroups.com> wrote:

> Okay thanks Doug.  Let me try it.
> If I want to backup copy my whole Belchertown folder, can I use cp
> /etc/weewx/skins/Belchertown /etc/weewx/skins/Belchertown-old  ?
>
> Will the cp command copy a whole folder to back it up?  Or is it just for
> files?
>
> I believe the copy command you want is cp -R /etc/weewx/skins/Belchertown
/etc/weewx/skins/Belchertown-old

The -R recursively copies all folders to the new location. See man cp

Best,
Clifford
-- 
@osm_washington
www.snowandsnow.us
OpenStreetMap: Maps with a human touch

-- 
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/CADAoPLoHdYEMWgGV6Od%3D7-E4q-3KMWs%2B3pzDgWGuev5pAmpMLA%40mail.gmail.com.


Re: [weewx-user] Re: No AQI on Belchertown Skin

2021-10-21 Thread 'super zee' via weewx-user
Okay thanks Doug.  Let me try it.  
If I want to backup copy my whole Belchertown folder, can I use cp 
/etc/weewx/skins/Belchertown /etc/weewx/skins/Belchertown-old  ?

Will the cp command copy a whole folder to back it up?  Or is it just for 
files?

Chris 

On Wednesday, October 20, 2021 at 11:35:00 AM UTC-7 do...@dougjenkins.com 
wrote:

> Chris:
>
> Yes.  Make sure you used the link from Pat's documentation (
> https://github.com/poblabs/weewx-belchertown/archive/master.zip) to 
> download the latest commit from github.
>
> Then backup your weewx.conf file and any files that you changed in the 
> skins/Belchertown/* directory as these will be overwritten with this 
> master.zip file.
>
> Finally, you would run sudo wee_extension --install master.zip in the 
> directory where you downloaded the file. This will replace your belchertown 
> skin with the latest.
>
> If this helps, here are the commands (on ubuntu)
>
> # CODE START
> cd ~
> wget https://github.com/poblabs/weewx-belchertown/archive/master.zip
> sudo wee_extension --install master.zip
> sudo service weewx restart
> # CODE END
>
> Let me know if this helps!
>
> On Wednesday, October 20, 2021 at 10:10:52 AM UTC-4 zman_...@yahoo.com 
> wrote:
>
>> Doug
>> When it downloads the zip file, it downloads 
>> weewx-belchertown.master.zip.  Is this the right file?   Do I just change 
>> the command to sudo wee_extension -- install weewx-belchertown.master.zip?
>>
>> Chris 
>>
>>
>> On Monday, October 18, 2021, 12:01:57 PM MST, 'C Z' via weewx-user <
>> weewx...@googlegroups.com> wrote: 
>>
>>
>> Thanks Doug.  Let me take a look at the new skin and try it out.  I saw 
>> it on Pat O'Brien's web site but didn't know where to download it.  Looks 
>> like he also added a web cam feature.  Very cool!
>>
>>
>> Chris 
>> On Sunday, October 17, 2021, 07:09:17 PM MST, Doug Jenkins <
>> do...@dougjenkins.com> wrote: 
>>
>>
>> Chris:
>>
>> 1. You need to be on the Belchertown 1.3b1 release of the skin in order 
>> to get the latest AQI fixes that were applied this year. here is the 
>> instructions how to do that:
>>
>>
>> https://github.com/poblabs/weewx-belchertown#how-to-install-the-development-version
>>
>> 2. You can not chart the AQI data inside of Belchertown skin. the AQI 
>> data is pulled when the skin queries AERIS during its forecast cycle. The 
>> data is not stored in the weewx database, so the graphs will not work. I 
>> checked my setup and I am not recording the AQI data in the archive table.
>>
>> 3. For ease, here is my AQI setup for belchertown. it is currently 
>> working:
>>
>> [[[Extras]]]
>> 
>> # For help refer to the docs at 
>> https://github.com/poblabs/weewx-belchertown
>> 
>> #--- General Options ---
>> # belchertown_debug = 0
>> belchertown_locale = auto
>> theme = light
>> theme_toggle_enabled = 1
>> logo_image = "
>> https://www.largoweather.com/images/largoweather_logo_light.png";
>> logo_image_dark = "
>> https://www.largoweather.com/images/largoweather_logo_dark.png";
>> site_title = Largo Weather
>> station_observations = barometer, dewpoint, outHumidity, 
>> rainWithRainRate, cloudbase, visibility, cloud_cover
>> beaufort_categoty = 1
>> manifest_name = largoweather.com
>> manifest_short_name = LW
>> aeris_map = 0
>> # radar_html = ''   #  (default seems to center on your 
>> lat/lon)
>> # radar_html_dark = None
>> radar_zoom = 10
>> radar_marker = 1
>> almanac_extras = 1
>> highcharts_enabled = 1
>> graph_page_show_all_button = 1
>> graph_page_default_graphgroup = day
>> highcharts_homepage_graphgroup = day
>> highcharts_decimal = auto
>> highcharts_thousands = auto
>> #googleAnalyticsId = ""
>> # pi_kiosk_bold = "false"
>> # pi_theme = "auto"
>> webpage_autorefresh = 30
>> reload_hook_images = 1
>> reload_images_radar = 300
>> # reload_images_hook_asi = -1
>> # reload_images_hook_af = -1
>> # reload_images_hook_as = -1
>> # reload_images_hook_ac = -1
>> # show_last_updated_alert = 1
>> # last_updated_alert_threshold = 1800
>> 
>> #--- Common Titles under Labels Section to Change ---
>> home_page_header = "Current Station Weather Conditions"
>> graphs_page_header = Weather Observation Graphs
>> reports_page_header = NOAA Climate Reports
>> records_page_header = Station Records
>> about_page_header = About LargoWeather.com
>> powered_by = Observations are powered by a > target="_blank">Acurite 6037 5n1 Weather Station
>> footer_copyright_text = 2021 Largo 

Re: [weewx-user] Seasons report all time

2021-10-21 Thread itec

>
> To create a tag similar to $year, but works for ten years, you will have 
> to create a search list extension.The *Customizing Guide* has an example 
> of how to do this. See the section *Extending the list 
> *. 

I found that "alltime" example is exactly what I was looking for.
I'll try to add it in a user script.
Do you think it would be useful to add it in the main code, exacly like 
$year field?

How can I use alltime to set "time_length" correctly in skin.conf?

thanks
itec

-- 
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/ae07335c-fcb9-4c17-93ff-5d0d07dc76een%40googlegroups.com.


[weewx-user] Seasons report - Hide some data

2021-10-21 Thread itec
Hi.
I'd like to hide some data in the Seasons report: Inside Temperature, 
Inside Humidity and Signal quality should not be published on my site
I can do it in 3 ways:
1 - Deleting data from db and setting [[Corrections]] in config to set new 
values to NULL
2 - Removing graphs from Seasons skin
3 - Changing skin in order to show/hide graphs based on a varible I can set 
in config

What do you think it would be the better way to do it?

Thanks
itec

-- 
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/348694a7-486f-4143-93d8-da6622f1a18an%40googlegroups.com.


[weewx-user] Re: Weewx 4.5.1 will crash with gw1000 0.4.1

2021-10-21 Thread 'T Kolb' via weewx-user
Hello Gary,

thank you for your fast reply!
Your hint did the trick! I removed gw1000 from the service stanza and now I 
am up and running again.

Thank you very much!

Kind regards
Tobias

T Kolb schrieb am Donnerstag, 21. Oktober 2021 um 13:58:57 UTC+2:

> Hello all,
>
> I just upgraded my hardware to a Froggit DP1500 after a hardware defect on 
> an old FineOffset WH1080 running for over ten years without problems.
>
> I installed the gw1000 driver as described on 
> https://github.com/gjr80/weewx-gw1000.
> The driver test was just running fine, but when starting weewx it was 
> crashing after a short time.
>
> So I decided to do an upgrade from raspian stretch to buster along with 
> upgrading to python3 running on an old Raspberry Pi Model B Rev 2.
>
> Unfortunately weewx is still crashing after reading the actual values from 
> the hardware.
> Attached you will find the syslog as well as the weewx configuration.
>
> Any help would be greatly appreciated!
>
> Kind regards
> Tobias
>

-- 
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/5d1e75bc-babc-4d93-8a31-313dbde182fan%40googlegroups.com.


Re: [weewx-user] Seasons report all time

2021-10-21 Thread Tom Keffer
That should work, although, of course, you have to specify what you want
plotted. Something like:

[[10year_images]]
x_label_format = %Y
bottom_label_format = %x %X
time_length = 31536000 # 3650 days
aggregate_type = avg
aggregate_interval = week
show_daynight = false



*[[[10yeartempdew]]]outTemp
dewpoint*

To create a tag similar to $year, but works for ten years, you will have to
create a search list extension.The *Customizing Guide* has an example of
how to do this. See the section *Extending the list
*.


On Thu, Oct 21, 2021 at 5:40 AM itec  wrote:

> Hi all.
> I'm trying to add a new panel to seasons report.
> I found I have more than 10 years of data, I think it would be useful to
> graph all the data available.
> I don't know how to set the "time_length" parameter to get all the period
> time.
> "#if $year.UV.has_data" shoud be changed also, but I didn't find a
> variable for all the time.
>
> Now I tested it with fixed time:
> [[10year_images]]
> x_label_format = %Y
> bottom_label_format = %x %X
> time_length = 31536000 # 3650 days
> aggregate_type = avg
> aggregate_interval = week
> show_daynight = false
>
> Thanks
> itec
>
> --
> 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/8ddef76b-7ea6-40fc-b817-29c1a9aeae20n%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/CAPq0zEC7D%3D-M7yw2%3D81%3D%2BZWLQp5RF04hajQmfQ9g6JK9fA1jrw%40mail.gmail.com.


[weewx-user] Seasons report all time

2021-10-21 Thread itec
Hi all.
I'm trying to add a new panel to seasons report.
I found I have more than 10 years of data, I think it would be useful to 
graph all the data available.
I don't know how to set the "time_length" parameter to get all the period 
time.
"#if $year.UV.has_data" shoud be changed also, but I didn't find a variable 
for all the time.

Now I tested it with fixed time:
[[10year_images]]
x_label_format = %Y
bottom_label_format = %x %X
time_length = 31536000 # 3650 days
aggregate_type = avg
aggregate_interval = week
show_daynight = false

Thanks
itec

-- 
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/8ddef76b-7ea6-40fc-b817-29c1a9aeae20n%40googlegroups.com.


[weewx-user] Re: Weewx 4.5.1 will crash with gw1000 0.4.1

2021-10-21 Thread gjr80
Hi,

I’m not sure what you have done, but you are using the GW1000 driver as 
both a driver and a service on the same WeeWX instance. At the very least 
that is an untested configuration and I suspect it is the source of the 
error. I suggest you disable the GW1000 service, to do this edit weewx.conf 
and locate the [Engine] [[Services]] stanza. Delete the 
user.gw1000.Gw1000Service 
entry from the data_services setting and replace it with a comma (,). It 
should look something like:

[Engine]
# The following section specifies which services should be run and in what 
order.
[[Services]] 
prep_services = weewx.engine.StdTimeSynch 
data_services = , 
process_services = weewx.engine.StdConvert, 
weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate

While you are in weewx.conf set debug back to 0 or 1, no need for debug=3 
in this case.

Save weewx.conf and restart WeeWX.

Gary

On Thursday, 21 October 2021 at 21:58:57 UTC+10 schlatt...@googlemail.com 
wrote:

> Hello all,
>
> I just upgraded my hardware to a Froggit DP1500 after a hardware defect on 
> an old FineOffset WH1080 running for over ten years without problems.
>
> I installed the gw1000 driver as described on 
> https://github.com/gjr80/weewx-gw1000.
> The driver test was just running fine, but when starting weewx it was 
> crashing after a short time.
>
> So I decided to do an upgrade from raspian stretch to buster along with 
> upgrading to python3 running on an old Raspberry Pi Model B Rev 2.
>
> Unfortunately weewx is still crashing after reading the actual values from 
> the hardware.
> Attached you will find the syslog as well as the weewx configuration.
>
> Any help would be greatly appreciated!
>
> Kind regards
> Tobias
>

-- 
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/89e45481-1e53-4d30-ac85-ddbcf83fc660n%40googlegroups.com.


[weewx-user] Weewx 4.5.1 will crash with gw1000 0.4.1

2021-10-21 Thread 'T Kolb' via weewx-user
Hello all,

I just upgraded my hardware to a Froggit DP1500 after a hardware defect on 
an old FineOffset WH1080 running for over ten years without problems.

I installed the gw1000 driver as described on 
https://github.com/gjr80/weewx-gw1000.
The driver test was just running fine, but when starting weewx it was 
crashing after a short time.

So I decided to do an upgrade from raspian stretch to buster along with 
upgrading to python3 running on an old Raspberry Pi Model B Rev 2.

Unfortunately weewx is still crashing after reading the actual values from 
the hardware.
Attached you will find the syslog as well as the weewx configuration.

Any help would be greatly appreciated!

Kind regards
Tobias

-- 
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/1b18179d-09cf-4626-b501-e919c51206d0n%40googlegroups.com.
Oct 21 13:03:53 wetterpi systemd[1]: Starting LSB: weewx weather system...
Oct 21 13:03:55 wetterpi weewx[3608] INFO __main__: Initializing weewx version 
4.5.1
Oct 21 13:03:55 wetterpi weewx[3608] INFO __main__: Using Python 3.7.3 
(default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Oct 21 13:03:55 wetterpi weewx[3608] INFO __main__: Platform 
Linux-5.10.63+-armv6l-with-debian-10.11
Oct 21 13:03:55 wetterpi weewx[3608] INFO __main__: Locale is 'de_DE.UTF-8'
Oct 21 13:03:55 wetterpi weewx[3608] INFO __main__: PID file is 
/var/run/weewx.pid
Oct 21 13:03:55 wetterpi weewx[3596]: Starting weewx weather system: weewx.
Oct 21 13:03:55 wetterpi systemd[1]: Started LSB: weewx weather system.
Oct 21 13:03:56 wetterpi weewx[3613] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Oct 21 13:03:56 wetterpi weewx[3613] INFO __main__: Debug is 3
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG __main__: Initializing engine
Oct 21 13:03:56 wetterpi weewx[3613] INFO weewx.engine: Loading station type 
GW1000 (user.gw1000)
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Sending packet 'FF FF 
26 03 29' to '192.168.0.119:45000'
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Received response 'FF 
FF 26 09 E8 DB 84 9A EA 23 1D'
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Sending packet 'FF FF 
50 03 53' to '192.168.0.119:45000'
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Received response 'FF 
FF 50 12 0E 47 57 31 30 30 30 41 5F 56 31 2E 36 2E 38 C0'
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Sending packet 'FF FF 
30 03 33' to '192.168.0.119:45000'
Oct 21 13:03:56 wetterpi weewx[3613] DEBUG user.gw1000: Received response 'FF 
FF 30 0B 01 01 61 71 65 3B 27 01 D7'
Oct 21 13:03:56 wetterpi weewx[3613] INFO user.gw1000: debug_loop is True
Oct 21 13:03:56 wetterpi weewx[3613] INFO user.gw1000: field map is {'co2': 
'co2', 'co2_24h_avg': 'co2_24h_avg', 'dateTime': 'datetime', 'daymaxwind': 
'daymaxwind', 'dayRain': 'rainday', 'dewpoint': 'dewpoint', 'extraHumid1': 
'humid1', 'extraHumid2': 'humid2', 'extraHumid3': 'humid3', 'extraHumid4': 
'humid4', 'extraHumid5': 'humid5', 'extraHumid6': 'humid6', 'extraHumid7': 
'humid7', 'extraHumid8': 'humid8', 'extraHumid17': 'humid17', 'extraTemp1': 
'temp1', 'extraTemp2': 'temp2', 'extraTemp3': 'temp3', 'extraTemp4': 'temp4', 
'extraTemp5': 'temp5', 'extraTemp6': 'temp6', 'extraTemp7': 'temp7', 
'extraTemp8': 'temp8', 'extraTemp9': 'temp9', 'extraTemp10': 'temp10', 
'extraTemp11': 'temp11', 'extraTemp12': 'temp12', 'extraTemp13': 'temp13', 
'extraTemp14': 'temp14', 'extraTemp15': 'temp15', 'extraTemp16': 'temp16', 
'extraTemp17': 'temp17', 'heatindex': 'heatindex', 'hourRain': 'rainhour', 
'inHumidity': 'inhumid', 'inTemp': 'intemp', 'leafWet1': 'leafwet1', 
'leafWet2': 'leafwet2', 'leafWet3': 'leafwet3', 'leafWet4': 'leafwet4', 
'leafWet5': 'leafwet5', 'leafWet6': 'leafwet6', 'leafWet7': 'leafwet7', 
'leafWet8': 'leafwet8', 'leak1': 'leak1', 'leak2': 'leak2', 'leak3': 'leak3', 
'leak4': 'leak4', 'lightning_distance': 'lightningdist', 
'lightning_last_det_time': 'lightningdettime', 'lightning_strike_count': 
'lightning_strike_count', 'lightningcount': 'lightningcount', 'luminosity': 
'light', 'monthRain': 'rainmonth', 'outHumidity': 'outhumid', 'outTemp': 
'outtemp', 'pm2_5': 'pm251', 'pm2_51_24h_avg': 'pm251_24h_avg', 'pm2_52': 
'pm252', 'pm2_52_24h_avg': 'pm252_24h_avg', 'pm2_53': 'pm253', 
'pm2_53_24h_avg': 'pm253_24h_avg', 'pm2_54': 'pm254', 'pm2_54_24h_avg': 
'pm254_24h_avg', 'pm2_55': 'pm255', 'pm2_55_24h_avg': 'pm255_24h_avg', 'pm10': 
'pm10', 'pm10_24h_avg': 'pm10_24h_avg', 'pressure': 'absbarometer', 'rain': 
'rain', 'rainRate': 'rainrate', 'relbarometer': 'relbarometer', 'soilMoist1': 
'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3': 'soilmoist3', 
'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5', 'soilMoist6': 
'soilmoist6', 'soilMoist7': 'soilmoist7'

Re: [weewx-user] Database merged - Wview e weewx

2021-10-21 Thread itec
Hi.
What do you mean for "This unfortunately doesn't works correctly."? What's 
wrong?
I think that decimals are not important.
Have you tried to run "wee_database --drop-daily" and "wee_database 
--rebuild-daily"?
Then delete /var/www/html/weewx/ and run "wee_reports" to regenerate all 
reports

Il giorno domenica 10 ottobre 2021 alle 22:05:50 UTC+2 kha...@gmail.com ha 
scritto:

> hi,
> when i started to use weewx i used a new database. Few months later i 
> merged two database.
>
> Il giorno lunedì 4 ottobre 2021 alle 17:24:35 UTC+2 tke...@gmail.com ha 
> scritto:
>
>> Hello, and welcome to weewx.
>>
>> I don't know what I'm looking at. What do the red lines mean?
>>
>> What do you mean by you merged "the old database with the new one"? There 
>> is no difference between the wview and weewx databases. You should be able 
>> to just copy over the old database to the weewx installation.
>>
>> Did you read the section *Compatibility with wview 
>> * in the 
>> User's Guide?
>>
>> On Mon, Oct 4, 2021 at 8:18 AM kha...@gmail.com  wrote:
>>
>>> Hello,
>>> until to late 2017 i used wview and then weewx.
>>> When i switched to weewx i merged the old database with the new one.
>>> This unfortunately doesn't works correctly.
>>> Now i'd like to recover the old data (database is very big, more than 
>>> 170mb).
>>> Checking the differences between the two DB,  biggest difference seems 
>>> the decimal. 
>>> Could be the problem?
>>> Is possibile to fix it?
>>> Thanks in advance!
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/fb76f0f2-cc79-4b2a-ae16-c058caa848f4n%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/85173544-09e7-4646-8ca1-e6540089f40cn%40googlegroups.com.


[weewx-user] Wee_import: I do not understand the explanations on the dateTime element in the [[FieldMap]]

2021-10-21 Thread P C

Hello,
I am francophone and sometimes have problems with understanding.
I have a CSV file with a Date field named "Date" whose format is declared.
(raw_datetime_format = %Y-%m-%d %H:%M:%S)
What should I inquire in the datetime element?
Thank you for your help,
Pc

-- 
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/e2f5badd-a7f3-4a35-9996-85e1f28f01dcn%40googlegroups.com.