I had a decent storm come through last night with nearly 50 reported 
lightning strikes via my ecowitt app.  As far as i can tell however nothing 
is being inserted into the database.

INSERT INTO archive_day_lightning_energy 
VALUES(1592884800,NULL,NULL,NULL,NULL,0.0,0,0.0,0);
INSERT INTO archive_day_lightning_energy 
VALUES(1592971200,NULL,NULL,NULL,NULL,0.0,0,0.0,0);
CREATE TABLE archive_day_lightning_noise_count (dateTime INTEGER NOT NULL 
UNIQUE PRIMARY KEY, min REAL, mintime INTEGER, max REAL, maxtime INTEGER, 
sum REAL, count INTEGER, wsum REAL, sumtime INTEGER);
INSERT INTO archive_day_lightning_noise_count 
VALUES(1592884800,NULL,NULL,NULL,NULL,0.0,0,0.0,0);
INSERT INTO archive_day_lightning_noise_count 
VALUES(1592971200,NULL,NULL,NULL,NULL,0.0,0,0.0,0);
CREATE TABLE archive_day_lightning_strike_count (dateTime INTEGER NOT NULL 
UNIQUE PRIMARY KEY, min REAL, mintime INTEGER, max REAL, maxtime INTEGER, 
sum REAL, count INTEGER, wsum REAL, sumtime INTEGER);
INSERT INTO archive_day_lightning_strike_count 
VALUES(1592884800,NULL,NULL,NULL,NULL,0.0,0,0.0,0);
INSERT INTO archive_day_lightning_strike_count 
VALUES(1592971200,NULL,NULL,NULL,NULL,0.0,0,0.0,0);

On Wednesday, June 24, 2020 at 12:46:53 AM UTC-4, Gert Andersen wrote:
>
> Hi Oliver
>
> I'm using your patched script and it's working fine.
>
> I insert these fields into th database:
>
> [[sensor_map_extensions]]
>         lightning_strike_count = lightning_num
>         lightning_distance = lightning
>
> These 2 fields are also coming from the sensor:
>
> lightning_time
> wh57batt
>
> But can't be mapped right now as far as I can see. There are other 
> lightning types in the extended scheme, but they don't fit with these.
>
> It could also be very nice, to implement the PASSKEY functionality.
>
> Gert
>
> On Tuesday, June 23, 2020 at 9:51:37 PM UTC+2, olicat wrote:
>>
>> Hi!
>>
>> Are there any experiences with the adjusted script regarding lightning?
>> Does it work for you now?
>>
>> Regards, Oliver
>>
>>

-- 
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/ec7f1305-012d-4e0b-8d15-47e488cc111co%40googlegroups.com.

Reply via email to