On Thursday, December 28, 2017 at 4:12:38 PM UTC-5, Chris Alemany wrote:
>
>
> Whoa. OK, that was awesome.
>
> However, if I put in 'dayRain' (or dayrain) as it is delivered within the
> LOOP or REC packets from weewx within my format command for the twitter
> extension, it just spits out:
>
> Rain Today: {dayRain:%.1f}mm
>
> rather than actually parsing the variable.
>
> However, other variables, like outTemp or heatindex or windchill seem to
> match up and work just fine. So I am definitely missing a crucial step
> here.
>
are the observations you want in REC or LOOP?
use the 'binding' option to the weewx-twitter extension to choose which you
want to tweet
if that does not get what you want, then you'll have to modify the
twitter.py code to make additional database queries (see other restful
extensions in restx.py for examples of how to do this)
--
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].
For more options, visit https://groups.google.com/d/optout.