Created At
Feb 23, 2020
Created By Marcin Ćwięk
Link Gardena Smart System devices with Home Center 2 to control mower and watering system.
Created At
Feb 23, 2020
Last Update
Sep 17, 2021
Platforms
HC 2
Views
5094
Download
314
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
|
|
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.
Read comments in Lua scene.
Each configuration parameter is described there in detail.
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.
Sure. Just make a clone of the main Lua script, update account details and give a unique value to ACCOUNT_UNIQUE_ID
variable.
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.
Hi Marcin. I need help, I always get the following debug: [DEBUG] 17:59:03: GardenaSmart - scene version 1.2 [DEBUG] 17:59:03: Automatic update runs every 60 seconds. [DEBUG] 17:59:03: Getting data from Gardena services... [DEBUG] 17:59:04: HTTP status code: 404 thank you very much
Hi Marcin. I changed the device name to 'Mower', changed my account details (email-adr. and password) to only latin char. without spezial char. ..., nothing works, got the same msg.
Hi Marcin. I use HC2 v4.620, I've got only mower and changed the device name to 'SILENO', but I got the same msg.
The problem is somewhere beyond my code. I can only make two suggestions: (1) update your HC2 firmware, (2) do not use special characters in Gardena device names (try using Latin characters only).
Hi, I also get the 404 Error. Has Gardena changed the API?