OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Starting ospi.py automatically › Re: Re: Starting ospi.py automatically
July 18, 2013 at 12:54 am
#24693
kkpwrh2o
Member
Correct. My goal is to have the mobile app work from anywhere.
Tried both 80 and 8080
host=$(hostname -I | sed 's/ *$//g')
port=:80
cd /home/pi/OSPi/
/usr/bin/python ospi.py $host$port
Both resulted in
ValueError: :80 is not a valid ip address
respectively