>
> format = "{station} {dateTime:%H:%M %b %d %Y}: T: {outTemp:%.1f}ºC D:
> {dewpoint:%.1f}ºC W: {windDir:ORD} {windSpeed:%.1f}kph gusting to
> {windGust:%.1f}kph H: {outHumidity:%.0f}% P: {barometer:%.2f}hPa Rain Rate:
> {rainRate:%.1f}mm/hr Chill:{windchill:%.1f}ºC HIndex:{heatindex:%.1f}ºC
> Solar: {radiation:%.0f}W/m2 UV: {UV:%.0f} #PortAlberni
> https://www.alberniweather.cahttps://www.youtube.com/alberniweather"I'm not seeing dayrain (or dayRain) in your format at all. Where is it coming from? -tk On Thu, Dec 28, 2017 at 4:48 PM, Chris Alemany <[email protected]> wrote: > This is the format string: > > format = "{station} {dateTime:%H:%M %b %d %Y}: T: {outTemp:%.1f}ºC D: > {dewpoint:%.1f}ºC W: {windDir:ORD} {windSpeed:%.1f}kph gusting to > {windGust:%.1f}kph H: {outHumidity:%.0f}% P: {barometer:%.2f}hPa Rain Rate: > {rainRate:%.1f}mm/hr Chill:{windchill:%.1f}ºC HIndex:{heatindex:%.1f}ºC > Solar: {radiation:%.0f}W/m2 UV: {UV:%.0f} #PortAlberni > https://www.alberniweather.ca https://www.youtube.com/alberniweather" > > This is what twitter output looks like (same for dayRain or dayrain as > variable): > > Hourly Auto-Tweet 16:45 Dec 28 2017: T: 2.4ºC D: 2.4ºC W: * 0.0kph gusting > to 0.0kph H: 100% P: 1013.07hPa Rain: {dayrain:%.1f}mm Rain Rate: 0.0mm/hr > Chill:2.4ºC HIndex:2.4ºC Solar: 0W/m2 UV: 0 #PortAlberni > <https://twitter.com/hashtag/PortAlberni?src=hash> https://www. > alberniweather.ca <https://t.co/ii27SDt2D8> > > and > > Hourly Auto-Tweet 16:40 Dec 28 2017: T: 2.5ºC D: 2.5ºC W: * 0.0kph gusting > to 0.0kph H: 100% P: 1013.04hPa Rain: {dayRain:%.1f}mm Rain Rate: 0.0mm/hr > Chill:2.5ºC HIndex:2.5ºC Solar: 0W/m2 UV: 0 #PortAlberni > <https://twitter.com/hashtag/PortAlberni?src=hash> https://www. > alberniweather.ca <https://t.co/ii27SDt2D8> > > > On Thursday, December 28, 2017 at 4:45:42 PM UTC-8, Chris Alemany wrote: >> >> no improvement. :( >> >> On Thursday, December 28, 2017 at 4:19:58 PM UTC-8, mwall wrote: >>> >>> On Thursday, December 28, 2017 at 6:52:36 PM UTC-5, Chris Alemany wrote: >>>> >>>> >>>> I used dayrain without success. >>>> >>> >>> at line 267 of twitter.py change this: >>> >>> def process_record(self, record, dummy_manager): >>> >>> if self.unit_system is not None: >>> >>> record = weewx.units.to_std_system(record, self.unit_system) >>> >>> record['station'] = self.station >>> >>> to this: >>> >>> def process_record(self, record, mgr): >>> >>> record = self.get_record(record, mgr) >>> >>> if self.unit_system is not None: >>> >>> record = weewx.units.to_std_system(record, self.unit_system) >>> >>> record['station'] = self.station >>> >>> then restart weewx. >>> >>> m >>> >> -- > 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. > -- 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.
