Created At

Feb 23, 2020

Last Update

Sep 17, 2021

Platforms

HC 2

Views

6151

Download

360

Main features

 Watch and control Gardena Smart System devices.

Connects to your Gardena account, retrieves information about smart devices configured within that account, and allows you to control them. Installation if fully automated: there is only a single scene to provide status gathering, sending commands and creating virtual devices in HC2.

Advantages

  • Detection of new Gardena devices and automatic creation of corresponding Fibaro virtual devices.
  • Polish and English languages are supported.
  • Easy installation: just put your account information and start the scene.
  • Source code is easy to maintain and develop (rich debug information, separation of supported device types from data presentation, translation system included, etc.).
  • Six categories of Gardena devices are supported: gatewayirrigation control, watering valve, sensorsensor2, and mower (needs update).

 

What you need 

At least Gardena Smart Gateway configured and access to your Gardena account. Any sensor, watering device, or mower connected to that account will become available in the Fibaro ecosystem.

Installation

  1. Create LUA scene with the file provided in the archive.
  2. Put your Gardena account details (GARDENA_ACCOUNT and GARDENA_PASSWORD).
  3. Start the scene - it will automatically create global variables and virtual devices based on your account information.
  4. Update virtual device: set names, icons, and categories as you wish.

Optional configuration

Read comments in Lua scene.
Each configuration parameter is described there in detail.

FAQ

I don't want to import all devices from my account. How to achieve that?

You may do that by configuring IGNORE_CATEGORY variable if you would like to exclude all devices of a given type (like "sensor") or you may remove unwanted VDs manually and change CREATE_VIRTUAL_DEVICES to false so as not to recreate deleted devices.

Can I use two or more Gardena accounts in my HC2?

Sure. Just make a clone of the main Lua script, update account details and give a unique value to ACCOUNT_UNIQUE_ID variable.

Can I provide my own translation or change fields displayed in a virtual device?

Yes, it is simple. All language-specific information is given in two variables: translations and repeatedTrans. Look for them in source code and that should make things clear. Also field definitions are provided in the source code. Look for "TYPEconfig" variable (mowerConfig, e.g.) and change what you need. For labels the first value in each item is a number used for ordering elements, the second is a default (English) label, the third is a format ([d] is for timestamps, [u] is for units retrieved from Gardena API). In the end, remember to use UPDATE_DEVICE_DEFINITION variable to apply changes in virtual device definition.

 

Screenshots

49 Comments,  Want to add comment please login
D1daff901c3f0929f24786f9aef26618

Marcin, też bardzo chętnie skorzystam z wtyczki do gardeny dla HC3. Z góry bardzo dziękuję za twoją pracę!

8f41876bead5a98aef71331b2aeece6f

any progress?

Da54c20566015cb188b16106e0cb981e

Good news. I have recently started to use HC3, and I am slowly moving all my devices over there. Gardena integration needs to be written from scratch, as the API has changed and QA works differently from VD (websocket usage is possible). You may expect a new version for HC3 in a few months... (this is last on my list, as the watering season is over now).

4d9bb2325b49317e574078124e0c732b

Please in HC3

2e56ee7fd7c7f43cca60da7260f9e8d1

Still waiting for this great solution to work in HC3 ......

© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback