On Wednesday, September 13, 2023 at 6:51:17 AM UTC-4 craig.y...@gmail.com 
wrote:

Where can I find the list of observation types? 


within the driver code, use names that match whatever the hardware uses. 
then you can map those onto the weewx observation types when you generate a 
LOOP or ARCHIVE dict.  for example, the hardware documentation might use 
'inside_temperature', but the weewx equivalent is 'inTemp'.

the weewx observation types are defined by the database schema. 
'wview_extended' is the default schema, but weewx also ships with the 
legacy 'wview' and 'wview_small' schemas.

https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py

you can see what other drivers have done by browsing the 'Station data' 
section for each driver in the hardware guide:

http://weewx.com/docs/hardware.htm

for power/solar/battery monitoring, or hardware that emits observations 
that are not easily mapped to the weather-based schemas, it is typical to 
ship a bespoke schema with 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/694d4c47-9075-4f32-af71-cdc42afcfb83n%40googlegroups.com.

Reply via email to