Last Updated on 2016-07-30.
[:en]Gardena’s robotic lawn mower “smart Sileno” (R100LiC”) comes with a gateway module which is used for communication between the mower and Gardena servers.
Unfortunately, at the moment there is no way to get direct API access to the gateway, so the commands have to be sent out of your LAN, and the gateway forwards the Gardena server command to the mower, etc.
In addition, there is no official web interface yet, but thanks to this post, there are commands you can use to integrate it into your existing home automation system.
For convenience, I created a PHP class for it.
First register a Gardena account, e.g. via Gardena smart system mobile app, and add your gateway and your mower.
Afterwards, you can use the class:
[github-contents username=”DXSdata” repository=”Gardena” filepath=”gardena.class.inc.php” language=”php” ]
Example usage:
[github-contents username=”DXSdata” repository=”Gardena” filepath=”index.php” language=”php” ]
Update 2017-04-17
I updated the class with Gardena Smart Sensor support. The hardware is not cheap but reliable as I can say so far. If you have e.g. a Gardena Smart Sileno mower and a Smart Sensor, you can use this class to park the mower in its charging station as long as the ground is moist.
Update 2017-04-21
Moved project files to Github.
Now also includes Watering Control.
Latest commits:
[github-commits username=”DXSdata” repository=”” limit=”3″][:]
Hi, I have the Gardena Smart Water Control unit and am trying to include it in the above PHP Library.
Can we have contact to you can publish the extra constants needed for the Water control so everybody can use it?
Kind regards,
Roel Broersma
HI,
i have no mower, but the watercontrol and the sensor. The INFO ist working fine, but I can’t send a command to the water controll, perhaps the URL is wrong for it:
const CMDURL = “https://smart.gardena.com/sg-1/devices/|DEVICEID|/abilities/mower/command?locationId=”;
Did anyone get it working?
You are right, this URL might not work with the watercontrol.
You could try to replace “mower” with “wateringcomputer” within the URL.
I do not own the water control device, so I can only guess.
If it does not work, you could maybe get in contact with Roel (see comment above).
Please give me some information afterwards, so I can update the code on Github.
Hello , were you able to connect with the water control ? I am not trying to integrate the water control with my Fibaro automation system and your experience would help me. Let me know please.
Thanks
Hi,
If you set the const CMDURL to “https://smart.gardena.com/sg-1/devices/|DEVICEID|/abilities/outlet/command?locationId=”; you can send commands without the mower.
@DXSdata: great work.
KR Sven