[Q] Changing location with tasker scene - Zooper Widget General

I would like to change the widget locality for a module using a tasker scene. The idea is to click on a hotspot in the zooper widget which starts a tasker scene. From there, I pick a location. This sets a zooper variable in tasker to the new location. Up to here there's no problem. But I don't see how I can use the zooper variable to change the locality of the widget. Is there a way to do it?

VeryGenericUser said:
I would like to change the widget locality for a module using a tasker scene. The idea is to click on a hotspot in the zooper widget which starts a tasker scene. From there, I pick a location. This sets a zooper variable in tasker to the new location. Up to here there's no problem. But I don't see how I can use the zooper variable to change the locality of the widget. Is there a way to do it?
Click to expand...
Click to collapse
No, Zooper currently doesn't support changing the location via external means

@VeryGenericUser are you trying to get a map of your current location? Directions from where you are to home or someplace else?

MrBiggzz said:
@VeryGenericUser are you trying to get a map of your current location? Directions from where you are to home or someplace else?
Click to expand...
Click to collapse
No. The idea was to change the location for the weather forecast. I wanted to have a Zooper weather widget for my current location by default, but still be able to manually change the location with two clicks right from my home screen, for example to set the locality to the place I'm about to travel to.

OK. Why don't you make your Tasker scene to change the parameters of an HTTP GET to something like Yahoo weather. In your scene change the city or zip code and be able to enable or disable the profile.
In Zooper hide the travel weather if you don't have it and show it if you do.
I haven't had the chance to play with scenes yet. Scraping an RSS feed for weather I know how. Have to do a bunch of variable splits.
If you want I can create the RSS scrape and then you can do what you need to do.
Let me know!
Sent from my Nexus 5 using Tapatalk

@MrBiggzz
Thanks, that might be a way to do it, but it would be more elaborate. Maybe I'll get to it one day when I have more time.

Related

[Q] Sense 3.0 weather issues / custom location

Hello everyone,
I'm using Android Revolution 6.3.2, S-Eng off a.s.o.
I am trying to add a custom weather location, but I don't know which database to edit in WPDB.zip. I tried to add the location to WP_040EHUN, WP_0407GER and WP_0409WWE so far without success, my phone won't find the new location, which is in Hungary btw. Accuweather.com shows it and all fields I added in the database seem correct, and yet nothing.
Also, does the clock/weather widget only work with current location setting? Because as soon as I disable current location, it doesn't show the weather anymore.
The Weather application still shows and updates the location even after I turn off current location, yet it doesn't show it in the list.
The News & Weather application does the same as the Clock/Weather widget (if current location is off, it doesn't show the weather, it says "no available location").
I suspect this has something to do with Sense rather then the ROM, but anyhow any help would be appreciated.
Thank you!
You are right it is a sense issue. I got fed up of the sense weather widget and now use HD widgets or Beautiful widgets. You can make both of them look almost identical to sense and the location works perfectly.
It's quite an easy edit, its the wee one. Once in the db set your lat/long, and name it whatever you want. Then in the weather app and clock, select what you named it in the db.
I'll have a search for the info, and post the link.
http://forum.xda-developers.com/showthread.php?t=1088844
Sent from The App that Time Forgot.
But the whole point of it is to tell you the weather where you are at that moment. That edit is OK if your never leave your own backyard.
FurryCup said:
But the whole point of it is to tell you the weather where you are at that moment. That edit is OK if your never leave your own backyard.
Click to expand...
Click to collapse
Yeah, but what if I don't want Google to know where I am at any given time? I mean, I'm not paranoid, don't have anything to hide either and I like Android, but I'm trying to let it invade my privacy as less as possible.

[Q] setting variables

So I was wondering if there is a way to set a variable to something, then change it dynamically based on an event. Here is an example of an end goal with what I mean. So you make a widget that shows the forecast and all items have some form of
[bo]$#TMU_ISPLAYING#=1?0:100$[/bo]
To hide if media is playing (when combined with media utilities). I would like to take this a bit further and say, if I have that same widget, a forecast widget and down in the corner is an icon, by clicking that icon(the event) it changes the value of a variable in zooper, and the widget can change based on that. Much like with the TMU_ISPLAYING, except with this, your click changes the variable and not an outside app. Does anyone know if this is possible at all, even just a very random workaround solution would be cool, I just want to be able to change a widget based on a click. Thanks in advance.
danwguy said:
So I was wondering if there is a way to set a variable to something, then change it dynamically based on an event. Here is an example of an end goal with what I mean. So you make a widget that shows the forecast and all items have some form of
[bo]$#TMU_ISPLAYING#=1?0:100$[/bo]
To hide if media is playing (when combined with media utilities). I would like to take this a bit further and say, if I have that same widget, a forecast widget and down in the corner is an icon, by clicking that icon(the event) it changes the value of a variable in zooper, and the widget can change based on that. Much like with the TMU_ISPLAYING, except with this, your click changes the variable and not an outside app. Does anyone know if this is possible at all, even just a very random workaround solution would be cool, I just want to be able to change a widget based on a click. Thanks in advance.
Click to expand...
Click to collapse
This is possible with Tasker. Zooper has a built-in Tasker plugin so you can send data from Tasker to Zooper and I have used it for the same thing you are trying to do. If you are used to work with Tasker it's really easy to setup but if you are new to Tasker, it might take you a bit to figure it out. Here is a link on how this generally works: http://www.jagwar.de/en/zooper-tasker-variables/. To get you started, you can find my task here. To use Tasker tasks from Zooper, you set them as a Module OnTap action via the Tasker shortcut action.
Hope this helps you out enough to get you going

Trigger Zooper image refresh/redraw?

Is there any way to cause Zooper to redraw itself externally (via Tasker for example). I'd like to have it update to a new weather map image that I download regularly with Tasker.
Thanks!
itesla said:
Is there any way to cause Zooper to redraw itself externally (via Tasker for example). I'd like to have it update to a new weather map image that I download regularly with Tasker.
Thanks!
Click to expand...
Click to collapse
I think you have to use the same trick Media Utilities uses: save the image every time under a different name (this is important to overcome Zooper's internal caching) and then push the new path as a variable to Zooper via it's Tasker plugin. Use that variable as the input for the bitmap absolute path tags in Zooper and it should refresh the picture anytime you send it a new file path. You probably have to only alternate between two filenames but I never have tested it so I'm not sure.

Weather line graph? possible?

Hello, I wonder if there's possible to make a line graph with Zooper Widget Pro?
I trust the yr.no weather and would like this graph yr.no/sted/Sverige/Norrbotten/Lule%C3%A5/time_for_time.html
I know there's a widget itself for this but it simply just grabs the image itself and I can't customize it at all.
So I wonder if there's possible to somehow build weather graph in Zooper?
Wrong thread
Mokum020 said:
I don't know what you're thinking of making exactly, but this is a weather widget with graps I made a couple of months ago.
For me the only weather provider available in Zooper that works well with my widget is the default, Open Weather Map.
With Yr.no I mostly get strange readings and with Yahoo I get less weather data.
In the attachments you can see the data I get for your location with the three weather providers available in Zooper.
Click to expand...
Click to collapse
Woa that looks sweet!
I thought mostly about a line graph that shows the weather for the next 24 or 48 hours.
Not have to be line graph, those bars you've looks great, but it would be nice if it's possible to get out every hour of the weather change in a full day atleast.
Wrong thread
Niemil said:
Woa that looks sweet!
I thought mostly about a line graph that shows the weather for the next 24 or 48 hours.
Not have to be line graph, those bars you've looks great, but it would be nice if it's possible to get out every hour of the weather change in a full day atleast.
Click to expand...
Click to collapse
Mokum020 said:
Somebody correct me if i'm wrong but afaik you can't get hourly predictions only daily.
Click to expand...
Click to collapse
Correct. Zooper doesn't pull the data for hourly forecasts. There is always Tasker as an option to get the data but I don't know if someone already tried to implement an "alternative" weather data provider that way.
I know I'm way late to this thread, but I'm just getting started with Zooper Pro. Right now, I'm only interested in making weather widgets. I'm hoping Mokum020 can answer a question for me about the wind rose. How exactly is that implemented? The widget in post #2 is simply stunning. If you didn't mind, could you post the .zw file you used so I could learn from it. Thanks in advance for any help.
Wrong thread
kwerdenker said:
Correct. Zooper doesn't pull the data for hourly forecasts. There is always Tasker as an option to get the data but I don't know if someone already tried to implement an "alternative" weather data provider that way.
Click to expand...
Click to collapse
Tasker can definitely pull it and parse it. Either from a weather data site or using the AutoApp plugin AutoWeather, which is still in alpha but seems to work pretty well.
So, lets say Tasker passes hourly data to Tasker to build a line graph of hourly weather. I think it can ABSOLUTELY be done, technically lol, but first you'd have to work with some rectangles scaled down to lines and a whooole bunch of math.
In Zooper every aspect of those 'lines' can be controlled via Advanced Parameters. So width, rotation angle, x/y etc. The issue is that you'd have to employ some fairly advanced mathematics to get the lines into a proper graph. Whether that math gets done in Zooper based on the Tasker data, OR, the math gets done in Tasker and just all piped over to Zooper, I believe it's doable but again the math would be time consuming aspect.
Not nuclear physics, but a lot of equations and trial and error. As working with Zooper variables and math is akin to cryptography sometimes, I'd be in favor of doing the math all in Tasker and then doing a data dump to Zooper just to spin and lengthen (or shorten) the lines to display/build the graph.
Thank you very much. I'm an old hand at Android, but very new to Zooper.
Wrong thread

Can't update weather setting (bug?)

Hello all. I'm trying to configure my weather widget to use a specific city instead of current location. I'm under the impression that if I manually set the location instead of using current location, weather will update without location settings being turned on (correct me if I'm wrong). However the prompt to change the location is too small and I can't scroll down to select the other options or even hit save (see image). How do I get around this? Thanks.
Zooper Widget Pro v2.60
Galaxy Tab 4 10.1, Android 5.0.2
Same thing
majhimujhuko said:
Hello all. I'm trying to configure my weather widget to use a specific city instead of current location. I'm under the impression that if I manually set the location instead of using current location, weather will update without location settings being turned on (correct me if I'm wrong). However the prompt to change the location is too small and I can't scroll down to select the other options or even hit save (see image). How do I get around this? Thanks.
Zooper Widget Pro v2.60
Galaxy Tab 4 10.1, Android 5.0.2
Click to expand...
Click to collapse
Hi! Tell me please have you solved your problem? I'm having the same issue with my ASUS ZenPad? Help!!!
Kraguanci said:
Hi! Tell me please have you solved your problem? I'm having the same issue with my ASUS ZenPad? Help!!!
Click to expand...
Click to collapse
I have not solved this problem, unfortunately. I just have to live with it.
Maybe use WeatherACE plugin with Tasker? Then pass variable to Zooper?
Life is poker, risk being happy
Same problem on Zenpad for me
ewa12321 said:
Maybe use WeatherACE plugin with Tasker? Then pass variable to Zooper?
Care to elaborate? I'm not sure I'd know how to do that and I'm willing to try anything
Click to expand...
Click to collapse
ewa12321 said:
Maybe use WeatherACE plugin with Tasker? Then pass variable to Zooper?
Life is poker, risk being happy
Click to expand...
Click to collapse
Care to elaborate? I'm not sure I'd know how to do that and I'm willing to try anything
You're doing better than I am. I can't even see what I type in for location. I can use the spell check to make sure I'm entering everything in right, but I still get no results back. No matter what I do, I can't get current weather to match anything close. Even if I select Yahoo for the source, and download the Yahoo Weather app, they give different results.

Categories

Resources