About
Gardena Smart System connects Gardena and Husqvarna Automower garden devices to Home Assistant through the vendor's cloud. It adds a lawn mower entity, valves, power socket switches, sensors for battery, soil moisture, temperature and light, plus a mowing schedule calendar and a headlight selector. Actions start watering for a set duration, turn on a power socket for a set time, override the mower schedule, park the mower until further notice, and resume the schedule. Updates arrive by real-time WebSocket push, with polling as a fallback, and the polling interval can be changed in the options. An optional local gateway mode talks to the Gardena gateway over the LAN, preferring local state and sending commands locally first, and an MQTT bridge can mirror device states and accept commands. Setup is done in the UI with an application key and secret from a Husqvarna developer account.
Automatic summary of the README and code of kayloehmann/ha-gardena-smart-system. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Uses the vendor's cloud Needs an internet connection and an account with the vendor.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Valves
- Switches
- Sensors
- Presence
- Calendars
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Connect to Husqvarna
- Application Key (Client ID)The application key from your Husqvarna developer account.
- Application SecretThe application secret from your Husqvarna developer account.
Select API
- API
Select your garden
- Garden
Also asked when changing the connection.
Re-authenticate
- Application Key (Client ID)
- Application Secret
Also asked when changing the connection.
After setup
- Default watering durationDuration in minutes when opening a valve without specifying a duration (1-1440).
- Default power socket durationDuration in minutes when turning on a power socket (1-1440). Set to 1440 (24h) for near-indefinite operation.
- Default mowing durationDuration in minutes when the Lovelace 'Start' button (or lawn_mower.start_mowing service) triggers the mower (1-480). Sent as START_SECONDS_TO_OVERRIDE so the mower starts immediately, independent of the Gardena schedule. The mower will auto-park earlier if it finishes the area or runs low on battery.
- Polling intervalHow often to poll the API for updates in minutes (5-1440). Lower values provide fresher data but consume more API quota. Default: 30 (Gardena) / 15 (Automower).
- Enable MQTT bridgeMirror device states to a local MQTT broker and optionally accept commands. Requires the MQTT integration to be configured.
- MQTT topic prefixBase topic for all MQTT messages (e.g. 'gardena' → gardena/DEVICE_ID/state).
- Publish device states to MQTTPublish full device state as JSON on every update (WebSocket push or poll).
- Accept commands via MQTTSubscribe to PREFIX/DEVICE_ID/command for inbound commands (start_watering, stop_watering, turn_on, turn_off, park, resume).
- Enable local gateway accessTalk to the GARDENA smart Gateway directly over the LAN. Local state takes precedence over the cloud and commands are sent locally first (cloud is the fallback). The gateway's websocketd service must be enabled once via shell — see the documentation.
- Gateway host or IPHostname or IP of the gateway (e.g. 10.0.0.5 or GARDENA-xxxxxx.local). Leave empty to disable.
- Gateway passwordThe first 8 characters of the gateway's device id (printed on the underside).
- Gateway portWebSocket port of the gateway (default 8443).
Texts from the code of kayloehmann/ha-gardena-smart-system.
Entities
- Binary sensorsBattery low, Valve error, Error, Connected, RF link, WebSocket connected, Local gateway connected
- ButtonsConfirm error
- CalendarsMowing schedule
- PresencePosition
- EventsMower event, Power socket event
- Lawn mowersMower
- NumbersCutting height, Schedule override
- SelectsHeadlight mode
- SensorsLast command via, Battery, Signal strength, Soil moisture, Soil temperature, Ambient temperature, Light intensity, Operating hours, Activity, State, Last error code, Cutting height, and 24 more
- SwitchesPower, Headlight
- ValvesValve
Actions
- Start wateringStart watering a valve for a specific duration, overriding the schedule.Fields: Duration
- Turn on forTurn on a smart power socket for a specific duration.Fields: Duration
- Override scheduleForce the mower to mow for a specific duration, ignoring its schedule.Fields: Duration
- Park until further noticePark the mower indefinitely. It will stay in the charging station until manually resumed.
- Resume scheduleResume the mower's automatic mowing schedule.
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:WebSocket connection lost, Husqvarna Application blocked
From the README
A Home Assistant custom integration for Husqvarna smart garden devices — supporting both the Gardena Smart System API and the Automower Connect API through a single integration. Real-time WebSocket push with automatic polling fallback.
📖 Full documentation lives in the Wiki — available in English and German / Vollständige Dokumentation im Wiki — auf Englisch und Deutsch.
Shows in Vulpo
Quick Toggle card, Button card, Select card, Valve card, Apple Watch, Control Center.Information
- Installs
- 66 sharing analytics
- GitHub stars
- 5
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v2.1.3,
- Category
- Garden and plants
- Kind
- Marketplace integration
- Brand
- Gardena
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
gardena_smart_system_ng- Issues
- Report an issue











