Oct 01, 2017
Oct 01, 2017
Dec 14, 2018
Mowing the lawn, watering the garden, measuring light intensity, soil humidity and temperature. The GARDENA smart system enables you to sit back, relax and control your garden remotely. The GARDENA smart system Virtual Device for Fibaro HC2 enables you to extend your smart home to the garden and puts you in control of every corner of your property.
Plus one or more of...
This GARDENA smart system interface to Fibaro HC2 consists of:
Virtual devices display status information retrieved by the status script and provide buttons to control the device. The gateway itself is not registered and managed as a virtual device.
GARDENA smart sileno (+) robotic lawn mower
GARDENA smart sensor
GARDENA smart water control valve
Icons for the virtual devices and for the scripts are provided in the download folder as well. Obviously you can remove and rearrange lables from the virtual devices to display only the information and buttons that are relevant for your smart garden setup.
GARDENA, GARDENA smartsystem and the GARDENA smartsystem logo are trademarks of Husqvarna Group. The GARDENA smartsystem HTTP backend and web app API is a proprietary service provided by Husqvarna Group and governed by the terms and conditions imposed upon you by Husqvarna Group. Use of this interface may be illegal without obtaining prior written permission, or may be in disregard of Husqvarna Group terms of service. By downloading this Virtual Device you agree to be bound by Husqvarna Group terms and conditions of service. If you do not want to be bound by Husqvarna Group terms your only option is not to download the Virtual Device.
Barlow and Fibaro make no warranty, express or implied, and do not assume any legal liability or responsibility for the right to disclose and publish Husqvarna Group proprietarty information, nor for the accuracy, completeness, usefulness, reliability, or timeliness of any documents or information contained on this website or for the suitability, functionality, or operation of this work.
Barlow and Fibaro shall not be liable to anyone for any decision made or action taken, or not taken, in reliance on the information found on or dowbloaded from this website. Users are advised to do their own independent investigation before relying on or taking/not taking any action based on information found on this website. All information on this web site is subject to change or removal without notice.
Barlow and Fibaro do not represent that use of any documents or information on this website would not infringe privately or commercially owned rights.
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Dear Barlow, thank you so much for providing this stuff! I have tried to start this by my own yesterday and just a day later i found your script :). You forgot to mention the creation of global variables in your installation guide. The users has to create the following global variables in the variable control: "gardena_userid", "gardena_token", "gardena_location" with blank or "0" value.
Dear "unnamed", thank you for your feedback and thank you for spotting and reporting an omission in my code. Fortunately this was very easily fixed. I have updated the status script code so that it automatically adds these global variables, the first time users run the script.
Thanks a lot for this. I get this error-message when i run the smart status. Does anyone know what it mean? I´m not that good at LUA [DEBUG] 21:20:43: Authentication was succesful [DEBUG] 21:20:43: [1;31m2018-01-04 21:20:43.896861 [ fatal] LUA error: /opt/fibaro/scenes/381.lua:170: attempt to concatenate local 'user_id' (a nil value)
@Daniel. The function gAuth takes your specified Gardena username and password to login to the Gardena portal. The debug log shows that the authentication request is successful. It then proceeds to retrieve a token and user_id from the Gardena site. Once retrieved it will create global variables gardena_token and gardena_userid (if they don't exist already). Thereafter it will write the retrieved roken and user_id to these global variables. The next functions in the script rely on the information contained in the global variables to execute (or they will fail with a LUA error). The first time that the status script is run, the global variable information may not yet be available to the functions that need it. What would resolve this, is stopping and starting the script a number of time. You can also check if the global variables gardena_token and gardena_userid do indeed exist and have information contained within them.
@Barlow. Thanks for the reply. I solved it by creating the variables manually. After that it worked perfect. Thanks alot for the providing this :D