[weewx-user] Re: How to get both lux and radiation values in the report?

2022-02-27 Thread gjr80
The short answer is yes, it is possible. However, what you need to do 
depends. I assume you are using the SDR driver, if that is the case it 
should be providing you with the 'light' reading in Lux mapped to whatever 
WeeWX field you have specified in the sensor map (the usual mapping would 
be to the 'luminosity' field in the WeeWX extended schema).  You can have 
WeeWX derive/estimate the radiation field from this data by adding an entry 
under [StdCalibrate] [[Corrections]] in weewx.conf, something like:

[StdCalibrate]

[[Corrections]]
radiation = luminosity/126.7 if luminosity is not None else None

should see WeeWX calculate WeeWX field radiation from the WeeWX field 
luminosity and add it to any loop packet/archive records where luminosity 
appears.

What you do from here depends on your current skin arrangement and what you 
wish to display. If your database is using the extended schema both 
radiation and luminosity will be stored in your database allowing you to 
use any radiation or luminosity tags in your reports as well as using 
radiation or luminosity in plots. If you are using the legacy wview schema 
then only radiation will be saved to database meaning only the current 
luminosity value can be displayed, ie no luminosity stats or plots. To 
display luminosity stats or plots you would need to add luminosity to your 
schema or change to the extended schema. 

You don't mention what skin your are using, if it is the WeeWX 4.6 or later 
Seasons skin then radiation will be automatically displayed, but you will 
need to edit the [DisplayOptions] settings in the Seasons skin config file 
skin.conf and add luminosity. If you are using some other skin or wish to 
display some other radiation or luminosity stats then you would need to 
follow the skin authors suggestion or add the appropriate tags to the skin 
you are using.

Gary
On Saturday, 26 February 2022 at 18:26:30 UTC+10 f4n...@gmail.com wrote:

> Hi, i have a WH65 sensor and receive the data with an sdr stick. The WH65 
> sensor array sends its radiation readings in lux and is being converted 
> back to w/m2 on the console, with the correction factor of /126.7, which 
> gives an approximate value in w/m2, i guess this is the usual way to do in 
> weewx too, so it can be compared with the ecowitt data.
>
> But since this is only an approximation as stated here:
> https://github.com/weewx/weewx/wiki/Watts-and-lux
>
> I wonder if it would be possible to get both values into the report, so 
> the original lux value would also be visible. Is this somehow possible?
>

-- 
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/d62e72f2-4d34-4100-a872-fd522fc3c0a4n%40googlegroups.com.


[weewx-user] Re: import csv file from weatherlink davis to weewx

2022-02-27 Thread gjr80
You have two things going on here. 


* Unable to decode source data for period 1. 'utf-8' codec can't 
decode byte 0xb0 in position 29: invalid start byte*
 Period 1 will be skipped. Proceeding to next period.
 Consider specifying the source file encoding using the 
'source_encoding' config option.

This is a warning that you have characters in your source data, in this 
case the degree symbol, that wee_import cannot process. Consequently the 
first period of data was skipped. The warning suggests specifying the 
encoding using the source_encoding config option but you really need to 
remove the offending character(s).

The 'readonly database'  error is likely due to permissions on your sqlite 
database file and the user that was running wee_import having insufficient 
privileges to write to that file. If WeeWX is run as the root user you may 
need to use sudo to run wee_import, eg:

$ sudo wee_import 

Gary
On Sunday, 27 February 2022 at 23:03:52 UTC+10 Artvd wrote:

> I am trying to import a monthly csv file to weewx using the weewx import 
> guideline .Unfortunately i get a error. I wonder if someone could help me 
> to solve the problem. Below is weewx output of the dry run   
>
> wee_import --import-config=/var/tmp/csv.conf --dry-run
> Using WeeWX configuration file /etc/weewx/weewx.conf
> Starting wee_import...
> A CSV import from source file '/var/tmp/data.csv' has been requested.
> Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
> Destination table 'archive' unit system is '0x01' (US).
> Missing derived observations will be calculated.
> This is a dry run, imported data will not be saved to archive.
> Starting dry run import ...
>
> * Unable to decode source data for period 1. 'utf-8' codec can't 
> decode byte 0xb0 in position 29: invalid start byte*
>  Period 1 will be skipped. Proceeding to next period.
>  Consider specifying the source file encoding using the 
> 'source_encoding' config option.
> Traceback (most recent call last):
>   File "/usr/share/weewx/weedb/sqlite.py", line 30, in guarded_fn
> return fn(*args, **kwargs)
>   File "/usr/share/weewx/weedb/sqlite.py", line 219, in execute
> return sqlite3.Cursor.execute(self, *args, **kwargs)
> sqlite3.OperationalError: attempt to write a readonly database
>
> During handling of the above exception, another exception occurred:
>
>
>
>
>
>
>
>
>
>
>
>
> *Traceback (most recent call last):  File "/usr/share/weewx/wee_import", 
> line 899, in main()  File "/usr/share/weewx/wee_import", line 
> 829, in mainsource_obj.run()  File 
> "/usr/share/weewx/weeimport/weeimport.py", line 435, in run
> self.dbm._write_metadata('lastUpdate', str(int(new_last_update)))  File 
> "/usr/share/weewx/weewx/manager.py", line 1494, in _write_metadata
> _cursor.execute(DaySummaryManager.meta_replace_str % self.table_name,  File 
> "/usr/share/weewx/weedb/sqlite.py", line 44, in guarded_fnraise 
> weedb.OperationalError(e)weedb.OperationalError: attempt to write a 
> readonly database*
>

-- 
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/75d7fe70-36e0-4842-bbb0-020476a586dbn%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Steeple Ian
Vince is correct, it is looking for services.txt one level up from the 
install folder.

Assuming you downloaded the zip file from the repository into your /home/pi 
folder and un zipped it, the install folder is weewx-Weather34-main. The 
services.txt file should also be in your /home/pi folder.

Therefore you should: -

cd weewx-Weather34-main
sudo python3 ./w34_installer.py

On Sunday, February 27, 2022 at 8:44:58 PM UTC vince wrote:

> On Sunday, February 27, 2022 at 12:02:05 PM UTC-8 matthieu89...@gmail.com 
> wrote:
>
>> When i use sudo python3 /home/pi/weewx-Weather34/w34_installer.py 
>
>
>> *Cannot find ../services.txt file INSTALL ABORTED*
>>
>
>> Whereas my file service.txt is in /home/pi
>>
>>
> It is trying to find services.txt using a relative path one level up from 
> the directory you are running the command in.
>
> Try:
>
>- cd /home/pi/weewx-Weather34
>- sudo python3 /home/pi/weewx-Weather34/w34_installer.py
>
>
>

-- 
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/3e499da2-9c1d-42b8-9d96-333954b0ed3dn%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread vince
On Sunday, February 27, 2022 at 12:02:05 PM UTC-8 matthieu89...@gmail.com 
wrote:

> When i use sudo python3 /home/pi/weewx-Weather34/w34_installer.py 


> *Cannot find ../services.txt file INSTALL ABORTED*
> Whereas my file service.txt is in /home/pi
>
>
It is trying to find services.txt using a relative path one level up from 
the directory you are running the command in.

Try:

   - cd /home/pi/weewx-Weather34
   - sudo python3 /home/pi/weewx-Weather34/w34_installer.py
   

-- 
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/799f9cf0-73f6-4aa2-b5a9-0de9ff433b04n%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Matthieu Devigne
When i use sudo python3 /home/pi/weewx-Weather34/w34_installer.py

I have a message :


















*PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )Copyright (c) The 
PHP GroupZend Engine v3.4.0, Copyright (c) Zend Technologieswith Zend 
OPcache v7.4.28, Copyright (c), by Zend Technologies!!! NO VALID 
W34_INSTALLER CONFIG FILE. INSTALL ABORTED!!!pi@raspberrypi:~ $ sudo 
python3 /home/pi/weewx-Weather34/w34_installer.py!!! THIS INSTALL IS USING 
PYTHON VERSION 3.9.2 IS THIS CORRECT? (Yes/No) yInstall will continue with 
Python Version 3.9.2PYTHON EPHEM VERSION 3.7.7.1 INSTALLEDPYTHON XMLTODICT 
VERSION 0.12.0 INSTALLEDPHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( 
NTS )Copyright (c) The PHP GroupZend Engine v3.4.0, Copyright (c) Zend 
Technologieswith Zend OPcache v7.4.28, Copyright (c), by Zend 
TechnologiesCannot find ../services.txt file INSTALL ABORTED*
Whereas my file service.txt is in /home/pi


Le dimanche 27 février 2022 à 20:57:46 UTC+1, Matthieu Devigne a écrit :

> I use debian (raspberry)
>
> Le dimanche 27 février 2022 à 19:58:09 UTC+1, vince a écrit :
>
>>
>> Looks like you need to use sudo
>>
>> On Sunday, February 27, 2022 at 10:04:29 AM UTC-8 matthieu89...@gmail.com 
>> wrote:
>>
>>> Yes, I download the new version with the method setup py.
>>> I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py
>>>
>>> And I always have the error messages in syslog.
>>>
>>>
>>> Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>
 Hi,
 The repository has now been updated to the new vesion 4.2.0

 On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
 wrote:

> Good ;) , thanks. 
>
> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
> écrit :
>
>>
>> It looks as though the main weather34.py module has not install 
>> correctly.
>> I will be releasing a new version of the template this evening which 
>> I think may help you. 
>> I will let you know directly when this happens.
>> Ian
>> On Sunday, February 27, 2022 at 6:25:58 AM UTC 
>> matthieu89...@gmail.com wrote:
>>
>>> Thanks, I have a new problem with weather34.
>>>
>>> I don't understand where the problem comes from. I modified 
>>> weewx.conf
>>>
>>>
>>>
>>> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>
 No that is not correct. If that location is where your 
 weewx-Weather34 folder is, services.txt should be /home/pi/services.txt

 The reason for that location is to prevent the files services.txt 
 being copied to your webserver during the install process which would 
 the 
 expose all your api keys etc and create a security risk.

 On Saturday, February 26, 2022 at 8:35:37 PM UTC 
 matthieu89...@gmail.com wrote:

> The services.txt is /home/pi/weewx-Weather34 :
> Is no correct ?
>
> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
> écrit :
>
>> Hi,
>>
>> The services.txt file must be alongside you weather34 install 
>> folder not in it. Eg if your weather34 installer folder is in your 
>> home 
>> folder, services.txt should be in your home folder as well.
>>
>> Ian
>>
>> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
>> matthieu89...@gmail.com wrote:
>>
>>> Hello,
>>>
>>> I am installing weather34 with weewx
>>> I put the file service.txt file in weather34
>>>
>>> But I have a problem with the installation :
>>>
>>> >>> %Run w34_installer.py
>>> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
>>> (Yes/No)Yes
>>> Install will continue with Python Version 3.9.2
>>>
>>> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
>>> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>>>
>>> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
>>> Copyright (c) The PHP Group
>>> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>>> with Zend OPcache v7.4.28, Copyright (c), by Zend 
>>> Technologies
>>> PHP INSTALLED
>>>
>>> List of found conf files to install with
>>> 1 -> setup_py.conf
>>> 2 -> macos.conf
>>> 3 -> packaged.conf
>>> Enter the NUMBER of the installer config file 3
>>> Installer Config file packaged.conf was chosen.
>>> Traceback (most recent call last):
>>>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
>>> __init__
>>> with open("../services.txt") as infile:
>>> FileNotFoundError: [Errno 2] No such file or directory: 
>>> 

[weewx-user] Re: Weather34

2022-02-27 Thread Matthieu Devigne
I use debian (raspberry)

Le dimanche 27 février 2022 à 19:58:09 UTC+1, vince a écrit :

>
> Looks like you need to use sudo
>
> On Sunday, February 27, 2022 at 10:04:29 AM UTC-8 matthieu89...@gmail.com 
> wrote:
>
>> Yes, I download the new version with the method setup py.
>> I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py
>>
>> And I always have the error messages in syslog.
>>
>>
>> Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a 
>> écrit :
>>
>>> Hi,
>>> The repository has now been updated to the new vesion 4.2.0
>>>
>>> On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
>>> wrote:
>>>
 Good ;) , thanks. 

 Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
 écrit :

>
> It looks as though the main weather34.py module has not install 
> correctly.
> I will be releasing a new version of the template this evening which I 
> think may help you. 
> I will let you know directly when this happens.
> Ian
> On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
> wrote:
>
>> Thanks, I have a new problem with weather34.
>>
>> I don't understand where the problem comes from. I modified 
>> weewx.conf
>>
>>
>>
>> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
>> écrit :
>>
>>> No that is not correct. If that location is where your 
>>> weewx-Weather34 folder is, services.txt should be /home/pi/services.txt
>>>
>>> The reason for that location is to prevent the files services.txt 
>>> being copied to your webserver during the install process which would 
>>> the 
>>> expose all your api keys etc and create a security risk.
>>>
>>> On Saturday, February 26, 2022 at 8:35:37 PM UTC 
>>> matthieu89...@gmail.com wrote:
>>>
 The services.txt is /home/pi/weewx-Weather34 :
 Is no correct ?

 Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
 écrit :

> Hi,
>
> The services.txt file must be alongside you weather34 install 
> folder not in it. Eg if your weather34 installer folder is in your 
> home 
> folder, services.txt should be in your home folder as well.
>
> Ian
>
> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
> matthieu89...@gmail.com wrote:
>
>> Hello,
>>
>> I am installing weather34 with weewx
>> I put the file service.txt file in weather34
>>
>> But I have a problem with the installation :
>>
>> >>> %Run w34_installer.py
>> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
>> (Yes/No)Yes
>> Install will continue with Python Version 3.9.2
>>
>> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
>> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>>
>> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
>> Copyright (c) The PHP Group
>> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>> with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
>> PHP INSTALLED
>>
>> List of found conf files to install with
>> 1 -> setup_py.conf
>> 2 -> macos.conf
>> 3 -> packaged.conf
>> Enter the NUMBER of the installer config file 3
>> Installer Config file packaged.conf was chosen.
>> Traceback (most recent call last):
>>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
>> __init__
>> with open("../services.txt") as infile:
>> FileNotFoundError: [Errno 2] No such file or directory: 
>> '../services.txt'
>> [Errno 2] No such file or directory: '../services.txt'
>> >>> 
>>
>

-- 
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/17983a50-2f47-46d5-9a3c-55739ce4c88dn%40googlegroups.com.


Re: [weewx-user] Re: Ghost values in logger archive records

2022-02-27 Thread Jeff A. D.
Makes some sense.  But I also wonder about ET values always being '0' when 
I have no solar sensors.  That does make it into the archive data and the 
database, though I don't use it in any reports, so I guess it really 
doesn't matter, though I wouldn't think it's accurate. (I'm assuming '0" 
means no evaporation and isn't the same as 'null'.) I don't recall if that 
has been brought up.

On Sunday, February 27, 2022 at 4:34:17 AM UTC-7 tke...@gmail.com wrote:

> I think the way to interpret "alarm" values of zero is no alarm at all. 
> So, zero values are probably normal.
>
> However, it is not normal to have leafWet4 when there is no sensor.
>
> On Sat, Feb 26, 2022 at 8:22 PM Jeff A. D.  wrote:
>
>> Just as a matter of interest, I went back even further and looked at my 
>> original Vantage Pro (not 2) with firmware "REV B MAR 30 2004".
>>
>> I'm seeing  the soilLeafAlarms but not leafWet in the LOOP data.  
>>
>> I don't push to Weatherlink or publish online at all, I just use WeeWX to 
>> download the archive data from the logger and produce reports (particularly 
>> NOAA) to keep my own historical records locally.  Works great for me.
>>
>> Manufacture code: B30407A83A
>>
>> LOOP:   2022-02-26 21:14:24 MST (1645935264) 'altimeter': 
>> '30.2576782', 'appTemp': '-6.179805913900935', 'barometer': 
>> '30.2576782', 'cloudbase': '1571.5926270879713', 
>> 'consBatteryVoltage': '4.75', 'dateTime': '1645935264', 'dayET': '0.0', 
>> 'dayRain': '0.0', 'dewpoint': '-4.9150075591870745', 'ET': 'None', 
>> 'extraAlarm1': '0', 'extraAlarm2': '0', 'extraAlarm3': '0', 'extraAlarm4': 
>> '0', 'extraAlarm5': '0', 'extraAlarm6': '0', 'extraAlarm7': '0', 
>> 'extraAlarm8': '0', 'extraTemp1': '43.0', 'forecastIcon': '8', 
>> 'forecastRule': '1', 'heatindex': '2.0', 'humidex': '1.9964', 
>> 'inDewpoint': '27.247736039588684', 'inHumidity': '24.0', 'insideAlarm': 
>> '0', 'inTemp': '64.9', 'maxSolarRad': 'None', 'monthET': '0.0', 
>> 'monthRain': '0.0', 'outHumidity': '72.0', 'outsideAlarm1': '0', 
>> 'outsideAlarm2': '0', 'outTemp': '2.0', 'pressure': '23.188788492606', 
>> 'rain': '0.0', 'rainAlarm': '0', 'rainRate': '0.0', '*soilLeafAlarm1': 
>> '0', 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0',* 
>> 'stormRain': '0.0', 'sunrise': '1645883880', 'sunset': '1645923900', 
>> 'txBatteryStatus': '0', 'usUnits': '1', 'windchill': '2.0', 'windDir': 
>> '162.0', 'windGust': '3.0', 'windGustDir': '162.0', 'windrun': 'None', 
>> 'windSpeed': '3.0', 'windSpeed10': '2.0', 'yearET': '0.0', 'yearRain': '0.0'
>>
>> On Saturday, February 26, 2022 at 1:41:32 PM UTC-7 vince wrote:
>>
>>> On Saturday, February 26, 2022 at 12:01:07 PM UTC-8 Tom Keffer wrote:
>>>
 Now that you mention it, I see much the same thing on my vintage VP2.

>>> However, the archive records are fine. If you use hardware record 
 generation (the default), then the values should not get into the database 
 at all.

 So, Tom & VInce, I suspect this is a different issue, if it's an issue 
 at all. 

>>>
>>> Think it's a different issue.  The extra leafWet4 and soilLeafAlarm1-4 
>>> items we see on VP2 aren't even in the extended schema so we might just be 
>>> getting lucky there.  Given my firmware is over 13 years old, whatever's 
>>> going on has been there for a long time
>>>
>>> -- 
>> 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/f601b966-0862-4400-930b-f8e3cb073281n%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/6268d78e-bc66-4d79-b9d2-189d080eb674n%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread vince

Looks like you need to use sudo

On Sunday, February 27, 2022 at 10:04:29 AM UTC-8 matthieu89...@gmail.com 
wrote:

> Yes, I download the new version with the method setup py.
> I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py
>
> And I always have the error messages in syslog.
>
>
> Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a écrit :
>
>> Hi,
>> The repository has now been updated to the new vesion 4.2.0
>>
>> On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
>> wrote:
>>
>>> Good ;) , thanks. 
>>>
>>> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>

 It looks as though the main weather34.py module has not install 
 correctly.
 I will be releasing a new version of the template this evening which I 
 think may help you. 
 I will let you know directly when this happens.
 Ian
 On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
 wrote:

> Thanks, I have a new problem with weather34.
>
> I don't understand where the problem comes from. I modified weewx.conf
>
>
>
> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
> écrit :
>
>> No that is not correct. If that location is where your 
>> weewx-Weather34 folder is, services.txt should be /home/pi/services.txt
>>
>> The reason for that location is to prevent the files services.txt 
>> being copied to your webserver during the install process which would 
>> the 
>> expose all your api keys etc and create a security risk.
>>
>> On Saturday, February 26, 2022 at 8:35:37 PM UTC 
>> matthieu89...@gmail.com wrote:
>>
>>> The services.txt is /home/pi/weewx-Weather34 :
>>> Is no correct ?
>>>
>>> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>
 Hi,

 The services.txt file must be alongside you weather34 install 
 folder not in it. Eg if your weather34 installer folder is in your 
 home 
 folder, services.txt should be in your home folder as well.

 Ian

 On Saturday, February 26, 2022 at 4:12:38 PM UTC 
 matthieu89...@gmail.com wrote:

> Hello,
>
> I am installing weather34 with weewx
> I put the file service.txt file in weather34
>
> But I have a problem with the installation :
>
> >>> %Run w34_installer.py
> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
> (Yes/No)Yes
> Install will continue with Python Version 3.9.2
>
> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>
> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v3.4.0, Copyright (c) Zend Technologies
> with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
> PHP INSTALLED
>
> List of found conf files to install with
> 1 -> setup_py.conf
> 2 -> macos.conf
> 3 -> packaged.conf
> Enter the NUMBER of the installer config file 3
> Installer Config file packaged.conf was chosen.
> Traceback (most recent call last):
>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
> __init__
> with open("../services.txt") as infile:
> FileNotFoundError: [Errno 2] No such file or directory: 
> '../services.txt'
> [Errno 2] No such file or directory: '../services.txt'
> >>> 
>


-- 
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/e3acb9bd-be7d-4faa-a77b-b95789b32bf4n%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Steeple Ian
Which OS are you using? You may have to prefix your command with sudo

On Sunday, February 27, 2022 at 6:04:29 PM UTC matthieu89...@gmail.com 
wrote:

> Yes, I download the new version with the method setup py.
> I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py
>
> And I always have the error messages in syslog.
>
>
> Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a écrit :
>
>> Hi,
>> The repository has now been updated to the new vesion 4.2.0
>>
>> On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
>> wrote:
>>
>>> Good ;) , thanks. 
>>>
>>> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>

 It looks as though the main weather34.py module has not install 
 correctly.
 I will be releasing a new version of the template this evening which I 
 think may help you. 
 I will let you know directly when this happens.
 Ian
 On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
 wrote:

> Thanks, I have a new problem with weather34.
>
> I don't understand where the problem comes from. I modified weewx.conf
>
>
>
> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
> écrit :
>
>> No that is not correct. If that location is where your 
>> weewx-Weather34 folder is, services.txt should be /home/pi/services.txt
>>
>> The reason for that location is to prevent the files services.txt 
>> being copied to your webserver during the install process which would 
>> the 
>> expose all your api keys etc and create a security risk.
>>
>> On Saturday, February 26, 2022 at 8:35:37 PM UTC 
>> matthieu89...@gmail.com wrote:
>>
>>> The services.txt is /home/pi/weewx-Weather34 :
>>> Is no correct ?
>>>
>>> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>
 Hi,

 The services.txt file must be alongside you weather34 install 
 folder not in it. Eg if your weather34 installer folder is in your 
 home 
 folder, services.txt should be in your home folder as well.

 Ian

 On Saturday, February 26, 2022 at 4:12:38 PM UTC 
 matthieu89...@gmail.com wrote:

> Hello,
>
> I am installing weather34 with weewx
> I put the file service.txt file in weather34
>
> But I have a problem with the installation :
>
> >>> %Run w34_installer.py
> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
> (Yes/No)Yes
> Install will continue with Python Version 3.9.2
>
> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>
> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v3.4.0, Copyright (c) Zend Technologies
> with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
> PHP INSTALLED
>
> List of found conf files to install with
> 1 -> setup_py.conf
> 2 -> macos.conf
> 3 -> packaged.conf
> Enter the NUMBER of the installer config file 3
> Installer Config file packaged.conf was chosen.
> Traceback (most recent call last):
>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
> __init__
> with open("../services.txt") as infile:
> FileNotFoundError: [Errno 2] No such file or directory: 
> '../services.txt'
> [Errno 2] No such file or directory: '../services.txt'
> >>> 
>


-- 
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/a557439e-54e5-42d1-977a-2b12ea6ce5bdn%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Matthieu Devigne
Yes, I download the new version with the method setup py.
I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py

And I always have the error messages in syslog.


Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a écrit :

> Hi,
> The repository has now been updated to the new vesion 4.2.0
>
> On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
> wrote:
>
>> Good ;) , thanks. 
>>
>> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
>> écrit :
>>
>>>
>>> It looks as though the main weather34.py module has not install 
>>> correctly.
>>> I will be releasing a new version of the template this evening which I 
>>> think may help you. 
>>> I will let you know directly when this happens.
>>> Ian
>>> On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
>>> wrote:
>>>
 Thanks, I have a new problem with weather34.

 I don't understand where the problem comes from. I modified weewx.conf



 Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
 écrit :

> No that is not correct. If that location is where your weewx-Weather34 
> folder is, services.txt should be /home/pi/services.txt
>
> The reason for that location is to prevent the files services.txt 
> being copied to your webserver during the install process which would the 
> expose all your api keys etc and create a security risk.
>
> On Saturday, February 26, 2022 at 8:35:37 PM UTC 
> matthieu89...@gmail.com wrote:
>
>> The services.txt is /home/pi/weewx-Weather34 :
>> Is no correct ?
>>
>> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
>> écrit :
>>
>>> Hi,
>>>
>>> The services.txt file must be alongside you weather34 install folder 
>>> not in it. Eg if your weather34 installer folder is in your home 
>>> folder, 
>>> services.txt should be in your home folder as well.
>>>
>>> Ian
>>>
>>> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
>>> matthieu89...@gmail.com wrote:
>>>
 Hello,

 I am installing weather34 with weewx
 I put the file service.txt file in weather34

 But I have a problem with the installation :

 >>> %Run w34_installer.py
 !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
 (Yes/No)Yes
 Install will continue with Python Version 3.9.2

 PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
 PYTHON XMLTODICT VERSION 0.12.0 INSTALLED

 PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
 Copyright (c) The PHP Group
 Zend Engine v3.4.0, Copyright (c) Zend Technologies
 with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
 PHP INSTALLED

 List of found conf files to install with
 1 -> setup_py.conf
 2 -> macos.conf
 3 -> packaged.conf
 Enter the NUMBER of the installer config file 3
 Installer Config file packaged.conf was chosen.
 Traceback (most recent call last):
   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
 __init__
 with open("../services.txt") as infile:
 FileNotFoundError: [Errno 2] No such file or directory: 
 '../services.txt'
 [Errno 2] No such file or directory: '../services.txt'
 >>> 

>>>

-- 
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/7ccc300e-2666-4a96-b6be-1c3a41ac5fc3n%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Steeple Ian
Hi,
The repository has now been updated to the new vesion 4.2.0

On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
wrote:

> Good ;) , thanks. 
>
> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a écrit :
>
>>
>> It looks as though the main weather34.py module has not install correctly.
>> I will be releasing a new version of the template this evening which I 
>> think may help you. 
>> I will let you know directly when this happens.
>> Ian
>> On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
>> wrote:
>>
>>> Thanks, I have a new problem with weather34.
>>>
>>> I don't understand where the problem comes from. I modified weewx.conf
>>>
>>>
>>>
>>> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a écrit :
>>>
 No that is not correct. If that location is where your weewx-Weather34 
 folder is, services.txt should be /home/pi/services.txt

 The reason for that location is to prevent the files services.txt being 
 copied to your webserver during the install process which would the expose 
 all your api keys etc and create a security risk.

 On Saturday, February 26, 2022 at 8:35:37 PM UTC 
 matthieu89...@gmail.com wrote:

> The services.txt is /home/pi/weewx-Weather34 :
> Is no correct ?
>
> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
> écrit :
>
>> Hi,
>>
>> The services.txt file must be alongside you weather34 install folder 
>> not in it. Eg if your weather34 installer folder is in your home folder, 
>> services.txt should be in your home folder as well.
>>
>> Ian
>>
>> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
>> matthieu89...@gmail.com wrote:
>>
>>> Hello,
>>>
>>> I am installing weather34 with weewx
>>> I put the file service.txt file in weather34
>>>
>>> But I have a problem with the installation :
>>>
>>> >>> %Run w34_installer.py
>>> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
>>> (Yes/No)Yes
>>> Install will continue with Python Version 3.9.2
>>>
>>> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
>>> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>>>
>>> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
>>> Copyright (c) The PHP Group
>>> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>>> with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
>>> PHP INSTALLED
>>>
>>> List of found conf files to install with
>>> 1 -> setup_py.conf
>>> 2 -> macos.conf
>>> 3 -> packaged.conf
>>> Enter the NUMBER of the installer config file 3
>>> Installer Config file packaged.conf was chosen.
>>> Traceback (most recent call last):
>>>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
>>> __init__
>>> with open("../services.txt") as infile:
>>> FileNotFoundError: [Errno 2] No such file or directory: 
>>> '../services.txt'
>>> [Errno 2] No such file or directory: '../services.txt'
>>> >>> 
>>>
>>

-- 
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/8b3ce859-5fe6-493b-9417-cedb9f062696n%40googlegroups.com.


Re: [weewx-user] translategenerator

2022-02-27 Thread Tom Keffer
I just looked through Bootstrap, and it appears that it has been
internationalized, but not by using the new WeeWX V4.6 method. It has its
own way of doing things.

On Sun, Feb 27, 2022 at 5:00 AM Tom Keffer  wrote:

> We will need more information from you.
>
> As far as I know, Bootstrap has not been internationalized. You will have
> to ask the author to do this, or do it yourself.
>
> The V4.6 version of the Standard skin has been internationalized. Tell us
> what you are doing, and how the results differ from what you expected. Be
> more specific than the "translation is not applied."
>
> If it helps, write your response in your native language and we can use
> Google Translate.
>
> On Sun, Feb 27, 2022 at 4:52 AM Bebs974 
> wrote:
>
>> Hello
>> I have a problem to translate Bootstrap or Standard html pages when i use
>> 4.6 weewx version. This problem does'nt exist with 4.5 weewx version. It
>> seems that CheetahGeneratorTranslated does'nt work and translation is not
>> applied.
>> Thanks for 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/25e83045-9555-4e5a-99e3-3e535e30badfn%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/CAPq0zEA7CREPtW5gyS%2BiTd0U_S8BW0-GpBJ-XBLrahgGCr%2Bhxg%40mail.gmail.com.


[weewx-user] import csv file from weatherlink davis to weewx

2022-02-27 Thread Artvd
I am trying to import a monthly csv file to weewx using the weewx import 
guideline .Unfortunately i get a error. I wonder if someone could help me 
to solve the problem. Below is weewx output of the dry run   

wee_import --import-config=/var/tmp/csv.conf --dry-run
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
A CSV import from source file '/var/tmp/data.csv' has been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
Starting dry run import ...

* Unable to decode source data for period 1. 'utf-8' codec can't 
decode byte 0xb0 in position 29: invalid start byte*
 Period 1 will be skipped. Proceeding to next period.
 Consider specifying the source file encoding using the 
'source_encoding' config option.
Traceback (most recent call last):
  File "/usr/share/weewx/weedb/sqlite.py", line 30, in guarded_fn
return fn(*args, **kwargs)
  File "/usr/share/weewx/weedb/sqlite.py", line 219, in execute
return sqlite3.Cursor.execute(self, *args, **kwargs)
sqlite3.OperationalError: attempt to write a readonly database

During handling of the above exception, another exception occurred:












*Traceback (most recent call last):  File "/usr/share/weewx/wee_import", 
line 899, in main()  File "/usr/share/weewx/wee_import", line 
829, in mainsource_obj.run()  File 
"/usr/share/weewx/weeimport/weeimport.py", line 435, in run
self.dbm._write_metadata('lastUpdate', str(int(new_last_update)))  File 
"/usr/share/weewx/weewx/manager.py", line 1494, in _write_metadata
_cursor.execute(DaySummaryManager.meta_replace_str % self.table_name,  File 
"/usr/share/weewx/weedb/sqlite.py", line 44, in guarded_fnraise 
weedb.OperationalError(e)weedb.OperationalError: attempt to write a 
readonly database*

-- 
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/9fbc83cf-b76d-41db-8a2e-5090858dc43cn%40googlegroups.com.


Re: [weewx-user] translategenerator

2022-02-27 Thread Tom Keffer
We will need more information from you.

As far as I know, Bootstrap has not been internationalized. You will have
to ask the author to do this, or do it yourself.

The V4.6 version of the Standard skin has been internationalized. Tell us
what you are doing, and how the results differ from what you expected. Be
more specific than the "translation is not applied."

If it helps, write your response in your native language and we can use
Google Translate.

On Sun, Feb 27, 2022 at 4:52 AM Bebs974  wrote:

> Hello
> I have a problem to translate Bootstrap or Standard html pages when i use
> 4.6 weewx version. This problem does'nt exist with 4.5 weewx version. It
> seems that CheetahGeneratorTranslated does'nt work and translation is not
> applied.
> Thanks for 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/25e83045-9555-4e5a-99e3-3e535e30badfn%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/CAPq0zEAwXJixSB6hmXnJY9-tyNJ%3DtQOofrwEq8-KxvZBsOeNnA%40mail.gmail.com.


[weewx-user] translategenerator

2022-02-27 Thread Bebs974
Hello
I have a problem to translate Bootstrap or Standard html pages when i use 
4.6 weewx version. This problem does'nt exist with 4.5 weewx version. It 
seems that CheetahGeneratorTranslated does'nt work and translation is not 
applied.
Thanks for 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/25e83045-9555-4e5a-99e3-3e535e30badfn%40googlegroups.com.


[weewx-user] Re: Belchertown Radar

2022-02-27 Thread DaveStLou
The other possibility, do you have aeris_map = 1?

On Sunday, February 27, 2022 at 5:56:04 AM UTC-6 DaveStLou wrote:

> What do you have under [Extras] for radar_html = ""?
>
> On Saturday, February 26, 2022 at 9:29:20 AM UTC-6 kk44...@gmail.com 
> wrote:
>
>> You can create an index_radar.inc file to include whatever you want 
>> instead of the radar image. Or you can set radar_html in skin.conf. 
>>
>> bchap...@gmail.com schrieb am Samstag, 26. Februar 2022 um 15:36:46 
>> UTC+1:
>>
>>> from everything I have read, it should be off by defaultI haven't 
>>> turned it on, however it is on.  I want to display on a browser that 
>>> doesn't support WebGL.
>>>
>>>
>>> On Saturday, February 26, 2022 at 8:31:24 AM UTC-5 bchap...@gmail.com 
>>> wrote:
>>>
 How do I turn off the radar display in belchertown? 
>>>
>>>

-- 
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/64fcf648-75ec-4e1f-bc56-2240f04b859an%40googlegroups.com.


[weewx-user] Re: Belchertown Radar

2022-02-27 Thread DaveStLou
What do you have under [Extras] for radar_html = ""?

On Saturday, February 26, 2022 at 9:29:20 AM UTC-6 kk44...@gmail.com wrote:

> You can create an index_radar.inc file to include whatever you want 
> instead of the radar image. Or you can set radar_html in skin.conf. 
>
> bchap...@gmail.com schrieb am Samstag, 26. Februar 2022 um 15:36:46 UTC+1:
>
>> from everything I have read, it should be off by defaultI haven't 
>> turned it on, however it is on.  I want to display on a browser that 
>> doesn't support WebGL.
>>
>>
>> On Saturday, February 26, 2022 at 8:31:24 AM UTC-5 bchap...@gmail.com 
>> wrote:
>>
>>> How do I turn off the radar display in belchertown? 
>>
>>

-- 
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/99ffc3b6-6b90-4015-b985-155fa7f31f2en%40googlegroups.com.


Re: [weewx-user] Re: Ghost values in logger archive records

2022-02-27 Thread Tom Keffer
I think the way to interpret "alarm" values of zero is no alarm at all. So,
zero values are probably normal.

However, it is not normal to have leafWet4 when there is no sensor.

On Sat, Feb 26, 2022 at 8:22 PM Jeff A. D.  wrote:

> Just as a matter of interest, I went back even further and looked at my
> original Vantage Pro (not 2) with firmware "REV B MAR 30 2004".
>
> I'm seeing  the soilLeafAlarms but not leafWet in the LOOP data.
>
> I don't push to Weatherlink or publish online at all, I just use WeeWX to
> download the archive data from the logger and produce reports (particularly
> NOAA) to keep my own historical records locally.  Works great for me.
>
> Manufacture code: B30407A83A
>
> LOOP:   2022-02-26 21:14:24 MST (1645935264) 'altimeter':
> '30.2576782', 'appTemp': '-6.179805913900935', 'barometer':
> '30.2576782', 'cloudbase': '1571.5926270879713',
> 'consBatteryVoltage': '4.75', 'dateTime': '1645935264', 'dayET': '0.0',
> 'dayRain': '0.0', 'dewpoint': '-4.9150075591870745', 'ET': 'None',
> 'extraAlarm1': '0', 'extraAlarm2': '0', 'extraAlarm3': '0', 'extraAlarm4':
> '0', 'extraAlarm5': '0', 'extraAlarm6': '0', 'extraAlarm7': '0',
> 'extraAlarm8': '0', 'extraTemp1': '43.0', 'forecastIcon': '8',
> 'forecastRule': '1', 'heatindex': '2.0', 'humidex': '1.9964',
> 'inDewpoint': '27.247736039588684', 'inHumidity': '24.0', 'insideAlarm':
> '0', 'inTemp': '64.9', 'maxSolarRad': 'None', 'monthET': '0.0',
> 'monthRain': '0.0', 'outHumidity': '72.0', 'outsideAlarm1': '0',
> 'outsideAlarm2': '0', 'outTemp': '2.0', 'pressure': '23.188788492606',
> 'rain': '0.0', 'rainAlarm': '0', 'rainRate': '0.0', '*soilLeafAlarm1':
> '0', 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0',*
> 'stormRain': '0.0', 'sunrise': '1645883880', 'sunset': '1645923900',
> 'txBatteryStatus': '0', 'usUnits': '1', 'windchill': '2.0', 'windDir':
> '162.0', 'windGust': '3.0', 'windGustDir': '162.0', 'windrun': 'None',
> 'windSpeed': '3.0', 'windSpeed10': '2.0', 'yearET': '0.0', 'yearRain': '0.0'
>
> On Saturday, February 26, 2022 at 1:41:32 PM UTC-7 vince wrote:
>
>> On Saturday, February 26, 2022 at 12:01:07 PM UTC-8 Tom Keffer wrote:
>>
>>> Now that you mention it, I see much the same thing on my vintage VP2.
>>>
>> However, the archive records are fine. If you use hardware record
>>> generation (the default), then the values should not get into the database
>>> at all.
>>>
>>> So, Tom & VInce, I suspect this is a different issue, if it's an issue
>>> at all.
>>>
>>
>> Think it's a different issue.  The extra leafWet4 and soilLeafAlarm1-4
>> items we see on VP2 aren't even in the extended schema so we might just be
>> getting lucky there.  Given my firmware is over 13 years old, whatever's
>> going on has been there for a long time
>>
>> --
> 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/f601b966-0862-4400-930b-f8e3cb073281n%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/CAPq0zECtAzmFYCmZy61-ZFs-mC02PWozATFPDFj_KpTrkJ6Prw%40mail.gmail.com.


Re: [weewx-user] wh23xx driver and weewx 4.6.2

2022-02-27 Thread gjr80
Regards the WH23xx driver, have you actually installed the WH23xx driver? 
Is the file wh23xx.py in the /home/weewx/user directory? If not you need to 
install the driver, if the file exists then something else is amiss. I note 
the wh23xx driver has not yet been ported to python 3, if the driver is 
installed what version of python are you running WeeWX under?

Gary

On Sunday, 27 February 2022 at 17:18:39 UTC+10 f4n...@gmail.com wrote:

> Just to clarify what i'm trying to do:
>
> Reading out a WH65 -> 2 weewx instances (SDR, Interceptor)* -> this works 
> so far 
> Reading out a WH2310 -> 3rd weewx instance (wh23xx driver) -> doesn't show 
> up in driver menu if i do wee_config -reconfigure weewx-3.conf
>
> Hope this is possible without using multiple devices. Do i have to run the 
> 3rd weewx instance in docker or which ways to achieve this are possible?
>
> * [SDR for redundancy because of possible network downtimes with the 
> Interceptor solution when the wifi/router is down, loss of power or 
> rebooting]
>
> f4n...@gmail.com schrieb am Samstag, 26. Februar 2022 um 17:55:42 UTC+1:
>
>> But could it work with weewx-multi? 
>>
>> tke...@gmail.com schrieb am Samstag, 26. Februar 2022 um 17:04:56 UTC+1:
>>
>>> Unfortunately, WeeWX can only use one driver at a time. The price we pay 
>>> for avoiding a complex, asynchronous engine.
>>>
>>> On Sat, Feb 26, 2022 at 6:32 AM f4n...@gmail.com  
>>> wrote:
>>>
 Is anyone using the wh23xx driver (
 https://github.com/matthewwall/weewx-wh23xx) on weewx 4.6.2? I can't 
 choose the driver after installation. Or is only one user driver per 
 installation possible?

 Thanks for any help or idea

 -- 
 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/92917d38-d7ff-457c-868d-1a99da2c30aan%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/a2fdc4b6-ba76-482e-a03f-e49220532a6bn%40googlegroups.com.


[weewx-user] Re: Multiple full sensor data with one SDR-Stick

2022-02-27 Thread an oldman
there are other units.  just look at the schema file to see what there is.
if your station sends wind gust you could one that's not in use.
acurite 5n1 do not send wind gust just wind speed and dir.  to get the 
extra wind stuff i have to hack weewx files for every weewx update.

On Sunday, February 27, 2022 at 1:33:17 AM UTC-6 f4n...@gmail.com wrote:

> That would be a good and much simpler solution if it works, will 
> definitely try this. Is there some unit remaining which i could use for 
> wind_gust?
>
> Thanks a lot!
>
> an oldman schrieb am Samstag, 26. Februar 2022 um 23:47:49 UTC+1:
>
>> you could try something like in this if
>> soilMoist1, soilMoist2, extraTemp1, extraHumid1, windBatteryStatus and 
>> hail are unsed
>>
>> in weewx.conf
>> [SDR]
>> [[sensor_map]]
>> soilMoist1 = wind_speed.1276.Acurite5n1PacketV2
>> soilMoist2 = wind_dir.1276.Acurite5n1PacketV2
>> extraTemp1 = temperature.1276.Acurite5n1PacketV2
>> extraHumid1 = humidity.1276.Acurite5n1PacketV2
>> windBatteryStatus = battery.1276.Acurite5n1PacketV2
>> hail_total = rain_total.1276.Acurite5n1PacketV2
>> [[deltas]]
>> hail = hail_total
>>
>> [Accumulator]
>> [[hail]]
>> extractor = sum
>>
>> and in extensions.py
>> import weewx.units
>> weewx.units.obs_group_dict['soilMoist1'] = 'group_speed'
>> weewx.units.obs_group_dict['soilMoist2'] = 'group_direction'
>>
>> then to display wind speed you would use $current.soilMoist1 in a template
>> and for wind dir $current.soilMoist2 and/or 
>> $current.soilMoist2.ordinal_compass
>>
>> not shure where to change the labels at but i think in 4.6.2 it is in the 
>> lang files
>> say in en.conf
>> [Labels]
>> [[Generic]]
>> soilMoist1 = Wind Speed (5n1)
>> soilMoist2 = Wind Direction (5n1)
>> windBatteryStatus = Battery (5n1)
>> hail = Rain (5n1)
>> $obs.label.soilMoist1 should show Wind Speed (5n1) and so on.
>>
>> On Saturday, February 26, 2022 at 11:27:03 AM UTC-6 an oldman wrote:
>>
>>> that config won't work with your set up, had to add a lot to the sdr 
>>> driver for sensors, make some extension, add to the schema and 
>>> user/extensions.py file and change some weewx core files.
>>> look in the wiki under data management Switching to the new, extended 
>>> schema wview_extended 
>>> 
>>> .
>>>
>>>
>>> On Saturday, February 26, 2022 at 10:53:58 AM UTC-6 f4n...@gmail.com 
>>> wrote:
>>>
 Now that's really great, thanks for the config. Where or how exactly do 
 i have to add the entrys in the schema file?

 an oldman schrieb am Samstag, 26. Februar 2022 um 16:41:11 UTC+1:

> I have
> here is my sdr from weewx.conf
> extraTemp, batteryStatus, extraHumid1 - 8 are in the wview_extended.py 
> schema.
> I had to add to the schema extrawindSpeed, extrawindDir, 
> lightning_distance15, lightning_strike_count15 and extraTemp, 
> batteryStatus, extraHumid 9 - 16.
> Had a 3rd 5n1 but a hail storm took out 2 5n1s, had to combine them to 
> get 1 working 5n1.
>
> On Saturday, February 26, 2022 at 2:51:21 AM UTC-6 f4n...@gmail.com 
> wrote:
>
>> Would it be possible to record data from two or more full sensor 
>> arrays (including wind and rain) in one weewx instance? Or record the 
>> data 
>> in multiple weewx instances with only one SDR-stick? 
>>
>> I know multiple SDR sticks to multiple weewx instances is possible, 
>> but how could it be done with just one stick? 
>>
>> I already achieved to get the temperature from a second sensor with 
>> the extraTempSensor value in the sensor map, but i guess this wouldn't 
>> work 
>> for wind and rain? It seems like it would need basically only an 
>> adaption 
>> to the schema and database, but to edit these seems a bit complex for 
>> me, 
>> has anyone ever done this?
>>
>

-- 
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/19543de6-8bf8-4f7f-b8ed-ed78ba7a1d41n%40googlegroups.com.


[weewx-user] Re: Weather34

2022-02-27 Thread Matthieu Devigne
Good ;) , thanks. 

Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a écrit :

>
> It looks as though the main weather34.py module has not install correctly.
> I will be releasing a new version of the template this evening which I 
> think may help you. 
> I will let you know directly when this happens.
> Ian
> On Sunday, February 27, 2022 at 6:25:58 AM UTC matthieu89...@gmail.com 
> wrote:
>
>> Thanks, I have a new problem with weather34.
>>
>> I don't understand where the problem comes from. I modified weewx.conf
>>
>>
>>
>> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a écrit :
>>
>>> No that is not correct. If that location is where your weewx-Weather34 
>>> folder is, services.txt should be /home/pi/services.txt
>>>
>>> The reason for that location is to prevent the files services.txt being 
>>> copied to your webserver during the install process which would the expose 
>>> all your api keys etc and create a security risk.
>>>
>>> On Saturday, February 26, 2022 at 8:35:37 PM UTC matthieu89...@gmail.com 
>>> wrote:
>>>
 The services.txt is /home/pi/weewx-Weather34 :
 Is no correct ?

 Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
 écrit :

> Hi,
>
> The services.txt file must be alongside you weather34 install folder 
> not in it. Eg if your weather34 installer folder is in your home folder, 
> services.txt should be in your home folder as well.
>
> Ian
>
> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
> matthieu89...@gmail.com wrote:
>
>> Hello,
>>
>> I am installing weather34 with weewx
>> I put the file service.txt file in weather34
>>
>> But I have a problem with the installation :
>>
>> >>> %Run w34_installer.py
>> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
>> (Yes/No)Yes
>> Install will continue with Python Version 3.9.2
>>
>> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
>> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>>
>> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
>> Copyright (c) The PHP Group
>> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>> with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
>> PHP INSTALLED
>>
>> List of found conf files to install with
>> 1 -> setup_py.conf
>> 2 -> macos.conf
>> 3 -> packaged.conf
>> Enter the NUMBER of the installer config file 3
>> Installer Config file packaged.conf was chosen.
>> Traceback (most recent call last):
>>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
>> __init__
>> with open("../services.txt") as infile:
>> FileNotFoundError: [Errno 2] No such file or directory: 
>> '../services.txt'
>> [Errno 2] No such file or directory: '../services.txt'
>> >>> 
>>
>

-- 
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/ebb8d9df-aab2-4dd7-96c0-1b63b699a26an%40googlegroups.com.