Re: [weewx-user] Re: Why the rain 'spikes'?

2024-02-18 Thread Bob Atchley
After a long wait for the weather station console data buffer to be full, 
and a shorter wait for some rain I can now report that I have been able to 
repeat the rain spikes issue.  

The data buffer simply stops being written when it is full, but the console 
has some sort of 'feature' that if the data buffer is full the first proper 
packet it sends includes the rain (but the logic of how much rain is 
reported escapes me - if it was rain since midnight it could have been 
useful, but it isn't) with a 0.0 rain rate the second packet has 0.0 rain 
and a positive rain rate.

I have put a fix in the WS6in1 driver (1.05) to suppress the first 2 
packets, so the spikes are no longer present.

But the real fix is the user needs to manually empty the console data 
buffer periodically

Hope this helps

Bob

On Friday 19 January 2024 at 08:05:22 UTC Bob Atchley wrote:

> Interesting, I hadn't noticed that, and I see the same pattern on the 
> other days you have posted.
> I suspect what is happening is that if the data buffer is full, the final 
> data item is continually over written with that days accumulated rain which 
> the WS6.in1 driver then assumes is a normal value.
> I will test this - I need to wait for the buffer on my weather station to 
> be full (late Feb) and then wait for a rainy day.  Depending on what is 
> output by the weather station to the driver I will update the driver.
> But again for you the simple solution is to regularly manually reset the 
> data buffer following the instructions in the (on line) user manual - this 
> should ensure you have no gaps in your data and will remove the spikes - a 
> double win.
>
> Hope this helps
>
> Bob
>
> On Friday 19 January 2024 at 01:12:41 UTC Ξ wrote:
>
>> Hi Bob,
>>
>> You've already explained to me about the buffer in another thread, but I 
>> haven't got around to to empty it or change the setting, I'll go there 
>> tomorrow and do just that! Thanks again!
>>
>> When looking at the data for 15-Dec-23 specifically, it does appear that 
>> 14 is the sum of all the previous values for the day since midnight, I'd 
>> imagine the buffer would have more values stores, no!? Basically as Tom 
>> says these are the dayRain values aggregated and inserted into the db once 
>> it's up again:
>> (I've removed the rows with 0)
>>
>> [image: s.png]
>>
>

-- 
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/369f0dfe-7515-4e20-81b2-aa859748ca44n%40googlegroups.com.


Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-24 Thread Bob Atchley
Unfortunately the interface from the Bresser PC console doesn't include the 
battery status - so not provided because its not available (i wish it was, 
a silly oversight)

Why 5 minute intervals ... it seems a sensible compromise of providing 
useful data while not filling the disk up too rapidly (the console itself 
does 12 second updates), but recording at the same interval that weewx is 
putting data into the database seems a good compromise.

Hope this helps

Bob

On Wednesday 24 January 2024 at 08:35:25 UTC Ξ wrote:

> One more question if I may: I tried searching but I couldn't find 
> explanation why the loop data doesn't report the battery status?!
>

-- 
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/8650a53d-3b6e-45be-b67c-10cda11b28cen%40googlegroups.com.


Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-19 Thread Bob Atchley
Interesting, I hadn't noticed that, and I see the same pattern on the other 
days you have posted.
I suspect what is happening is that if the data buffer is full, the final 
data item is continually over written with that days accumulated rain which 
the WS6.in1 driver then assumes is a normal value.
I will test this - I need to wait for the buffer on my weather station to 
be full (late Feb) and then wait for a rainy day.  Depending on what is 
output by the weather station to the driver I will update the driver.
But again for you the simple solution is to regularly manually reset the 
data buffer following the instructions in the (on line) user manual - this 
should ensure you have no gaps in your data and will remove the spikes - a 
double win.

Hope this helps

Bob

On Friday 19 January 2024 at 01:12:41 UTC Ξ wrote:

> Hi Bob,
>
> You've already explained to me about the buffer in another thread, but I 
> haven't got around to to empty it or change the setting, I'll go there 
> tomorrow and do just that! Thanks again!
>
> When looking at the data for 15-Dec-23 specifically, it does appear that 
> 14 is the sum of all the previous values for the day since midnight, I'd 
> imagine the buffer would have more values stores, no!? Basically as Tom 
> says these are the dayRain values aggregated and inserted into the db once 
> it's up again:
> (I've removed the rows with 0)
>
> [image: s.png]
>

-- 
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/84ebe1d4-b8f0-456b-955c-bb5fc9fe0b62n%40googlegroups.com.


Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Bob Atchley
Sorry I'm picking this thread up a bit late.
Looking at the output of the SQL commands I'm seeing unexpected behaviour 
(apart from the rain spikes).  The Bresser weather station has a buffer 
that with the 15 minute interval you are using should allow up to 150 days 
of data to be recovered.  But there are gaps which presumably align with 
the power outages - this should not happen.
This probably means that the buffer is full.  Unfortunately the buffer is 
not circular, once its full no more data is stored.  The interface to the 
weather station from the WS6in1 driver does not provide a way to reset this 
buffer - it must be done manually.  To make matters worse some copies of 
the printed user manual is missing the details on how to do this.
If this is the case for you, this link to an on line version contains the 
necessary information (pages 20 and 21 under the heading Data Log)
https://www.bresser.de/out/media/9fc9f246c452a7307b473233c8057805.pdf

I personally use a 5 minute interval (50 day buffer) and reset the buffer 
every month after backing up the database, with a 15 minute interval I 
would recommend resetting the buffer every 3 months.
Having said all this I have no idea what is causing the rain spikes.. My 
experience is if the buffer is full the driver reads through it all but as 
its old data it all gets discarded.  May be if the buffer has never been 
reset it contains data out of time sequence and this is causing the problem.
My intuition is if you reset the weather station buffer regularly the 
problem will go away - ultimately the data comes from the weather station 
not the driver.  I will check the WS6in1 driver in case I can find anything 
else that might be causing this.

If you are already resetting the weather station buffer then I'll need to 
think again

Hope this helps 

Bob


On Thursday 18 January 2024 at 14:57:24 UTC Ξ wrote:

> And thanks again, I've pinged Bob if he can look at it.
>
> All the best!
>
> On Thursday, January 18, 2024 at 3:16:16 PM UTC+2 Tom Keffer wrote:
>
>> Again, I would look to the driver. It is calculating rain from 
>> differences of dayRain, which, I suspect, is prone to unpredictable values 
>> after a power outage.
>>
>> On Thu, Jan 18, 2024 at 5:09 AM Ξ  wrote:
>>
>>> I'd like to post some more details about December
>>>
>>>   MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2023
>>> NAME: Dolni Okol  
>>> ELEV: 1010 metersLAT: 42-29.40 NLONG: 023-29.70 E
>>>
>>>
>>>TEMPERATURE (C), RAIN (mm), WIND SPEED (m/s)
>>>
>>>  HEAT   COOL AVG
>>>   MEAN   DEGDEG  WIND   
>>> DOM   INSIDE  INS
>>> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   
>>> HIGH   TIMEDIR   HIGHLOW
>>>
>>> -
>>>  019.4   14.7  13:30   -1.1  00:188.60.00.00.6   
>>>  6.6  11:583267.85.0
>>>  027.6   17.5  15:232.7  20:58   10.40.00.00.1   
>>>  3.3  14:383257.97.2
>>>  034.9   12.0  00:26   -2.0  23:56   13.10.0   13.20.1   
>>>  3.3  13:02 337.97.1
>>>  04   -2.3   11.7  15:39   -6.3  07:48   20.30.00.00.0   
>>>  2.3  03:531178.76.1
>>>  05   -0.81.4  14:51   -2.5  07:23   18.80.00.00.0   
>>>  1.4  11:353036.44.8
>>>  060.71.3  14:03   -0.1  00:00   17.30.00.40.0   
>>>  0.6  02:033074.84.2
>>>  070.33.7  11:02   -2.0  23:16   17.70.00.00.1   
>>>  3.0  13:48 564.23.7
>>>  08   -2.3   -0.9  13:18   -3.8  22:07   20.30.00.00.0   
>>>  0.0  00:00 903.72.9
>>>  09   -2.11.0  14:38   -4.4  05:04   20.10.00.00.0   
>>>  0.9  14:421612.92.4
>>>  10   -0.8   10.6  15:17   -4.0  05:44   18.80.04.00.0   
>>>  2.3  13:023164.42.1
>>>  110.37.2  14:56   -3.6  07:52   17.70.00.80.0   
>>>  2.0  12:041385.73.0
>>>  123.8   13.6  15:350.1  21:58   14.20.00.80.0   
>>>  3.0  05:10 146.24.1
>>>  133.2   11.1  14:280.4  04:02   14.80.00.00.0   
>>>  1.2  15:363025.54.7
>>>  145.7   11.7  10:360.6  02:20   12.30.07.20.1   
>>>  3.1  04:20 415.64.9
>>>  151.12.1  03:06   -0.7  23:56   16.90.0   42.00.0   
>>>  2.8  05:17 565.54.7
>>>  16   -2.0   -0.5  13:54   -3.7  23:59   20.00.00.00.0   
>>>  0.0  00:00 904.83.7
>>>  17   -5.70.5  13:58  -10.5  07:32   23.70.00.00.0   
>>>  0.0  00:00 905.42.7
>>>  18   -3.09.9  15:34   -8.1  01:40   21.00.0   18.80.0   
>>>  0.0  00:00 905.42.3
>>>  19   -0.9   12.1  15:20   -

Re: [weewx-user] No handlers could be found for logger "user.ws6in1".

2023-07-12 Thread Bob Atchley
Hi Ivo,

The current Bresser manual seems to be dumbed down (given that it is aimed 
at weather enthusiasts this seems a strange decision) however the previous 
manual can still be found on line here:
http://archive.bresser.de/download/7002571/Manual_7002571_PC-Wetterstation_en_BRESSER_v052020a.pdf

I would recommend downloading a copy of this manual,  Page 20 of this 
manual provides the information you need under the section 'DATA LOG'.  The 
DATA button is on the back of the console.
I'll try and attach a screen shot

[image: Bresser_5in1_DataLog.jpg]

Hope this helps (obviously ignore "PC Software" bit as we are using weewx 
rather than the very limited software that can be downloaded)
It is a bit fidilly but it does the trick (typical weather station 
implementation with excellent capability but poor usability).

cheers

Bob

On Wednesday, 12 July 2023 at 08:30:31 UTC+1 Bob Atchley wrote:

> Hi Ivo,
>
> Re reading your messages, I think I understand the issue - the ws6in1 
> driver will back fill missing data but only if it is available from the 
> console.  The Bresser 5 in 1 console has a limited storage that gets filled 
> and unfortunately once full it no longer stores new data.  If set to 5 
> minute recording (which I would recommend) it will stores about 50 days 
> worth of data, so you need to periodically empty the buffer (I do this on 
> the 1st of the month after backing up the database).  The Bresser 5 in 1 
> manual (or at least my copy) seems to have entirely removed the 
> instructions on how to set up and clear the data buffer.  I'll add the 
> instructions on how to do this to the ws6in1 driver and copy here hopefully 
> later today/tomorrow.
>
> Cheers
>
> Bob
>
> On Tuesday, 11 July 2023 at 20:35:11 UTC+1 Ξ wrote:
>
>> also, oops, I've replied to the above but by hitting 'reply to author' so 
>> I guess now only Bob sees 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/344e7295-0e65-4805-a1b3-abad56c488e0n%40googlegroups.com.


Re: [weewx-user] No handlers could be found for logger "user.ws6in1".

2023-07-12 Thread Bob Atchley
Hi Ivo,

Re reading your messages, I think I understand the issue - the ws6in1 
driver will back fill missing data but only if it is available from the 
console.  The Bresser 5 in 1 console has a limited storage that gets filled 
and unfortunately once full it no longer stores new data.  If set to 5 
minute recording (which I would recommend) it will stores about 50 days 
worth of data, so you need to periodically empty the buffer (I do this on 
the 1st of the month after backing up the database).  The Bresser 5 in 1 
manual (or at least my copy) seems to have entirely removed the 
instructions on how to set up and clear the data buffer.  I'll add the 
instructions on how to do this to the ws6in1 driver and copy here hopefully 
later today/tomorrow.

Cheers

Bob

On Tuesday, 11 July 2023 at 20:35:11 UTC+1 Ξ wrote:

> also, oops, I've replied to the above but by hitting 'reply to author' so 
> I guess now only Bob sees 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/83fc4bff-4ef6-47dc-ac40-2bbac2474d80n%40googlegroups.com.


Re: [weewx-user] No handlers could be found for logger "user.ws6in1".

2023-07-11 Thread Bob Atchley
Hi Ivo,

ws6in1 should still work with v3.7.1 its more that I no longer have the 
capacity to support/test it, and with the imminent (?) release of weewx v5  
 which is not compatible with Python 2.x I thought it time to move on.
I can't see any ws6in1 errors in the logs you have provided so not sure 
what the problem is.  If sensor batteries fail that shouldn't affect the 
usb connection to the console, however sometimes the sensors need syncing 
back to the consul to work properly and I suspect that is the reason for 
the gaps in the graph.

Cheers

Bob

On Tuesday, 11 July 2023 at 17:11:05 UTC+1 Ξ wrote:

> > 2. Since the station has a configurable data log, if communication 
> between it and weewx/ws6in1 is interrupted for a significant time period, 
> let's say 5 days, does weewx/ws6in1 catch up/fetch the missing data?
>
> To answer my own question weewx/ws6in1 doesn't seem to do a backfill: 
> today the electricity was down at the site between 07:00 and 16:30 and the 
> graphs don't show anything in that time frame. The console runs on 
> batteries and collects data, only the R-Pi was down
>
> [image: Screenshot from 2023-07-11 19-06-39.png]
>
>
>

-- 
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/7e44e1d3-22f2-4073-bfed-ce033a57ad60n%40googlegroups.com.


[weewx-user] Re: Recommends for new station under 300

2022-08-10 Thread Bob Atchley
If you can get one of these Weather stations in your location:

Bresser PC 5 in 1 - 7002571
Logia 5-in-1 PC - LOWSB510PB

They are well below your budget, buffer 50 days worth of data, are 
reasonably accurate and have usb connection for PC (and hence weewx 
support).
Make sure the console supports the PC connection (lots of very similar 
models are wifi only)

On Wednesday, 10 August 2022 at 16:56:34 UTC+1 vince wrote:

> And https://www.scientificsales.com - both places have good prices and 
> provide nice customer service... 
>
> On Wednesday, August 10, 2022 at 8:25:30 AM UTC-7 storm...@gmail.com 
> wrote:
>
>> Check out Scaled Instruments: 
>>
>>
>> https://www.scaledinstruments.com/product-category/davis-instruments/complete-weather-stations/vantage-vue-series/
>>
>>

-- 
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/cedfea3b-c8d1-478f-b2d9-2b659bb40705n%40googlegroups.com.


[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-20 Thread Bob Atchley
Please read the readme.txt for the WS6in1 driver. if you set the optional 
driver parameter "wsType" to "WS5in1" it will suppress the UV value.

Hope this helps

Bob

On Monday, 20 June 2022 at 13:47:40 UTC+1 Ξ wrote:

> btw, Bob, since my station is 5-in-1 i.e. without the UV measuring it 
> shows value '0' instead of 'none':
>
> Jun 20 14:18:33 alarmpi weewxd[205]: LOOP:   2022-06-20 14:17:58 EEST 
> (1655723878) altimeter: 1016.65803451, appTemp: 24.8153446101, barometer: 
> 1012.0, cloudbase: 3242.70924389, dateTime: 1655723878, dayRain: 0.0, 
> dewpoint: 7.4, extraHumid1: None, extraHumid2: None, extraHumid3: None, 
> extraHumid4: None, extraHumid5: None, extraHumid6: None, extraHumid7: None, 
> extraTemp1: None, extraTemp2: None, extraTemp3: None, extraTemp4: None, 
> extraTemp5: None, extraTemp6: None, extraTemp7: None, heatindex: 25.5, 
> humidex: 25.605063055, inDewpoint: 51.7790519708, inHumidity: 59, inTemp: 
> 19.2, maxSolarRad: None, outHumidity: 32, outTemp: 25.4, pressure: 901.0, 
> rain: 0.0, rainRate: 0.0, usUnits: 17, UV: 0, windchill: 25.4, windDir: 
> None, windGust: 0.0, windGustDir: None, windSpeed: 0.0
>
> I don't know if this needs "fixing" and well, you, originally wrote the 
> driver for 6-in-1 stations, but maybe just something to consider.
>
>

-- 
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/1d4afabb-4d4a-4149-92c6-82c47025e366n%40googlegroups.com.


[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-14 Thread Bob Atchley
Looks like the 'Cheetah' module is not installed (or Python can't find it)
Have a look at the install page:
https://weewx.com/docs/setup.htm
And look at the different OS tabs (Arch is not included).
Some seem to use 'pip3' others the equivalent of 'pacman install'
I would try a combination to find out what works with Arch

Hope this helps

Bob

On Tuesday, 14 June 2022 at 15:49:20 UTC+1 Ξ wrote:

> Not so good:
>
> Jun 14 17:45:21 alarmpi weewxd[1473]: weewx[1473] DEBUG user.ws6in1: 
> genLoopPackets: yielding
> Jun 14 17:45:21 alarmpi weewxd[1473]: weewx[1473] DEBUG 
> weewx.reportengine: Found configuration file 
> /home/weewx/skins/Standard/skin.conf for report 'StandardReport'
> Jun 14 17:45:21 alarmpi weewxd[1473]: weewx[1473] DEBUG 
> weewx.reportengine: Cannot read localization file 
> /home/weewx/skins/Standard/lang/en.conf for report 'StandardReport': Config 
> file not found: "/home/weewx/skins/Standard/lang/en.conf".
> Jun 14 17:45:21 alarmpi weewxd[1473]: weewx[1473] DEBUG 
> weewx.reportengine:  Using defaults instead.
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: Unable to instantiate generator 
> 'weewx.cheetahgenerator.CheetahGenerator'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   No module named 'Cheetah'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   Traceback (most recent call last):
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weewx/reportengine.py", line 180, in run
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   obj = 
> weeutil.weeutil.get_object(generator)(
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   mod = __import__(module)
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 69, in 
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   import Cheetah.Filters
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   ModuleNotFoundError: No module named 
> 'Cheetah'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   Generator ignored
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: Unable to instantiate generator 
> 'weewx.imagegenerator.ImageGenerator'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   No module named 'Image'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   Traceback (most recent call last):
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weeplot/genplot.py", line 15, in 
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   from PIL import Image, ImageDraw
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   ModuleNotFoundError: No module named 'PIL'
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: 
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   During handling of the above exception, 
> another exception occurred:
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: 
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   Traceback (most recent call last):
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weewx/reportengine.py", line 180, in run
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   obj = 
> weeutil.weeutil.get_object(generator)(
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   mod = __import__(module)
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weewx/imagegenerator.py", line 19, in 
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine:   import weeplot.genplot
> Jun 14 17:45:22 alarmpi weewxd[1473]: weewx[1473] ERROR 
> weewx.reportengine: File 
> "/home/weewx/bin/weeplot/genplot.py", line 17, in 
> Jun 14 17:45:22 alarmpi weewxd[1473]:

[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-09 Thread Bob Atchley
Hi Weewx-user,

line 369 is simply an import of crcmod.  It has failed showing that the 
crcmod library is not available for python to use.
You need to follow the readme, but maybe there are complications caused by 
Arch Linux (?)

pip3 install crcmod
sudo apt install python3-crcmod   [or the pacman equivalent]

If that still doesn't work you could try running the pip3 command with sudo.

Hope that helps

Bob

On Thursday, 9 June 2022 at 11:55:43 UTC+1 Ξ wrote:

> is there a way to test crcmod some other way to confirm it's running and 
> installed properly?
>

-- 
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/f3be5de1-a401-4d49-8abf-4a7cbf7e3671n%40googlegroups.com.


[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-07 Thread Bob Atchley
Hi weewx-user

I would highly recommend using weewx v4.x with python3 if you can.
It is sometime since I tested the ws6in1 driver with python2 and never on 
arch linux (but that shouldn't be a problem).
I seem to remember that weewx v4 is needed for compatibility with python3 - 
so you would need to reinstall weewx if you want to use Python3

Having said that this should still work.  Just need to replace the 'pip3' 
commands with 'pip' and the crcmod install should be the pacman equivalent 
of
$ sudo apt install python-crcmod

Having said that python-crcmod is no longer included in the ubuntu 
repositories.  May be it is in the Arch Linux repositories ?  If not you 
can build it from the source code 
crcmod.sourceforge.net
But that's getting complicated.

I used to use Arch Linux - it updates to the latest version of everything 
(I was a happy user until a major version upgrade of gnome left me with an 
unusable system and I re-thought my priorities),
so with that in mind using weewx v4.8 and python3 would be the way to go

Hope that helps

Bob

On Tuesday, 7 June 2022 at 12:50:01 UTC+1 Ξ wrote:

> It seems I've installed WeeWx to use Python2.7 and python-crcmod is 
> installed for Python3, is there a way to change to Python3 or do I need to 
> re-install again?
>

-- 
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/df7039b7-3248-42e8-83ee-b07063a8282bn%40googlegroups.com.


[weewx-user] Re: NOOB Questions on "Installation using setup.py" on Raspberry Pi

2022-05-31 Thread Bob Atchley
The warning is because the checksum received for a message from the console 
that is incorrect - not an issue as the driver simply re-requests the data.
The DEBUG info is a left over from when I was debugging the driver.  Agree 
its a bit spammy, but setting the debug flag to 0 in weewx.conf should 
remove these messages.
I will look at tidying up the debug messages at sometime in the future ...

Glad its working, great to have another user

Bob

On Tuesday, 31 May 2022 at 00:27:27 UTC+1 radi...@gmail.com wrote:

> @paul...@gmail.com
>
> Up and running (mostly).  Looks like I'm on the map too (though I 
> mis-typed the web site url).  location = "Washington/South Strabane, PA"
>
> @Bob Atchley
> Looking forward to looking through the code, but it's working well.
>
> I did notice some startup warnings, like "WARNING user.ws6in1: 
> genStartupRecords: bad CRC"
>
> Also when I turned on debug I was getting a slew of 
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::got 
> my_time: 1653571800 <http://voice.google.com/calls?a=nc,%2B11653571800>
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::gettint 
> time
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::got 
> my_time: 1653572100
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::gettint 
> time
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::got 
> my_time: 1653572400
> May 30 17:36:19 pi-wx-05 weewx[153046] DEBUG user.ws6in1: decode::gettint 
> time
>
> Cheers, and Thanks Guys-
> Bob
>
> On Sunday, May 22, 2022 at 11:07:19 AM UTC-4 paul...@gmail.com wrote:
>
>> Hi Bob
>>
>> Your Logia looks to be identical to the Bresser 5-in-1 PC station I use 
>> (model 7002571). With it being the PC version (as opposed to the wireless 
>> version) you can use Bob Atchley's driver WS6in1. I've been using it since 
>> November 2020 and it has worked flawlessly for me. You'll find full details 
>> about it on Bob's github page:
>> https://github.com/bobatchley/weewx-ws6in1
>>
>> In fact I've just checked and indeed the LOWSB510PB is listed.
>>
>> Don't forget to register your station when you setup WeeWX then you will 
>> join a select band (currently 11 of us) on the WeeWX map who use the WS6in1 
>> driver ;-)
>>
>> Paul
>> On Saturday, 21 May 2022 at 23:50:37 UTC+1 vince wrote:
>>
>>> You're perhaps overthinking a bit.
>>>
>>> 1. weewx runs as root by default, so there's little gained by making a 
>>> non-'pi' user really.   As long as your pi is adequately secured (change 
>>> the 'pi' password of course) you're probably ok with the default setup. 
>>>  You could choose to make a different non-privileged user but it gains 
>>> little unless you change things to run as that non-privileged user rather 
>>> than root, which ups the ante a bit re: permissions to talk to the hardware 
>>> etc.  I'd suggest just running the defaults at least initially.
>>>
>>> 2. I don't know why you're messing with setup.cfg at all.  If you want 
>>> to run a setup.py install, just go with it.  It'll put everything under 
>>> /home/weewx in one place.   All you'll have to do is connect the 
>>> public_html tree that will be created under /home/weewx/public_html to your 
>>> webserver.  FWIW, I just symlink it.   You 'do' need to add a webserver on 
>>> a pi since the os doesn't do that automagically for you.  I recommend nginx.
>>>
>>> 3. When you ran 'python3 setup.py install' it should have asked you the 
>>> questions needed to populate weewx.conf including which driver to use.  I'd 
>>> recommend using the Simulator for starters until you get used to the 
>>> software.  Once you have that set up you can stop weewx, delete your 
>>> archive and public_html contents, reconfigure weewx to the right driver for 
>>> your station, and restart weewx.   Unfortunately I don't know anything 
>>> about FO stations or if yours is supported or not so I can't help there.
>>>
>>> I think you want to run "sudo /home/weewx/bin/wee_config --reconfigure" 
>>> and answer the questions again so it populates weewx.conf appropriately.
>>>
>>>

-- 
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/6333883a-ac2d-4dcf-bf77-ba6e14780a05n%40googlegroups.com.


[weewx-user] Re: NOOB Questions on "Installation using setup.py" on Raspberry Pi

2022-05-23 Thread Bob Atchley
And just as a slight addendum to your original post ...

I personally choose to run weewx as a non privileged user.  Its relatively 
simple to set up but the user does need to be in the www-data group to 
interface with the web server (assuming the web server is local) and needs 
permission to read/write to the usb see:
https://github.com/weewx/weewx/wiki/Run-as-a-non-root-user

I use systemd to start/stop the weewx service and you need to add the user 
name into the [service] part of the configuration e.g.
User= myUser  
Group=myUser
Again the brilliant weewx Wiki has some stuff on using systemd see:
https://github.com/weewx/weewx/wiki/systemd

But as Vince says no need to do this, the default works out of the box ... 
but it can be done.  I found it useful while developing the WS6in1 driver.

Hope this helps rather than confuses

Bob



On Sunday, 22 May 2022 at 19:52:13 UTC+1 radi...@gmail.com wrote:

> @vince - Yeah, overthinking is likely...
>
> My intent was to install WeeWX "out of the box" and get it up and running, 
> to get familiar with it  (quite possibly reinstall using one of the other 
> methods later thinking that might ease updates).  I ran into GPIO access 
> issues when trying to manipulate them through a web page a while ago, so I 
> planned to stick with "pi" initially.  I confess when I saw /home/weewx 
> mentioned several times, I *assumed *this implied a user.  Nowhere does 
> it say this that I recall, so not a valid assumption.  (A little sys admin 
> bias perhaps.)  I've used Apache on most of my Pis, having failed to get 
> nginx to run at one time, and having used Apache for some time.  I do have 
> a hosted server which will be the target for observations eventually.
>
> "*Why mess with setup.cfg?*"  The short answer is 
> https://weewx.com/docs/setup.htm says "To specify an install location 
> different from the default /home/weewx, modify the parameter home in the 
> setup.cfg 
> file." Again, I didn't want to create a weewx user (my assumption), and 
> didn't understand the implications of what one chooses for home.
>
> I did note that the code has to run under root / sudo.  Eventually I'll 
> run it under systemd (using root).
>
> I'll try wee_config --reconfigure when I get back to it.  Helpful tip, 
> thanks!
>
>
> @paul...@gmail.com 
>
> When researching what station to buy I did note Bob Atchley's driver but 
> didn't have the Logia model number on hand at the time.  Amazingly it does 
> match!  I was looking for a USB-connected station, and they are getting 
> harder to find it seems.  Appreciate the pointer to his git, and knowing 
> that you've had good success with it.  (With Cumulus I had written a 
> separate watchdog process because the comms were dropping fairly often.)
>
> I had planned on registering once I was up and running - so we'll be 12!  
> ;-)
>
> Thanks Folks- Very favorable experience with my first post to the forum!
> Bob
>
> On Sunday, May 22, 2022 at 11:07:19 AM UTC-4 paul...@gmail.com wrote:
>
>> Hi Bob
>>
>> Your Logia looks to be identical to the Bresser 5-in-1 PC station I use 
>> (model 7002571). With it being the PC version (as opposed to the wireless 
>> version) you can use Bob Atchley's driver WS6in1. I've been using it since 
>> November 2020 and it has worked flawlessly for me. You'll find full details 
>> about it on Bob's github page:
>> https://github.com/bobatchley/weewx-ws6in1
>>
>> In fact I've just checked and indeed the LOWSB510PB is listed.
>>
>> Don't forget to register your station when you setup WeeWX then you will 
>> join a select band (currently 11 of us) on the WeeWX map who use the WS6in1 
>> driver ;-)
>>
>> Paul
>> On Saturday, 21 May 2022 at 23:50:37 UTC+1 vince wrote:
>>
>>> You're perhaps overthinking a bit.
>>>
>>> 1. weewx runs as root by default, so there's little gained by making a 
>>> non-'pi' user really.   As long as your pi is adequately secured (change 
>>> the 'pi' password of course) you're probably ok with the default setup. 
>>>  You could choose to make a different non-privileged user but it gains 
>>> little unless you change things to run as that non-privileged user rather 
>>> than root, which ups the ante a bit re: permissions to talk to the hardware 
>>> etc.  I'd suggest just running the defaults at least initially.
>>>
>>> 2. I don't know why you're messing with setup.cfg at all.  If you want 
>>> to run a setup.py install, just go with it.  It'll put everything under 
>>> /home/weewx in one place.   All you'll have to do is connect the 
>>> public_html tree that will be created under /home/weewx/public_html to your 
>>> webserver.  FWIW, I just symlink it.   You 'do' need to add a webserver on 
>>> a pi since the os doesn't do that automagically for you.  I recommend nginx.
>>>
>>> 3. When you ran 'python3 setup.py install' it should have asked you the 
>>> questions needed to populate weewx.conf including which driver to use.  I'd 
>>> recommend using the Simulator for starters until you ge

[weewx-user] Re: Bresser 6in1 with WeeWx possible?

2022-05-10 Thread Bob Atchley
IF you have the Bresser 6in1 with the PC console (Bresser PC 6 in 1 - 
7002570) then the WS 6in1 driver fully supports this:
https://github.com/bobatchley/weewx-ws6in1

If you have the WiFi version then you need to get an SDR (software defined 
radio) and use the SDR weewx driver:
https://github.com/matthewwall/weewx-sdr

Or alternatively it may be possible to intercept the WiFi signal:
https://github.com/matthewwall/weewx-interceptor

Hope this helps

Bob


On Tuesday, 10 May 2022 at 11:09:53 UTC+1 keenb...@gmail.com wrote:

> Hello,
> I have a Bresser 6in1 weather station and would like to run a website with 
> WeeWx. Is it possible at all with this station? At the moment it sends its 
> data to AWEKAS.
> I know relatively little about Linux.
>
> Greetings
>

-- 
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/e12db675-e0f1-4b79-a669-405a59d3329an%40googlegroups.com.


Re: [weewx-user] New weather station UK

2021-03-08 Thread Bob Atchley
CCL Electronics is another company that makes Weather stations that are 
sold as rebadged clones by the likes of Bresser, Youshiko, Garni, Ventus, 
Logia and probably others.  The WS6in1 driver for weewx supports these that 
are connected to the PC connected console.  The WiFi versions of these are 
probably supported by the interceptor or SDR drivers.
See https://github.com/BobAtchley/weewx-ws6in1 for a list of the PC 
connected ones I know about.  The advantage of the PC connected console is 
it gives a reliable data logger in case of server/power failure.

On Monday, 8 March 2021 at 14:39:33 UTC Auchtermuchty Weather wrote:

> At some point these newer clones with the newer sensors are going to have 
> to be tried.  A lot of Googling using the makes mentioned in the 
> documentation failed to reveal any clones of the older stations - they were 
> all 'unavailable'.  Whether I am the person to do that is a different 
> question!
>
> On Monday, 8 March 2021 at 10:18:26 UTC nav...@gmail.com wrote:
>
>> Sorry, I can't offer any advice on that system.
>>
>> For a bit more money you can get a unit which is known to work with 
>> Weewx, offers a better display and is compatible with the latest sensors.
>>
>> On Monday, 8 March 2021 at 10:04:19 UTC Auchtermuchty Weather wrote:
>>
>>>
>>> Hmmm  I wonder if this will work?  Looks like a FineOffset WS2085 
>>> clone, same enough as a WS2083?
>>>
>>> Aercus Instruments WS2085 Wireless Weather Station with USB Upload + 
>>> Free Beginner's Guide (eBook): Amazon.co.uk: Kitchen & Home 
>>> 
>>>  
>>>  
>>> On Monday, 8 March 2021 at 09:46:07 UTC nav...@gmail.com wrote:
>>>
 Ecowitt is the trading arm of Fine Offset and the Watson W8686 appears 
 to be a rebadged/clone of their HP2551.

 I used Weewx Interceptor in Ecowitt mode to receive the information 
 from the unit:-https://github.com/matthewwall/weewx-interceptor which 
 worked well.
 On Monday, 8 March 2021 at 08:31:38 UTC Auchtermuchty Weather wrote:

> Which driver would this use?  And sorry I have no idea what HP2551 and 
> Ecowitt are about.  
> On Sunday, 7 March 2021 at 13:50:43 UTC nav...@gmail.com wrote:
>
>>
>> Have a look at this setup available in the UK: 
>> https://www.nevadaradio.co.uk/product/watson-w-8686/
>>
>> Works well, and supports extra sensors and updates (HP 2551) 
>> available from Ecowitt/ws View app.
>>
>> On Sunday, 7 March 2021 at 11:30:38 UTC Auchtermuchty Weather wrote:
>>
>>> So any suggestions?
>>>
>>> Lots of Bresser &  Youshiko  stations on the Internet, but I've no 
>>> idea if any work with WeeWx - in other words if any of them are 
>>> FineOffset 
>>> clones. 
>>>
>>> On Saturday, 6 March 2021 at 15:06:30 UTC Steve Woodford wrote:
>>>
 I’m the wrong person to ask about off-the-shelf recommendations; I 
 built my own: https://www.mctavish.co.uk/weather/about/

 Steve

 On 6 Mar 2021, at 14:33, Auchtermuchty Weather  
 wrote:

 Thanks that what I needed to know.

 So what weather station would you suggest?

 On Saturday, 6 March 2021 at 13:55:30 UTC Steve Woodford wrote:

> Be aware that WH-1080 and its ilk have had several incompatible 
> on-air protocol changes over the years. You’d be gambling with your 
> £75.69...
>
> Steve
>
> On 6 Mar 2021, at 12:18, Auchtermuchty Weather  
> wrote:
>
> I think it might be time to replace my weather station as a number 
> of sensors are not working as they should, and replacements are now 
> expensive.
>
> I'm looking for a FineOffset as I'm currently using an old Maplins 
> as a WH1080, one that uses the same sensors would do me another 10 
> years.
>
> Or
>
> Would this do the trick?
>
> MISOL 1 set of Spare part (outdoor unit) for Professional Wireless 
> Weather Station: Amazon.co.uk: Garden & Outdoors 
> 
>  
>
>  
>
> -- 
> 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

Re: [weewx-user] Logia 5in1 - how to get barometer reading (need something like Wunderfixer)

2021-01-25 Thread Bob Atchley
Hi Joe,

Just checking ... I'm assuming you have the WiFi version of the Logia 5in 1 
rather than the PC version:
https://logiaweatherstations.com/collections/all/products/5-in-1-wireless-weather-station-with-pc-data-sync

If you have the PC version you can use the WS6in1 driver, which will get 
you the Barometer and indoor temperature/humidity 

Regards

Bob

-- 
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/81bbacbf-0415-4788-91df-4f3d9e35874dn%40googlegroups.com.


Re: [weewx-user] Re: Bresser 6in1

2020-11-28 Thread Bob Atchley
Hi Paul
In your case you need to 
1) Either follow steps 2 and 3 of the installation in the readme.txt or if 
you know where the ws6in1.py is located simply replace it with the updated 
one from github (location is dependent on how you did the original weewx 
installation)
2) Update your weewx.conf file to add the line:
wsType = WS5in1

(add it immediately after or before the 'model = ...'  line you have 
already added)
3) Restart weewx

Regards

Bob

-- 
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/b25d8082-1650-4d44-8741-5f5215b6d8c5n%40googlegroups.com.


Re: [weewx-user] Re: Bresser 6in1

2020-11-28 Thread Bob Atchley
Hi Paul,

I agree with Tom.  Using the 'Correction' field is a good work around, but 
not really the best long term solution.
So I have released 1.02 of the WS6in1 driver.  Apart from updating the 
readme.txt giving updated details of the additional supported weather 
stations the only other change is introducing an optional wsType driver 
parameter.  If this is set to "WS5in1" the UV packet is suppressed from 
being sent to the weewx engine.

Regards
Bob

-- 
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/32b9d5e7-095e-4743-8c0f-4ca8dee2ee07n%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-11-26 Thread Bob Atchley
Hi Paul,

I'm not sure if this will work, but in another thread Gary let us know that 
if you are using weewx 4.2 it is possible to add corrections:
[StdCalibrate]
[[Corrections]]
UV = None

It might not work, but a simple solution if it does (may be it should be UV 
= Null, not sure)

Regards

Bob

-- 
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/eb338e1e-b476-45bd-b568-4a978255e597n%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-11-24 Thread Bob Atchley
Hi Paul,

Within the weewx.conf file In the WS6in1 driver section simply add "model = 
abc" as an additional parameter, replacing abc with whatever you want to 
call it.
So mine reads:
[WS6in1]
# This section is for the 6in1 series of weather stations.
# model - this is optional
model = Youshiko YC9388 (WS6in1)

# The driver to use:
driver = user.ws6in1

Hope this helps

Regards

Bob

-- 
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/3ca7974d-956b-4470-b831-de5e3491351an%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-11-23 Thread Bob Atchley
Hi Paul,

Yes, I wish I had known about CCL Electronics before, almost definitely the 
manufacturer.  I'll stick with the current name but update the Readme.

As for 'About this weather station', the 'model' parameter is optionally 
supported, I have mine set to "model = Youshiko YC9388 (WS6in1)"

Regards

Bob

-- 
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/233f5d1f-14d0-424d-9fac-be85003a6857n%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-11-22 Thread Bob Atchley
Thats a new one !  Thanks Paul.  Maybe I need to rename the driver, WS6in1 
doesn't quite fit any more.  Garni, Ventus and Youshiko (and probably 
others) will probably be selling similar 5 in 1 weather stations

Regards

Bob

-- 
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/19e3805e-4342-44d0-8c12-c94ef0e086bcn%40googlegroups.com.


[weewx-user] Re: ws6in1 sensor mapping

2020-11-18 Thread Bob Atchley
Hi Steven,

I'm afraid, put very simply, this is a driver option that I have not 
implemented in the WS6in1 driver.
As I now have an additional sensor this is something I could add ... I'll 
have a play this weekend.

Personally I have the identical Youshiko YC9388 and I find the temperature 
accuracy to be very good (compared to an old WS2300 - mounted in a 
stevenson screen ... sort of.  Also compared to other local weather 
stations)

I'd be interested to see the temperature differences you are getting 
between the main unit and your extra sensor (on a day with the sun out!)

Regards

Bob

On Wednesday, 18 November 2020 at 15:36:08 UTC steven...@gmail.com wrote:

> Hello
>
> My main unit from the Garni935pc gets too hot when the sun is all out. So 
> i tried to make my second sensor in the Stevenson screen make the default 
> sensor for reporting to website/WU/WOW but can't make it to work.
>
> I tried the following:
>
> [WS6in1]
> driver = user.ws6in1
> [[sensor_map]]
> outTemp =  extraTemp1
> outHumidity =  extraHumid1
>
> But makes no difference. How do i make this work?
>
> Kind regards
> Steven
>
>
>

-- 
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/0f6f2fc5-ebe9-4dc1-bd87-ddb354c1ec9fn%40googlegroups.com.


Re: [weewx-user] unsupported operand type(s) for -: 'int' and 'NoneType'

2020-11-07 Thread Bob Atchley
Yes ... spot on, missed that one ... a fix on the way

Bob

On Saturday, 7 November 2020 at 20:38:55 UTC tke...@gmail.com wrote:

> Looks like the author of ws6in1 forgot to check for the case where 
> self.last_ts could be None. This can happen when a brand new database.
>
> I'd submit a bug report on his GitHub repository.
>
> On Sat, Nov 7, 2020 at 10:12 AM Peter Hurn  wrote:
>
>> Hi All, 
>>
>> I am getting the following Critical error on a clean install of Weewx, 
>> any ideas, no additional addons.
>>
>> Nov 7 18:00:30 raspberrypi weewx[615] INFO weewx.engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>> Nov 7 18:00:30 raspberrypi weewx[615] INFO weewx.manager: Starting 
>> backfill of daily summaries
>> Nov 7 18:00:30 raspberrypi weewx[615] INFO user.ws6in1: 
>> find_my_device::success getting dev
>> Nov 7 18:00:30 raspberrypi kernel: [ 866.527875] usb 1-1.2.1: reset 
>> full-speed USB device number 6 using dwc_otg
>> Nov 7 18:00:31 raspberrypi weewx[615] INFO user.ws6in1: 
>> initialise_my_device::success getting configuration
>> Nov 7 18:00:31 raspberrypi weewx[615] INFO user.ws6in1: 
>> initialise_my_device::my_cfg.bConfigurationValue = 1
>> Nov 7 18:00:31 raspberrypi weewx[615] INFO user.ws6in1: 
>> initialise_my_device::my_cfg.bNumInterfaces = 1
>> Nov 7 18:00:32 raspberrypi weewx[615] INFO weewx.engine: Main loop 
>> exiting. Shutting engine down.
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*: Caught 
>> unrecoverable exception:
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  unsupported 
>> operand type(s) for -: 'int' and 'NoneType'
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  Traceback 
>> (most recent call last):
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/weewxd", line 154, in main
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  engine.run()
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/weewx/engine.py", line 173, in run
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  
>> self.dispatchEvent(weewx.Event(weewx.STARTUP))
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  
>> callback(event)
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/weewx/engine.py", line 580, in startup
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  
>> self._catchup(self.engine.console.genStartupRecords)
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/weewx/engine.py", line 690, in _catchup
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  for record 
>> in generator(lastgood_ts):
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/user/ws6in1.py", line 1231, in genStartupRecords
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  packet = 
>> self.decode(level)
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  File 
>> "/usr/share/weewx/user/ws6in1.py", line 729, in decode
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  my_interval 
>> = my_time - self.last_ts
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  TypeError: 
>> unsupported operand type(s) for -: 'int' and 'NoneType'
>> Nov 7 18:00:32 raspberrypi weewx[615] CRITICAL *main*:  Exiting.  
>>
>> -- 
>> 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/6eb6599a-931b-423d-88a7-831688d6342bn%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/0a8de15c-3b3f-42ba-b534-6f766932bc8dn%40googlegroups.com.


Re: [weewx-user] Non supported weather station

2020-11-06 Thread Bob Atchley
To add to Gary's post on using an SDR solution I know that the Bresser 6 in 
1 is supported by the rtl_433 software, and I'm pretty sure that the 
Bresser 5 in 1 using the 868MHz frequency is compatible.
However the software for these may not yet be in the main branch - but is 
available.  See this post:
https://groups.google.com/g/rtl_433/c/M8POHmOuBb0

(The Froggit WH6000 is yet another clone of the Bresser 6 in 1 WiFi.)

An SDR is relatively cheap, and the only downside is that the pressure, 
inside humidity and inside temperature provided by the console will be 
missing.

Hope this helps

Bob

On Friday, 6 November 2020 at 15:52:33 UTC tke...@gmail.com wrote:

> Another approach is to use the interceptor driver 
> . It intercepts posts 
> to the WU and, instead, runs them through WeeWX.
>
> On Fri, Nov 6, 2020 at 7:14 AM wes...@gmail.com  wrote:
>
>> a simple google search shows that many people have decoded the 433MHZ 
>> signal from this weather station.  would be a simple matter to build a 
>> received with some code to decode the signal. once you do that adding the 
>> data to weewx is trivial.
>>
>> https://github.com/giulio93/Backeng_433mhz_Arduino
>>
>>
>>
>> -- 
>> 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/ba43b924-3b54-4d21-9ad0-c679df8d1a02n%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/c08103a0-b250-4f3f-9fbf-8365f9b6121an%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-11-04 Thread Bob Atchley
Hi Peter,

I recently reinstalled weewx and the WS6in1 driver on a RaspberryPi 4 
(previously on a rPi 2) and hit the same problem
I solved it by installing the crcmod library via the apt command:

$ sudo apt install python3-crcmod

Not sure why the pip3 command didn't provide the needed files, this wasn't 
needed originally.

I am in the process of updating the readme.txt to add this and focus on 
python3 installation.
As the driver seems stable I'm also going to up it to version 1.0 (but no 
code changes from 0.9 other than changing the version number)

Hope this helps

Bob

On Wednesday, 4 November 2020 at 11:07:38 UTC pete...@gmail.com wrote:

> Hi Bob, 
>
> Really appreciate your help building this driver.
>
> I have the Bresser 7002570 and have  just reinstalled my Pi but have run 
> into an issue.
>
> I followed the instruction using Python 3 and pip3, so "pip3 install 
> crcmod"
>
> After I enter "sudo wee_config --reconfigure" I complete the station 
> information then see the station options as follows:
>
> Installed drivers include:
> 0) ? (user.ws6in1) No module named 'crcmod'
>
>1. AcuRite (weewx.drivers.acurite)
>
> 
>
> After selecting 0 and entering the station information I receive the 
> following:
>
> Traceback (most recent call last):
>
> File "/usr/share/weewx/wee_config", line 123, in
> main()
> File "/usr/share/weewx/wee_config", line 117, in main
> config_mgr.run(args, options)
> File "/usr/share/weewx/weecfg/config.py", line 114, in run
> stn_info = self.get_stn_info(config_dict, options)
> File "/usr/share/weewx/weecfg/config.py", line 155, in get_stn_info
> stn_info.update(weecfg.prompt_for_driver_settings(driver, config_dict))
> File "/usr/share/weewx/weecfg/*init*.py", line 1685, in 
> prompt_for_driver_settings
> *import*(driver)
> File "/usr/share/weewx/user/ws6in1.py", line 369, in
> import crcmod
> ModuleNotFoundError: No module named 'crcmod'
>
> Any help gratefully received.
>
> Peter.
>
> On Thursday, 24 September 2020 at 07:45:31 UTC+1 Bob Atchley wrote:
>
>> Hi Stéphane
>>
>> The following are identical:
>> Youshiko YC9388
>> Bresser PC 6 in 1
>> Garni 935PC
>> Ventus W835
>>
>> I think the Bresser model is the Bresser 7002570 - it should specifically 
>> mention the PC data connection.  The WiFi version is not compatible as the 
>> USB connection provides power only (no data).
>>
>> Hope this helps
>>
>> Bob
>>
>>

-- 
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/88176a11-0830-4d60-9796-300bb0bb171cn%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-09-23 Thread Bob Atchley
Hi Stéphane

The following are identical:
Youshiko YC9388
Bresser PC 6 in 1
Garni 935PC
Ventus W835

I think the Bresser model is the Bresser 7002570 - it should specifically 
mention the PC data connection.  The WiFi version is not compatible as the 
USB connection provides power only (no data).

Hope this helps

Bob

-- 
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/06c36028-7a44-4fb0-8300-c0877a7e6265n%40googlegroups.com.


Re: [weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-06-18 Thread Bob Atchley
Hi Ondrej,

All good then, I just need to work out why the Python2 install didn't work 
(possibly because you had added the Python3 dependencies not the Python2 
ones ?  If so that would make sense)

The rest of weewx is much more reliable than my driver !!
I have been using mariaDB from day 1 and never had a single issue with it
(well it is consuming 14% of the memory of my 1GB raspberryPi 2 - that may 
be a concern ?)

Regards

Bob

-- 
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/1afe2bfc-7163-4236-9cad-27fdc7b5ae16o%40googlegroups.com.


Re: [weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-06-16 Thread Bob Atchley
Hi Ondrej,

Really pleased you have everything working.

The WS6in1 driver should be compatible with Python2 and 3 - though I 
strongly recommend 3.  I'm using Python3 and it could be I've inadvertently 
introduced a Python3 feature that I shouldn't have, I'll check.

I don't understand why you had to change the driver name to lower case 
ws6in1, I've not seen that fault before and I'd like to get this right for 
future users.

In my weewx.conf file under [Station] I have:
station_type = WS6in1

And then in the driver section I have:
[WS6in1]
# This section is for the 6in1 series of weather stations.
# no data needed !

# The driver to use:
driver = user.ws6in1

Ignoring the comments (#) Have you got the same in your weewx.conf file 
including the case.  If its different do you know why ?  Did you use the 
install script ?

Regards

Bob

-- 
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/a007e103-a3d2-463a-a06a-76f4e08f60dfo%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-15 Thread Bob Atchley
I have released 0.7 of the WS6in1 driver

The main change is to cope with bad data when reading the data buffer when 
weewx starts.  This is fairly rare but has been an issue for Remy.  Release 
0.6 tried to replace bad data with nulls, but unfortunately missing data 
meant data was being associated with the wrong parameters.  Instead 0.7 
discards the complete data entry for that time if any bad data is detected.

Discovery of pyflakes and pylint has hopefully further tidied the code, 
sorted a few issues, and hopefully not broken anything.

Also I have written a standalone python3 program csv_ws6in1 which dumps the 
content of the weather station buffer into a csv file for spreadsheet 
analysis.  See the readme.txt

Have fun

Bob

-- 
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/89d884b7-87ab-434c-bcb1-ef405bcaf24co%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-06-15 Thread Bob Atchley
Hi Ondrej

I don't understand the behaviour you are seeing and I need a bit more 
information.

Are you trying to run with the weewx Simulator and the WS6in1 at the same 
time ?  You should only be using WS6in1.

The results you are seeing cannot be conversion errors they are something 
completely different.

Could you set the debug to '1' (in the weewx.conf file), restart weewx and 
then post the relevant output from the /var/log/syslog 

If you are familiar with databases it might be worth looking at the entries 
in the database to see whats actually been stored (i.e is it what you are 
expecting from the console or the same as the erroneous data being 
displayed)

Good luck

Bob

-- 
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/1d18b31b-8813-4397-9046-df27bc109801o%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-08 Thread Bob Atchley
I had to hunt around for that ... There is a field in the driver that I had 
correctly updated, but I had forgotten the the installer has a field which 
was still set at 0.2.
I'll remember to correct it for the next releases, but its cosmetic only

Bob

-- 
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/cfa76480-d756-48d2-8dc5-afa038414cc9o%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-08 Thread Bob Atchley
Whoops ... now WS6in1 prevents weewx from cleanly closing down
I have removed the unnecessary catchall exception handling

I have released WS6in1 driver version 0.6.

Bob

-- 
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/57631f79-b542-48a2-b152-d5ca9a5a5939o%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-07 Thread Bob Atchley
I have updated weewx to version 4.1.1 (from 4.0.0) and it all went very 
well without any problems.

However offline Remy shared a log file that showed that my assumption that 
if the checksum from our weather station is good the data in the message is 
good is not absolutely 100% guaranteed (though I personally have yet to see 
any errors).
Because of my assumption, the bad data wasn't handled very well, causing 
weewx to exit.  I have updated the error handling so that hopefully the bad 
data will be suppressed and weewx will carry on running.
I haven't seen this problem so testing is a bit limited ...

However I have released WS6in1 driver version 0.5.  The only change is, 
hopefully, improved error handling

Bob

-- 
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/ef5136b2-da48-47ad-ba8f-0ab8785022f7o%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-03 Thread Bob Atchley
Hi Jarda,

different problems I think - Remy's problem was usb cable related and the 
WS6in1 driver is working again ...

your problem is not related to the WS6in1 driver if the data is getting to 
the database but something that has been introduced by the new weewx 
version.
if you follow Tom Keffers post on "Version 4.1.1" he has posted a solution 
to a particular problem that may or may not be related

Let me know how you get on.  I will try the upgrade this coming weekend and 
see if I can repeat any of the issues

Bob

-- 
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/b5b1eedd-df49-422a-b290-aa7aab9aa451%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-06-03 Thread Bob Atchley
Hi Remy,

Sorry I'm still on 4.0.0, I should have time this weekend to update to the 
latest weewx  and investigate what's going on.
Are there any clues in the log files ? 

Bob

-- 
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/8651203a-eba1-4273-9626-3e5c7c8adbce%40googlegroups.com.


Re: [weewx-user] YEAR Tab shows graph with much lower actual temperatures than were recorded. Same with Heat Index.......

2020-05-20 Thread Bob Atchley
Hi Tom,

As a relatively new user of weewx I have to say I'm completely with Joe on 
this, and was on the point of making a similar comment.  I'm not saying the 
graphs are wrong if you know what they are telling you, but they are very 
wrong if you make reasonable (but incorrect) assumptions about what they 
are saying.
In particular my new weather station provides UV data, also new for me so 
of particular interest.  If I look at a day graph the range goes from 0 to 
8 - looks good.  For a week same range but peaks are more like 7.5, for a 
month the range is 0 to 7 with peaks about 6.5.  If I look at a year (I 
only have 5 months of data) the range goes from 0 to 4 - there is one peak 
at 4, otherwise the range would have been 0 to 2.  So what I'm saying is 
that for UV at least if I only looked at the year chart I would get a 
totally misleading picture of UV amounts.

When I look at the other graphs in detail I see similar patterns, just not 
as extreme.  Explained now I know the plots are aggregates, just not what I 
wanted/was expecting.

The fantastic thing about weewx is I can replace the skin and/or 
reconfigure it (which I will do - just that otherwise I really liked the 
season skin) but I would argue that the default skin/configuration should 
be clearer in what its showing or could be better configured (though please 
don't ask me how this is achieved or what the best configuration is)

Perhaps something to consider for a future release

Bob

-- 
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/50f1e586-2fac-41be-8d42-fc7f00acc796%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-17 Thread Bob Atchley
I have released 0.4 of WS6in1 driver that clears up the defect spotted by 
Remy, and a number of changes I had to make following that (a cascade of 
issues).
Details are in the readme.txt and changelog with more notes added

Bob

-- 
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/b894c30c-8af0-478d-8858-79e46e0f9ccc%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-16 Thread Bob Atchley
Hi Remy,

As stated I don't have an extra sensor (I must get one just to do some 
testing).  Looking at the database these fields exist:
extraTemp1 | extraTemp2 | extraTemp3 extraHumid1 | extraHumid2 

but also fields like
soilTemp1 | soilTemp2 | soilTemp3 | soilTemp4 | leafTemp1 | leafTemp2
soilMoist1 | soilMoist2 | soilMoist3 | soilMoist4 | leafWet1 | leafWet2

In my database these are obviously all null values in yours 3 of the 
temperature and 3 of the humidity fields should have values

Hope this helps

Bob


On Saturday, 16 May 2020 18:46:58 UTC+1, Remy Lavabre wrote:
>
> dear Bob,
>
> Thank you for your reply.
> However, would you be able to tell me the names of the variables used for 
> the temperatures and humidity levels of the outdoor sensors?
> Thanking you and congratulating you again for your work!
>
> PS: If you have your utility to recover data in CSV format on the weather 
> station, I am interested! :-)
>

-- 
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/4e4d79d5-8e5e-4eb6-be99-398ed5ec70a6%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-16 Thread Bob Atchley
Hi Jarda,

I'm not sure whats happening here.  time: 1589649000 is 2020/05/16 17:10:00.
That looks like the current time ?  What the weewx engine does is look in 
the database for the time of the latest record and then 
calls genStartupRecords in the driver to retrieve any missing records from 
that time.
The "genStartupRecords: yielding" says its found one.  I don't know why the 
weewx engine would reject that (possibly as its the same time)

Are you writing to the same database that you used for your normal console 
?  That might explain it.

Hope this helps

Bob


On Saturday, 16 May 2020 16:36:15 UTC+1, Jarda Uher wrote:
>
> Hi Bob.
> I tested retrieving data from a disconnected console, but the data does 
> not appear on the graphs.
>  (see message:
> *May 16 17:18:02 jardaCQ58 weewx[8033] DEBUG user.ws6in1: got time: 
> 1589649000*
> *May 16 17:18:02 jardaCQ58 weewx[8033] DEBUG user.ws6in1: 
> genStartupRecords: yielding*
> *May 16 17:18:02 jardaCQ58 weewx[8033] WARNING weewx.engine: ignore 
> historical record: {'usUnits': 16, 'dateTime': 1589649000.0, 'inTemp': 
> 23.6, 'inHumidity': 35, 'outTemp': 18.8, 'outHumidity': 37, 'dayRain': 0.0, 
> 'hourRain': 0.0, 'rain': 0.0, 'windSpeed': 0.0, 'windGust': 0.0, 'windDir': 
> 143, 'pressure': 1002, 'barometer': 1003, 'UV': 0, 'dewpoint': 3.7, 
> 'extraHumid1': 60, 'extraHumid2': None, 'extraHumid3': None, 'extraHumid4': 
> None, 'extraHumid5': None, 'extraHumid6': None, 'extraHumid7': None, 
> 'extraTemp1': 15.7, 'extraTemp2': None, 'extraTemp3': None, 'extraTemp4': 
> None, 'extraTemp5': None, 'extraTemp6': None, 'extraTemp7': None, 
> 'interval': 300.0}*
> *May 16 17:18:02 jardaCQ58 weewx[8033] DEBUG user.ws6in1: gettint time)*
>  Weewx but otherwise works normally and sends the current data in order.
> Thanks
> Jarda
>
>
>
>>
>>

-- 
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/489f77ff-3428-4a40-b6b6-daca39ecaf58%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-16 Thread Bob Atchley
Hi Remy,

I am intending to write a utility to pull the data off the console into csv 
format.  In fact I had a test utility that did just this while working out 
the usb protocol, so it should not be difficult.

I don't have any extra sensors so its difficult for me to answer your other 
2 questions.  I'm new to weewx as well, I know the the drivers and part of 
the engine quite well, but the skins and graphing remain a mystery at the 
moment.  Others have tested the ws6in1 driver with extra sensors, so I know 
the driver is doing the right thing and the temperature and humidity values 
from the extra sensors are being properly added to the database.  Hopefully 
someone else can help you with this.

Really pleased that the ws6in1 driver is working for you

cheers

Bob

On Saturday, 16 May 2020 13:54:10 UTC+1, Remy Lavabre wrote:
>
> Hello Bob,
>
> Indeed you have done a very good job !!!
> I have a Bresser 6-1 station and everything works perfectly with my 
> Raspberry Pi Zero W !!!
> That's great ! I can only thank you!
>
> Without wanting to abuse, I would however have three small things to ask 
> you:
>
> A/ My weather station is equipped with 3 additional sensors (thermometers 
> and hygrometers).
> The three temperature information (with history) appears on the html page 
> xxx.xxx.xxx.xxx/weewx/
> in the form of three curves in a single table 
> (Temperature1Temperature2Tempreature3)
> The humidity 1,2 and 3 of the three additional probes does not appear 
> anywhere, however...
> Is this information retrieved by your pilot and if so, how to display it 
> as for the temperature?
>
> B/ I use the SteelSeries-Weather-Gauges which correspond exactly to what I 
> want (https://github.com/mcrossley/SteelSeries-Weather-Gauges).
> Everything is displayed correctly and perfectly except ... the 
> temperatures 1,2,3 and the humidity 1,2 and 3 of my three additional probes!
> Could you tell me what to add (and where) to bring up an additional 
> temperature gauge (with 3 pushbuttons 1,2 and 3) as well as an additional
> humidity gauge (with if possible again 3 push buttons) to display this 
> additional data on the html page?
>
> C/ My Bresser weather station records the data every 30 minutes. Is it 
> possible with Weewx and
> your driver to recover this data in a file in "CSV" format as does Windows 
> software which
> connects via the USB port? And if yes, how ?
>
> Here bob, know that you have done a lot for me with your pilot and that 
> the solution to the
> three questions that remain would fulfill all my hopes !
>
> And thank you again for this great pilot 
> Signed a great admirer of your work!  ;-)
>

-- 
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/4a7fd425-0708-4004-9567-2008e1a88657%40googlegroups.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-16 Thread Bob Atchley
Hi Jarda,

I've been able to repeat the error - apologies I missed a test case.  If 
the console buffer is empty (because its just been manually reset) then it 
still provides 1 set of data but fills it with zeroes but ws6in1 was still 
trying to process it in the normal way.
The workaround until I have put in a fix is that if you reset the buffer on 
the console do not start weewx until one data logging period has passed 
(i.e. so that the console has some data to retrieve).

I'll add a note to the readme.txt for the moment, 0.4 will probably follow 
tomorrow

Bob


On Saturday, 16 May 2020 15:45:43 UTC+1, Jarda Uher wrote:
>
> Hi Bob
> Great job, your driver 0.3 works with Garni 935PC and Weewx 4.0.0. Python 
> 3.8.2. and Ubuntu 20.04 LTS. 
> The console scan must be really set to 5 minutes, otherwise the program 
> will stop. 
> (here is the message:
> *May 16 16:02:48 jardaCQ58 weewx[5664] ERROR user.ws6in1: ValueError 
> error: invalid literal for int() with base 10: '---'*
> *May 16 16:02:48 jardaCQ58 weewx[5664] ERROR user.ws6in1: other unknown 
> error*
> *May 16 16:02:48 jardaCQ58 weewx[5664] INFO weewx.engine: Main loop 
> exiting. Shutting engine down*.)
>
> I have setting konzole 30 min. and after setting the console for 5 min. 
> and restart weewx is running.
> thank you once again. super job.
> cheers
> Jarda
>
> Dne sobota 16. května 2020 13:40:32 UTC+2 Bob Atchley napsal(a):
>>
>> I have released version 0.3 of the WS6in1 
>> <https://github.com/BobAtchley/weewx-ws6in1> driver for the weather 
>> stations:
>> Youshiko YC9388
>> Bresser PC 6 in 1
>> Garni 935PC
>> Ventus W835
>> (+ others ?)
>>
>> This release adds restoring missed records on weewx startup.
>>
>> Confession: I have only tested this with weewx 4.0.0 running python 3, 
>> but it should work with older versions and python 2 (but I recommend the 
>> upgrade as this will provide long term support).
>>
>> Please note: to enable restoration of data from the console, within the 
>> weewx.conf file in the section "[StdArchive]" set
>>
>> record_generation = hardware
>>
>>
>> Otherwise no other configuration changes are needed.  See the readme.txt 
>> and changelog for details.
>>
>> Cheers
>>
>> Bob
>>
>

-- 
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/4f260c05-9920-4002-938b-3390832edea7%40googlegroups.com.


[weewx-user] WS6in1 driver 0.3

2020-05-16 Thread Bob Atchley
I have released version 0.3 of the WS6in1 
 driver for the weather 
stations:
Youshiko YC9388
Bresser PC 6 in 1
Garni 935PC
Ventus W835
(+ others ?)

This release adds restoring missed records on weewx startup.

Confession: I have only tested this with weewx 4.0.0 running python 3, but 
it should work with older versions and python 2 (but I recommend the 
upgrade as this will provide long term support).

Please note: to enable restoration of data from the console, within the 
weewx.conf file in the section "[StdArchive]" set

record_generation = hardware


Otherwise no other configuration changes are needed.  See the readme.txt 
and changelog for details.

Cheers

Bob

-- 
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/75e555df-bae4-4d86-9726-8064d0ec5f7b%40googlegroups.com.


[weewx-user] Re: Weewx-archive for EVERY weather station that works with WU

2020-05-08 Thread Bob Atchley
Hi Christian,
>
>
I had never heard of the "EuroChron EIWS 1", but it turns out it is almost 
identical to the Youshiko YC9388 which I have (and the Bresser 6 in 1, 
Garni 935PC, Ventus W835 and probably others).  The big difference is that 
mine has a console with USB connection to a PC (well Raspberry Pi 2 in my 
case), I had to write a driver for weewx (ws6in1) but this is now available 
and working.
I don't know, but you may be able to purchase this console to compliment 
your weather station.  The big advantage over the WU method is that in case 
of server/WU failure the console can store months worth of data and is 
battery powered ... and I like having an always on console.

Like you I have found this weather station to be significantly more 
accurate than my previous weather station (ws2300 in my case) and so far 
I'm very pleased with it.

Bob

-- 
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/b8383ba3-319f-4488-a6c4-0d5124badb41%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-05-08 Thread Bob Atchley
Hi Jarda, Pavel,

I'm extremely happy that the updated driver is working ... I might even buy 
myself an extra sensor at some point !

I do know how to download the data history stored on the console, but I 
haven't explored how to use this.  I think weewx can use this to fill in 
missing data in case of a server outage etc.  So probably a 0.3 version of 
the driver in the near future.  I might explore a standalone tool just to 
download the data into a csv file (suitable for import into weewx) as well.

I'll post a WS6in1 update message when I add any features

Many thanks for helping with the testing

Bob

-- 
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/2df19107-00a4-4410-a000-dd4bf3a77178%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-05-06 Thread Bob Atchley
Hi Jarda,

Pavel seems to think it might be working, so I'll wait until he finishes 
testing before I look further but a few questions for you:

If you look in the /var/log/syslog file on your raspberry pi are the extra 
sensor data set to None or do they have values ?
Do you see the extra sensor data on the console (i.e. are they working) ?
Are you are using version 0.2 of the WS6in1 driver (version 0.1 did not 
support the extra sensors) ?

thanks

Bob

-- 
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/5ebbc043-776a-4a44-9f78-327658ad12d9%40googlegroups.com.


[weewx-user] Re: Bresser 6in1

2020-05-05 Thread Bob Atchley
Hi Remy and Sebastien

I have a Youshiko YC9388 Weather station that I believe is identical to the 
Bresser 6 in 1 with usb connection to a PC.

I found it was incompatible with the existing weewx weather station 
drivers.  However I have been able to reverse engineer the usb protocol and 
have written a driver that should work.

I have uploaded the new driver for the 6 in 1 weather stations with PC 
connected consoles:

Youshiko YC9388

Bresser PC 6 in 1

Garni 935PC

Ventus W835

If you go to the weewx wiki  and 
search for the ws6in1 driver and follow the link hopefully the readme.txt 
will give you enough information to get going.

Good luck

Bob

-- 
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/42a55d3d-6e19-485b-902a-124b2b11f83f%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-05-03 Thread Bob Atchley

Hi Jarda,

Very glad the WS6in1 driver is working for you.
I don't have the extra sensors so have been unable to test them.  Can you 
confirm that the correct values are being written to the database for 
humidity and temperature for your 2 extra sensors.

I don't use the Neowx skin (I'm just using the default skin as its just 
about perfect for me).  Neowx has a very pretty website but I couldn't see 
anything on how to extend it for the extra sensors.  At a guess I would say 
you need to add the fields to the skin.conf file.  Assuming the extra 
sensor information is getting to the database correctly, if I were you I 
would write a new message to this group with 'Neowx' in the subject line.  
Its a great community and I'm sure someone will be able to help

Good luck

Bob

-- 
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/667d1f08-6b39-4601-b0fa-86a0770d8b74%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-04-27 Thread Bob Atchley

Hi Pavel,

The 0.2 release of the WS6in1 driver is now available.
As stated I don't have an additional sensor to test the decode of the extra 
sensors, so please let me know how you get on

Good luck

Bob

-- 
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/23b90557-01fc-4858-9fa4-daffb3456870%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-04-26 Thread Bob Atchley
Hi Pavel,

Quite good timing, I have a new version of the WS6in1 driver working on my 
system.  I want to let it run for 24 hours or so on my system to make sure 
it is stable before I release it

I will write a changelog but basically the changes are:

1) setTime implemented.  This is run from the driver on startup and once 
every 24 hours

2) Implemented decoding for the 7 extra sensors.  I do not have an extra 
sensor so my testing has been limited

Bob

-- 
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/c6662916-bcf2-4f03-87de-68fba806d1e4%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-04-13 Thread Bob Atchley
Hi Pavel,

I have written a setTime function (not yet tested).  I then looked in the 
weewx engine to see how this is invoked ... and we have a problem.  The 
engine calls the getTime function first, so that also needs writing.  I 
know how to write this but unfortunately the ws6in1 protocol only provides 
the time to the minute so will always be between 0 and 59 seconds out from 
the correct time.  So it seems a bit pointless to write it.  Instead I 'm 
thinking of automatically setting the time once every 24 hours (i.e. 
ignoring the engine).  Just not yet quite comfortable with that.  So more 
thinking time 

The setTime also poses 2 problems:
1) I have no idea how it deals with time zones.  This is not a problem for 
me I have my rpi2 set at permanent UTC time (no summer time correction) - 
but maybe for others (so please let me know if this causes a problem)
2) The evidence I have shows that when setting the date and time the crc 
checksum bytes are sent the wrong way around.  It could be because of a 
defect in the console, or a defect in the official software and the console 
doesn't actually check the crc checksum.  Initially I'm sending the bytes 
in the correct order - once I test the updated driver I will know  the 
answer

So work in progress, but I'm confident I can provide both setting the 
console time and the 7 extra sensor data that you are after

Bob 

-- 
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/5ead1a62-d860-480e-8ca3-6b1c5ea8e11d%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-04-12 Thread Bob Atchley
Hi Pavel,

I'm glad the WS6in1 driver is  working for you.  

I know how to add the extra sensor outputs  - but I don't have any extra 
sensors so can't test it.  I will make the changes and let you know when 
its complete, but I will have to rely on you testing that the correct 
values are returned.
I do not have any information on how to set the time on the console, 
although I know this is supported by the provided official software.  Could 
you provide details of just this if possible. 

thanks

Bob

-- 
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/a043eda7-972d-4f35-93c3-6901659d2f32%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-31 Thread Bob Atchley
Hi Vladimir,

Really please its working.  And yes it should be as simple as updating the 
weewx.conf file, the ws6in1 driver simply provides the interface between 
weewx and the weather station, it should not interfere with sending data to 
Wundercloud etc, though I have not tried this yet

Bob

-- 
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/7af23e53-7f1e-4669-87c9-756cdebd2b5e%40googlegroups.com.


[weewx-user] Re: wee_import csv problem "csv.Error: line contains NULL byte"

2020-03-28 Thread Bob Atchley
Hi Janne,

I've carried out a similar import from my Youshiko weather station  and 
came across exactly the same issue.  I'm an Emacs user and looking at the 
csv  file exported from the Youshiko software in hexl-mode it would appear 
that the csv file is exported in UTF-16 format rather than ASCII.  I can 
think of no conceivable reason for doing this and assume it is a bug (of 
course LibreOffice and even emacs render this perfectly, so quite difficult 
to detect).  If you open the file in a simpler editor such as nano it is 
much clearer that something is very wrong.  

So a conversion from UTF-16 to ASCII is needed before attempting to use the 
weewx import utility. 

I found 2 ways of doing this
1) open a new file in nano.  Open the the csv file in Emacs (or probably 
any editor that renders it correctly) and copy the contents of the file and 
paste it into the nano editor and save
2) From the command line:
$ iconv -f UTF-16 -t ASCII//TRANSLIT input.csv -o output.csv

I used method 1) (I expect you did  something similar as well even if 
accidentally).  Method 2 is not perfect, and probably needs more work.

But to be clear a CSV file would normally be expected to be ASCII, so this 
is not a weewx import issue.

Hope this helps if you need to do another import in the future

Regards

Bob

-- 
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/6c5e21fc-21e8-483d-8646-64ec2f605080%40googlegroups.com.


[weewx-user] Re: wee_import csv problem "csv.Error: line contains NULL byte"

2020-03-23 Thread Bob Atchley
Hi Janne,

I think it is possible.  The driver  includes a function 
"genArchiveRecords" which I have not yet implemented for the ws6in1 driver 
(yet ... getting it working was the important thing first), but I think the 
purpose would be to do precisely what you want.  I'm not sure how it is 
invoked or what it does with the archive records, but I think I have the 
required information to implement the function.
Be warned though that the manual for my Youshiko YC9388 (so the same for 
your Ventus) says that the history can only be reset at the console, and 
once the buffer is full it will not keep any more history, so once you have 
successfully imported the data you need to clear the history at the console 
(step 7 in your sequence should be to reset the buffer ... maybe after you 
have taken a backup of the database)

Regards

Bob

-- 
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/9fef2f9d-7a6a-44f6-a274-60d84949af69%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-22 Thread Bob Atchley
Hi Vladimir,

We can do this ...

I don't have any experience with a rpi zero, but I'm assuming you access it 
via ssh like my rpi2.

I use mysql for the database, but if you are using the default sqlite 
database it should be here
/home/weewx/archive/weewx.sdb
or here
/var/lib/weewx/weewx.sdb

depending on how you installed weewx.  If things are working it should have 
a timestamp less than 5 minutes old and not empty !!

The 2 log files of particular interest are messages and syslog

$ grep weewx /var/log/messages

$ grep weewx /var/log/syslog

use sudo if you get permission  problems.  If you stop and then start weewx 
and post the results of the above commands from the time of restarting weewx
For reference my syslog gives:

*Mar 22 19:20:57 rpi2 systemd[1]: Started weewx weather station data 
gatherer.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Initializing weewx 
version 4.0.0b13*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Using Python 2.7.16 
(default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Platform 
Linux-4.19.97-v7+-armv7l-with-debian-10.3*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Locale is 'en_US.UTF-8'*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Using configuration file 
/home/weewx/weewx.conf*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Loading station type 
WS6in1 (user.ws6in1)*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: StdConvert target 
unit is 0x1*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.wxservices: The following 
values will be calculated: pressure=prefer_hardware, 
altimeter=prefer_hardware, appTemp=prefer_hardware, 
barometer=prefer_hardware, beaufort=prefer_hardware, 
cloudbase=prefer_hardware, dewpoint=prefer_hardware, ET=prefer_hardware, 
heatindex=prefer_hardware, humidex=prefer_hardware, 
inDewpoint=prefer_hardware, maxSolarRad=prefer_hardware, 
rainRate=prefer_hardware, windchill=prefer_hardware, 
windrun=prefer_hardware*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.wxservices: The following 
algorithms will be used for calculations: altimeter=aaASOS, maxSolarRad=RS*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Archive will use data 
binding wx_binding*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Record generation 
will be attempted in 'software'*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Using archive 
interval of 300 seconds (software record generation)*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: StationRegistry: 
Registration not requested.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: Wunderground: Posting 
not enabled.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: PWSweather: Posting 
not enabled.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: CWOP: Posting not 
enabled.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: WOW: Posting not 
enabled.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.restx: AWEKAS: Posting not 
enabled.*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Starting up weewx version 
4.0.0b13*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx'*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.manager: Starting backfill of 
daily summaries*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO weewx.engine: Starting main packet 
loop.*
*Mar 22 19:20:58 rpi2 kernel: [1374477.298713] usb 1-1.4.1: reset 
full-speed USB device number 6 using dwc_otg*
*Mar 22 19:22:13 rpi2 weewxd[10561]: starting read loop ...*
*Mar 22 19:22:13 rpi2 weewxd[10561]: success getting dev*
*Mar 22 19:22:13 rpi2 weewxd[10561]: dev.bLength= 18*
*Mar 22 19:22:13 rpi2 weewxd[10561]: dev.bNumConfigurations = 1*
*Mar 22 19:22:13 rpi2 weewxd[10561]: dev.bDeviceClass   = 0*
*Mar 22 19:22:13 rpi2 weewxd[10561]: success getting configuration*
*Mar 22 19:22:13 rpi2 weewxd[10561]: myCfg.bConfigurationValue = 1*
*Mar 22 19:22:13 rpi2 weewxd[10561]: myCfg.bNumInterfaces  = 1*
*Mar 22 19:22:13 rpi2 weewxd[10561]: Exception setting idle*
*Mar 22 19:22:13 rpi2 weewxd[10561]: HID Descriptor got*
*Mar 22 19:22:13 rpi2 weewxd[10561]: yielding*
*Mar 22 19:22:13 rpi2 weewxd[10561]: LOOP:   2020-03-22 19:21:04 UTC 
(1584904864) altimeter: 30.3430608143, appTemp: 39.0065061611, barometer: 
30.3272971625, beaufort: 0, cloudbase: 2569.20041857, dateTime: 1584904864, 
dayRain: 0.0, dewpoint: 32.18, heatindex: 42.62, hourRain: 0.0, humidex: 
42.62, inDewpoint: 50.8556671112, inHumidity: 46, inTemp: 72.86, 
maxSolarRad: None, outHumidity: 67, outTemp: 42.62, pressure: 30.061527275, 
rain: 0.0, rainRate: 0, usUnits: 1, UV: 0, windchill: 42.62, windDir: 38, 
windGust: 0.186411820995, windSpeed: 0.186411820995*

And my messages gives:

*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Initializing weewx 
version 4.0.0b13*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __main__: Using Python 2.7.16 
(default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]*
*Mar 22 19:20:58 rpi2 weewx[10561] INFO __mai

[weewx-user] Re: Youshiko YC9388 Weather station

2020-03-22 Thread Bob Atchley
Hi Janne,

So pleased its working!!  Thanks for the remarks, I've added a note in the 
readme.txt about installing python-pip/python3-pip.  The driver really is 
weewx-ws6in1.zip you must have renamed it somehow when you downloaded it (?)

The history is an interesting question.  I bought my station and physically 
installed it in early January so I have over 2 months of data available 
(though recorded at 30 minute intervals) before I got the weewx driver 
working.
I can produce a function that downloads the history, but I'm not sure about 
the mechanism to get this into the weewx database and processed (and in 
fact I have 16 years worth of ws2300 data in a non-weewx database that it 
would be nice to import to have it all in one place)

Regards

Bob

-- 
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/82507c2a-ae8d-4684-b389-2b5be0f2c019%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-21 Thread Bob Atchley

Hi Vladimir

Ok some progress.  Before looking at uploading to weathercloud (for which 
I''m afraid I have no knowledge to help you, but others hopefully can) we 
need to establish whether the ws6in1 driver is doing its job.
When you start weewx can you take a look at the syslog file /var/log/syslog 
and report any errors.  If all is well you should see weewxd LOOP entries 
with the weather data.  You could also check whether the data is being 
written to the database

Regards

Bob

-- 
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/e4745a29-bfa1-47ce-9040-8f861c6889d4%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-20 Thread Bob Atchley
Hi Vladimir

OK I'm not sure what is wrong.  I initially tested this on a raspberry pi 
and have just repeated my install instructions on a laptop (xubuntu 18.04) 
with a weewx 3.9.2 installation.
For step 4 the "Installed drivers include:" has WS6in1 as the 0th item 
(i.e. first in the list).

What version of weewx are you using ?  Are you installing on Raspberry Pi 
or something else

I did have to use sudo with steps 3 and 4 to avoid permission problems

Regards

Bob

-- 
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/6e11058b-47df-4dd7-b567-f83f8ccac872%40googlegroups.com.


Re: [weewx-user] Whew as a service on Raspberry Pi

2020-03-16 Thread Bob Atchley
I can't help with your crash reason, but interestingly I missed the 
documentation on weewx systemd and independently set up my weewx systemd 
service.  Its very similar but works (at least for me on a raspberry pi 
2).  There is one difference (that may or may not be important) which is 
that I created the weewx service file here:
/lib/systemd/system/weewx.service
so /lib rather than /etc

The content is similar, but I'll copy here in case its important:

[Unit]
Description=weewx weather station data gatherer
After=multi-user.target

[Service]
Type=simple
User=weewx
Group=weewx
WorkingDirectory=/home/weewx/
ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf
Restart=always
RestartSec=60

[Install]
WantedBy=multi-user.target

Hope this helps
Regards
Bob

-- 
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/bb85f835-5a95-4ef1-9a7e-9b5f6b8404ed%40googlegroups.com.


[weewx-user] Re: Youshiko YC9388 Weather station

2020-03-15 Thread Bob Atchley
Hi Janne,

I have uploaded the new driver for the 6 in 1 weather stations with PC 
connected consoles:

Youshiko YC9388

Bresser PC 6 in 1

Garni 935PC

Ventus W835

If you go to the weewx wiki  and 
search for the ws6in1 driver and follow the link hopefully the readme.txt 
will give you enough information to get going.
I have over a weeks data and had no issues so far.
I'm afraid this very much a beta release.  Please feedback any issues.
I should probably add that all my testing has been with weewx 4.0.0b13, but 
I have no reason to think it won't work with weewx version 3.9.2

Regards Bob

-- 
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/dd8b8772-f3fd-4dd9-b8f8-d8e673626309%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-15 Thread Bob Atchley
Hi Vladimir,

I have uploaded the new driver for the 6 in 1 weather stations with PC 
connected consoles:

Youshiko YC9388

Bresser PC 6 in 1

Garni 935PC

Ventus W835

If you go to the weewx wiki  and 
search for the ws6in1 driver and follow the link hopefully the readme.txt 
will give you enough information to get going.
I have over a weeks data and had no issues so far.
I'm afraid this very much a beta release.  Please feedback any issues.
I should probably add that all my testing has been with weewx 4.0.0b13, but 
I have no reason to think it won't work with weewx version 3.9.2

Regards Bob

-- 
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/0eeefabb-9333-41f0-a430-83ee1eefea4c%40googlegroups.com.


[weewx-user] Adding manual observations

2020-03-09 Thread Bob Atchley
I wrote my own software for my aged ws2300 (c++ for the ws2300 interface, 
php for web) and as I prepare to go down the weewx route for my new weather 
station one of the things I'm going to miss is the ability to add simple 
manual observations:

[image: Screenshot_2020-03-09_19-16-34.png] 









So generally simple tick boxes to record the things that weather stations 
(at least that I can afford) are not good at recording with a field to note 
down anything of particular interest.

I've checked the skins, but I can't see anything like this (to my 
surprise).  I'm hoping I've missed something - has anyone here seen 
anything like this for weewx ?

Thanks

Bob

-- 
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/c74578d9-c30a-4642-b93a-5c1e46c1a35a%40googlegroups.com.


[weewx-user] Re: WeeWX and Bresser 6 in 1?

2020-03-01 Thread Bob Atchley
Hi Andrea,

The answer is not yet.  I have the Youshiko YC9388 which is identical.
Progress so far is that I have worked out enough of the usb interface 
protocol to get a test program working reliably and I'm currently writing a 
new driver for weewx.
The main difficulty is getting to grips with how weewx works, but I'm 
getting there, I should have a beta version of the driver fairly soon

Bob

-- 
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/8e07df5b-2536-475d-8d91-c971fd34607c%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-02-23 Thread Bob Atchley
Hi Vladimir,

Looking at the Garni 935PC image it looks to be identical to the Youshiko 
YC9388 which I have (and also the Bresser 6 in 1 and probably others as 
well)
If that is the case then sadly it is not compatible ... yet.
I have managed to reverse engineer the USB connection and have a test 
programme working (on a raspberry Pi 2), but not yet had time to 
incorporate this into Weewx

Regards 
Bob

-- 
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/39891cdb-15d1-46cc-afa0-d4130d48650c%40googlegroups.com.


[weewx-user] Re: Youshiko YC9388 Weather station

2020-02-09 Thread Bob Atchley
The good news is I have reverse engineered the USB interface to this 
weather station, and while there are still nuances and additional commands 
to be understood I have a test program running reliably.

As there has been no interest here I'll probably write my own solution for 
this rather than go down the weewx route, but once polished I'll make my 
solution available (but I could still be persuaded to go down the weewx 
route).

The only other weather station interface that I am familiar with is the 
ws2300 - compared to that this weather station interface is orders of 
magnitude simpler and more reliable

Not expecting any responses, but if there is any interest let me know

Bob

On Friday, 3 January 2020 18:20:49 UTC, Bob Atchley wrote:
>
> Hi,
>
> Has anyone had any luck interfacing weewx (on a rpi) to this weather 
> station (which is identical to the Bresser 6 in 1) and if so could you give 
> me any pointers ?
> https://youshiko.co.uk/collections/digital-weather-stations/products/yc9388
>
> My basic assumption is that this is a Fine Offset clone.
>
> The fundamental problem I'm having is with the USB interface
>
> $ lsusb  -v -d 1941:8021
>
> *Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB 
> Missile Launcher*
> *Device Descriptor:*
> *  bLength18*
> *  bDescriptorType 1*
> *  bcdUSB   2.00*
> *  bDeviceClass0 *
> *  bDeviceSubClass 0 *
> *  bDeviceProtocol 0 *
> *  bMaxPacketSize064*
> *  idVendor   0x1941 Dream Link*
> *  idProduct  0x8021 WH1080 Weather Station / USB Missile Launcher*
> *  bcdDevice0.00*
> *  iManufacturer   1 Silicon Laboratories Inc.*
> *  iProduct2 CCLEL C8488*
> *  iSerial 3 CCLEL c8488*
> *  bNumConfigurations  1*
> *  Configuration Descriptor:*
> *bLength 9*
> *bDescriptorType 2*
> *wTotalLength   0x0022*
> *bNumInterfaces  1*
> *bConfigurationValue 1*
> *iConfiguration  0 *
> *bmAttributes 0xc0*
> *  Self Powered*
> *MaxPower  100mA*
> *Interface Descriptor:*
> *  bLength 9*
> *  bDescriptorType 4*
> *  bInterfaceNumber0*
> *  bAlternateSetting   0*
> *  bNumEndpoints   1*
> *  bInterfaceClass 3 Human Interface Device*
> *  bInterfaceSubClass  0 *
> *  bInterfaceProtocol  1 Keyboard*
> *  iInterface  0 *
> *HID Device Descriptor:*
> *  bLength 9*
> *  bDescriptorType33*
> *  bcdHID   1.11*
> *  bCountryCode0 Not supported*
> *  bNumDescriptors 1*
> *  bDescriptorType34 Report*
> *  wDescriptorLength  36*
> *  Report Descriptor: (length is 36)*
> *Item(Global): Usage Page, data= [ 0x00 0xff ] 65280*
> *(null)*
> *Item(Local ): Usage, data= [ 0x01 ] 1*
> *(null)*
> *Item(Main  ): Collection, data= [ 0x01 ] 1*
> *Application*
> *Item(Local ): Usage Minimum, data= [ 0x01 ] 1*
> *(null)*
> *Item(Local ): Usage Maximum, data= [ 0x08 ] 8*
> *(null)*
> *Item(Global): Logical Minimum, data= [ 0x00 ] 0*
> *Item(Global): Logical Maximum, data= [ 0xff ] 255*
> *Item(Global): Report Count, data= [ 0x40 ] 64*
> *Item(Global): Report Size, data= [ 0x08 ] 8*
> *Item(Main  ): Input, data= [ 0x02 ] 2*
> *Data Variable Absolute No_Wrap Linear*
> *Preferred_State No_Null_Position Non_Volatile 
> Bitfield*
> *Item(Local ): Usage Minimum, data= [ 0x01 ] 1*
> *(null)*
> *Item(Local ): Usage Maximum, data= [ 0x08 ] 8*
> *(null)*
> *Item(Global): Logical Minimum, data= [ 0x00 ] 0*
> *Item(Global): Logical Maximum, data= [ 0xff ] 255*
> *Item(Global): Report Count, data= [ 0x08 ] 8*
> *Item(Global): Report Size, data= [ 0x08 ] 8*
> *Item(Main  ): Output, data= [ 0x02 ] 2*
> *Data Variable Absolute No_Wrap Linear*
> *Preferred_State No_Null_Position Non_Volatile 
> Bitfield*
> *Item(Main  ): End Collection, data=none*
> *  Endpoint Descriptor:*
> *bLength   

[weewx-user] Re: Youshiko YC9388 Weather station

2020-01-04 Thread Bob Atchley

Re-reading the documentation it would seem currently that the weewx 
FineOffsetUsb driver supports 2 formats:
1080
3080
These are similar but 3080 expands the 1080 to include UV and Luminescence.

The "Youshiko YC9388"/"Bresser 6 in 1"  can support up to 7 additional 
wireless hydro-thermo outdoor sensors.  So presumably has an expanded 
format that allows these sensor outputs to be read.

So unless anyone knows better I think the answer is that weewx does not 
currently support this new generation of fine offset weather stations.

I'm quite happy to try and get this working (I'm a software engineer, but 
never dabbled with USB protocols and only used Python for basic tools), but 
if anyone has any pointers or knows of anyone else who could help please 
let me know

Thanks

Bob

-- 
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/a4e88d88-b1bc-425e-980f-bef768e3390c%40googlegroups.com.


[weewx-user] Youshiko YC9388 Weather station

2020-01-03 Thread Bob Atchley
Hi,

Has anyone had any luck interfacing weewx (on a rpi) to this weather 
station (which is identical to the Bresser 6 in 1) and if so could you give 
me any pointers ?
https://youshiko.co.uk/collections/digital-weather-stations/products/yc9388

My basic assumption is that this is a Fine Offset clone.

The fundamental problem I'm having is with the USB interface

$ lsusb  -v -d 1941:8021

*Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB 
Missile Launcher*
*Device Descriptor:*
*  bLength18*
*  bDescriptorType 1*
*  bcdUSB   2.00*
*  bDeviceClass0 *
*  bDeviceSubClass 0 *
*  bDeviceProtocol 0 *
*  bMaxPacketSize064*
*  idVendor   0x1941 Dream Link*
*  idProduct  0x8021 WH1080 Weather Station / USB Missile Launcher*
*  bcdDevice0.00*
*  iManufacturer   1 Silicon Laboratories Inc.*
*  iProduct2 CCLEL C8488*
*  iSerial 3 CCLEL c8488*
*  bNumConfigurations  1*
*  Configuration Descriptor:*
*bLength 9*
*bDescriptorType 2*
*wTotalLength   0x0022*
*bNumInterfaces  1*
*bConfigurationValue 1*
*iConfiguration  0 *
*bmAttributes 0xc0*
*  Self Powered*
*MaxPower  100mA*
*Interface Descriptor:*
*  bLength 9*
*  bDescriptorType 4*
*  bInterfaceNumber0*
*  bAlternateSetting   0*
*  bNumEndpoints   1*
*  bInterfaceClass 3 Human Interface Device*
*  bInterfaceSubClass  0 *
*  bInterfaceProtocol  1 Keyboard*
*  iInterface  0 *
*HID Device Descriptor:*
*  bLength 9*
*  bDescriptorType33*
*  bcdHID   1.11*
*  bCountryCode0 Not supported*
*  bNumDescriptors 1*
*  bDescriptorType34 Report*
*  wDescriptorLength  36*
*  Report Descriptor: (length is 36)*
*Item(Global): Usage Page, data= [ 0x00 0xff ] 65280*
*(null)*
*Item(Local ): Usage, data= [ 0x01 ] 1*
*(null)*
*Item(Main  ): Collection, data= [ 0x01 ] 1*
*Application*
*Item(Local ): Usage Minimum, data= [ 0x01 ] 1*
*(null)*
*Item(Local ): Usage Maximum, data= [ 0x08 ] 8*
*(null)*
*Item(Global): Logical Minimum, data= [ 0x00 ] 0*
*Item(Global): Logical Maximum, data= [ 0xff ] 255*
*Item(Global): Report Count, data= [ 0x40 ] 64*
*Item(Global): Report Size, data= [ 0x08 ] 8*
*Item(Main  ): Input, data= [ 0x02 ] 2*
*Data Variable Absolute No_Wrap Linear*
*Preferred_State No_Null_Position Non_Volatile 
Bitfield*
*Item(Local ): Usage Minimum, data= [ 0x01 ] 1*
*(null)*
*Item(Local ): Usage Maximum, data= [ 0x08 ] 8*
*(null)*
*Item(Global): Logical Minimum, data= [ 0x00 ] 0*
*Item(Global): Logical Maximum, data= [ 0xff ] 255*
*Item(Global): Report Count, data= [ 0x08 ] 8*
*Item(Global): Report Size, data= [ 0x08 ] 8*
*Item(Main  ): Output, data= [ 0x02 ] 2*
*Data Variable Absolute No_Wrap Linear*
*Preferred_State No_Null_Position Non_Volatile 
Bitfield*
*Item(Main  ): End Collection, data=none*
*  Endpoint Descriptor:*
*bLength 7*
*bDescriptorType 5*
*bEndpointAddress 0x81  EP 1 IN*
*bmAttributes3*
*  Transfer TypeInterrupt*
*  Synch Type   None*
*  Usage Type   Data*
*wMaxPacketSize 0x0040  1x 64 bytes*
*bInterval   1*
*can't get device qualifier: Resource temporarily unavailable*
*can't get debug descriptor: Resource temporarily unavailable*
*Device Status: 0x0001*
*  Self Powered*


Running wee_ device works, but the values returned are all defaults not 
what the console is displaying.

$ sudo bin/wee_device --info

*Using configuration file /home/weewx/weewx.conf*
*Using FineOffsetUSB driver version 1.20 (weewx.drivers.fousb)*
*Querying the station...*
*Fine Offset station settings:*
*local time: 2020.01.03 17:47:03 GMT*
*  polling mode: PERIODIC*

*  abs_pressure: 0*
*   current_pos: 0*
*  data_changed: 0*
*data_count: 0*
* date_time: 2000-00-00 00:00*
* hum_in_offset: 0*
*hum_out_offset: 0*
*id: 0*
*