Skip to content

An ioBroker adapter for Gardena Smart System.

License

Notifications You must be signed in to change notification settings

jpgorganizer/ioBroker.gardena

 
 

Repository files navigation

Logo ioBroker gardena adapter

Number of Installations NPM version Downloads

NPM

Build Status

This is an ioBroker Adapter supporting the Gardena Smart System web service.

Description

This adapter connects to the Gardena Smart System web services. From this web service data from all devices is retrieved and stored in ioBroker states. These states are updated in a given interval, hence the states should be up to date. At the moment it can retrieve data from all Gardena devices. Some Gardena devices can be controlled.

The adapter mainly maps Gardena's RESTful API structure to ioBroker's database structure. The adapter distinguishes between "dump" and "smart" data points. Dump data points are directly mapped from Gardena's RESTful API to the ioBroker database. Smart data points are mapped in a "smart" way: If the data point has children that contain metadata, the metadata from these children is used to create one smart data point in the ioBroker database. Only smart data points can be writeable. If this is the case, a special data point is created in the ioBroker's database that can be used to trigger the command. Hence many devices should be supported in a generic way. For experts, all HTTP PUT commands should be supported by smart data points.

Examples

For some examples please have a look at the Wiki

Installation

Just install the adapter from the iobroker admin interface or fetch it from Github.

Troubleshooting

No data points are created

Please note that in adapter versions greater than 2.0.0 ALL data points are opt-in, i.e. a data point has to be selected in the instance configuration explicitly, otherwise, no data points are created.

Donation

If this project helped you to reduce developing time, you may give me a cup of coffee or a bottle of beer via PayPal(chvorholt@gmail.com) :-)

Changelog

2.5.2 (01-Sep-2019)

  • javascript error in admin interface fixed

2.5.1 (08-Jul-2019)

  • sensor measurements can be triggered manually

2.5.0 (06-Jul-2019)

  • states are updated after a command was sent

2.4.1 (06-Jul-2019)

  • fixed an error when sending commands

2.4.0 (30-Jun-2019)

  • webservice base url can be freely configured

2.3.0 (27-Jun-2019)

  • a poll can be triggered manually by a state

2.2.0 (12-Mai-2019)

  • added support for water outlet

2.1.1 (11-Mai-2019)

  • set command states to writeable

2.1.0 (13-Apr-2019)

  • added support for compact mode

2.0.2 (13-Apr-2019)

  • unnecessary user groups are no longer created
  • updated grub dependency

2.0.1 (22-Oct-2018)

  • fixed problem where some SMART states were not updated
  • improved role guessing

2.0.0 (21-Oct-2018)

  • brand new interface that allows to setup a whitelist for data points
  • strongly reduced CPU and RAM load
  • all devices that can be controlled by HTTP PUT commands are supported
  • some preparations for adding the adapter to the ioBroker repository in the future

1.2.0 (05-Aug-2018)

1.1.0 (23-Jul-2019)

  • new devices can be added more easily

1.0.1 (17-Jul-2018)

  • readded travis/appveyor testing

1.0.0 (17-Jul-2018)

  • added support for Admin3

0.1.1 (15-Jul-2018)

  • minimum polling time is 60 seconds

0.1.0 (22-Apr-2018)

  • commands can be parametrized by designated states

0.0.3 (08-Apr-2018)

  • bugfix: state was updated only once

Disclaimer

I am not in any association with Gardena or Husqvarna.

License

The MIT License (MIT)

Copyright (c) 2017-2019 Christian Vorholt chvorholt@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An ioBroker adapter for Gardena Smart System.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.9%
  • HTML 27.1%