* Fix index out of bounds when persisting empty StringType values
* Fix deserialization when strings contain type separator
* Improve debug logging
* Improve test coverage
Fixes#8790
Signed-off-by: Wouter Born <github@maindrain.net>
* [icalendar] Describe download exceptions a bit more detailed.
Fixes#8846
* [icalendar] Apply suggestions from code review
Signed-off-by: Michael Wodniok <michi@noorganization.org>
Also-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
* [miio] delay refresh to avoid devices not ready yet
Delay refresh after command is send as some devices are not ready yet
with the execution and will report wrong status.
This is confusing to the users.
Related forum topic:
https://community.openhab.org/t/xiaomi-mi-air-purifier-xiaomi-mi-io/34840/300
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] remove change from PR
* Update documentation with changed Influx2 RC port
* Fix problem with non decimal numeric types
Improve documentation with more explicit information about Influx types used
Implement toString to InfluxPoint to allow some trace info to be useful in case it's needed
Fixes#8697Fixes#8798
Signed-off-by: Joan Pujol <joanpujol@gmail.com>
Additionally:
- documentation has been updated and improved
- logging has been improved for better debugging
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* [MeteoAlerte] Update for OH3
Replaced old gif pictures with svg nicer pictures
Added a missing alert report (vague-submersion)
Added end of validity report timestamp
Some code cleansing.
Signed-off-by: clinique <gael@lhopital.org>
* [lcn] Fix status message of RollerShutter inverting
The status of RollerShutter was not inverted when invertUpDown=true. Fixes#8680
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
* Add Groovy scripting support
This makes it really easy to start using Groovy 3.x scripts with openHAB!
Signed-off-by: Wouter Born <github@maindrain.net>
Changed the README.md file to include more information as in #8733:
Specified that the chatId in the APIs must be followed by an "L" or it won't work (at least, not for group chats).
Add support for following types
"mrbond.airer.m1s",
"mrbond.airer.m1pro",
"mrbond.airer.m1super"
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Refactored discovery service to ThingHandlerService
* Fixed discovery for Geofence Sensor
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Remove duplication by making use of default Java generated exceptions
* Make ThingActions labels/descriptions more consistent
Signed-off-by: Wouter Born <github@maindrain.net>
* Remove proxy workarounds
* Move ThingActions and a few other classes into the internal package
* Use more consistent action labels/descriptions
Related to:
* openhab/openhab-core#1714
* openhab/openhab-core#1639
Signed-off-by: Wouter Born <github@maindrain.net>
* [airvisualnode] Support AirVisual Pro version
* [airvisualnode] Autodetect Pro version
* [airvisualnode] Remove unused channels
Signed-off-by: Oleg Davydyuk <ilveann@gmail.com>
* [miio] eliminate warning org.apache.commons.io.FileUtils in readmemaker
Eliminate
[WARNING] org.openhab.binding.miio.internal.ReadmeHelper.java:[25]
The package org.apache.commons.io.FileUtils should not be used.
* [miio] add StandardCharsets.UTF_8 to file readwrite
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Improved unsupported handler that build experimental support
New unsupported handler that tries to find channels for unsupported
devices and creates experimental database file for it.
* [miio] logger fixes
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Fix memory leak in SNMP. When receiving an async request it is placed in a pending request queue. Not canceling it leads to infinty life cycle for those requests, filling up memory.
* Test the canceling of the snmp aync request by its handler.
Signed-off-by: Falk Bauer <falk.bauer@k-is.com>
Applied the changes found by spotless.
According the comments DEFAULT_NUMERIC, DEFAULT_QUANTIFIABLE config should have 5 archives, the 4th was missing. Additionally the ConsolFunction changed in the DEFAULT_QUANTIFIABLE.
The DEFAULT_OTHER config had false computed archives.
Signed-off-by: Jürgen Baginski <opus42@gmx.de>
According the comments DEFAULT_NUMERIC, DEFAULT_QUANTIFIABLE config should have 5 archives, the 4th was missing. Additionally the ConsolFunction changed in the DEFAULT_QUANTIFIABLE.
The DEFAULT_OTHER config had false computed archives.
Signed-off-by: Jürgen Baginski <opus42@gmx.de>
* [miio] allow for device remarks in the readme from json db
* Update bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java
Signed-off-by: Marcel Verpaalen marcel@verpaalen.com
* Configures XStream security to prevent "Security framework of XStream not initialized, XStream is probably vulnerable" warnings.
* Resolves the itest bundles for the upgrade to XStream 1.4.13
Related to openhab/openhab-core#1688
Signed-off-by: Wouter Born <github@maindrain.net>
* add representationProperty to thing definition to make it OH3 compatible
* adapted to OH3 (representationProperty added to thing definition)
* as always...spotless:apply :-(
Signed-off-by: Markus Michels <markus7017@gmail.com>
* OH3 adaption - fixes small issues when running on OH3
* #8612: Fix total consumption for RGW2+Roller
* #8492: Shelly Plug US
* 2 more immediate = true catched and removed
* spotless applied
Signed-off-by: Markus Michels <markus7017@gmail.com>
* [miio] enable telnet for lumi gateway
* allow enable telnet and some other functions on gateway
* use new fw as default for chugmi plug
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
+ Bug fix: Recording to GIF would only record for 5 seconds.
+ Clean up readme to remove channels and configs that don't exist after
moving to actions.
+ Compatibility fix for http headers.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Swagger upgrade for the Netatmo binding (required to use the OAS 3 Swagger annotations, the old annotations dependencies were removed with OpenHAB 3)
- Swagger-Codegen updated to the latest version (to generate the OAS 3 Swagger annotations)
- Retrofit replaced by the default code generation (Retrofit 1 code generation is broken with newer swagger-codegen versions and an update to Retrofit 2 is also incompatible and would require more dependencies)
- NULL handling for collections introduced (newer versions of the Swagger codegen return NULL for empty collections instead of an empty collection ...)
- The binding is now working completely again (compiles and starts), but there are still some TODOs
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
sven.strohschein@gmail.com>
Upgrades the compiler and its dependencies so the compiler results of Maven builds are more similar to those generated in recent Eclipse versions.
To fix compilation issues in Eclipse for add-ons using classes from javax.xml.stream several dependencies were upgraded/excluded.
Signed-off-by: Wouter Born <github@maindrain.net>
* Fix issue with All Mute and extra source options
* Add channel to select preset favorite
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Improve exception handling of the embedded MQTT broker so the port can be reconfigured when it is already bound and it properly unlocks files
* Rework MQTT integration tests so they each run the embedded broker on their own reserved port
Signed-off-by: Wouter Born <github@maindrain.net>
Fixed 3 bugs:
- Network bridge not listening on bus
- Reconnection handler keeps reconnecting even after a successful reconnection
- Minor typo in alarm wakeup time channels
Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
In case of the parameters & response are not equal avoid the
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
The handleUpdate method was deprecated when profiles were introduced (see eclipse-archived/smarthome#4108).
Instead the "follow profile" can be used which forwards item updates as commands to handlers.
This profile works with any binding instead of only those that implement the handleUpdate method.
Related to openhab/openhab-core#1669
Signed-off-by: Wouter Born <github@maindrain.net>
This should make it easier to fix these broken add-ons and the PRs that fix them will then not contain all these changes which make them easier to review.
Signed-off-by: Wouter Born <github@maindrain.net>