|
Post by SDL on Jul 16, 2018 9:28:22 GMT -8
|
|
|
Post by Richard on Sept 8, 2019 16:02:15 GMT -8
Video was very helpful. But since I don't have the Complete OurWeather station and software how and where do I alter the parameters discussed? Is there a config file where the values can be changed?
|
|
|
Post by SDL on Sept 10, 2019 12:25:17 GMT -8
|
|
|
Post by rschre on Sept 11, 2019 7:43:34 GMT -8
The posting refers to the SkyWeather software which I have not installed for the stand alone RPi lightning detector. So do I modify my config.py and run that or if not, what am I supposed to run to change the values in the AS3935? Can I install SkyWeather since I don't have the complete weather station.
Sorry, I am low on the learning curve and probably need more explicit detail.
Thanks.
Richard
|
|
|
Post by SDL on Sept 12, 2019 11:13:07 GMT -8
Here is the appropriate part of the SkyWeather software:
#set values for lightning # format: [NoiseFloor, Indoor, TuneCap, DisturberDetection, WatchDogThreshold, SpikeDetection] # default: [2,1,7,0,3,3] NoiseFloor = config.AS3935_Lightning_Config[0] Indoor = config.AS3935_Lightning_Config[1] TuneCap = config.AS3935_Lightning_Config[2] DisturberDetection = config.AS3935_Lightning_Config[3] WatchDogThreshold = config.AS3935_Lightning_Config[4] SpikeDetection = config.AS3935_Lightning_Config[5]
try:
print "as3935 start"
as3935.set_noise_floor(NoiseFloor) as3935.set_indoors(Indoor) as3935.calibrate(tun_cap=TuneCap) as3935.set_mask_disturber(DisturberDetection) as3935.set_watchdog_threshold(WatchDogThreshold) as3935.set_spike_detection(SpikeDetection)
|
|