Re: [weewx-user] Davis Vantage Problem

2020-04-02 Thread Steve Shuff
Hello Thomas,
Many thanks for your input.
Having followed your advice I now have the system up and running again, I
think it must have been corrupt memory.
All sorted and many thanks.

Kind regards.

On Thu, Apr 2, 2020 at 12:21 PM Thomas Keffer  wrote:

> Things to try:
>
> 1. It's possible the the logger was disturbed when you replaced the
> batteries. Try reseating it in the Envoy.
>
> 2. Your symptoms don't quite fit the usual pattern of corrupt memory, but
> it's worth trying to clear the memory of the logger anyway. Follow the
> directions under Corrupt station memory
> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#corrupt-station-memory>
>  to
> clear the memory.
>
> -tk
>
>
> On Thu, Apr 2, 2020 at 2:35 AM Steve Shuff  wrote:
>
>> Hi All,
>> I am hopeful someone can shed some light on this error .
>>
>> My setup consist of a RPi 3 (Raspbian) running WeeWX 3.9.2 to which is
>> connected a Davis Envoy logger, The ISS is transmitting OK as can be
>> verified on the indoor console.
>>
>> The setup runs fine until the Envoy batteries died, these were replaced
>> and the Pi rebooted and the system restarted.
>> Now my data is not being produced on the graphs etc , Upon looking at the
>> syslog I see two errors,
>>
>> Apr  2 10:12:10 raspberrypi weewx[1195]: vantage: LOOP try #1; error:
>> Expected to read 99 chars; got 0 instead
>>
>> Apr  2 10:11:56 raspberrypi weewx[1195]: vantage: DMPAFT try #2; error:
>> Unable to pass CRC16 check while sending data to Vantage console
>>
>> Has anyone experienced this problem and what was the cure ? It has done
>> it before when the batteries previously failed but I dont know what I did
>> to remedy the situation.
>> Thanks for any help.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/9b1973cc-a646-421c-85c0-44e58ece7f93%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/9b1973cc-a646-421c-85c0-44e58ece7f93%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAPq0zEB8CXqvToL7BSaRBB0Oe6SkMUGy-ggoMeh3Ym0DFLEsNw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEB8CXqvToL7BSaRBB0Oe6SkMUGy-ggoMeh3Ym0DFLEsNw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Steve Shuff.

-- 
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/CADNpUBGN-raepuap-PUJiGmJ20M2xGK-5nJR5VTR%3D7i93uibvg%40mail.gmail.com.


[weewx-user] Davis Vantage Problem

2020-04-02 Thread Steve Shuff
Hi All,
I am hopeful someone can shed some light on this error .

My setup consist of a RPi 3 (Raspbian) running WeeWX 3.9.2 to which is 
connected a Davis Envoy logger, The ISS is transmitting OK as can be 
verified on the indoor console.

The setup runs fine until the Envoy batteries died, these were replaced and 
the Pi rebooted and the system restarted.
Now my data is not being produced on the graphs etc , Upon looking at the 
syslog I see two errors,

Apr  2 10:12:10 raspberrypi weewx[1195]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 0 instead

Apr  2 10:11:56 raspberrypi weewx[1195]: vantage: DMPAFT try #2; error: 
Unable to pass CRC16 check while sending data to Vantage console

Has anyone experienced this problem and what was the cure ? It has done it 
before when the batteries previously failed but I dont know what I did to 
remedy the situation.
Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9b1973cc-a646-421c-85c0-44e58ece7f93%40googlegroups.com.


Re: [weewx-user] Re: Which way to make progress ?

2019-10-10 Thread Steve Shuff
Hello Vince
Thanks for the reply

The CR1000 based weather station ftp the data to Weather Underground in the
following format,


https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw

As your probably aware WU has been having several issues recently and I
fear that one day soon they will cease to offer their service.
My station (CR1000) has many sensors which currently WU no longer support
ie soil temp, leaf wetness and others.

This is why I would like to develop a system whereby the CR1000  (based in
a remote location) will ftp the data to an FTP server on the Pi via the WWW
, then customise Weewx to suite my needs. An Apache2 webserver would then
display the data for interested parties to view.
I already have an Apache2 server on the Pi but i'm not sure if you can FTP
into that ?
The point of my first email was to see if anyone had done something similar
and if they were in a position to offer any advice as to how to go about
the project.

Best regards.



https:/

/weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windsp

eedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw


On Wed, Oct 9, 2019 at 5:04 PM vince  wrote:

> On Wednesday, October 9, 2019 at 2:54:00 AM UTC-7, Steve Shuff wrote:
>
>>  CR1000 is already doing an FTP upload to the Weather Underground server
>> every 10 minutes (and I can add a bit of code so the station will FTP data
>> to a server on my Raspberry Pi)
>> then get Weewx to interpret the FTP file and display the data.
>>
>>
> If you're ftp'ing pre-computed HTML files then weewx has nothing to do
> with it, the webserver would display whatever you upload.
>
> Or you could write something to read your file and write to a weewx db and
> 'then' have weewx generate the HTML files.
>
> But if all you want to do is cook up static HTML, I'd probably not include
> weewx at all.  I'd read the FTP'd fine and generate HTML via a python
> script run via cron.
>
> --
> 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/a283f467-0ac1-4af1-9fe2-93948523cba0%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/a283f467-0ac1-4af1-9fe2-93948523cba0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Steve Shuff.

-- 
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/CADNpUBGwH9Eu_8wOmyqJn34vVO5Wwq70P5gftAfFiJk38vb_Ww%40mail.gmail.com.


[weewx-user] Which way to make progress ?

2019-10-09 Thread Steve Shuff
Hello Folks,
Hoping someone can help me out on this one please, 
I have a Davis Vantage Pro station sending data to the Davis Envoy which is 
plugged in to the Raspberry Pi running Weewx all is good and no problems 
there !
Also I have access to a Campbell Scientific CR1000 system, uploading data 
to Weather Underground, Which I am thinking about moving away from because 
of their recent issues.

The CR1000 station has many sensors and I am of the opinion that it would 
be well suited to Weewx although I may have to  develop a driver for it .
 CR1000 is already doing an FTP upload to the Weather Underground server 
every 10 minutes (and I can add a bit of code so the station will FTP data 
to a server on my Raspberry Pi)
then get Weewx to interpret the FTP file and display the data.
Has anyone been down this road already ? I did read recently this article 
https://itsmereal.com/raspberry-pi-web-server-apache-php-mysql-phpmyadmin-ftp/ 
which 
seemed relevant or can it be made simpler than this ?
Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f3c1ba45-bc33-42fc-92b1-5f4d44b4c064%40googlegroups.com.


[weewx-user] Using WeeWX with CSV or MySQL as data source

2019-10-03 Thread Steve Shuff
Hi, I just read your post regarding the Campbell scientific station, Did you 
make any progress ? I have a cr1000 based station with multiple sensors and 
would be very interested in using Weewx with the setup. 

-- 
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/e45a6b23-cb66-49fd-b034-641f8fd500b6%40googlegroups.com.


Re: [weewx-user] weewx stopped with

2019-09-07 Thread Steve Shuff
Cancel
On Sat, 7 Sep 2019, 09:11 peter,  wrote:

> weewx stopped this morning with an error I don't understand. I also
> doesn't want to start either.
>
> Can some please advise what would be the cause?
> I have Davis Vantage Vue + few other inputs from text files I log into
> database. This week I added logging of a big integer values into 'hail'
> field.
>
> This is the status:
> sep 07 10:00:55 weather weewx[447]: File
> "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord
> sep 07 10:00:55 weather weewx[447]:   _day_summary.addRecord(
> record, weight=_weight)
> sep 07 10:00:55 weather weewx[447]: File
> "/usr/share/weewx/weewx/accum.py", line 260, in addRecord
> sep 07 10:00:55 weather weewx[447]:   func(self, record,
> obs_type, add_hilo, weight)
> sep 07 10:00:55 weather weewx[447]: File
> "/usr/share/weewx/weewx/accum.py", line 318, in add_value
> sep 07 10:00:55 weather weewx[447]:   self[obs_type].addHiLo(
> val, record['dateTime'])
> sep 07 10:00:55 weather weewx[447]: File
> "/usr/share/weewx/weewx/accum.py", line 78, in addHiLo
> sep 07 10:00:55 weather weewx[447]:   "got type '%s' ('%s')" %
> (type(val), val))
> sep 07 10:00:55 weather weewx[447]:   ValueError: accum:
> ScalarStats.addHiLo expected float or int, got type '' (
> 'nan')
> sep 07 10:00:55 weather weewx[447]:   Exiting.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/75ebceae-9bb1-40f8-8ef5-96b1cedaf1d0%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/CADNpUBFJTaYHE23__N6dA-We5VTcf5tQeAeF814sa8ya7jVCLg%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-08-31 Thread Steve Shuff
Cancel
On Sat, 31 Aug 2019, 17:07 Stefan,  wrote:

> Hello Pat.
> Thank you for your answer. I think you mean this one. I had made various
> changes, but without success. Which variables do I have to use there?
> Do not see any color in the wind.
>
> See this: https://www.meteo-oberwallis.ch/wetter/glis/user/
>
> // Change the color of the windSpeed_kph variable
> function update_windSpeed_kph( wind ) {
> outTemp = parseFloat( wind ).toFixed(0); // Convert back to decimal
> literal
> if ( wind <= 0 ) {
> jQuery(".curwindspeed").css( "color", "#1278c8" );
> } else if ( wind <= -3.8 ) {
> jQuery(".curwindspeed").css( "color", "#30bfef" );
> } else if ( wind <= 0 ) {
> jQuery(".curwindspeed").css( "color", "#1fafdd" );
> } else if ( wind <= 4.4 ) {
> jQuery(".curwindspeed").css( "color", "rgba(0,172,223,1)" );
> } else if ( wind <= 10 ) {
> jQuery(".curwindspeed").css( "color", "#71bc3c" );
> } else if ( wind <= 12.7 ) {
> jQuery(".curwindspeed").css( "color", "rgba(90,179,41,0.8)" );
> } else if ( wind <= 18.3 ) {
> jQuery(".curwindspeed").css( "color", "rgba(131,173,45,1)" );
> } else if ( wind <= 21.1 ) {
> jQuery(".curwindspeed").css( "color", "rgba(206,184,98,1)" );
> } else if ( wind <= 23.8 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,174,0,0.9)" );
> } else if ( wind <= 26.6 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,153,0,0.9)" );
> } else if ( wind <= 29.4 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,127,0,1)" );
> } else if ( wind <= 32.2 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,79,0,0.9)" );
> } else if ( wind <= 35 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,69,69,1)" );
> } else if ( wind <= 43.3 ) {
> jQuery(".curwindspeed").css( "color", "rgba(255,104,104,1)" );
> } else if ( wind >= 43.4 ) {
> jQuery(".curwindspeed").css( "color", "rgba(218,113,113,1)" );
> }
> }
>
> Am Samstag, 31. August 2019 15:03:59 UTC+2 schrieb Pat:
>>
>> The code doesn't exist in the skin as it is right now, but it would be
>> easy to add.
>>
>> Create a new function in the belchertown.js.tmpl file for the wind speed
>> and the colors you want. You could copy something like this for the
>> temperature
>> .
>> Then have the wind speed go through that function
>> 
>> to change it's color. Use the temperature live section
>> 
>> for an example of this.
>>
>> On Saturday, August 31, 2019 at 5:53:06 AM UTC-4, Stefan wrote:
>>>
>>> Hello.
>>> I have a question. Can the wind speed in Belchertown also be colored? eg
>>> from 40 km yellow and from 80 red and from 120 purple? I mean in live
>>> view.
>>>
>>> [image: Unbenannt.PNG]
>>>
>>> Thanks for Help
>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/097832b9-8b60-4fb5-ab57-00cd96f89cb8%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/CADNpUBFCjx%3D2rEJyxyGvReicxob9w%3DFtDVk_7mwG2vdpg68VzQ%40mail.gmail.com.


Re: [weewx-user] Re: WeeWX Station Type.

2019-08-14 Thread Steve Shuff
Hi, thanks for your reply.  I assume that is done in the weewx.conf file ?

On Wed, 14 Aug 2019, 18:46 Michi Kaa,  wrote:

> I think simply changing to "Simulator" and a restart will do. But backup
> your database before and restore it, before you connect the real station
> again.
>
> Am Mittwoch, 14. August 2019 19:15:41 UTC+2 schrieb Steve Shuff:
>>
>> Hi All,
>>  I wish to change the station type from Vantage to Simulator, Can someone
>> explain how to do this please, I have moved house and setup my Raspberry Pi
>> but my station need collecting from my old house and I just want to
>> temporarily run Simulator to ensure everything is alright with the lat/long
>> etc changes I made to config file .Thanks.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/250f958a-21ec-4895-b511-5dd0aa766cf9%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/250f958a-21ec-4895-b511-5dd0aa766cf9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADNpUBFPHbYBo1cCKk99%2Bq2CxXWuXXve98noajD%3Dk1_arBNW5A%40mail.gmail.com.


[weewx-user] WeeWX Station Type.

2019-08-14 Thread Steve Shuff
Hi All,
 I wish to change the station type from Vantage to Simulator, Can someone 
explain how to do this please, I have moved house and setup my Raspberry Pi 
but my station need collecting from my old house and I just want to 
temporarily run Simulator to ensure everything is alright with the lat/long 
etc changes I made to config file .Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/931157f0-0c2e-49dd-9deb-af64e9424068%40googlegroups.com.