jeroenterheerdt / HAsmartirrigation

Smart Irrigation custom component for Home Assistant
MIT License
301 stars 47 forks source link

Second Calc wont work #337

Closed silvar05123 closed 1 month ago

silvar05123 commented 1 month ago

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID 5 Size 9,4 Throughput 3 State automatic Bucket 27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.3.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.6.20-haos",
    "supervisor": "2024.03.1",
    "host_os": "Home Assistant OS 12.1",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "powercalc": {
      "version": "v1.11.3",
      "requirements": [
        "numpy>=1.21.1"
      ]
    },
    "smart_irrigation": {
      "version": "v2024.3.1",
      "requirements": []
    },
    "edl21": {
      "version": "2.0.0",
      "requirements": [
        "pysml==0.0.8"
      ]
    },
    "files": {
      "version": "1.5",
      "requirements": []
    },
    "localtuya": {
      "version": "5.2.1",
      "requirements": []
    },
    "thermia": {
      "version": "1.0",
      "requirements": [
        "ThermiaOnlineAPI==4.1.1"
      ]
    },
    "dwains_dashboard": {
      "version": "3.6.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "smart_irrigation",
    "name": "Smart Irrigation",
    "codeowners": [
      "@jeroenterheerdt"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "panel_custom"
    ],
    "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",
    "requirements": [],
    "version": "v2024.3.1",
    "is_built_in": false
  },
  "data": {
    "config": {
      "entry_id": "0e08a91dd6f4f5c633512b75359b813a",
      "version": 1,
      "minor_version": 1,
      "domain": "smart_irrigation",
      "title": "Smart Irrigation",
      "data": {
        "owm_api_key": "XXXXXXXX",
        "owm_api_version": "3.0",
        "use_owm": true,
        "name": "Bew\u00e4sserung"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": "Bew\u00e4sserung",
      "disabled_by": null
    },
    "storage": {
      "config": {
        "calctime": "23:00",
        "units": "metric",
        "use_owm": true,
        "autocalcenabled": true,
        "autoupdateenabled": true,
        "autoupdateschedule": "hours",
        "autoupdatedelay": "0",
        "autoupdateinterval": "1",
        "autoclearenabled": true,
        "cleardatatime": "23:59",
        "starteventfiredtoday": false
      },
      "zones": [
        {
          "id": 0,
          "name": "Osten Rasen",
          "size": 50.5,
          "throughput": 20.5,
          "state": "automatic",
          "bucket": 28.01617744395816,
          "old_bucket": 24.559272823521876,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:50.902110"
        },
        {
          "id": 1,
          "name": "S\u00fcden Rasen",
          "size": 140.0,
          "throughput": 19.8,
          "state": "automatic",
          "bucket": 27.916177443958162,
          "old_bucket": 24.45927282352188,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:51.065785"
        },
        {
          "id": 2,
          "name": "Westen Rasen",
          "size": 70.0,
          "throughput": 20.0,
          "state": "automatic",
          "bucket": 27.916177443958162,
          "old_bucket": 24.45927282352188,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:51.259911"
        },
        {
          "id": 3,
          "name": "Terrasse Rasen",
          "size": 130.0,
          "throughput": 16.6,
          "state": "automatic",
          "bucket": 27.916177443958162,
          "old_bucket": 24.45927282352188,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:51.415555"
        },
        {
          "id": 4,
          "name": "Hecke",
          "size": 20.0,
          "throughput": 5.8,
          "state": "automatic",
          "bucket": 27.916177443958162,
          "old_bucket": 24.45927282352188,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:51.605457"
        },
        {
          "id": 5,
          "name": "Beete",
          "size": 9.4,
          "throughput": 3.0,
          "state": "automatic",
          "bucket": 27.916177443958162,
          "old_bucket": 24.45927282352188,
          "delta": 3.4569046204362825,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
          "mapping": 0,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-04-01T13:42:51.762364"
        }
      ],
      "modules": [
        {
          "id": 0,
          "name": "PyETO",
          "description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",
          "config": {
            "forecast_days": "3"
          },
          "schema": [
            {
              "type": "boolean",
              "name": "coastal",
              "optional": true,
              "default": false
            },
            {
              "type": "select",
              "options": [
                [
                  "1",
                  "EstimateFromTemp"
                ],
                [
                  "2",
                  "EstimateFromSunHours"
                ],
                [
                  "3",
                  "DontEstimate"
                ]
              ],
              "name": "solrad_behavior",
              "required": true,
              "default": "1"
            },
            {
              "type": "integer",
              "name": "forecast_days",
              "required": true,
              "default": 0
            }
          ]
        },
        {
          "id": 1,
          "name": "Static",
          "description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..",
          "config": null,
          "schema": [
            {
              "type": "float",
              "name": "delta",
              "required": true,
              "default": 0.0
            }
          ]
        }
      ],
      "mappings": [
        {
          "id": 0,
          "name": "Standard Sensorgruppe",
          "mappings": {
            "Dewpoint": {
              "source": "owm",
              "sensorentity": "openweathermap_dew_point",
              "unit": ""
            },
            "Evapotranspiration": {
              "source": "none",
              "sensorentity": "",
              "unit": "",
              "static_value": "5"
            },
            "Humidity": {
              "source": "sensor",
              "sensorentity": "lumigarage_luftfeuchtigkeit",
              "unit": ""
            },
            "Precipitation": {
              "source": "owm",
              "sensorentity": "openweathermap_rain",
              "unit": ""
            },
            "Pressure": {
              "source": "owm",
              "sensorentity": "openweathermap_pressure",
              "unit": ""
            },
            "Solar Radiation": {
              "source": "none",
              "sensorentity": "",
              "unit": ""
            },
            "Temperature": {
              "source": "owm",
              "sensorentity": "openweathermap_forecast_temperature",
              "unit": ""
            },
            "Windspeed": {
              "source": "sensor",
              "sensorentity": "kmh",
              "unit": "km/h"
            }
          },
          "data": [],
          "data_last_updated": "2024-04-01T13:34:30.583450"
        }
      ]
    }
  }
}

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

jeroenterheerdt commented 1 month ago

Your windspeed sensor is incorrect. It has no entity. Let's fix that first and try again

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: silvar05123 @.> Sent: Monday, April 1, 2024 5:18:03 AM To: jeroenterheerdt/HAsmartirrigation @.> Cc: Assign @.>; Subscribed @.> Subject: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID 5 Size 9,4 Throughput 3 State automatic Bucket 27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.3.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.2", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.6.20-haos", "supervisor": "2024.03.1", "host_os": "Home Assistant OS 12.1", "docker_version": "24.0.7", "chassis": "vm", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.34.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "powercalc": { "version": "v1.11.3", "requirements": [ "numpy>=1.21.1" ] }, "smart_irrigation": { "version": "v2024.3.1", "requirements": [] }, "edl21": { "version": "2.0.0", "requirements": [ "pysml==0.0.8" ] }, "files": { "version": "1.5", "requirements": [] }, "localtuya": { "version": "5.2.1", "requirements": [] }, "thermia": { "version": "1.0", "requirements": [ "ThermiaOnlineAPI==4.1.1" ] }, "dwains_dashboard": { "version": "3.6.0", "requirements": [] } }, "integration_manifest": { "domain": "smart_irrigation", "name": "Smart Irrigation", "codeowners": [ @.***" ], "config_flow": true, "dependencies": [ "http", "panel_custom" ], "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation", "iot_class": "local_push", "issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues", "requirements": [], "version": "v2024.3.1", "is_built_in": false }, "data": { "config": { "entry_id": "0e08a91dd6f4f5c633512b75359b813a", "version": 1, "minor_version": 1, "domain": "smart_irrigation", "title": "Smart Irrigation", "data": { "owm_api_key": "XXXXXXXX", "owm_api_version": "3.0", "use_owm": true, "name": "Bew\u00e4sserung" }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "Bew\u00e4sserung", "disabled_by": null }, "storage": { "config": { "calctime": "23:00", "units": "metric", "use_owm": true, "autocalcenabled": true, "autoupdateenabled": true, "autoupdateschedule": "hours", "autoupdatedelay": "0", "autoupdateinterval": "1", "autoclearenabled": true, "cleardatatime": "23:59", "starteventfiredtoday": false }, "zones": [ { "id": 0, "name": "Osten Rasen", "size": 50.5, "throughput": 20.5, "state": "automatic", "bucket": 28.01617744395816, "old_bucket": 24.559272823521876, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:50.902110" }, { "id": 1, "name": "S\u00fcden Rasen", "size": 140.0, "throughput": 19.8, "state": "automatic", "bucket": 27.916177443958162, "old_bucket": 24.45927282352188, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:51.065785" }, { "id": 2, "name": "Westen Rasen", "size": 70.0, "throughput": 20.0, "state": "automatic", "bucket": 27.916177443958162, "old_bucket": 24.45927282352188, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:51.259911" }, { "id": 3, "name": "Terrasse Rasen", "size": 130.0, "throughput": 16.6, "state": "automatic", "bucket": 27.916177443958162, "old_bucket": 24.45927282352188, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:51.415555" }, { "id": 4, "name": "Hecke", "size": 20.0, "throughput": 5.8, "state": "automatic", "bucket": 27.916177443958162, "old_bucket": 24.45927282352188, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:51.605457" }, { "id": 5, "name": "Beete", "size": 9.4, "throughput": 3.0, "state": "automatic", "bucket": 27.916177443958162, "old_bucket": 24.45927282352188, "delta": 3.4569046204362825, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 3600.0, "maximum_bucket": 50, "last_calculated": "2024-04-01T13:42:51.762364" } ], "modules": [ { "id": 0, "name": "PyETO", "description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.", "config": { "forecast_days": "3" }, "schema": [ { "type": "boolean", "name": "coastal", "optional": true, "default": false }, { "type": "select", "options": [ [ "1", "EstimateFromTemp" ], [ "2", "EstimateFromSunHours" ], [ "3", "DontEstimate" ] ], "name": "solrad_behavior", "required": true, "default": "1" }, { "type": "integer", "name": "forecast_days", "required": true, "default": 0 } ] }, { "id": 1, "name": "Static", "description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..", "config": null, "schema": [ { "type": "float", "name": "delta", "required": true, "default": 0.0 } ] } ], "mappings": [ { "id": 0, "name": "Standard Sensorgruppe", "mappings": { "Dewpoint": { "source": "owm", "sensorentity": "openweathermap_dew_point", "unit": "" }, "Evapotranspiration": { "source": "none", "sensorentity": "", "unit": "", "static_value": "5" }, "Humidity": { "source": "sensor", "sensorentity": "lumigarage_luftfeuchtigkeit", "unit": "" }, "Precipitation": { "source": "owm", "sensorentity": "openweathermap_rain", "unit": "" }, "Pressure": { "source": "owm", "sensorentity": "openweathermap_pressure", "unit": "" }, "Solar Radiation": { "source": "none", "sensorentity": "", "unit": "" }, "Temperature": { "source": "owm", "sensorentity": "openweathermap_forecast_temperature", "unit": "" }, "Windspeed": { "source": "sensor", "sensorentity": "kmh", "unit": "km/h" } }, "data": [], "data_last_updated": "2024-04-01T13:34:30.583450" } ] } } }

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

— Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPWRAPFSW6FNLBGLOJ3Y3FF7XBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDCOBRGUYDSNZUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKMY3SMVQXIZI. You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

silvar05123 commented 1 month ago

Hey,but in the last Versions it worked allready Like this.I have my own Wind Sensor.Best regards Jerrit DralleAm 01.04.2024 um 17:15 schrieb Jeroen ter Heerdt @.***>: Your windspeed sensor is incorrect. It has no entity. Let's fix that first and try again

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: silvar05123 @.***>

Sent: Monday, April 1, 2024 5:18:03 AM

To: jeroenterheerdt/HAsmartirrigation @.***>

Cc: Assign @.>; Subscribed @.>

Subject: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID

5

Size

9,4

Throughput

3

State

automatic

Bucket

27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{

"home_assistant": {

"installation_type": "Home Assistant OS",

"version": "2024.3.3",

"dev": false,

"hassio": true,

"virtualenv": false,

"python_version": "3.12.2",

"docker": true,

"arch": "x86_64",

"timezone": "Europe/Berlin",

"os_name": "Linux",

"os_version": "6.6.20-haos",

"supervisor": "2024.03.1",

"host_os": "Home Assistant OS 12.1",

"docker_version": "24.0.7",

"chassis": "vm",

"run_as_root": true

},

"custom_components": {

"hacs": {

  "version": "1.34.0",

  "requirements": [

    "aiogithubapi>=22.10.1"

  ]

},

"powercalc": {

  "version": "v1.11.3",

  "requirements": [

    "numpy>=1.21.1"

  ]

},

"smart_irrigation": {

  "version": "v2024.3.1",

  "requirements": []

},

"edl21": {

  "version": "2.0.0",

  "requirements": [

    "pysml==0.0.8"

  ]

},

"files": {

  "version": "1.5",

  "requirements": []

},

"localtuya": {

  "version": "5.2.1",

  "requirements": []

},

"thermia": {

  "version": "1.0",

  "requirements": [

    "ThermiaOnlineAPI==4.1.1"

  ]

},

"dwains_dashboard": {

  "version": "3.6.0",

  "requirements": []

}

},

"integration_manifest": {

"domain": "smart_irrigation",

"name": "Smart Irrigation",

"codeowners": [

  ***@***.***"

],

"config_flow": true,

"dependencies": [

  "http",

  "panel_custom"

],

"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",

"iot_class": "local_push",

"issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",

"requirements": [],

"version": "v2024.3.1",

"is_built_in": false

},

"data": {

"config": {

  "entry_id": "0e08a91dd6f4f5c633512b75359b813a",

  "version": 1,

  "minor_version": 1,

  "domain": "smart_irrigation",

  "title": "Smart Irrigation",

  "data": {

    "owm_api_key": "XXXXXXXX",

    "owm_api_version": "3.0",

    "use_owm": true,

    "name": "Bew\u00e4sserung"

  },

  "options": {},

  "pref_disable_new_entities": false,

  "pref_disable_polling": false,

  "source": "user",

  "unique_id": "Bew\u00e4sserung",

  "disabled_by": null

},

"storage": {

  "config": {

    "calctime": "23:00",

    "units": "metric",

    "use_owm": true,

    "autocalcenabled": true,

    "autoupdateenabled": true,

    "autoupdateschedule": "hours",

    "autoupdatedelay": "0",

    "autoupdateinterval": "1",

    "autoclearenabled": true,

    "cleardatatime": "23:59",

    "starteventfiredtoday": false

  },

  "zones": [

    {

      "id": 0,

      "name": "Osten Rasen",

      "size": 50.5,

      "throughput": 20.5,

      "state": "automatic",

      "bucket": 28.01617744395816,

      "old_bucket": 24.559272823521876,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:50.902110"

    },

    {

      "id": 1,

      "name": "S\u00fcden Rasen",

      "size": 140.0,

      "throughput": 19.8,

      "state": "automatic",

      "bucket": 27.916177443958162,

      "old_bucket": 24.45927282352188,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:51.065785"

    },

    {

      "id": 2,

      "name": "Westen Rasen",

      "size": 70.0,

      "throughput": 20.0,

      "state": "automatic",

      "bucket": 27.916177443958162,

      "old_bucket": 24.45927282352188,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:51.259911"

    },

    {

      "id": 3,

      "name": "Terrasse Rasen",

      "size": 130.0,

      "throughput": 16.6,

      "state": "automatic",

      "bucket": 27.916177443958162,

      "old_bucket": 24.45927282352188,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:51.415555"

    },

    {

      "id": 4,

      "name": "Hecke",

      "size": 20.0,

      "throughput": 5.8,

      "state": "automatic",

      "bucket": 27.916177443958162,

      "old_bucket": 24.45927282352188,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:51.605457"

    },

    {

      "id": 5,

      "name": "Beete",

      "size": 9.4,

      "throughput": 3.0,

      "state": "automatic",

      "bucket": 27.916177443958162,

      "old_bucket": 24.45927282352188,

      "delta": 3.4569046204362825,

      "duration": 0,

      "module": 0,

      "multiplier": 1.0,

      "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.<br/>Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.<br/>Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

      "mapping": 0,

      "lead_time": 0.0,

      "maximum_duration": 3600.0,

      "maximum_bucket": 50,

      "last_calculated": "2024-04-01T13:42:51.762364"

    }

  ],

  "modules": [

    {

      "id": 0,

      "name": "PyETO",

      "description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",

      "config": {

        "forecast_days": "3"

      },

      "schema": [

        {

          "type": "boolean",

          "name": "coastal",

          "optional": true,

          "default": false

        },

        {

          "type": "select",

          "options": [

            [

              "1",

              "EstimateFromTemp"

            ],

            [

              "2",

              "EstimateFromSunHours"

            ],

            [

              "3",

              "DontEstimate"

            ]

          ],

          "name": "solrad_behavior",

          "required": true,

          "default": "1"

        },

        {

          "type": "integer",

          "name": "forecast_days",

          "required": true,

          "default": 0

        }

      ]

    },

    {

      "id": 1,

      "name": "Static",

      "description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..",

      "config": null,

      "schema": [

        {

          "type": "float",

          "name": "delta",

          "required": true,

          "default": 0.0

        }

      ]

    }

  ],

  "mappings": [

    {

      "id": 0,

      "name": "Standard Sensorgruppe",

      "mappings": {

        "Dewpoint": {

          "source": "owm",

          "sensorentity": "openweathermap_dew_point",

          "unit": ""

        },

        "Evapotranspiration": {

          "source": "none",

          "sensorentity": "",

          "unit": "",

          "static_value": "5"

        },

        "Humidity": {

          "source": "sensor",

          "sensorentity": "lumigarage_luftfeuchtigkeit",

          "unit": ""

        },

        "Precipitation": {

          "source": "owm",

          "sensorentity": "openweathermap_rain",

          "unit": ""

        },

        "Pressure": {

          "source": "owm",

          "sensorentity": "openweathermap_pressure",

          "unit": ""

        },

        "Solar Radiation": {

          "source": "none",

          "sensorentity": "",

          "unit": ""

        },

        "Temperature": {

          "source": "owm",

          "sensorentity": "openweathermap_forecast_temperature",

          "unit": ""

        },

        "Windspeed": {

          "source": "sensor",

          "sensorentity": "kmh",

          "unit": "km/h"

        }

      },

      "data": [],

      "data_last_updated": "2024-04-01T13:34:30.583450"

    }

  ]

}

}

}

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPWRAPFSW6FNLBGLOJ3Y3FF7XBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDCOBRGUYDSNZUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKMY3SMVQXIZI.

You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jeroenterheerdt commented 1 month ago

Point is that your wind sensor is not correct. It just says: ‘kmh’. It should be something like ‘sensor.my_wind_sensor’

From: silvar05123 @.> Sent: Monday, April 1, 2024 10:24 AM To: jeroenterheerdt/HAsmartirrigation @.> Cc: Comment @.>; Assign @.>; Subscribed @.***> Subject: Re: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

Hey,but in the last Versions it worked allready Like this.I have my own Wind Sensor.Best regards Jerrit DralleAm 01.04.2024 um 17:15 schrieb Jeroen ter Heerdt @.<mailto:@.>>: Your windspeed sensor is incorrect. It has no entity. Let's fix that first and try again

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: silvar05123 @.<mailto:@.>>

Sent: Monday, April 1, 2024 5:18:03 AM

To: jeroenterheerdt/HAsmartirrigation @.<mailto:@.>>

Cc: Assign @.<mailto:@.>>; Subscribed @.<mailto:@.>>

Subject: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID

5

Size

9,4

Throughput

3

State

automatic

Bucket

27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{

"home_assistant": {

"installation_type": "Home Assistant OS",

"version": "2024.3.3",

"dev": false,

"hassio": true,

"virtualenv": false,

"python_version": "3.12.2",

"docker": true,

"arch": "x86_64",

"timezone": "Europe/Berlin",

"os_name": "Linux",

"os_version": "6.6.20-haos",

"supervisor": "2024.03.1",

"host_os": "Home Assistant OS 12.1",

"docker_version": "24.0.7",

"chassis": "vm",

"run_as_root": true

},

"custom_components": {

"hacs": {

"version": "1.34.0",

"requirements": [

"aiogithubapi>=22.10.1"

]

},

"powercalc": {

"version": "v1.11.3",

"requirements": [

"numpy>=1.21.1"

]

},

"smart_irrigation": {

"version": "v2024.3.1",

"requirements": []

},

"edl21": {

"version": "2.0.0",

"requirements": [

"pysml==0.0.8"

]

},

"files": {

"version": "1.5",

"requirements": []

},

"localtuya": {

"version": "5.2.1",

"requirements": []

},

"thermia": {

"version": "1.0",

"requirements": [

"ThermiaOnlineAPI==4.1.1"

]

},

"dwains_dashboard": {

"version": "3.6.0",

"requirements": []

}

},

"integration_manifest": {

"domain": "smart_irrigation",

"name": "Smart Irrigation",

"codeowners": [

@.<mailto:@.>"

],

"config_flow": true,

"dependencies": [

"http",

"panel_custom"

],

"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",

"iot_class": "local_push",

"issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",

"requirements": [],

"version": "v2024.3.1",

"is_built_in": false

},

"data": {

"config": {

"entry_id": "0e08a91dd6f4f5c633512b75359b813a",

"version": 1,

"minor_version": 1,

"domain": "smart_irrigation",

"title": "Smart Irrigation",

"data": {

"owm_api_key": "XXXXXXXX",

"owm_api_version": "3.0",

"use_owm": true,

"name": "Bew\u00e4sserung"

},

"options": {},

"pref_disable_new_entities": false,

"pref_disable_polling": false,

"source": "user",

"unique_id": "Bew\u00e4sserung",

"disabled_by": null

},

"storage": {

"config": {

"calctime": "23:00",

"units": "metric",

"use_owm": true,

"autocalcenabled": true,

"autoupdateenabled": true,

"autoupdateschedule": "hours",

"autoupdatedelay": "0",

"autoupdateinterval": "1",

"autoclearenabled": true,

"cleardatatime": "23:59",

"starteventfiredtoday": false

},

"zones": [

{

"id": 0,

"name": "Osten Rasen",

"size": 50.5,

"throughput": 20.5,

"state": "automatic",

"bucket": 28.01617744395816,

"old_bucket": 24.559272823521876,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:50.902110"

},

{

"id": 1,

"name": "S\u00fcden Rasen",

"size": 140.0,

"throughput": 19.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.065785"

},

{

"id": 2,

"name": "Westen Rasen",

"size": 70.0,

"throughput": 20.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.259911"

},

{

"id": 3,

"name": "Terrasse Rasen",

"size": 130.0,

"throughput": 16.6,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.415555"

},

{

"id": 4,

"name": "Hecke",

"size": 20.0,

"throughput": 5.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.605457"

},

{

"id": 5,

"name": "Beete",

"size": 9.4,

"throughput": 3.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.762364"

}

],

"modules": [

{

"id": 0,

"name": "PyETO",

"description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",

"config": {

"forecast_days": "3"

},

"schema": [

{

"type": "boolean",

"name": "coastal",

"optional": true,

"default": false

},

{

"type": "select",

"options": [

[

"1",

"EstimateFromTemp"

],

[

"2",

"EstimateFromSunHours"

],

[

"3",

"DontEstimate"

]

],

"name": "solrad_behavior",

"required": true,

"default": "1"

},

{

"type": "integer",

"name": "forecast_days",

"required": true,

"default": 0

}

]

},

{

"id": 1,

"name": "Static",

"description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..",

"config": null,

"schema": [

{

"type": "float",

"name": "delta",

"required": true,

"default": 0.0

}

]

}

],

"mappings": [

{

"id": 0,

"name": "Standard Sensorgruppe",

"mappings": {

"Dewpoint": {

"source": "owm",

"sensorentity": "openweathermap_dew_point",

"unit": ""

},

"Evapotranspiration": {

"source": "none",

"sensorentity": "",

"unit": "",

"static_value": "5"

},

"Humidity": {

"source": "sensor",

"sensorentity": "lumigarage_luftfeuchtigkeit",

"unit": ""

},

"Precipitation": {

"source": "owm",

"sensorentity": "openweathermap_rain",

"unit": ""

},

"Pressure": {

"source": "owm",

"sensorentity": "openweathermap_pressure",

"unit": ""

},

"Solar Radiation": {

"source": "none",

"sensorentity": "",

"unit": ""

},

"Temperature": {

"source": "owm",

"sensorentity": "openweathermap_forecast_temperature",

"unit": ""

},

"Windspeed": {

"source": "sensor",

"sensorentity": "kmh",

"unit": "km/h"

}

},

"data": [],

"data_last_updated": "2024-04-01T13:34:30.583450"

}

]

}

}

}

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPWRAPFSW6FNLBGLOJ3Y3FF7XBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDCOBRGUYDSNZUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKMY3SMVQXIZI.

You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337#issuecomment-2030198585 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPXZACECVEVJVFGTNIDY3GJ33BFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDANJTHA4TIMJXG6SG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJSGYZTCNZZGE3TNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMRRHAYTKMBZG42IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDANJTHA4TIMJXG6TXI4TJM5TWK4VGMNZGKYLUMU. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

silvar05123 commented 1 month ago

Ok my bad i was thinking when i select sensor sensor will be in the front of kmh …

I will try to enter sensor.kmh and test agan.

Von: Jeroen ter Heerdt @.> Gesendet: Montag, 1. April 2024 19:31 An: jeroenterheerdt/HAsmartirrigation @.> Cc: silvar05123 @.>; Author @.> Betreff: Re: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

Point is that your wind sensor is not correct. It just says: ‘kmh’. It should be something like ‘sensor.my_wind_sensor’

From: silvar05123 @. <mailto:@.> > Sent: Monday, April 1, 2024 10:24 AM To: jeroenterheerdt/HAsmartirrigation @. <mailto:@.> > Cc: Comment @. <mailto:@.> >; Assign @. <mailto:@.> >; Subscribed @. <mailto:@.> > Subject: Re: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

Hey,but in the last Versions it worked allready Like this.I have my own Wind Sensor.Best regards Jerrit DralleAm 01.04.2024 um 17:15 schrieb Jeroen ter Heerdt @. <mailto:@.%3cmailto:@.> <mailto:@.>>: Your windspeed sensor is incorrect. It has no entity. Let's fix that first and try again

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: silvar05123 @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Sent: Monday, April 1, 2024 5:18:03 AM

To: jeroenterheerdt/HAsmartirrigation @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Cc: Assign @. <mailto:@.%3cmailto:@.> <mailto:@.>>; Subscribed @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Subject: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID

5

Size

9,4

Throughput

3

State

automatic

Bucket

27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{

"home_assistant": {

"installation_type": "Home Assistant OS",

"version": "2024.3.3",

"dev": false,

"hassio": true,

"virtualenv": false,

"python_version": "3.12.2",

"docker": true,

"arch": "x86_64",

"timezone": "Europe/Berlin",

"os_name": "Linux",

"os_version": "6.6.20-haos",

"supervisor": "2024.03.1",

"host_os": "Home Assistant OS 12.1",

"docker_version": "24.0.7",

"chassis": "vm",

"run_as_root": true

},

"custom_components": {

"hacs": {

"version": "1.34.0",

"requirements": [

"aiogithubapi>=22.10.1"

]

},

"powercalc": {

"version": "v1.11.3",

"requirements": [

"numpy>=1.21.1"

]

},

"smart_irrigation": {

"version": "v2024.3.1",

"requirements": []

},

"edl21": {

"version": "2.0.0",

"requirements": [

"pysml==0.0.8"

]

},

"files": {

"version": "1.5",

"requirements": []

},

"localtuya": {

"version": "5.2.1",

"requirements": []

},

"thermia": {

"version": "1.0",

"requirements": [

"ThermiaOnlineAPI==4.1.1"

]

},

"dwains_dashboard": {

"version": "3.6.0",

"requirements": []

}

},

"integration_manifest": {

"domain": "smart_irrigation",

"name": "Smart Irrigation",

"codeowners": [

@. <mailto:@.%3cmailto:@.> <mailto:@.>"

],

"config_flow": true,

"dependencies": [

"http",

"panel_custom"

],

"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",

"iot_class": "local_push",

"issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",

"requirements": [],

"version": "v2024.3.1",

"is_built_in": false

},

"data": {

"config": {

"entry_id": "0e08a91dd6f4f5c633512b75359b813a",

"version": 1,

"minor_version": 1,

"domain": "smart_irrigation",

"title": "Smart Irrigation",

"data": {

"owm_api_key": "XXXXXXXX",

"owm_api_version": "3.0",

"use_owm": true,

"name": "Bew\u00e4sserung"

},

"options": {},

"pref_disable_new_entities": false,

"pref_disable_polling": false,

"source": "user",

"unique_id": "Bew\u00e4sserung",

"disabled_by": null

},

"storage": {

"config": {

"calctime": "23:00",

"units": "metric",

"use_owm": true,

"autocalcenabled": true,

"autoupdateenabled": true,

"autoupdateschedule": "hours",

"autoupdatedelay": "0",

"autoupdateinterval": "1",

"autoclearenabled": true,

"cleardatatime": "23:59",

"starteventfiredtoday": false

},

"zones": [

{

"id": 0,

"name": "Osten Rasen",

"size": 50.5,

"throughput": 20.5,

"state": "automatic",

"bucket": 28.01617744395816,

"old_bucket": 24.559272823521876,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:50.902110"

},

{

"id": 1,

"name": "S\u00fcden Rasen",

"size": 140.0,

"throughput": 19.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.065785"

},

{

"id": 2,

"name": "Westen Rasen",

"size": 70.0,

"throughput": 20.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.259911"

},

{

"id": 3,

"name": "Terrasse Rasen",

"size": 130.0,

"throughput": 16.6,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.415555"

},

{

"id": 4,

"name": "Hecke",

"size": 20.0,

"throughput": 5.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.605457"

},

{

"id": 5,

"name": "Beete",

"size": 9.4,

"throughput": 3.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.762364"

}

],

"modules": [

{

"id": 0,

"name": "PyETO",

"description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",

"config": {

"forecast_days": "3"

},

"schema": [

{

"type": "boolean",

"name": "coastal",

"optional": true,

"default": false

},

{

"type": "select",

"options": [

[

"1",

"EstimateFromTemp"

],

[

"2",

"EstimateFromSunHours"

],

[

"3",

"DontEstimate"

]

],

"name": "solrad_behavior",

"required": true,

"default": "1"

},

{

"type": "integer",

"name": "forecast_days",

"required": true,

"default": 0

}

]

},

{

"id": 1,

"name": "Static",

"description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..",

"config": null,

"schema": [

{

"type": "float",

"name": "delta",

"required": true,

"default": 0.0

}

]

}

],

"mappings": [

{

"id": 0,

"name": "Standard Sensorgruppe",

"mappings": {

"Dewpoint": {

"source": "owm",

"sensorentity": "openweathermap_dew_point",

"unit": ""

},

"Evapotranspiration": {

"source": "none",

"sensorentity": "",

"unit": "",

"static_value": "5"

},

"Humidity": {

"source": "sensor",

"sensorentity": "lumigarage_luftfeuchtigkeit",

"unit": ""

},

"Precipitation": {

"source": "owm",

"sensorentity": "openweathermap_rain",

"unit": ""

},

"Pressure": {

"source": "owm",

"sensorentity": "openweathermap_pressure",

"unit": ""

},

"Solar Radiation": {

"source": "none",

"sensorentity": "",

"unit": ""

},

"Temperature": {

"source": "owm",

"sensorentity": "openweathermap_forecast_temperature",

"unit": ""

},

"Windspeed": {

"source": "sensor",

"sensorentity": "kmh",

"unit": "km/h"

}

},

"data": [],

"data_last_updated": "2024-04-01T13:34:30.583450"

}

]

}

}

}

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPWRAPFSW6FNLBGLOJ3Y3FF7XBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDCOBRGUYDSNZUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKMY3SMVQXIZI.

You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 &mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub &referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @. <mailto:@.%3cmailto:@.> <mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337#issuecomment-2030198585 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPXZACECVEVJVFGTNIDY3GJ33BFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDANJTHA4TIMJXG6SG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJSGYZTCNZZGE3TNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMRRHAYTKMBZG42IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDANJTHA4TIMJXG6TXI4TJM5TWK4VGMNZGKYLUMU. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 &mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub &referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

— Reply to this email directly, view it on GitHub https://github.com/jeroenterheerdt/HAsmartirrigation/issues/337#issuecomment-2030210225 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ5ILMHH4HRKVB2QR7GNVZ3Y3GKU7AVCNFSM6AAAAABFRQVR4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGIYTAMRSGU . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AQ5ILMAQZPTO74BO4SWERM3Y3GKU7A5CNFSM6AAAAABFRQVR4SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZAKGLC.gif Message ID: @. @.> >

silvar05123 commented 1 month ago

Uodate the sensor but Seconds still 0s

},

        "Windspeed": {

          "source": "sensor",

          "sensorentity": "sensor.kmh",

          "unit": "km/h"

        }

      },

      "data": [

        {

          "Windspeed": 31.932,

          "Pressure": 996.0,

          "Humidity": 89.7,

          "Temperature": 9.61,

          "Dewpoint": 8.69,

          "Precipitation": 23.18,

          "retrieved": "2024-04-01T19:55:37.932738"

        },

        {

          "Windspeed": 22.644,

          "Pressure": 996.0,

          "Humidity": 89.7,

          "Temperature": 9.61,

          "Dewpoint": 8.69,

          "Precipitation": 23.18,

          "retrieved": "2024-04-01T19:57:21.831752"

        }

      ],

      "data_last_updated": "2024-04-01T19:57:21.831774"

Von: Jeroen ter Heerdt @.> Gesendet: Montag, 1. April 2024 19:31 An: jeroenterheerdt/HAsmartirrigation @.> Cc: silvar05123 @.>; Author @.> Betreff: Re: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

Point is that your wind sensor is not correct. It just says: ‘kmh’. It should be something like ‘sensor.my_wind_sensor’

From: silvar05123 @. <mailto:@.> > Sent: Monday, April 1, 2024 10:24 AM To: jeroenterheerdt/HAsmartirrigation @. <mailto:@.> > Cc: Comment @. <mailto:@.> >; Assign @. <mailto:@.> >; Subscribed @. <mailto:@.> > Subject: Re: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

Hey,but in the last Versions it worked allready Like this.I have my own Wind Sensor.Best regards Jerrit DralleAm 01.04.2024 um 17:15 schrieb Jeroen ter Heerdt @. <mailto:@.%3cmailto:@.> <mailto:@.>>: Your windspeed sensor is incorrect. It has no entity. Let's fix that first and try again

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: silvar05123 @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Sent: Monday, April 1, 2024 5:18:03 AM

To: jeroenterheerdt/HAsmartirrigation @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Cc: Assign @. <mailto:@.%3cmailto:@.> <mailto:@.>>; Subscribed @. <mailto:@.%3cmailto:@.> <mailto:@.>>

Subject: [jeroenterheerdt/HAsmartirrigation] Second Calc wont work (Issue #337)

What happened?

Hello,

the second calc stays on 0s but the bucket is crowing.

ID

5

Size

9,4

Throughput

3

State

automatic

Bucket

27,92

How to reproduce

start a calc via service trigger wont update the seconds sensor for the Zone

Relevant log output

{

"home_assistant": {

"installation_type": "Home Assistant OS",

"version": "2024.3.3",

"dev": false,

"hassio": true,

"virtualenv": false,

"python_version": "3.12.2",

"docker": true,

"arch": "x86_64",

"timezone": "Europe/Berlin",

"os_name": "Linux",

"os_version": "6.6.20-haos",

"supervisor": "2024.03.1",

"host_os": "Home Assistant OS 12.1",

"docker_version": "24.0.7",

"chassis": "vm",

"run_as_root": true

},

"custom_components": {

"hacs": {

"version": "1.34.0",

"requirements": [

"aiogithubapi>=22.10.1"

]

},

"powercalc": {

"version": "v1.11.3",

"requirements": [

"numpy>=1.21.1"

]

},

"smart_irrigation": {

"version": "v2024.3.1",

"requirements": []

},

"edl21": {

"version": "2.0.0",

"requirements": [

"pysml==0.0.8"

]

},

"files": {

"version": "1.5",

"requirements": []

},

"localtuya": {

"version": "5.2.1",

"requirements": []

},

"thermia": {

"version": "1.0",

"requirements": [

"ThermiaOnlineAPI==4.1.1"

]

},

"dwains_dashboard": {

"version": "3.6.0",

"requirements": []

}

},

"integration_manifest": {

"domain": "smart_irrigation",

"name": "Smart Irrigation",

"codeowners": [

@. <mailto:@.%3cmailto:@.> <mailto:@.>"

],

"config_flow": true,

"dependencies": [

"http",

"panel_custom"

],

"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",

"iot_class": "local_push",

"issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",

"requirements": [],

"version": "v2024.3.1",

"is_built_in": false

},

"data": {

"config": {

"entry_id": "0e08a91dd6f4f5c633512b75359b813a",

"version": 1,

"minor_version": 1,

"domain": "smart_irrigation",

"title": "Smart Irrigation",

"data": {

"owm_api_key": "XXXXXXXX",

"owm_api_version": "3.0",

"use_owm": true,

"name": "Bew\u00e4sserung"

},

"options": {},

"pref_disable_new_entities": false,

"pref_disable_polling": false,

"source": "user",

"unique_id": "Bew\u00e4sserung",

"disabled_by": null

},

"storage": {

"config": {

"calctime": "23:00",

"units": "metric",

"use_owm": true,

"autocalcenabled": true,

"autoupdateenabled": true,

"autoupdateschedule": "hours",

"autoupdatedelay": "0",

"autoupdateinterval": "1",

"autoclearenabled": true,

"cleardatatime": "23:59",

"starteventfiredtoday": false

},

"zones": [

{

"id": 0,

"name": "Osten Rasen",

"size": 50.5,

"throughput": 20.5,

"state": "automatic",

"bucket": 28.01617744395816,

"old_bucket": 24.559272823521876,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.6.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.6+3.5=28.0.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:50.902110"

},

{

"id": 1,

"name": "S\u00fcden Rasen",

"size": 140.0,

"throughput": 19.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.065785"

},

{

"id": 2,

"name": "Westen Rasen",

"size": 70.0,

"throughput": 20.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.259911"

},

{

"id": 3,

"name": "Terrasse Rasen",

"size": 130.0,

"throughput": 16.6,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.415555"

},

{

"id": 4,

"name": "Hecke",

"size": 20.0,

"throughput": 5.8,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.605457"

},

{

"id": 5,

"name": "Beete",

"size": 9.4,

"throughput": 3.0,

"state": "automatic",

"bucket": 27.916177443958162,

"old_bucket": 24.45927282352188,

"delta": 3.4569046204362825,

"duration": 0,

"module": 0,

"multiplier": 1.0,

"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 3.5. Der alte Vorrat war 24.5.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=24.5+3.5=27.9.
Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",

"mapping": 0,

"lead_time": 0.0,

"maximum_duration": 3600.0,

"maximum_bucket": 50,

"last_calculated": "2024-04-01T13:42:51.762364"

}

],

"modules": [

{

"id": 0,

"name": "PyETO",

"description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",

"config": {

"forecast_days": "3"

},

"schema": [

{

"type": "boolean",

"name": "coastal",

"optional": true,

"default": false

},

{

"type": "select",

"options": [

[

"1",

"EstimateFromTemp"

],

[

"2",

"EstimateFromSunHours"

],

[

"3",

"DontEstimate"

]

],

"name": "solrad_behavior",

"required": true,

"default": "1"

},

{

"type": "integer",

"name": "forecast_days",

"required": true,

"default": 0

}

]

},

{

"id": 1,

"name": "Static",

"description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..",

"config": null,

"schema": [

{

"type": "float",

"name": "delta",

"required": true,

"default": 0.0

}

]

}

],

"mappings": [

{

"id": 0,

"name": "Standard Sensorgruppe",

"mappings": {

"Dewpoint": {

"source": "owm",

"sensorentity": "openweathermap_dew_point",

"unit": ""

},

"Evapotranspiration": {

"source": "none",

"sensorentity": "",

"unit": "",

"static_value": "5"

},

"Humidity": {

"source": "sensor",

"sensorentity": "lumigarage_luftfeuchtigkeit",

"unit": ""

},

"Precipitation": {

"source": "owm",

"sensorentity": "openweathermap_rain",

"unit": ""

},

"Pressure": {

"source": "owm",

"sensorentity": "openweathermap_pressure",

"unit": ""

},

"Solar Radiation": {

"source": "none",

"sensorentity": "",

"unit": ""

},

"Temperature": {

"source": "owm",

"sensorentity": "openweathermap_forecast_temperature",

"unit": ""

},

"Windspeed": {

"source": "sensor",

"sensorentity": "kmh",

"unit": "km/h"

}

},

"data": [],

"data_last_updated": "2024-04-01T13:34:30.583450"

}

]

}

}

}

Which version are you running?

v2024.3.1

Diagnostics file

Additional information

No response

Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPWRAPFSW6FNLBGLOJ3Y3FF7XBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDCOBRGUYDSNZUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKMY3SMVQXIZI.

You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 &mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub &referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @. <mailto:@.%3cmailto:@.> <mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/337#issuecomment-2030198585 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPXZACECVEVJVFGTNIDY3GJ33BFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDANJTHA4TIMJXG6SG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJSGYZTCNZZGE3TNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMRRHAYTKMBZG42IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDANJTHA4TIMJXG6TXI4TJM5TWK4VGMNZGKYLUMU. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 &mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub &referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

— Reply to this email directly, view it on GitHub https://github.com/jeroenterheerdt/HAsmartirrigation/issues/337#issuecomment-2030210225 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ5ILMHH4HRKVB2QR7GNVZ3Y3GKU7AVCNFSM6AAAAABFRQVR4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGIYTAMRSGU . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AQ5ILMAQZPTO74BO4SWERM3Y3GKU7A5CNFSM6AAAAABFRQVR4SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZAKGLC.gif Message ID: @. @.> >

jeroenterheerdt commented 1 month ago

ok, so at least there is no error any more. So your bucket is > 0 ,right? Then of course the duration is 0. The duration is only >0 when bucket < 0.

silvar05123 commented 1 month ago

Ok nice the bucket for one example Zone is 29,65 so >0Jerrit DralleAm 01.04.2024 um 20:28 schrieb Jeroen ter Heerdt @.***>: ok, so at least there is no error any more. So your bucket is > 0 ,right? Then of course the duration is 0. The duration is only >0 when bucket < 0.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jeroenterheerdt commented 1 month ago

yes, that's how the bucket works...

silvar05123 commented 1 month ago

Ok then i missunderstood the bucket my bad.. sorry 🤦🏼‍♂️ Best regards Jerrit DralleAm 01.04.2024 um 22:49 schrieb Jeroen ter Heerdt @.***>: yes, that's how the bucket works...

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

silvar05123 commented 1 month ago

Missunderstood bucket calc