### Advanced Multi-Tap ESPHome Irrigation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-automations.html This example demonstrates an advanced automation for a six-zone system controlled by ESPHome, handling multiple taps. It's the creator's personal automation setup, illustrating a complex irrigation strategy. ```yaml alias: "Smart Irrigation - Advanced Multi-Tap" trigger: - platform: time at: "05:00:00" condition: - condition: state entity_id: binary_sensor.workday_sensor state: "on" - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 above: 0 action: # Zone 1 - service: switch.turn_on entity_id: switch.irrigation_zone_1 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_1') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_1 # Zone 2 - service: switch.turn_on entity_id: switch.irrigation_zone_2 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_2') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_2 # Zone 3 - service: switch.turn_on entity_id: switch.irrigation_zone_3 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_3') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_3 # Zone 4 - service: switch.turn_on entity_id: switch.irrigation_zone_4 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_4') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_4 # Zone 5 - service: switch.turn_on entity_id: switch.irrigation_zone_5 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_5') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_5 # Zone 6 - service: switch.turn_on entity_id: switch.irrigation_zone_6 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_6') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_6 # Reset the irrigation bucket - service: smart_irrigation.reset_bucket data: zone: "zone_1" ``` -------------------------------- ### Example Automation: Smart Irrigation to IU Sync Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html An example automation that syncs Smart Irrigation zone data to Irrigation Unlimited when a zone's duration changes. It includes turning on the corresponding Irrigation Unlimited switch, delaying, turning it off, and resetting the bucket in Smart Irrigation. ```yaml automation: - alias: "Smart Irrigation to IU Sync" trigger: - platform: state entity_id: sensor.smart_irrigation_zone_1 attribute: duration condition: - condition: template value_template: "" action: - service: smart_irrigation.sync_with_irrigation_unlimited data: zone_ids: [1] - service: switch.turn_on entity_id: switch.irrigation_unlimited_c1_z1 - delay: seconds: "" - service: switch.turn_off entity_id: switch.irrigation_unlimited_c1_z1 - service: smart_irrigation.reset_bucket target: entity_id: sensor.smart_irrigation_zone_1 ``` -------------------------------- ### Install Specific Version with HACS Source: https://jeroenterheerdt.github.io/HAsmartirrigation/installation-updating.html Use the `update.install` service to install a specific version of the integration when using HACS. Ensure the `entity_id` and `version` are correctly specified. ```yaml service: update.install target: entity_id: update.smart_irrigation_update data: version: 2024.7.0 ``` -------------------------------- ### Enable Debug Logging for Smart Irrigation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Enable debug logging for custom_components.smart_irrigation.scheduler and custom_components.smart_irrigation.irrigation_unlimited to get detailed information for troubleshooting. ```yaml logger: logs: custom_components.smart_irrigation.scheduler: debug custom_components.smart_irrigation.irrigation_unlimited: debug ``` -------------------------------- ### Configure Irrigation Unlimited Integration Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Enable and configure the Irrigation Unlimited integration within your Smart Irrigation setup. This allows for automatic zone synchronization, schedule sharing, and real-time data exchange. ```yaml # In configuration.yaml or through the UI smart_irrigation: irrigation_unlimited_integration: true iu_entity_prefix: "switch.irrigation_unlimited" iu_sync_schedules: true iu_share_zone_data: true ``` -------------------------------- ### Expose Entity Attributes as Template Sensors Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-entities.html Use this template sensor configuration to expose individual attributes of the Smart Irrigation entities as separate sensors in Home Assistant. This example shows how to create a template sensor for the 'bucket' attribute. ```yaml sensor: - name: "Lawn Bucket Size" unique_id: "lawn_bucket_size" unit_of_measurement: "mm" state: "{{ state_attr('sensor.smart_irrigation_lawn', 'bucket') }}" ``` -------------------------------- ### Get Irrigation Unlimited Status Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Retrieve the current status of the Irrigation Unlimited integration. ```APIDOC ## Service: smart_irrigation.get_irrigation_unlimited_status ### Description Retrieves the status of the Irrigation Unlimited integration. ### Parameters This service does not require any parameters. ### Request Example ```yaml service: smart_irrigation.get_irrigation_unlimited_status ``` ``` -------------------------------- ### Create Seasonal Adjustment for Smart Irrigation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Configure seasonal adjustments to automatically modify irrigation parameters like multiplier or threshold based on the time of year. Define the start and end months, adjustment values, and target zones. ```yaml service: smart_irrigation.create_seasonal_adjustment data: name: "Summer Boost" month_start: 6 # June month_end: 8 # August multiplier_adjustment: 1.5 threshold_adjustment: -5.0 zones: "all" enabled: true ``` -------------------------------- ### Workday Dependent Irrigation Automation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-automations.html This automation runs at 5 AM but only on workdays, as defined by 'binary_sensor.workday_sensor'. It irrigates if the sensor value is positive, waits, and then resets the bucket. Requires a separate workday sensor setup. ```yaml alias: "Smart Irrigation - Workday Irrigation" trigger: - platform: time at: "05:00:00" condition: # Run only on workdays - condition: state entity_id: binary_sensor.workday_sensor state: "on" # And only if irrigation is needed - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 above: 0 action: # Turn on the irrigation valve - service: switch.turn_on entity_id: switch.irrigation_zone_1 # Wait for the duration indicated by the sensor - delay: seconds: "{{ states('sensor.smart_irrigation_zone_1') | int }}" # Turn off the irrigation valve - service: switch.turn_off entity_id: switch.irrigation_zone_1 # Reset the irrigation bucket - service: smart_irrigation.reset_bucket data: zone: "zone_1" ``` -------------------------------- ### Get Irrigation Unlimited Status Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Retrieve the current status of Irrigation Unlimited. This service can be used as part of schedule conversion or monitoring workflows. ```yaml service: smart_irrigation.get_irrigation_unlimited_status ``` -------------------------------- ### Two Valve Workday Irrigation Automation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-automations.html This automation runs at 4 AM on workdays, controlling two valves sequentially. It checks the smart irrigation sensor, irrigates each zone for its specified duration, and then resets the bucket. Requires a separate workday sensor setup. ```yaml alias: "Smart Irrigation - Two Valve Workday Irrigation" trigger: - platform: time at: "04:00:00" condition: # Run only on workdays - condition: state entity_id: binary_sensor.workday_sensor state: "on" # And only if irrigation is needed for zone 1 - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 above: 0 action: # Zone 1 Irrigation - service: switch.turn_on entity_id: switch.irrigation_zone_1 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_1') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_1 # Zone 2 Irrigation - service: switch.turn_on entity_id: switch.irrigation_zone_2 - delay: seconds: "{{ states('sensor.smart_irrigation_zone_2') | int }}" - service: switch.turn_off entity_id: switch.irrigation_zone_2 # Reset the irrigation bucket - service: smart_irrigation.reset_bucket data: zone: "zone_1" ``` -------------------------------- ### Create a Daily Recurring Schedule Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Use the `smart_irrigation.create_recurring_schedule` service to set up a daily schedule for calculating irrigation needs for all zones. ```yaml service: smart_irrigation.create_recurring_schedule data: name: "Daily Morning Check" type: "daily" time: "06:00" action: "calculate" zones: "all" ``` -------------------------------- ### Sync Zones with Irrigation Unlimited Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Call the `smart_irrigation.sync_with_irrigation_unlimited` service to synchronize all smart irrigation zones with Irrigation Unlimited. ```yaml service: smart_irrigation.sync_with_irrigation_unlimited ``` -------------------------------- ### Sync with Irrigation Unlimited Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Synchronize Smart Irrigation zones with corresponding Irrigation Unlimited entities. ```APIDOC ## Service: smart_irrigation.sync_with_irrigation_unlimited ### Description Synchronizes Smart Irrigation zones with Irrigation Unlimited entities. ### Parameters #### Service Data - **zone_ids** (list) - Optional - A list of specific zone IDs to synchronize. If omitted, all zones are synchronized. ### Request Example ```yaml service: smart_irrigation.sync_with_irrigation_unlimited data: zone_ids: [1, 2, 3] ``` ``` -------------------------------- ### Set All Buckets Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Sets all buckets to a specific value, defaulting to 0. ```APIDOC ## Smart Irrigation: set_all_buckets ### Description Sets all buckets to a specific `new_bucket_value` (default is 0). ### Parameters #### Service Data - **new_bucket_value** (integer) - Optional - The new value for all buckets. ``` -------------------------------- ### Create Recurring Schedule for Smart Irrigation Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Use this service to create daily, weekly, monthly, or interval schedules for irrigation calculations, updates, or events. Specify the schedule name, type, time, action, target zones, and enable status. ```yaml service: smart_irrigation.create_recurring_schedule data: name: "Morning Calculation" type: "daily" time: "06:00" action: "calculate" zones: "all" enabled: true ``` -------------------------------- ### Weekly Irrigation Automation (Duration > 0 or Bucket < -25mm) Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-automations.html This automation runs daily and checks the smart irrigation sensor. It triggers irrigation if the bucket is below -25mm or if it's Monday and the duration is positive, aligning with expert watering advice. ```yaml alias: "Smart Irrigation - Weekly Irrigation" # Trigger daily at a time that allows irrigation to finish before sunrise trigger: - platform: time at: "23:00:00" condition: # Condition to check if it's Monday or if the bucket is low - condition: or conditions: - condition: and conditions: - condition: time weekday: "mon" - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 above: 0 - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 below: -25 action: # Turn on the irrigation valve - service: switch.turn_on entity_id: switch.irrigation_zone_1 # Wait for the duration indicated by the sensor - delay: seconds: "{{ states('sensor.smart_irrigation_zone_1') | int }}" # Turn off the irrigation valve - service: switch.turn_off entity_id: switch.irrigation_zone_1 # Reset the irrigation bucket - service: smart_irrigation.reset_bucket data: zone: "zone_1" ``` -------------------------------- ### Sync Smart Irrigation Zones with Irrigation Unlimited Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Manually trigger synchronization of Smart Irrigation zones with Irrigation Unlimited. This can be done for all zones or a specific list of zone IDs. ```yaml service: smart_irrigation.sync_with_irrigation_unlimited data: zone_ids: [1, 2, 3] # Optional: specific zones, or omit for all ``` -------------------------------- ### Set Bucket Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Sets a specific bucket to a specific value, defaulting to 0. ```APIDOC ## Smart Irrigation: set_bucket ### Description Sets a specific bucket to to a specific `new_bucket_value` (default is 0). ### Parameters #### Service Data - **new_bucket_value** (integer) - Optional - The new value for the bucket. ``` -------------------------------- ### Daily Irrigation Automation on Event Trigger Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-automations.html This automation triggers when the 'smart_irrigation_start_irrigation_all_zones' event is fired. It irrigates if the sensor value is above 0, waits for the specified duration, and then resets the bucket. Adjust entity and service names for multiple instances. ```yaml alias: "Smart Irrigation - Daily Irrigation" trigger: - platform: event event_type: smart_irrigation_start_irrigation_all_zones condition: # Only run if the sensor indicates irrigation is needed - condition: numeric_state entity_id: sensor.smart_irrigation_zone_1 above: 0 action: # Turn on the irrigation valve - service: switch.turn_on entity_id: switch.irrigation_zone_1 # Wait for the duration indicated by the sensor - delay: seconds: "{{ states('sensor.smart_irrigation_zone_1') | int }}" # Turn off the irrigation valve - service: switch.turn_off entity_id: switch.irrigation_zone_1 # Reset the irrigation bucket - service: smart_irrigation.reset_bucket data: zone: "zone_1" ``` -------------------------------- ### Create Recurring Schedule Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Use this service to create flexible recurring schedules for daily, weekly, monthly, or interval-based irrigation tasks. ```APIDOC ## Service: smart_irrigation.create_recurring_schedule ### Description Creates a recurring schedule for irrigation tasks. ### Parameters #### Service Data - **name** (string) - Required - The name of the schedule. - **type** (string) - Required - The type of schedule (daily, weekly, monthly, interval). - **time** (string) - Optional - The time to run the schedule (e.g., "06:00"). - **action** (string) - Required - The action to perform (calculate, update, irrigate). - **zones** (string or list) - Required - Zones to apply the schedule to (e.g., "all" or a list of zone IDs). - **enabled** (boolean) - Optional - Whether the schedule is enabled (default: true). ### Request Example ```yaml service: smart_irrigation.create_recurring_schedule data: name: "Morning Calculation" type: "daily" time: "06:00" action: "calculate" zones: "all" enabled: true ``` ``` -------------------------------- ### Set Zone Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Allows configuration for bucket, multiplier, duration, state, and throughput settings for a zone. ```APIDOC ## Smart Irrigation: set_zone ### Description Allows configuration for bucket (with `new_bucket_value` (default 0)), multiplier (with `new_multiplier_value` (default 1.0)), duration (with `new_duration_value` (default 0)), state (with `new_state_value` (default 'automatic')) and throughput (with `new_throughput_value` (default 50)) settings for a zone. ### Parameters #### Service Data - **new_bucket_value** (integer) - Optional - The new bucket value for the zone. - **new_multiplier_value** (float) - Optional - The new multiplier value for the zone. - **new_duration_value** (integer) - Optional - The new duration value for the zone. - **new_state_value** (string) - Optional - The new state value for the zone (e.g., 'automatic'). - **new_throughput_value** (integer) - Optional - The new throughput value for the zone. ``` -------------------------------- ### Reset All Buckets Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Resets all buckets to 0. ```APIDOC ## Smart Irrigation: reset_all_buckets ### Description Resets all buckets to 0. ``` -------------------------------- ### Create Seasonal Adjustment Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Configure seasonal adjustments to automatically modify irrigation parameters based on the time of year. ```APIDOC ## Service: smart_irrigation.create_seasonal_adjustment ### Description Creates a seasonal adjustment for irrigation parameters. ### Parameters #### Service Data - **name** (string) - Required - The name of the adjustment. - **month_start** (integer) - Required - The starting month for the adjustment (1-12). - **month_end** (integer) - Required - The ending month for the adjustment (1-12). - **multiplier_adjustment** (float) - Optional - The multiplier to apply to irrigation duration. - **threshold_adjustment** (float) - Optional - The adjustment to the irrigation threshold. - **zones** (string or list) - Required - Zones to apply the adjustment to (e.g., "all" or a list of zone IDs). - **enabled** (boolean) - Optional - Whether the adjustment is enabled (default: true). ### Request Example ```yaml service: smart_irrigation.create_seasonal_adjustment data: name: "Summer Boost" month_start: 6 # June month_end: 8 # August multiplier_adjustment: 1.5 threshold_adjustment: -5.0 zones: "all" enabled: true ``` ``` -------------------------------- ### Generate Watering Calendar Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Generates a 12-month watering calendar for a zone based on representative climate data. ```APIDOC ## Smart Irrigation: generate_watering_calendar ### Description Generate a 12-month watering calendar for a zone based on representative climate data. ``` -------------------------------- ### Create a Seasonal Adjustment for Summer Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Use the `smart_irrigation.create_seasonal_adjustment` service to apply a multiplier adjustment to irrigation for all zones during the summer months (June to August). ```yaml service: smart_irrigation.create_seasonal_adjustment data: name: "Summer Heat Adjustment" month_start: 6 month_end: 8 multiplier_adjustment: 1.3 zones: "all" ``` -------------------------------- ### Smart Irrigation V1 Diagnostics Data Structure Source: https://jeroenterheerdt.github.io/HAsmartirrigation/installation-migration.html This JSON structure represents the diagnostics data downloaded from a Smart Irrigation V1 instance. It contains configuration details, integration manifest, and custom component information, useful for migrating settings to V2. ```json { "home_assistant": { "installation_type": "...", ... }, "custom_components": { ... "smart_irrigation": { "version": "0.0.8X", "requirements": [] }, ... }, "integration_manifest": { "domain": "smart_irrigation", "name": "Smart Irrigation", "codeowners": [ "@jeroenterheerdt" ], "config_flow": true, "dependencies": [], "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation", "homekit": {}, "integration_type": "service", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues", "requirements": [], "ssdp": [], "version": "0.0.8X", "zeroconf": [], "is_built_in": false }, "data": { "config": { "entry_id": "0f60ec5036558de65a1659a17522ac36", "version": 1, "domain": "smart_irrigation", "title": "Smart Irrigation", "data": { "number_of_sprinklers": 4.0, "flow": 5.0, "area": 100.0, "api_key": "[Your API key]", "api_version": "[You API version: 2.5 or 3.0]", "reference_evapotranspiration": [ ... ], "name": "Smart Irrigation", "sources": { ... }, "sensors": { ... } }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "Smart Irrigation", "disabled_by": null } } } ``` -------------------------------- ### Irrigation Unlimited Integration Services Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html These services manage the synchronization and data exchange with the Irrigation Unlimited system. ```APIDOC ## `smart_irrigation.sync_with_irrigation_unlimited` ### Description Initiates a synchronization process with Irrigation Unlimited. ### Method `smart_irrigation.sync_with_irrigation_unlimited` ### Parameters (No specific parameters are detailed in the source text for this service.) ### Request Example ```yaml service: smart_irrigation.sync_with_irrigation_unlimited ``` ``` ```APIDOC ## `smart_irrigation.send_zone_data_to_irrigation_unlimited` ### Description Sends zone data to the Irrigation Unlimited system. ### Method `smart_irrigation.send_zone_data_to_irrigation_unlimited` ### Parameters (Details for sending zone data are not provided in the source text.) ``` ```APIDOC ## `smart_irrigation.get_irrigation_unlimited_status` ### Description Retrieves the current status from the Irrigation Unlimited system. ### Method `smart_irrigation.get_irrigation_unlimited_status` ### Parameters (No specific parameters are detailed in the source text for this service.) ``` -------------------------------- ### Enhanced Scheduling Services Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html These services allow for the management of recurring schedules and seasonal adjustments within the Smart Irrigation system. ```APIDOC ## `smart_irrigation.create_recurring_schedule` ### Description Creates a new recurring irrigation schedule. ### Method `smart_irrigation.create_recurring_schedule` ### Parameters #### Data - **name** (string) - Required - The name of the schedule. - **type** (string) - Required - The type of schedule (e.g., "daily"). - **time** (string) - Required - The time for the schedule to run (e.g., "06:00"). - **action** (string) - Required - The action to perform (e.g., "calculate"). - **zones** (string) - Required - The zones to apply the schedule to (e.g., "all"). ### Request Example ```yaml service: smart_irrigation.create_recurring_schedule data: name: "Daily Morning Check" type: "daily" time: "06:00" action: "calculate" zones: "all" ``` ``` ```APIDOC ## `smart_irrigation.update_recurring_schedule` ### Description Updates an existing recurring irrigation schedule. ### Method `smart_irrigation.update_recurring_schedule` ### Parameters (Details for update parameters are not provided in the source text.) ``` ```APIDOC ## `smart_irrigation.delete_recurring_schedule` ### Description Deletes a recurring irrigation schedule. ### Method `smart_irrigation.delete_recurring_schedule` ### Parameters (Details for delete parameters are not provided in the source text.) ``` ```APIDOC ## `smart_irrigation.create_seasonal_adjustment` ### Description Creates a seasonal adjustment for irrigation. ### Method `smart_irrigation.create_seasonal_adjustment` ### Parameters #### Data - **name** (string) - Required - The name of the adjustment. - **month_start** (integer) - Required - The starting month of the adjustment (1-12). - **month_end** (integer) - Required - The ending month of the adjustment (1-12). - **multiplier_adjustment** (float) - Required - The multiplier to adjust irrigation duration. - **zones** (string) - Required - The zones to apply the adjustment to (e.g., "all"). ### Request Example ```yaml service: smart_irrigation.create_seasonal_adjustment data: name: "Summer Heat Adjustment" month_start: 6 month_end: 8 multiplier_adjustment: 1.3 zones: "all" ``` ``` ```APIDOC ## `smart_irrigation.update_seasonal_adjustment` ### Description Updates an existing seasonal adjustment. ### Method `smart_irrigation.update_seasonal_adjustment` ### Parameters (Details for update parameters are not provided in the source text.) ``` ```APIDOC ## `smart_irrigation.delete_seasonal_adjustment` ### Description Deletes a seasonal adjustment. ### Method `smart_irrigation.delete_seasonal_adjustment` ### Parameters (Details for delete parameters are not provided in the source text.) ``` -------------------------------- ### Reset Bucket Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Resets a specific bucket to 0. ```APIDOC ## Smart Irrigation: reset_bucket ### Description Resets one specific bucket to 0. ``` -------------------------------- ### Set All Multipliers Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Sets all multipliers to a specific value, defaulting to 1.0. ```APIDOC ## Smart Irrigation: set_all_multipliers ### Description Sets all multipliers to a specific `new_multiplier_value` (default is 1.0). ### Parameters #### Service Data - **new_multiplier_value** (float) - Optional - The new value for all multipliers. ``` -------------------------------- ### Update All Zones Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Updates all automatic zones with weather data. ```APIDOC ## Smart Irrigation: update_all_zones ### Description Updates all automatic zones with weather data. ``` -------------------------------- ### Template Sensor for Wind Speed at 2m Source: https://jeroenterheerdt.github.io/HAsmartirrigation/configuration-sensor-groups.html Use a template sensor to adjust wind speed measurements to the expected 2-meter height if your sensor does not provide it directly. This ensures accurate data for the integration. ```yaml sensor: - platform: template sensors: wind_at_2m: friendly_name: Wind Speed at 2m value_template: "{{states('[name of your wind speed sensor (WSmeasured)]')|float()*(4.87/log((67.8*[height the wind speed was measured on in meters (H)])-5.42))}}" ``` -------------------------------- ### Update Zone Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Updates one specific zone with weather data. ```APIDOC ## Smart Irrigation: update_zone ### Description Updates one specific zone with weather data. ``` -------------------------------- ### Calculate All Zones Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Triggers the calculation of all automatic zones. Use only if automatic refresh is disabled in the options. Weather data is deleted by default unless `delete_weather_data: false` is specified. ```APIDOC ## Smart Irrigation: calculate_all_zones ### Description Triggers the calculation of all automatic zones. Use only if you disabled automatic refresh in the options. Note that after calculation weather data is deleted by default unless you specify `delete_weather_data: false`. ### Parameters #### Service Data - **delete_weather_data** (boolean) - Optional - If set to false, weather data will not be deleted after calculation. ``` -------------------------------- ### Send Zone Data to Irrigation Unlimited Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Send real-time zone data, including duration and state, directly to Irrigation Unlimited for immediate control. Specify the zone ID and the data payload. ```yaml service: smart_irrigation.send_zone_data_to_irrigation_unlimited data: zone_id: 1 data: duration: 300 state: "on" ``` -------------------------------- ### Send Zone Data to Irrigation Unlimited Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-enhanced-scheduling-integration.html Send real-time zone data, such as duration and state, directly to Irrigation Unlimited. ```APIDOC ## Service: smart_irrigation.send_zone_data_to_irrigation_unlimited ### Description Sends zone data to Irrigation Unlimited for real-time control. ### Parameters #### Service Data - **zone_id** (integer) - Required - The ID of the zone to send data for. - **data** (object) - Required - The data to send. - **duration** (integer) - Required - The irrigation duration in seconds. - **state** (string) - Required - The state of the irrigation (e.g., "on", "off"). ### Request Example ```yaml service: smart_irrigation.send_zone_data_to_irrigation_unlimited data: zone_id: 1 data: duration: 300 state: "on" ``` ``` -------------------------------- ### Clear All Weather Data Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Deletes all stored weather data. ```APIDOC ## Smart Irrigation: clear_all_weather_data ### Description Deletes all weather data. ``` -------------------------------- ### Set Multiplier Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Sets a specific multiplier to a specific value, defaulting to 1.0. ```APIDOC ## Smart Irrigation: set_multiplier ### Description Sets a specific multiplier to a specific `new_multiplier_value` (default is 1.0). ### Parameters #### Service Data - **new_multiplier_value** (float) - Optional - The new value for the multiplier. ``` -------------------------------- ### Calculate Zone Source: https://jeroenterheerdt.github.io/HAsmartirrigation/usage-services.html Triggers the calculation of one specific zone. Weather data is deleted afterwards by default unless `delete_weather_data: false` is specified. ```APIDOC ## Smart Irrigation: calculate_zone ### Description Triggers the calculation of one specific zone. Note that used weather data is deleted afterwards by default unless you specify `delete_weather_data: false`. ### Parameters #### Service Data - **delete_weather_data** (boolean) - Optional - If set to false, weather data will not be deleted after calculation. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.