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
Related
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
I just made the following simple experiment: created a weather icon using Meteor Weather Icons set and set it up to show "Tomorrow's weather". And for some unexplainable reason it shows a cresent particlaly covered by a cloud.
Why does it work that way?
AFAIK, weather icons that contain nighttime elements (like cresent) are supposed to be used by entries that show "Current Weather" during night hours only. Entries, which are set up to show weather for the entire day (like "Today's Weather", "Tomorrow's Weather", "2 Days Weather" and so on), are supposed to use generic weather icons only, independent from time of day (i.e. they shall never use nightime icons).
So, is it is bug in Zooper or is it a bug induced by a bad data from weather provider? And even if it is bad data from weather provider, why doesn't Zooper catch the error and filter it out on its side?
Its just how the config for the iconset is written.
Sent from GT-I9505 via Tapatalk
I've already contacted the developer for this reason.
The response was basically that this is how it should work...
Now I feel retarded...
Having zooper widget on your phone seemed like a good idea, it had so much potential, but now nothing happens and we're stuck with some things that make no sense.
It still has a ton of potential, but what's the point.
Just post the iconset and i will look into it.
Sent from GT-I9505 via Tapatalk
Weather for the entire day
I have the same problem, I want entries which are set up to show weather for the entire day (like "Today's Weather", "Tomorrow's Weather", "2 Days Weather" and so on) use daily weather icons only, but that's not the way ZW works.
So I've renamed all night icons in my config file to their daily equivalents. The iconset is recognized and works, most of the time. But sometimes, after the widget updates, some icons dissapear (eg. tommorow's weather and 3 days weather), and some are still there. What to do? Here are original and my own iconsets
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.
All,
I've been spending a bunch of time trying to get my icons to match Yahoo (using yahoo for my data as well). Ultimately I want my widget to open yahoo weather with certain clicks and I just want everything to be cohesive in look.
So far, I was able to extract all the icons from the yahoo weather apk, and i generally have them working. However, I've noticed that Yahoo actually has many more than 16 weather types. This seems to be causing me all sorts of inconsistencies in terms of what is shown on my widget versus what is shown in the app, specifically in future forecasts for the days ahead. For example, the app shows the next 6 days as scattered thunderstorms (its florida after all). But, my widget is showing them all as full thunderstorms (different icon than the app). I can somewhat "fix" this by mapping them to scattered, but that would just break the ones who truly should be mapped to thunderstorms.
The other problem I'm having is that the future days (once its past sunset) are all changing to nightime icons instead of being locked to day versions (as it is in the app).
Anyone have experience in trying to get everything consistent? Whats the best way to address it? And, is it possible to map the full list of Yahoo data instead of just 16? Perhaps I just screwed something up in my config file when i tried it? The yahoo developer page has a list of all of them, though I have no way to tell if that's actually 100% up to date either? Looks like it was posted in 2011. How can I make the day/night versions ONLY apply to my current weather, and not future? Maybe build 2 different sets of the same icons and exclude night? Seems like a lot of work, so wondering if anyone has tackled something similar.
Thanks,
Also, i assume somewhere zooper is taking the 48 Yahoo weather conditions and mapping that down to just 16? Where / how is that done?
g8rfn said:
All,
I've been spending a bunch of time trying to get my icons to match Yahoo (using yahoo for my data as well). Ultimately I want my widget to open yahoo weather with certain clicks and I just want everything to be cohesive in look.
So far, I was able to extract all the icons from the yahoo weather apk, and i generally have them working. However, I've noticed that Yahoo actually has many more than 16 weather types. This seems to be causing me all sorts of inconsistencies in terms of what is shown on my widget versus what is shown in the app, specifically in future forecasts for the days ahead. For example, the app shows the next 6 days as scattered thunderstorms (its florida after all). But, my widget is showing them all as full thunderstorms (different icon than the app). I can somewhat "fix" this by mapping them to scattered, but that would just break the ones who truly should be mapped to thunderstorms.
The other problem I'm having is that the future days (once its past sunset) are all changing to nightime icons instead of being locked to day versions (as it is in the app).
Anyone have experience in trying to get everything consistent? Whats the best way to address it? And, is it possible to map the full list of Yahoo data instead of just 16? Perhaps I just screwed something up in my config file when i tried it? The yahoo developer page has a list of all of them, though I have no way to tell if that's actually 100% up to date either? Looks like it was posted in 2011. How can I make the day/night versions ONLY apply to my current weather, and not future? Maybe build 2 different sets of the same icons and exclude night? Seems like a lot of work, so wondering if anyone has tackled something similar.
Thanks,
Click to expand...
Click to collapse
You will not be able to match Yahoo's weather states exactly with Zooper. As you already figured out, Zooper only knows 16 weather states, which is done to unify the states from different weather data providers to a single interface. The external states are mapped internally to these internal ones and this process can not be influenced from the user side.
As to your second question about the day/night icons: download my weather icon set here and check the included XML. It's configured to only show day/night icons for the current weather option and not the forecast variants. You should be able to transfer this to your set quite easily
Thanks!
Interesting. I didn't know zooper converted the 48 yahoo weathers to 16. What are those 16? I'm trying to do something similar to the OP but with bitmaps.
TheStretchedElf said:
Interesting. I didn't know zooper converted the 48 yahoo weathers to 16. What are those 16? I'm trying to do something similar to the OP but with bitmaps.
Click to expand...
Click to collapse
To answer my own question, and assuming this link is up to date, the 16 weather conditions of zooper are here: http://www.zooper.org/wp/archives/1155
kwerdenker said:
As to your second question about the day/night icons: download my weather icon set here and check the included XML. It's configured to only show day/night icons for the current weather option and not the forecast variants. You should be able to transfer this to your set quite easily
Click to expand...
Click to collapse
I am facing the same problem regarding day/night icons. I downloaded your config.xml and tried to modify my existing xml based on the info in your xml, but it seems I'm doing something wrong because when I open Zooper on my phone the app is not recognizing the modified xml.
I am attaching the icon set (including the original xml) without any modification. I would appreciate if you let me know exactly what to modify in the xml.
Thanks
jakou said:
I am facing the same problem regarding day/night icons. I downloaded your config.xml and tried to modify my existing xml based on the info in your xml, but it seems I'm doing something wrong because when I open Zooper on my phone the app is not recognizing the modified xml.
I am attaching the icon set (including the original xml) without any modification. I would appreciate if you let me know exactly what to modify in the xml.
Thanks
Click to expand...
Click to collapse
I rather prefere if you upload your edited version so I can check it for errors and tell you what you did wrong. That way you know what to do when the next icon pack comes around
kwerdenker said:
I rather prefere if you upload your edited version so I can check it for errors and tell you what you did wrong. That way you know what to do when the next icon pack comes around
Click to expand...
Click to collapse
Here's the modified xml.
Is it possible to change the provider on the stock weather widget on the G4 from Accuweather to another one?
Accuweather gives a totally incorrect forecast 90% of the time in my case.
It's been saying all morning heavy cloud and to wrap up and its been sunny, blue skies and 22 deg for the last 2 hours.
Cheers
Have you tried changing the update interval in settings to 1 hour instead of the default 3?
Yes that was the 1st thing I did, I like the widget itself I just don't like AccuWeather as the provider but I can't see a setting how to swap it
john306 said:
Is it possible to change the provider on the stock weather widget on the G4 from Accuweather to another one?
Accuweather gives a totally incorrect forecast 90% of the time in my case.
It's been saying all morning heavy cloud and to wrap up and its been sunny, blue skies and 22 deg for the last 2 hours.
Cheers
Click to expand...
Click to collapse
How could this be possible, without having any option to select weather service providers? Stock weather app is very basic and is tied to Accuweather, as their services are default on all Samsung and LG devices, because it's official weather provider on these devices.
Whilst I am in agreement with OP, unfortunately Accuweather is the only service provider LG use as stock, it's all built into the smart notice etc. There's no way of changing it from the front end, and changing it back end in the code would be just messy. I tend to use Google Now for weather as it seems to be more accurate.
That's unfortunate. Thanks anyway. I'll just change to another weather/time widget that I can choose, and that is at least somewhat accurate.
john306 said:
That's unfortunate. Thanks anyway. I'll just change to another weather/time widget that I can choose, and that is at least somewhat accurate.
Click to expand...
Click to collapse
There are some weather applications available on Google Play store, that allow you to switch between weather providers such Weather Timeline, and a few more. I've tested a few applications, and these weather providers are all you get to choose from: yahoo.com, yr.no, forecast.io, weather underground, openweathermap, world weather online. Most of these apps, gives you between two or three providers choice, but Weather Timline has max. no of providers. You can check them out.