OpenSprinkler / OpenSprinkler-Weather

OpenSprinkler weather service used to calculate watering scale for the OpenSprinkler Unified Firmware.
https://opensprinkler.com
63 stars 38 forks source link

Opensprinkler not pulling weather with service installed and working #135

Closed hoatz closed 1 year ago

hoatz commented 2 years ago

I've installed OpenSprinkler-Weather on a Debian VM and everything seems to be working great. From any computer on my LAN, when I open this URL in a browser: http://192.168.70.202/weather1.py?loc=50,1&wto=%22h%22:100,%22t%22:100,%22r%22:100,%22bh%22:70,%22bt%22:59,%22br%22:0

I get the response, which looks good: &scale=125&tz=56&sunrise=412&sunset=1269&eip=****&rawData={"wp":"OWM","h":70.25,"p":0,"t":65.4,"raining":0}&errCode=0

I've updated the weather URL on my Opensprinkler at: http://192.168.70.3/su

to: 192.168.70.202 (for the "Weather:" field).

Do I need to update the "Javascript:" field as well?

The openspinkler is a bare board version: App Version: 2.2.5 Firmware: 2.1.7 Hardware Version: 2.30-AC DHCP and NTP are working fine

Despite all of this, when I check System Diagnostics, i get: image

So close, just need a little help I think. Thanks!

hoatz commented 1 year ago

oddly it started working today when I replaced the IP with the full hostname

debianvm.home

I've never seen something with a hostname and NOT the IP, but there's a first for everything.

crickets chirping