Weather Forecast

roughnecks

Active member
Hi,
I've got a macro which notifies me if it's going to rain; the only issue is that it doesn't tell me one hour or so in advance, like a proper forecast, it just tells me when it's already started raining..

I have the meteo fetch every 30 minutes so that's not an issue, I think.

Ideas? Is this the intended behavior?
 

roughnecks

Active member
Thanks, first time I use a Tasker plugin. This is what I've done.

1) Added a trigger for meteo conditions in 3 hours: rain, snow, thunderstorm etc..
It then wants me to add variables for different parameters, so I added "meteotask" for generic forecast, "pioggia3" for rain in 3hrs and "neve3" for snow in 3hrs
2) Added a notification containing those 3 variables.

Result: if I manually test the trigger, all variables stay empty.
 

Attachments

  • IMG_20210827_153920.jpg
    IMG_20210827_153920.jpg
    123.7 KB · Views: 37
  • IMG_20210827_153815.jpg
    IMG_20210827_153815.jpg
    46.9 KB · Views: 32

420

Active member
Thanks, first time I use a Tasker plugin. This is what I've done.

1) Added a trigger for meteo conditions in 3 hours: rain, snow, thunderstorm etc..
It then wants me to add variables for different parameters, so I added "meteotask" for generic forecast, "pioggia3" for rain in 3hrs and "neve3" for snow in 3hrs
2) Added a notification containing those 3 variables.

Result: if I manually test the trigger, all variables stay empty.
Have you opened the MeteoTask app itself and gave it location permission?

you have to either do that, or refuse the permission and set a fixed location.

Ps: if there is no rain/snow in the next 3 hours those variables will still stay empty.
 

roughnecks

Active member
Have you opened the MeteoTask app itself and gave it location permission?
yes I did that.
Ps: if there is no rain/snow in the next 3 hours those variables will still stay empty.
It rained all day today and there is also the "weather conditions" variable which - I guess - should never be empty, unless the test trigger didn't really "trigger" a weather update on the plugin.

So, are you telling me I did everything alright with the setup?
 

420

Active member
yes I did that.

It rained all day today and there is also the "weather conditions" variable which - I guess - should never be empty, unless the test trigger didn't really "trigger" a weather update on the plugin.

So, are you telling me I did everything alright with the setup?
I think testing the trigger in macrodroid will just fill the variables with existing data from MeteoTask, and doesn't actually update the weather info.

You can try to force a weather update in the MeteoTask app itself, there is a button for it in the top right corner, and then test your trigger in macrodroid afterwards, that worked for me..

To me your setup seems alright, but i must say that i hadn't even heard of this plugin untill today.
 

FrameXX

Well-known member
@roughnecks Try using Get weather info action of this plugin and see if it outputs you any variable. The fact is that it also doesn't output anything for me when I tryed it today. But another fact is that it works on my Android tv even after updating to last beta.

With MacroDroid it's a never ending story...
 

roughnecks

Active member
Hey thank you both, I got it working with @420 's advice about forcing a weather update in MeteoTask.
Do you happen to know if I can convert m/s (for wind speed) in Km/h inside Macrodroid, before sending the notification? Maybe saving the value in a different variable..
 

roughnecks

Active member
Also, out of curiosity, what do you do @FrameXX with MD on your Android TV?
I've got a Mi TV Stick recently but never thought I could install MD on it.. :eek:
 

420

Active member
Hey thank you both, I got it working with @420 's advice about forcing a weather update in MeteoTask.
Do you happen to know if I can convert m/s (for wind speed) in Km/h inside Macrodroid, before sending the notification? Maybe saving the value in a different variable..
yeah this is pretty simple, you will need to create a seperate integer variable.

add an action (above the notification) to set it to - Expression - ([lv=Your wind speed string variable]*18)/5

also change the notification to show the integer wind speed variable, instead of the string wind speed variable.


i also have a question myself,

maybe i am missing something, but there doesn't seem to be a way to change the language in the MeteoTask app, so the weather condition is in english, is this really not possible? if so, is there possibly a way to translate the weather condition using macrodroid?
 

roughnecks

Active member
yeah this is pretty simple, you will need to create a seperate integer variable.

add an action (above the notification) to set it to - Expression - ([lv=Your wind speed string variable]*18)/5

also change the notification to show the integer wind speed variable, instead of the string wind speed variable.
All done and working, tysm.
i also have a question myself,

maybe i am missing something, but there doesn't seem to be a way to change the language in the MeteoTask app, so the weather condition is in english, is this really not possible? if so, is there possibly a way to translate the weather condition using macrodroid?
This may be the first time being Italian is convenient on the Internet, ahah :p
 

FrameXX

Well-known member
@roughnecks I use MacroDroid on my Xiaomi mi box s to for example:

- get into recents menu
- use MacroDroid drawer as my quick action menu
- automatically start photo presentations

I use key mapper from play store to remap my remote to MacroDroid actions.

The problem is that after some update Xiaomi totally fucked up with MacroDroid.

From the very start MacroDroid nor any other app wasn't able to use internet when the screen was off. It was annoying, but not that big problem, but after some update Xiaomi broke app timer so time triggers that I used to wake up TV and start presentation no more works. MacroDroid is now just not able to wake up TV on any trigger and I would need to do it manually. So this is a huge bummer from Xiaomi. (I have whitelisted MacroDrid from battery optimizations).

I am not sure if installing MacroDroid on TV sticks is a good idea, because it has less power and RAM then mi tv box s, but you can try it and see how it handles it.
 

Jacob L

Moderator (Lawsonator)
See if you can flash a custom ROM like Lineage OS. You can then root it, Debloat it and use MD with it
 

roughnecks

Active member
Sorry if I ask this (again), but what's the difference between MeteoTask and MD's weather function?
The "3hrs" in MeteoTask mean that it syncs weather data every 3hrs, right? Why can't I just tell MD to fetch weather updates every 2hrs (current maximum)?

Or is it that MeteoTask sends me weather conditions updates 3hrs before they are supposed to happen?

I know this isn't very clear, but hopefully you'll understand my concern.. In the end if I can do the same stuff only using MD, then it's 1 app less that I have to keep running in background.
 

420

Active member
Sorry if I ask this (again), but what's the difference between MeteoTask and MD's weather function?
The "3hrs" in MeteoTask mean that it syncs weather data every 3hrs, right? Why can't I just tell MD to fetch weather updates every 2hrs (current maximum)?

Or is it that MeteoTask sends me weather conditions updates 3hrs before they are supposed to happen?

I know this isn't very clear, but hopefully you'll understand my concern.. In the end if I can do the same stuff only using MD, then it's 1 app less that I have to keep running in background.
As you mentioned in your first post Macrodroid can only trigger on current weather conditions, so to get a rain/weather warning in advance you will have to use MeteoTask.

I have set this up but we have not had any rain, so i don't really know if it will be accurate.. may i ask how well it has been working for you?
 

roughnecks

Active member
It's.. "working" :)
This morning I had several notifications, even a few of them only 15 minutes apart one from the other.. Then other notifications were 3hrs apart.

I'm adjusting my macros accordingly now but I can say the plugin is definitely working.
 

420

Active member
btw, it started raining/thunderstorm and my macro didn't fire all day..
Yeah i don't know... i also had some rain yesterday, and the "rain in next hour" and "rain in next 3 hours" variables have always stayed empty...

So i double checked my location and went to the open weathermap website itself, and there it did say that it was raining!

I don't know what we are doing wrong, if anything..

Maybe we are better off installing a "real" weather forecast/rain warning app and using notification received trigger :ROFLMAO:
 
Top