Active Topics

 



Notices


Reply
Thread Tools
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#91
Originally Posted by bibounefr View Post
I can not put your script in place?
What do you mean?
Try to use MC or WinSCP or filebox.
Have you installed imagemagick and so on?
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#92
Alfred I still cannot get Alarmed to update the script every hour, am I missing something?

Thx in advance,

..::J4ZZ::..
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#93
Originally Posted by J4ZZ View Post
Alfred I still cannot get Alarmed to update the script every hour, am I missing something?

Thx in advance,

..::J4ZZ::..
Let me try it, i actually haven't set it up, so i'll might run into the same problems.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Posts: 33 | Thanked: 2 times | Joined on Nov 2010
#94
Originally Posted by Alfred View Post
What do you mean?
Try to use MC or WinSCP or filebox.
Have you installed imagemagick and so on?
it works very well with your script, but not to have a black screen woody14619.j
Help?
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#95
Originally Posted by Alfred View Post
Thanks, Woody14619, I am actually using your script right now!
Cool. Feel free to rebuild your zip file with the new script and edit your top post with it. I don't have a way of hosting the file at the moment. Eventually maybe we can put together an honest deb with it and put it in a repository somewhere.

I may work on it over the weekend to show a forecast too, if I have free time to do so.

Originally Posted by J4ZZ View Post
Alfred I still cannot get Alarmed to update the script every hour, am I missing something?

Thx in advance,

..::J4ZZ::..
Jazz, I actually use QBW to have mine run, not alarmed. It should work fine with either. My QBW export is attached. It's a very small file though, and would probably be easier to type by hand.

That's one nice thing about QBW, is you can import/export widgets, so even if they are complex, getting a new person to copy yours exactly is pretty simple to do.
Attached Files
File Type: zip Weather.zip (233 Bytes, 81 views)
 

The Following User Says Thank You to woody14619 For This Useful Post:
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#96
Thanks for the script but I want to have the weather updated in background that's why I tried alarmed.

Just tried it, and now my hildon-home is at 100% cpu.

Last edited by J4ZZ; 2011-05-06 at 07:25.
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#97
Something is wrong with my script...
I get multiple Low and High Temps when executing, wich then results in overlapping each other on the final lockslider.png.

Code:
login as: root
root@10.161.3.1's password:
IroN900:~# cd /home/user
IroN900:/home/user# cd imagemagick/
IroN900:/home/user/imagemagick# sh weather.sh
<span foreground=\white\ font=\bold 30\>19</span>°C
High: 18 High: 18 High: 23 High: 22 High: 19 High: 22°C
Low: 7 Low: 7 Low: 8 Low: 7 Low: 7 Low: 9°C
IroN900:/home/user/imagemagick#
I've already rechecked and cleared the imagenick folder but still the same...???
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#98
Originally Posted by J4ZZ View Post
Thanks for the script but I want to have the weather updated in background that's why I tried alarmed.

Just tried it, and now my hildon-home is at 100% cpu.
QBW updates in the background as well (it supports relative and absolute timers). The widget text I posted, when put into a QWB widget (using the advanced button) updates the widget every hour on wifi, and every 6 on 2G/3G. It also shows a widget on the desktop, indicating the status of the last "get", and provides a way to force the update to happen right away by tapping it. Regardless, the script I provided should work with alarmd as well.

Why your hildon-home is running at 100%, I have no idea. When the script runs, either via alarmd or QBW it should be spawned off a separate shell process, which should be the thing eating CPU for a short time while it does the graphical overlay. Hildon-home eating CPU is something else unrelated going on.

As for the issue with multiple lows and highs, the only thing I can tell for sure if that you're using the old script. The two I released no longer outputs that information on the terminal anymore. Try getting the file from this post and un-taring it into the imagemagic folder. It should just overlay right on top and replace the script with the new one.

The new one is much faster, and doesn't use temporary files. All the updates happen in one hit, so there's no chance of multiple overlay happening.
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#99
Thanks mate, I'll give it a go.

Greetz,

..::J4ZZ::..
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#100

It's still doubling the temps somehow. Is it imagemagick causing this? I'm now using your latest weather.sh.

Greetz,

..::J4ZZ::..
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:20.