We had lightning today, but the as3935 didn't report any. I tried simulated 
lightning with a piezo lighter and get this in the log

Aug 13 18:23:04 weatherstation weewx[2213]: as3935: callback failed: [Errno 
5] Input/output error
Aug 13 18:23:05 weatherstation weewx[2213]: as3935: callback failed: [Errno 
5] Input/output error
Aug 13 18:23:06 weatherstation weewx[2213]: as3935: callback failed: [Errno 
5] Input/output error
Aug 13 18:23:07 weatherstation weewx[2213]: as3935: callback failed: [Errno 
5] Input/output error
Aug 13 18:23:07 weatherstation weewx[2213]: as3935: callback failed: [Errno 
5] Input/output error

I imagine it has to do with the RPi_as3935 driver as when I run demo.py, it 
errors as well. 

Steve


On Saturday, August 13, 2016 at 10:08:39 AM UTC-4, mwall wrote:
>
>
>
> On Saturday, August 13, 2016 at 9:14:55 AM UTC-4, Steve Sykes wrote:
>>
>> Now weewx is running and not crashing, however in the LOOP readings when 
>> I am running from command line, I don't see the new units from the as3935:
>>
>> LOOP:   2016-08-13 08:51:07 EDT (1471092667) altimeter: 29.8689377295, 
>> appTemp: 90.5324650998, barometer: 29.846285074, cloudbase: 3238.21408986, 
>> dateTime: 1471092667, dewpoint: 70.9722580046, extraTemp1: 83.4125, 
>> extraTemp2: 83.3, extraTemp3: 82.7375, heatindex: 86.8483964727, humidex: 
>> 98.6022225192, inDewpoint: None, inTemp: 82.85, lightning: 0.0, 
>> maxSolarRad: 382.747490845, outHumidity: 68.508869, outTemp: 82.4, 
>> pressure: 29.1918655641, rain: 0.0, rainRate: 0, usUnits: 1, windchill: 
>> 82.4, windDir: None, windSpeed: 0.0
>>
>> The lightning value pertains to the hobbyboards detector. Shouldn’t I 
>> also see avg_distance and lightning_strikes?
>>>
>>>
>>>>
> steve,
>
> you will only see the lightning data in each archive record, not each loop.
>
> this is because the service is bound to weewx.NEW_ARCHIVE_RECORD
>
> version 0.5rc1 is attached.  it lets you specify loop binding instead of 
> archive:
>
> [AS3835]
>     binding = loop
>
> give it a try and let us know what you get.
>
> m
>

Reply via email to