Verify that you have downloaded te Release V1.4 of the extension.

Do you have "radiation_Wpm2" in your MQTT stream ?  

Please note that  the "is-sunshine" is generated only at each archive period ( 
i.e.. when the "interval_minute" is also generated)   and is currently not 
generated for each loop.

It is be possible to generate it for each loop period, but this would imply 
that depending  on the conditions ( very few clouds or scattered clouds moving 
relatively rapidly) , the "is_sunshine" may switch quite often between 1 and 0 
( a loop is about 2.5 seconds with a Davis Pro) . Not sure you would be happy 
to have your shutters going up several time in a few minutes under these 
conditions !

Let me know

> Le 4 mai 2024 à 11:40, geni08...@gmail.com <geni0815.0...@gmail.com> a écrit :
> 
> I can't find “is_sunshine” in the MQTT stream.
> I have replaced the “sunduration.py” and restarted weewx
> Do I have to enter this somewhere?
> 
> Jacques Terrettaz schrieb am Donnerstag, 2. Mai 2024 um 18:05:49 UTC+2:
> I have added a new field in my extension : is_sunshine
> 
> At each record generation,, the is_sunshine value will be 1 if there is 
> sunshine, otherwise it will be 0.
> This field is also published in the MQTT stream.
> 
> See https://github.com/Jterrettaz/sunduration/tree/master
> 
> 
>> Le 2 mai 2024 à 14:54, geni08...@gmail.com <> <geni08...@gmail.com <>> a 
>> écrit :
>> 
>> I would like to get the attribute sunshine yes/no or a value in the MQTT 
>> stream to control my shutters if I already have a Davis Pro.
>> I can only find the value of "maxSolarRad_Wpm2". Please give me some advice 
>> on how I could evaluate this, or how could the sunshine value per minute be 
>> entered in MQTT?
>> 
> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/JUd55LCTtDE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+unsubscr...@googlegroups.com 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/25b158d2-31c2-4713-b43c-ce355343db99n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/25b158d2-31c2-4713-b43c-ce355343db99n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/07C35C1E-2161-4D5E-9936-95916261A037%40gmail.com.

Reply via email to