Not processing tags properly with Twitter service **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
grwkak
Gold Boarder
Gold Boarder
Posts: 186
Joined: Thu Jan 30, 2014 2:15 am

Not processing tags properly with Twitter service **solved**

Post by grwkak »

Currently using the following for my daily weather tweets - set to run at 6am every day:

Current Conditions at the Wilson's weather station at [hh]:[mm]. It's [th0temp-act=F.1:--]° outside#if# {*([wind0chill-act=F.1:--] < [th0temp-act=F.1:--])*} #then# with a wind chill of [wind0chill-act=F.1:--]°#else##fi##if#{*([th0heatindex-act=F.1:--] > [th0temp-act=F.1:--])*} #then# with a heat index of [th0heatindex-act=F.1:--]°#else##fi#. Humidity: [th0hum-act=.0] percent. Wind is [wind0wind-havg=mph.1]mph from from the [wind0dir-havg=endir] with gusts up to [wind0wind-hmax=mph.1:--]mph. It has rained [rain0total-hoursum=in.2]in in the past hour, [rain0total-sumday=in.2]in total today. Current Rain: [rain0rate-act=in.2] in/h.

If I use the test function - processes correctly - for example:

Current Conditions at the Wilson's weather station at 09:06. It's 36.0° outside with a wind chill of 35.2°. Humidity: 66 percent. Wind is 3.2mph from from the SSW with gusts up to 10.1mph. It has rained 0.00in in the past hour, 0.00in total today. Current Rain: 0.00 in/h.

But when it tweets according to the schedule at 6am I get:

Current Conditions at the Wilson's weather station at 06:00. It's 33.4° outside. Humidity: 69 percent. Wind is 1.5mph from from the SW with gusts up to --mph. It has rained [rain0total-hoursum=in.2]in in the past hour, 0.00in total today. Current Rain: 0.00 in/h.

Any suggestions - seems to be a processing issue of the tags, not sure why.

Guy
grwkak
Gold Boarder
Gold Boarder
Posts: 186
Joined: Thu Jan 30, 2014 2:15 am

Re: Not processing tags properly with Twitter service

Post by grwkak »

Changed the time from 6am to 5:45am - 1st time processed fine. Wondering if its "overloaded" at 6am with other things and can't process properly.

Guy
grwkak
Gold Boarder
Gold Boarder
Posts: 186
Joined: Thu Jan 30, 2014 2:15 am

Re: Not processing tags properly with Twitter service

Post by grwkak »

This may be the issue - 2 days at 5:45 and it works.

Guy
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Not processing tags properly with Twitter service

Post by admin »

I don't have a good explanation. Please report when symptoms come back.
grwkak
Gold Boarder
Gold Boarder
Posts: 186
Joined: Thu Jan 30, 2014 2:15 am

Re: Not processing tags properly with Twitter service

Post by grwkak »

So far leaving at 5:45am or manual (test) works fine. Have not tried to go back to 6am.

Guy
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Not processing tags properly with Twitter service

Post by admin »

Please use "[rain0total-hoursum=in.2:0]" and you should be fine in any timing. Using default values is recommended.
grwkak
Gold Boarder
Gold Boarder
Posts: 186
Joined: Thu Jan 30, 2014 2:15 am

Re: Not processing tags properly with Twitter service **solved**

Post by grwkak »

Thanks just saw this - will add default values and see.

Guy
Post Reply