OpenSprinkler Forums OpenSprinkler Unified Firmware Local Weather Service onto a Raspberry Pi Issue Reply To: Local Weather Service onto a Raspberry Pi Issue



Hey Franzstien,

The line “Error: listen EADDRINUSE: address already in use” suggests that something else may already be using port 80. Are you running a web server on the RPi ?

You can enter sudo netstat -tlnpu at the command line and it will produce a bunch of lines showing what ports are in use. Look for something like the following that has a “:80” in the Local Address column and shows it is being used by my apache web server:

tcp 0 0* LISTEN 576/apache2

If something is already using port 80 then OS 2.1.9 allows you to set an alternative port, say 3000, and set that in both the “~/weather/.env” file and in the “/su” page of the OS3.0 like “ip_of_the_pi:3000”

Let me know if that fixes the problem or whether we need to look deeper. I will update the docs to reference that OS 2.1.9 removes the restriction on OS using port 80.