Search found 2 matches

by bobke77
Wednesday 31 January 2018 15:26
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 77533

Re: Is it gonna rain within the next X minutes?

Try to add the -L paramter in the curl command: read = os.execute('curl -L -s -o '..tempfilename..' "'..url..'"') This enable follow redirects using the location header flag That's the one ! I had already changed this, but made it -s -o -L instead of -L -s -o :lol: :lol: Many thanks mickmack !!!!!
by bobke77
Tuesday 30 January 2018 13:07
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 77533

Re: Is it gonna rain within the next X minutes?

Hi, SInce I'm new here (or call me NOOB :D ) I just used the script as mentioned in the start post. On my dashboard I get the text message : Regen verwacht, so the text file seems to be working (took me some time to figure out I had to use the chmod 0666). Now I've got one problem: When I look in ...