Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Gardena Status 1.2

   (3 reviews)

7 Screenshots

About This File

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.).
  • Five categories of Gardena devices supported: gateway, irrigation control, watering valve, sensor, and mower.

image.png.71a19f2a9529f00ae1daab7b299bf957.pngimage.png.b608913a2b8d8a3552b17bc185c2227c.pngimage.png.ccfac902b186299ca11777c23ac7cc50.pngimage.png.3436346a9b3c83a12d6d5d64af5c104a.pngimage.png.43ae62130768decb417d6c0409f18b54.png

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 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 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, second is a default (English) label, 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.

 

Edited by macjoker
Version 1.2 - Mower support update


What's New in Version 1.2   See changelog

Released

Mower support update

  • Like 2


User Feedback

Recommended Comments

Brilliant Scene, works flawlessly. East to install -setup - maintain. Great work from macjoker. Thanking you. Marcus

 

Edited by MARCUSP.I.L
Link to comment
Share on other sites

The Husqvarna-API has moved. If you try the URL in the Gardena script (https://sg-api.dss.husqvarnagroup.net/sg-1/sessions) you'll get the following information: {"message": "This API has moved to the official developer portal. Please follow the instructions at https://developer.husqvarnagroup.cloud"} That means, that all further relative links are also broken and that leads to the 404-Error in the debug window. Who can fix it ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...