Updated SMHI API and improved the polygon contains logic
This commit is contained in:
+2
-2
@@ -7,12 +7,12 @@ from tools.geometry import Coordinate
|
||||
load_dotenv()
|
||||
|
||||
# --- Network & Credentials ---
|
||||
SENSOR_IP = os.getenv("SENSOR_IP", "192.168.0.188")
|
||||
SENSOR_IP = os.getenv("SENSOR_IP", "10.11.4.78")
|
||||
SENSOR_HTTP = f"http://{SENSOR_IP}"
|
||||
|
||||
MQTT_USERNAME = os.getenv("MQTT_USERNAME", "weather_station")
|
||||
MQTT_PASSWORD = os.getenv("MQTT_PASSWORD", "SensorData12345!")
|
||||
MQTT_FALLBACK_IP = os.getenv("MQTT_FALLBACK_IP", "192.168.0.168")
|
||||
MQTT_FALLBACK_IP = os.getenv("MQTT_FALLBACK_IP", "10.11.0.33")
|
||||
|
||||
# --- Location ---
|
||||
LAT = float(os.getenv("LATITUDE", "56.2006"))
|
||||
|
||||
Reference in New Issue
Block a user