This is an ioBroker Adapter supporting the Gardena Smart System web service.
Dear users,
the point is that Gardena wants people to use the Gardena API which can be done using the Smart Garden Adapter. My adapter uses a different approach, it mocks more or less the Gardena App. So, at the moment I am not sure if it is worth to continue the development of the adapter.
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.
For some examples please have a look at the Wiki
Just install the adapter from the iobroker admin interface or fetch it from Github.
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.
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) :-)
- javascript error in admin interface fixed
- sensor measurements can be triggered manually
- states are updated after a command was sent
- fixed an error when sending commands
- webservice base url can be freely configured
- a poll can be triggered manually by a state
- added support for water outlet
- set command states to writeable
- added support for compact mode
- unnecessary user groups are no longer created
- updated grub dependency
- fixed problem where some SMART states were not updated
- improved role guessing
- 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
- support for Gardena smart irrigation control
- new devices can be added more easily
- readded travis/appveyor testing
- added support for Admin3
- minimum polling time is 60 seconds
- commands can be parametrized by designated states
- bugfix: state was updated only once
I am not in any association with Gardena or Husqvarna.
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.