I'm doing some thing like that from lux reading and using 'group_elapsed' 
for the unit and obs name measuredlight.

On Thursday, March 24, 2022 at 12:54:12 PM UTC-5 [email protected] wrote:

> I bought a sunshine duration sensor from Weerhuisje. When integrating it 
> in WeeWX I wondered how to call the observation type. There is nothing 
> appropriate in the standard schema. I found 2 extensions regarding sunshine 
> duration. One of them calls the observation type "sunshine_hours", the 
> other one "sunshine_time". 
>
> I would guess it is not generally a good idea to include an underscore in 
> the observation type name, as the underscore is used to separate the unit 
> from the observation type in the widely used MQTT extension.
>
> And I guess it would be better to have the same name irrespective of the 
> data source, which extension or hardware is used.
>
> Another thing is the unit group. I would allocate the sunshine duration to 
> group_deltatime, as the output would be something like "8 hours, 45 
> minutes, 10 seconds" or so. group_interval would be less appropriate, as 
> sunshine duration is not exactly an interval but rather a time period.
>
> After all I am not sure.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3c7667ab-7f38-485f-b9cf-1e2ad1c35ca7n%40googlegroups.com.

Reply via email to