Re: [weewx-user] Re: Weewx Send data to Twitter Account

2023-08-26 Thread Greg Troxel
Invisible Man writes: > I used to use Weewx Twitter extension > (https://github.com/matthewwall/weewx-twitter). > Am I right to say it no longer works now with Twitter, unless you have a > paid API subscription? > > ``` > Aug 26 18:16:22 vegan weewx[20951] ERROR user.twitter: Failed attempt 3

Re: [weewx-user] Re: Weewx Send data to Twitter Account

2023-08-26 Thread Invisible Man
I used to use Weewx Twitter extension (https://github.com/matthewwall/weewx-twitter). Am I right to say it no longer works now with Twitter, unless you have a paid API subscription? ``` Aug 26 18:16:22 vegan weewx[20951] ERROR user.twitter: Failed attempt 3 of 3: Twitter API returned a 403

Re: [weewx-user] Re: Weewx Send data to Twitter Account

2023-01-23 Thread Glenn McKechnie
There may be other ways, but use tags. This is the approach I've taken with weewx-mastodon. Using weewx tags ( https://weewx.com/docs/customizing.htm#Tags) in a template will generate the desired text output. You would however need to modify the twitter extension to post the output from a weewx

[weewx-user] Re: Weewx Send data to Twitter Account

2023-01-23 Thread Jon B
Does anyone have any ideas for this? I guess one way may be to read from the previous day's archive_day entries in the database e.g. archive_day_rain, although I'm not sure how easy/practical this would be On Saturday, 7 January 2023 at 02:33:15 UTC Jon B wrote: > Is it possible to use this

[weewx-user] Re: Weewx Send data to Twitter Account

2023-01-06 Thread Jon B
Is it possible to use this Twitter extension to post the daily archived values for a given day? Ideally I'd like to set it to automatically tweet once a day (say at 10am local time) giving the stats for the previous day, e.g.: 06/01/2023: Max temperature: 12.3C, Min temperature: 2.3C, Max

[weewx-user] Re: Weewx Send data to Twitter Account

2023-01-06 Thread Jon B
Is it possible to use this to post the daily archived values for a given day? Ideally I'd like to set it to automatically tweet once a day (say at 10am local time) giving the stats for the previous day, e.g.: 06/01/2023: Max temperature: 12.3C, Min temperature: 2.3C, Max wind gust: 35 mph,

[weewx-user] Re: Weewx Send data to Twitter Account

2023-01-06 Thread Jon B
I managed this by modifying Axelle's code above in process_record(): ts = time.localtime() if ts.tm_hour not in (0,6,12,18) or ts.tm_min != 0: logdbg("This is not hour to tweet: %d" % ts.tm_hour) return That should tweet at 00:00, 06:00, 12:00 and 18:00. I'm not sure if this

[weewx-user] Re: Weewx Send data to Twitter Account

2022-03-28 Thread Arnaud RAHIER
Hello, I installed the twitter extension 'weewx-twitter' on my install (Debian 11 + WeeWX 4.7.0 + weewx-twitter 0.15) and it works fine. I modified the 'twitter.py' file to post a tweet to my weather twitter account and I wish the extension sends a tweet at a fixed time (0:00, 6:00, 12:00,