If you switch to the extended schema, you don't need to add the lightning 
elements a second time in weewx.conf, as they're already in the v4 extended 
schema, but you'd need to line up the names you picked so that they match 
the database schema.   The element names are "lightning_strike_count" and 
"lightning_distance" in the extended schema.  Look in bin/schemas for the 
schema definitions.

The procedure you followed looks right to me:

   - reconfigure so it uses the new database schema for the archive table
   - rebuild_daily to do the various summary tables.

The error you posted looks like you referred to a field in an extension 
(ie, 'wind') that isn't in the database schema.   Do you perhaps mean 
"windSpeed" in your user.rtgd file ?

Short answer is you probably want to do a little tweaking of your extension 
to use the built-in element names.   I think there was at least one post 
recently about how to clean up your archive tables if you need to rename 
something and want to save your old data, but it's probably worth the time 
longterm to do so and not need your customizations at all.

Wise choice keeping the old version to revert to :-)


-- 
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/1c096511-3ffa-4710-af11-3d6f6e84380b%40googlegroups.com.

Reply via email to