![]() |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
1 Attachment(s)
Hello Guys,
I've been doing a weather LockScreen. So this is as far i have it right now. I have a script, which takes care of all stuff using imagemagick. But i can't figure out which strings pulls the CURRENT temparature. As you can see, i can get the lowest and the highest for today. Any help would be appreciated. And btw, does anybody know how to set -gravity with coordinates, not South,West,SouthWest and so on?? Edit: just to make clear, what i mean under a "string". Here is the one, which pulls the lowest Temp: Code:
echo `grep 'forecast-icon.*http.*png' /home/user/imagemagick/ywtemp.htm | grep -o Low[:].[-0-9][-0-9]*`°C |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Below is the entire script that the yahoo weather beecon uses, that displays high, low and current temperature. Somewhere in there is the string that you are after. I am not sure where so I pasted the whole thing. I hope this helps:
[queen-beecon-header] version=1.000000 checksum=6074982 [queen-beecon-exported-instance] widgetType=1 widgetVisible=1 operationalStatus=0 hideCanvas=true hideClickCanvas=true snippetBgRGB=0 snippetExtBgRGB=#000000000000 beecon_lt0_ImgZoom=0 beecon_lt0_BgRGB=2 beecon_lt0_ExtBgRGB=#808080808080 beecon_lt0_ImgFilename=queen-beecon-syserr.png beecon_eq0_ImgZoom=0 beecon_eq0_BgRGB=3 beecon_eq0_ExtBgRGB=#0000ffff0000 beecon_eq0_ImgFilename=queen-beecon-appok.png beecon_eq1_ImgZoom=0 beecon_eq1_BgRGB=4 beecon_eq1_ExtBgRGB=#ffffffff0000 beecon_eq1_ImgFilename=queen-beecon-appwrn.png beecon_ge2_ImgZoom=0 beecon_ge2_BgRGB=5 beecon_ge2_ExtBgRGB=#ffff00000000 beecon_ge2_ImgFilename=queen-beecon-apperr.png beecon_idxge2_ImgZoom=0 beecon_idxge2_BgRGB=11 beecon_idxge2_ExtBgRGB=#0000ffffffff beecon_idxge2_ImgFilename=queen-beecon-index.png widWidth=315.8853503184713 widHeight=130.20127795527156 instanceTitle=YahooWeather instanceCmd=wget --user-agent="" -q -t 1 -T 10 -O "/home/user/.queen_beecon_dir/ywtemp.htm" "http://uk.weather.yahoo.com/england/greater-london/barking-11853/" ; wget --user-agent="" -q -t 1 -T 10 -O "/home/user/.queen_beecon_dir/ywtemp.png" `grep 'forecast-icon.*http.*png' /home/user/.queen_beecon_dir/ywtemp.htm | grep -o http*[a-zA-Z0-9\\.\\-\\\\_/\\:]*.png | grep -m 1 http` | echo "<span foreground=\\"white\\" font=\\"bold 30\\">`grep 'forecast-icon.*http.*png' /home/user/.queen_beecon_dir/ywtemp.htm | grep -o yw-temp..[-0-9]\\* | grep -o temp..[-0-9]* | grep -o [-0-9][-0-9]*`</span>"°C ; echo `grep 'forecast-icon.*http.*png' /home/user/.queen_beecon_dir/ywtemp.htm | grep -o High[:].[-0-9][-0-9]*`°C ; echo `grep 'forecast-icon.*http.*png' /home/user/.queen_beecon_dir/ywtemp.htm | grep -o Low[:].[-0-9][-0-9]*`°C rememberMe= cmdImgFilename=;queen-beecon.png cmdImgAngle=0 cmdImgZoom=0 cmdFgRGB=5 cmdExtFgRGB=#ffff00000000 cmdTextAngle=1 cmdVisibilityPosition=0 cmdImgVisibilityPosition=1 cmdJustify=0 cmdExtFont=Nokia Sans bold italic 14 cmdFontName=3 cmdFontSize=14 resImgFilename=ywtemp.png resImgAngle=0 resImgZoom=25 resFgRGB=4 resExtFgRGB=#ffffffffffff resTextAngle=0 resVisibilityPosition=6 resImgVisibilityPosition=1 resJustify=1 resExtFont=Nokia Sans 13 resFontName=3 resFontSize=12 resWrapLongLines=false progressAnimationFrames=0 progressAnimationTimer=4 progressAnimationPos=4 progressAnimationAtClickXY=false progressAnimationBasename=queen-beecon-progress updOnStartup=true updOnClick=true multiClick=false updOnDesktop=false updOnSight=false updOnOrientation=false delayIndex=4 customIntervalSecs=0 updNeworkPolicy=1 GPSsettings=0 updOnDBUS=0 updOnDBUSBus=0 updOnDBUSMatchRule= |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
No problem, with this script does your weather seem to be updating? Mine was, but has stopped today for some reason and I can't explain why
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
2 Attachment(s)
I got it!!!
Here is the code: Code:
echo `grep 'forecast-icon.*http.*png' /home/user/imagemagick/ywtemp.htm | grep -o yw-temp..[-0-9]\\* | grep -o temp..[-0-9]* | grep -o [-0-9][-0-9]*`°C| \ Yes it does update, and actually with this code even better than with the yahoo QBW, With QBW it showed the wrong current temp, like the website does(yahoo). But now everything works great! S****. You are not going to believe that. I wanted to make a screenshot for you. So i ran a script again with new size font now, and it showed the wrong Current Temp... SHOOOOOOT. See the first one is with right temp 19C second is what the website shows... |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
hello, how do you do LockScreen weather? thank you for your reply:) |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Well, i think i'll create a HOW TO thread tonight.
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Is it possible to create .deb for it,if possible please create will be helpful to noobs like me..or any program that will do all this process automatically like web os game manager..
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
There is a script, that will do everything automatically. Moreover, you can let Alarmed execute it any time you want to. You will just need to have imagemagick installed and then Alarmed set to execute this script any time.
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
great, thank you, I await it with impatience:):) |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
this guide is great, very easy to use. one small request, I looked at the code but couldn't see where to do it.... if we wanted the temperature to appear below the weather image, and not beside it, what would we have to change?
so instead of Quote:
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
I think that's why i created another thread. Go over there and ask your question again, so i can answer it, and ppl would also understand what are we talking about
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
I am honestly not sure how to do this, as I am not the creator of the widget and also a complete QBW noob. The original instructions of how to install this widget were too confusing, so after understanding and testing them, I decided to write my own guide based on my own experinces. But all I can do is tell you the easy/step by step way to follow the original guide, which is linked here: http://talk.maemo.org/showpost.php?p...postcount=2322 Click on this link and PM the original poster there, I'm sure he will be able to answer your question as he is the one who created this widget. Sorry I couldn't be of more help! |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
hi guys i my flipclock stopped working, i tried the interval at 30 secs but nothing...any ideas?
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
"image not found" at the clock widget, but the wether and ip widget work
ihave mad the guide twice :S |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
If you followed the guide exactly, all the images should be in the right folder, according to the instructions. You are definitely missing a step if you get the image not found message.
|
Re: [Noob Friendly Guide] How to get HTC Style Weather App/Widget on N900
1 Attachment(s)
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
worked in one shot, very clear tuto, thx!!
how can I add/change things like Ip adress(lets say I want cpu temperature or something to be displayed... I also wanted the numbers bigger, and the background, but I'm happy :) |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
Things like getting CPU temp to be displayed are not in my know how, as mentioned earlier, I just followed the instructions of the original HTC style flip clock and wrote an easy to understand version of the same instructions. I'm really a QBW noob my self, so won't be able to help you display anything different, other than what's instructed in this guide. The actual author/creator of the HTC style flip clock widget is Darkgunman, and his post is linked in the first post of my thread. You may have to contact him for further assistance. |
Re: [Noob Friendly Guide] How to get HTC Style Weather App/Widget on N900
Quote:
All I can say is completely delete that widget and create it again from scratch, sometimes I find that these widgets bug for no apparent reason, even if you do everything right. Rather than editing or changing the same one, I just delete it completely and re-create it from scratch following the instructions from my first post. If this still does not solve your problem, then you will have to contact one of the creators who's threads I have linked in my first post, as they will have the knowledge of how to help you. I just translated their work into a simple, easy to understand user guide, I am not the creator my self. Hope this helps. |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
why dont i have something like this "y=id37 m=id38 d1=id39 d2=id40 w=id" under my "edit cmd"?
what's showing is "echo test && exit 0".. what am I doing wrong? im not a techy person but I tried to follow what's on the instruction.. please help, i really do want this HTC-like clock.. Thanks.. |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
yes.. but i think i'll just give it another shot to re-do the whole instruction later.. wish me luck.. thanks..
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
best of luck ! |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
just done it.. successful.. Thanks!!
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
I have been able to get this widget working. Thanks to members who are keeping the device alive. You guys are doing amazing stuff!
I would like to get the city name to the left of the weather image that is shown. Can somebody help me? Thanks in advance |
section 3 step 6
i really dont know what you mean with ''advanced settings'' in section 3 step 6 i go to filebox but there is no advanced settings and also not in settings:confused: plz help
|
Re: section 3 step 6
Quote:
Advanced settings is in the settings of the beecon you create. So after you copy the text as instruced. You go back to the desktop screen, go to the option of adding new widget, click QueenBeecon and press ok Then on this widget you just added, go to settings, once the settings window opens, look to the bottom right corner of this window, it will have an option saying advanced. Thats the one you click, this is the advanced setings option. Follow the rest of the guide from there. |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: section 3 step 6
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
:confused: i thought it was noob friendly but i dont get some things witch ''0'' do you mean at section 4 and i i f|_|cked it up at beecon so i just took the steps of section 3 again:confused::confused: but can someone help me i am really noob and i really want the htc clock (isnt it able to just make a widget for it??)
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
hey can i get this widget in deb format ?? pls !!!!!
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
I clearly meant all 4 of the 0's that appear. I wrote that in the guide |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
|
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Quote:
If someone wants to try and recreate it as an application it might be doable, I am not sure, but I definitely won't be the one to do it. |
Re: [Noob Friendly Guide] How to get HTC Style Clock/Weather Widget on N900
Ahhhh
why when i press save and run - it doesnt goes to desktop - but goes Success message and on desktop these is widget with text - no image available............ |
All times are GMT. The time now is 14:51. |
vBulletin® Version 3.8.8