How do I set defaults? I didn't see that in the docs. Thanks!admin wrote:I see in your template that you don't have defined default values for all variables (th0hum-act, rain0total-daysum in if clause).
This might also cause trouble with the square brackets when no sensor data for this sensor available.
Search found 4 matches
- Mon Oct 10, 2016 3:43 pm
- Forum: Meteobridge Discussion
- Topic: Intermittent Twitter error - "closing paren expected"
- Replies: 7
- Views: 4617
Re: Intermittent Twitter error - "closing paren expected"
- Tue Oct 04, 2016 4:29 pm
- Forum: Meteobridge Discussion
- Topic: Intermittent Twitter error - "closing paren expected"
- Replies: 7
- Views: 4617
Re: Intermittent Twitter error - "closing paren expected"
Thanks for the replies.
I tested removing various characters -- ° · ٪ -- but still saw the error. Finally I tried removing the parenthesis around the "feels like" part and I haven't seen the error again. It's always been an intermittent issue, but this has been running for ~12 hrs so far, so I will ...
I tested removing various characters -- ° · ٪ -- but still saw the error. Finally I tried removing the parenthesis around the "feels like" part and I haven't seen the error again. It's always been an intermittent issue, but this has been running for ~12 hrs so far, so I will ...
- Mon Oct 03, 2016 4:49 am
- Forum: Meteobridge Discussion
- Topic: Intermittent Twitter error - "closing paren expected"
- Replies: 7
- Views: 4617
Intermittent Twitter error - "closing paren expected"
Hi - I've used the same Twitter script for a while but it recently started intermittently failing (perhaps with the recent upgrade of Meteobridge?).
I'm on Meteobridge 3.1
The script is:
#SandySpring #MD #MoCo [th0temp-act=F.1:--]°F (feels like [th0heatindex-act=F.1:--]°F) · Humidity: [th0hum-act ...
I'm on Meteobridge 3.1
The script is:
#SandySpring #MD #MoCo [th0temp-act=F.1:--]°F (feels like [th0heatindex-act=F.1:--]°F) · Humidity: [th0hum-act ...
- Sun Oct 04, 2015 5:36 pm
- Forum: Meteobridge Discussion
- Topic: Twitter alarm for wind gusts
- Replies: 1
- Views: 1894
Twitter alarm for wind gusts
I'd like to be able to send a Tweet every time the wind is greater than a certain value.
So far I can get it to fire once but then it doesn't fire again. I think I'm not adding the right "clear" setting, but I've tried various things and they don't work.
Here's what I've got so far:
Twitter ...
So far I can get it to fire once but then it doesn't fire again. I think I'm not adding the right "clear" setting, but I've tried various things and they don't work.
Here's what I've got so far:
Twitter ...