Re: [weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
I didn’t do the setup.py method.   I’m still a Linux newb haha

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


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread vince
On Tuesday, July 28, 2020 at 4:49:50 PM UTC-7, vince wrote:
>
> FWIW, I'm using driver 1.1, weewx 4.1.1, python 3.5.3 on a somewhat dated 
> pi3plus (Debian 9), with weewx installed using python3 and setup.py method.
>

doh - Belchertown 1.1, mqtt 0.23, and weatherflowudp 1.10 that is 

-- 
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/fded43a0-4da0-451f-844a-74614398f360o%40googlegroups.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread vince
FWIW, I'm using driver 1.1, weewx 4.1.1, python 3.5.3 on a somewhat dated 
pi3plus (Debian 9), with weewx installed using python3 and setup.py method.

-- 
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/c59ec025-03fb-499c-8dc8-0c3f26dd9b3eo%40googlegroups.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
thanks Vince using 1.10 

might start disabling stuff and see if i can figure it out.

On Tuesday, July 28, 2020 at 7:06:27 PM UTC-4 vince wrote:

> On Tuesday, July 28, 2020 at 3:38:39 PM UTC-7, Jamie Stephens wrote:
>>
>> another crash, any ideas?
>>
>>
> First guess is a python2/python3 thing.   Are you on the latest version of 
> the driver ? 
>

-- 
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/b0240a84-8afa-4bbd-9163-ddb083b9a512n%40googlegroups.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread vince
On Tuesday, July 28, 2020 at 3:38:39 PM UTC-7, Jamie Stephens wrote:
>
> another crash, any ideas?
>
>
First guess is a python2/python3 thing.   Are you on the latest version of 
the driver ? 

-- 
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/cd8ee899-e99f-47c5-9f7a-44de4613a6d7o%40googlegroups.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
another crash, any ideas?

Jul 28 08:20:26 weewx weewx[6505] DEBUG weewx.restx: CWOP: Connected to 
server cwop.aprs.net:14580
  GNU nano 4.8  
syslog  
 Modified  
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__: File 
"/usr/share/weewx/user/weatherflowudp.py", line 312, in genLoopPackets
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   m0 = 
m[0].replace(",null",",None") # Python 2
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   TypeError: a 
bytes-like object is required, not 'str'   
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   Exiting.

On Monday, July 27, 2020 at 9:49:32 AM UTC-4 Jamie Stephens wrote:

> [WeatherFlowUDP]
> driver = user.weatherflowudp
> log_raw_packets = False
> udp_address = 
> # udp_address = 0.0.0.0
> # udp_address = 255.255.255.255
> udp_port = 50222
> udp_timeout = 90
> share_socket = False
>
> [[sensor_map]]
> outTemp = air_temperature.ST-00015203.obs_st
> outHumidity = relative_humidity.ST-00015203.obs_st
> pressure = station_pressure.ST-00015203.obs_st
> #lightning_strikes =  lightning_strike_count.ST-00015203.obs_st
> #avg_distance =  lightning_strike_avg_distance.ST-00015203.obs_st
> outTempBatteryStatus = battery.ST-00015203.obs_st
> windSpeed = wind_speed.ST-00015203.rapid_wind
> windDir = wind_direction.ST-00015203.rapid_wind
> #luxXXX = illuminance.ST-00015203.obs_st
> UV = uv.ST-00015203.obs_st
> rain = rain_accumulated.ST-00015203.obs_st
> windBatteryStatus = battery.ST-00015203.obs_st
> radiation = solar_radiation.ST-00015203.obs_st
> #lightningXXX = distance.ST-00015203.evt_strike
> #lightningYYY = energy.ST-00015203.evt_strike
>
> ##
>
> On Monday, July 27, 2020 at 9:38:42 AM UTC-4 Jamie Stephens wrote:
>
>> adter a couple day weewx will shutdown this is what i see in the logs. it 
>> will run anywhere from 1-3 days before this happens
>>
>> running Ubuntu 20.04 on a VM
>> last successful update before crash was at 755 am
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.manager: Added record 
>> 2020-07-27 07:55:00 EDT (1595850900) to daily summary in 'weewx.sdb'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
>> reports for latest time in the database.
>> Jul 27 07:55:25 weewx /weewxd: weatherflowudp: MainThread: Listening for 
>> UDP broadcasts to IP address  on port 50222, with timeout 90 and 
>> share>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: StationRegistry: 
>> wait interval (69600 < 604800) has not passed for record 2020-07-27 
>> 07:55:00 EDT (15>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
>> report 'SeasonsReport'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
>> 'SeasonsReport'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
>> search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'we>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
>> version is 2.0
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: CWOP: Connected to 
>> server cwop.aprs.net:14580
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: PWSWeather: Published 
>> record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: CWOP: Published 
>> record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: Wunderground-PWS: 
>> Published record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 
>> 8 files for report SeasonsReport in 1.84 seconds
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
>> version is 2.0
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.imagegenerator: Generated 15 
>> images for report SeasonsReport in 0.51 seconds
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.reportengine: Copied 0 files 
>> to /var/www/html/
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
>> 'SmartphoneReport' not enabled. Skipping.
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
>> 'MobileReport' not enabled. Skipping.
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
>> 'StandardReport' not enabled. Skipping.
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Running 
>> report 'Belchertown'
>> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
>> 'Belchertown'
>> Jul 27 07:55:28 weewx weewx[4992] 

[weewx-user] Re: weatherflowudp crash

2020-07-27 Thread Jamie Stephens
[WeatherFlowUDP]
driver = user.weatherflowudp
log_raw_packets = False
udp_address = 
# udp_address = 0.0.0.0
# udp_address = 255.255.255.255
udp_port = 50222
udp_timeout = 90
share_socket = False

[[sensor_map]]
outTemp = air_temperature.ST-00015203.obs_st
outHumidity = relative_humidity.ST-00015203.obs_st
pressure = station_pressure.ST-00015203.obs_st
#lightning_strikes =  lightning_strike_count.ST-00015203.obs_st
#avg_distance =  lightning_strike_avg_distance.ST-00015203.obs_st
outTempBatteryStatus = battery.ST-00015203.obs_st
windSpeed = wind_speed.ST-00015203.rapid_wind
windDir = wind_direction.ST-00015203.rapid_wind
#luxXXX = illuminance.ST-00015203.obs_st
UV = uv.ST-00015203.obs_st
rain = rain_accumulated.ST-00015203.obs_st
windBatteryStatus = battery.ST-00015203.obs_st
radiation = solar_radiation.ST-00015203.obs_st
#lightningXXX = distance.ST-00015203.evt_strike
#lightningYYY = energy.ST-00015203.evt_strike
##

On Monday, July 27, 2020 at 9:38:42 AM UTC-4 Jamie Stephens wrote:

> adter a couple day weewx will shutdown this is what i see in the logs. it 
> will run anywhere from 1-3 days before this happens
>
> running Ubuntu 20.04 on a VM
> last successful update before crash was at 755 am
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.manager: Added record 
> 2020-07-27 07:55:00 EDT (1595850900) to daily summary in 'weewx.sdb'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
> reports for latest time in the database.
> Jul 27 07:55:25 weewx /weewxd: weatherflowudp: MainThread: Listening for 
> UDP broadcasts to IP address  on port 50222, with timeout 90 and 
> share>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: StationRegistry: wait 
> interval (69600 < 604800) has not passed for record 2020-07-27 07:55:00 EDT 
> (15>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
> 'SeasonsReport'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
> 'SeasonsReport'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
> search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'we>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: CWOP: Connected to 
> server cwop.aprs.net:14580
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: PWSWeather: Published 
> record 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: CWOP: Published record 
> 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: Wunderground-PWS: 
> Published record 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 8 
> files for report SeasonsReport in 1.84 seconds
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.imagegenerator: Generated 15 
> images for report SeasonsReport in 0.51 seconds
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.reportengine: Copied 0 files 
> to /var/www/html/
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'SmartphoneReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'MobileReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'StandardReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
> 'Belchertown'
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
> 'Belchertown'
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
> search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'we>
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:29 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 
> 11 files for report Belchertown in 1.92 seconds
> Jul 27 07:55:29 weewx weewx[4992] INFO weewx.reportengine: Copied 2 files 
> to /var/www/html
> Jul 27 07:55:29 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:32 weewx weewx[4992] DEBUG weewx.reportengine: Report 'FTP' 
> not enabled. Skipping.
> Jul 27 07:55:32 weewx weewx[4992] DEBUG weewx.reportengine: Report 'RSYNC' 
> not enabled. Skipping.
>
>
> Jul 27 07:59:39 weewx weewx[4992] INFO weewx.engine: Main loop exiting. 
> Shutting engine down.
> Jul 27 07:59:39 weewx weewx[4992] INFO weewx.engine: Shutting down 
> StdReport thread
> Jul 27