For the bindings homeconnect, lgwebos, netatmo, remoteopenhab, rotel,
somfytahoma, sonos and sonyprojector
Depends on openhab/openhab-core#1505
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [ADD] First version which was tested with my local setup.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <sven.carstens@aoe.com>
* [ADD] Refactoring, add calculated value for direct self consumption and prepare for more.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [ADD] Add chanel description to README and make some channels advanced.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Remove wrong colon in channel types.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Put colon at the right place in channel types.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Fix spelling of PVPlant in constants and things.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Separate channelName from energy manager tagName.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Reduce loglevels and fix findings from code-analysis.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove unnecessary Nullable and NotNull annotations.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Change wrong ItemType for power items in README
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Change modeConverter to Switch
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Remove stateDevice from items as it is represented by the device status.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove unnecessary logging.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Allow child things to be configured by hand with a guid.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Allow child things to be configured by hand with a guid.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and move things config to separate config.xml
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove all trace/debug logging.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Use real channel timestamp as the refresh trigger.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
* Add Unit handling functionality to SNMP Reads
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Use core library for Unit parsing
Signed-off-by: James Melville <jamesmelville@gmail.com>
* [ihc] Support for TLSv1.2
So far IHC controller have supported only TLSv1. As TLSv1 is already
deprecated and upcoming IHC controller FW version will introduce support
for TLSv1.2.
This change introduce TLSv1.2 support for the binding. TLS version is
selectable to be backward compatible for older controller versions.
Communication error handling is also improved e.g. because of wrong
password or if Java environment doesn't support required TLS version.
When fatal communication error occurs, binding will not hammer
controller with retries as it need user actions.
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [ihc] Introduced auto mode and other improvements
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [ihc] introduced default constant
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [homeconnect] 9 channels added for washer appliance
Corresponding to 9 program options not fully supported by the API.
Fix#10704
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: formatting in XML thing file
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: add these new channels (except i-DOS) to washerdryer appliance
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: method isLinkedChannelsForUnsupportedFeatures renamed
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Change state options for rinse plus channel
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Update the new channels when the active program is updated
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: update documentation
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: typo in channel description
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [nest] Add support for Smart Device Management (SDM) API
* Reworks WWN implementation so that the thing types have a wwn_ prefix and the classes have a WWN prefix and reside in a 'wwn' package
* Adds an SDM implementation which is also based on: https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess
* Adds unit tests for (de)serialization of the SDM and Pub/Sub API requests and responses
* Updates the binding documentation for the changes and additions
Fixes#8664
Also-by: Brian Higginbotham <brianhigginbothamtx@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>
* Fix and improve documentation
Signed-off-by: Wouter Born <github@maindrain.net>
* Always use UTF8 when decoding SDM events
Signed-off-by: Wouter Born <github@maindrain.net>
New firmware type reported from the community that's not in the SDK. Also,
we don't actually _use_ the firmware type or device type for anything, so
lets not crash if we don't match the bytes - lets just flag it unknown.
https://community.openhab.org/t/rfxcom-binding-unsupported-value/123615/12
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
Based on the RFXtrx SDK, new blind types. They mostly seem to match existing logic,
so this shouldn't break existing things.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* [homeconnect] Improve logging of SSE connection and add backoff interval in case of connection error
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [homeconnect] Fix SSE authorization header problem
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [homeconnect] Fix synchronized monitor
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15)
add support Mi Smart Standing Fan Pro EU/Global (dmaker.fan.p15)
Improve p8 & p9 fans
close#10843
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] improve timeunit
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* fixes#10738, #10799
Signed-off-by: Markus Michels <markus7017@gmail.com>
* - Feature #10090 New device#supplyVoltage channel for Shelly 2.5, 1PM
and 1L
- Change #10039 Info on "not reachable / timeout" should be warning,
not info
- Fix #10799 Missing Channel Definition for Vibration Events
- Fix #10738 Shelly UNI - ADC Voltage units of measure missing
- Fix #10111 Creating Equipment from Shelly Bulb Duo causes wrong
min/max
- README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* #10737 Shelly EM - add powerFactor channel support
Signed-off-by: Markus Michels <markus7017@gmail.com>
* README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* channel powerFactor (EM+EM3) is now of type Number:Dimensionless
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Fix for #10864: Do not trigger same alarm within 5 minutes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* better logic for alarm filter
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Fix exception in aggregation function when daily forecast is empty
Also catch any Exception to prevent thread from crashing
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
* Refactor to improve robustness of calculations
Improve tests to cover different forecast scenarios
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
* Fix urls are null until binding restarts.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change to using port config.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* automate the ffmpeg output folder to follow the UID.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* spotless fixes.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* change to using the userdata folder.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* change to better field description.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add advanced.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add link to docs.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve example path in readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update bundles/org.openhab.binding.ipcamera/README.md
Cut and paste bandit strikes again. thanks.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Change to using ipcamera as folder loc.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Based on both the SDK and experimentation, this commit correctly identifies the
firmware and hardware version. A warning has been added for people with really
old firmware that may be different, but we didn't handle those different cases
well anyway.
Also includes updated firmware types and device types and support for pretty-
printing of the device and firmware type.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This is a new feature in the Pro firmwares that provides the real raw RF
pulse lengths as shorts. Good for being able to parrot switches that aren't
otherwise supported, once we add the tx support as well.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* Update unit formating
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Updates per last review
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Updated units to decimal
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* [semsportal] Allow portal and station cofiguration with .things file
Signed-off-by: Iwan Bron <bron@olisa.eu>
* Fix README.md warning
Signed-off-by: Iwan Bron <bron@olisa.eu>
* Make thing type better visible in documentation
Signed-off-by: Iwan Bron <bron@olisa.eu>
Co-authored-by: Iwan Bron <bron@olisa.eu>
There's no reason not to read multiple bytes at a time (that I could find) so
for best practice, set the read limit to be the maximum size of an rfxcom
message. Tested fine on my system.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* correct handling of system date/time field to close#10684
Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
* further fix
Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
Without this, any message over 127 bytes reports a negative length and
fails the message start test, which puts the code out of sync with the
rfxcom leading to lots of errors, and eventually, complete loss of
connection.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* Provides the ability to specify a timeout in the config, instead of using hardcoded 10 seconds.
Signed-off-by: Geroen Dierckx <geroen.dierckx@gmail.com>
* Use a single numeric type (double), remove ints and floats
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Rebases with master. Fixes All Checkstyle warning, renames package 'model' -> 'dto'
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Prevent possible NPE
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Spotless
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Fixes missing unit information (especially for HmIP devices)
For some HmIP devices the "valueunit" attribute is empty and thus no
default unit type could be derived. Using the data point name solves
this problem (at least for the relevant data points).
Fixes#10533
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Condition result was wrong because of missing brackets
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Regenerated and reorganized descriptions
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Encoding changed to UTF-8 and some smaller text corrections
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Use default value as maximum if is greater than received max value
For some devices the data point definition retrieved from the CCU
contains default values that are higher than the maximum value. In order
to allow the configuration of these config options the allowed maximum
value needs to be set to the default value.
Fixes#10552
Signed-off-by: Martin Herbst <develop@mherbst.de>
* [VENSTAR THERMOSTAT BINDING] ADD AWAY MODE
Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
* [VENSTAR THERMOSTAT] FIXED COMMAND AWAY MODE
Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
* VENSTAR THERMOSTAT AWAY MODE AFTER INITIAL COMMIT FEEDBACK
This code includes the Away mode of the Venstar thermostat. It is
updated following initial feedback and suggestions on my first version
from @digitaldan.
Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
* VENSTAR THERMOSTAT BINDING - INCLUDE AWAY MODE
Removed the updateThermostat function, now have updateSettings and
updateControls corresponding to local API URLs.
Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
* VENSTAR THERMOSTAT AWAY MODE - Modification updated as per feedback 1
June 2021
Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
* VENSTAR THERMOSTAT AWAY MODE INCLUSION - UPDATED README
Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
new channels frequency and power factor.
Signed-off-by: Martin Hubert <github@martin-hubert.de>
Co-authored-by: Martin Hubert <github@martin-hubert.de>
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug
New functionality:
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.
Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)
Fix bug:
The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.
Also-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Use the provided planned time for a washing program to set the channel "remaining_program_time_state" when no program is active
Fix#10744Fix#10703
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Also-by: Bert Plonus <bert.plonus@miele.com>
Also-by: Martin Lepsy <martin.lepsy@miele.com>
Also-by: Benjamin Bolte <benjamin.bolte@itemis.de>
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
Previously there was a mismatch between the UIDs used by the handler and
the one actually registered from the XML-file.
This lead to channels not showing up in the UI.
(See https://github.com/openhab/openhab-webui/issues/406 )
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored
Fix#10700
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [homeconnect] Returns an empty list of options for an unsupported program
Fix#10689
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: List.of
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Fix problem with historical Influx1 data that was generated with addon version <3.0.0 that didn't write generate item tag
Signed-off-by: Joan Pujol <joanpujol@gmail.com>
* add scheduler to start/stop sending instantaneous consumption
Signed-off-by: Conte Andrea <andrea@conte.com>
* added scheduler also in Initialize() in order to start reading data of a newly discovered thing
Signed-off-by: Conte Andrea <andrea@conte.com>
* removed setActivePowerNotificationsTime() from dispose()
Signed-off-by: Conte Andrea <andrea@conte.com>
* add log in dispose() method
Signed-off-by: Conte Andrea <andrea@conte.com>
* temperatureHotWaterTarget channel is writable
* temperatureTargetHotWater_2 channel doesn't exist in the binding
Signed-off-by: Martin Kurgi <martinkurgi@gmail.com>
* Adapted to new checkstyle
Signed-off-by: Markus Michels <markus7017@gmail.com>
* stylecheck cnages; fix CoIoT update for vibration, url encode user+pw on
"set login credentials"
Signed-off-by: Markus Michels <markus7017@gmail.com>
* #10617 Vibration event added for DW2
Signed-off-by: Markus Michels <markus7017@gmail.com>
* brackets
Signed-off-by: Markus Michels <markus7017@gmail.com>
* some unused stuff/code removed
Signed-off-by: Markus Michels <markus7017@gmail.com>
* [somfytahoma] Open to other portals
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: suppress the advanced setting for cookie handling
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Fixed ColorTemperature set to UNDEF
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Fixed SAT findings
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Fixed warning during unit tests
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Changed color temperature handling in GroupHandler
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Changed default color mode for color commands to XY
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorporated comments from review
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* [MongoDB Persistence] Rename connectToDatabase to tryConnectToDatabase.
Currently, the implementation throws a RuntimeException.
This fails horribly in query() and store(), because the exception is never caught and connection reestablishment won't happen.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix JavaDoc
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix Bundle name
The correct database name is "MongoDB" without a space.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Also check for connection validity in isConnected()
When the connection was established successfully once, and the server goes down (e. g. a restart of the DB server), the connection still seems to be OK.
This would throw an exception later on, which is not caught and connection reestablishment won't happen.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Disconnect from database before reconnecting to database.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Disconnect from database when connection procedure fails.
When, for example, the creation of the index fails (disk full, ...), the connection is still there, but the collection isn't created with it's appropriate indices.
Thus, disconnect when the procedure fails to ensure no database connection remains valid.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix logic
Create the shared collection with its indices when collectionPerItem is disabled, not enabled.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Access database via getDatabase()
Preparation for synchronization.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove global mongoCollection variable.
This allows to easify implementing necessary multithreading locks.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Codestyle improvements.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Move isConnected-Check into tryConnectToDatabase.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Synchronize all connection handling methods.
Though the MongoDB driver is thread-safe, we still need to synchronize connection establishment/closing/...
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove all unnecessary @NonNullByDefault attributes.
The given attributes should not be NotNullByDefault, because some may be null, too.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove duplicate logging.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Test the db connection after creating the MongoClient.
The mongo always succeeds in creating the connection.
We have to actually force it to test the connection to try to connect to the server.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix date query.
Issues:
- Second should have been getEndDate, not getBeginDate
- Send a Date object as the other version wasn't serializable.
- EndDate would have overridden beginDate.
Fixes#10574
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add debug log for MongoDB query sent to the server.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Reorder index on collections.
The order (Item, Timestamp) makes much more sense and should be better for performance.
All queries are always done with an item, and the dates are optional.
Also, the database server can now execute a range query for the date.
Existing indices are not dropped for backwards compatibility with other systems analyzing the data.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add @author JavaDoc as per developer guidelines.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Improve logging
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add @NonNullByDefault
This was removed in 1f8e4525 by mistake.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Do not use isConnected() to test the connection.
The new method throws the real underlying exception instead of a generic one. This allows for detailed logging.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove useless @inheritDoc as per code analysis tool.
Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* Unnecessary NonNull annotations removed
Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
* Bugfix "If network connection is interrupted, WebThing will not be reconnected." Due to the variable webThingURI is unset, re connection fails
Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
* webThingURI will be loaded in a lazy way
Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
* Do not discover on ENTRY_MODIFY
ENTRY_MODIFY is triggered on each keypress multiple times, so we should
not trigger on it.
The usecase for ENTRY_MODIFY triggers where detecting permission changes
of the event nodes.
Inotify does have a dedicate event ("ATTRIB") for that but Java
WatchService normalizes this to a ENTRY_MODIFY event
(See LinuxWatchService.java)
After permission changes users now have to trigger a scan manually.
* Use proper representation property
* Show event node in label
This makes it easier to figure out which thing is which device in the
presence of symlinks or multiple identical devices.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* Fix broken image & dashboard links in rendered online documentation
* Fix prerequisite version in documentation (do not use milestone version)
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
This change accepts a new message type which is sent by some air ventilation devices durin teach in. This is required for the search feature to detect these devices correctly.
Signed-off-by: David Schumann <david@dev-core.org>
* Accept all Jetty supported http method types
This fixes a number of open issues due to the fact that we were only accepting a limited number of http method types. The effect of this was some functionality like DELETE or HEAD requests would just not work when using the cloud service, which madee our UI look broken in different ways, also it poluted the users log with a lot of messages.
Fixes https://github.com/openhab/openhab-core/issues/2312
Fixes https://github.com/openhab/openhab-cloud/issues/328
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Fixed typo for starting sequence
* Added support for "find me" & "test sound" function
* Added clear names for faults
Signed-off-by: Marcel Bossert-Schwab <mbossertschwab@gmx.de>
Information about how to use Dash Buttons nowadays as Amazon doesn't support them anymore.
Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Marcel Simat <marcel@freese.name>
* Make clear rfc2217 is supported
* Fix typo
* Update specification link and partial linky support
* Improve wording
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
* Refresh devices after reboot or disconnect
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* Cancel refreshSchdule in dispose. updateStatus messages @text cleanup.
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [velux] break on socket timeout if interrupted flag set
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] pause initialize until pending dispose is done
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] synchronization key is IP address not ThingUID
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] reduce logging level
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] reduce logging level, improve user comprehensibility
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] access updateBindingState() externally via static method
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] tweak logging
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] defer refreshBindingInfo until after initialized / disposed
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] refactor method names to show the type of scheduler they run on
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] don't terminate thread early
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] restore calls to updateBindingState
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] logger cosmetics
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] reduce logging levels
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] change logger level
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] synch on ip address object instead of Future<>; make shutdown timeout explicit; disable HSM on shutdown
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] add lock modifier, remove duplicate synchronized, refactor HSM shutdown
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] shutdown code was not being called
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] don't convert InterruptedException to IOException
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velux] let shutdown explicity stop the polling loop
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] eliminate once in a blue moon fin-ack fin-ack issues
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* Revert "[neohub] eliminate once in a blue moon fin-ack fin-ack issues"
This reverts commit 022513ee85878f2f9cf2fd27fa3d79d251197c5a.
* [neohub] extra hub properties; hub id in logs (help for multiple hubs)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] run spotless
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] getFirmwareVersion returns null for unknown
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] api version enum; tweaked logging
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] fix mvn warning
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] cosmetic for diff
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] device info property, and comments
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] tweaks to fin-ack sequence
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] eliminate irrelevant compiler warnings, and live test errors
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] avert merge conflict with #10525
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [neohub] apply changes in anticipation of reviewer approval
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* notify listeners on status change using discovery
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* adapt bridge discovery name to new string broadcast
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* check correctly if current status key is not null
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* change log from warn to debug
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* better handle when currStatus is null
also move logs from warn to debug
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* remove nonNullByDefault annotation
as dto can be null
Signed-off-by: Roie Geron <roie.geron@gmail.com>
* [modbus] gainOffset and bitMask profiles for working with modbus data
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] README trailing whitespaces
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] README and some final renaming
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] log error with incompatible units
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] gainOffset profile: test for incompatible unit
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] example renamed
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Remove unused fields
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] gainOffset profile: make configuration parameters optional
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] xml indentantion fix
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] static code analysis fixes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Minor fixes for null checking
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] remove comment
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] bit profile README disclaimer with many commands
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Grammar fixes in README
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Fix bit profile UI configuration
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Bit profile: Added possibility to invert value on read/write
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] fix typo with explanation of inverted
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] bit profile: unit tests for inverted parameter
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] spotless:apply
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] static checker fixes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] write bit feature in data thing
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* wip
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] resolve itest
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] fixes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Remove bit profile
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Fix data thing readStart validation
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] readme fix
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Remove bit profile test
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Invalidate REFRESH data cache with cacheful writes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] cleanup
- abort if command is not convertible to 0/1 (previously wrote the
cached data)
- fail fast conditionals instead of deep if's
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] README Fix typo in example
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] fix data thing write when child of endpoint
Also added regression test
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* Update bundles/org.openhab.binding.modbus/src/main/resources/OH-INF/config/gainOffset.xml
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [modbus] performance-optimized logging
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] README: Removing xtend syntax hint, not needed anymore
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] generics typing added
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] dead code
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] avoid supressing generic type warnings
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] unnecessary generics
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] rename type parameter name
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] QU (short for quantity output) generic type instead of Q2
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] Remove unused localization
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] profile constant visibility harmonized
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [modbus] spotless:apply
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Add Power dimension to PAPP channels
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
* Add PAPP dimension in documentation
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
* [somfytahoma] added support for the Bioclimatic Pergola thing
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
* Update bundles/org.openhab.binding.somfytahoma/README.md
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Add audio info channel
Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
* Audio Info Channel implementation
Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
* remove extra backup file
Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
* Update readme info for audioinfo
Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
No need to list transitive test dependencies, they are pulled in
automatically. Exception with sqlite4java shared libraries which are
needed for runtime.
With the update of DynamoDBLocal, tests require newer version of jetty
(9.4.18.v20190429), resolving #10502
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Update to SDKv2 Enhanced Client
In addition, introduce new more simple table layout, having only one
table for all items and with more efficient data encoding (saves some read capacity).
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Time To Live (TTL) support with new table schema
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Support QuantityType
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] suppress null warnings in tests
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Optimized query performance
Similar to https://github.com/openhab/openhab-addons/pull/8938,
avoid calling Item.getUnit() repeatedly when querying data.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Support for Group items
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Update copyright to 2021
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Removing TODO comments and add javadoc
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] javadoc
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Readability improved in TableCreatingPutItem
Also documenting the full retry logic.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] verify fixes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Remove slf4j from explicit dependencies
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Remove jackson from pom.xml, add as feature dep
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] bnd.importpackage tuned
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] abort query() immediately if not configured to avoid NPE
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] less chatty diagnostics
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] xml formatting
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] corrected logger class
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] null checks
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] netty client configured
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] bnd not to filter out importpackage org.slf4j.impl
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] cfg bundle group id
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Remove usage of org.apache.commons
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Remove extra prints from test
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Reducing @SupressWarnings with generics
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] README extra space removed
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] spotless
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Removed unnecessary logging
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] encapsulation
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] removed unnecessary NonNullByDefault({}) ctr-injected field
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] null annotations
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] less verbose logging in tests
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Prefer Collections.emptyList over List.of()
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] less verbose call
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Visitor to return values (simplifies the code)
Less warnings suppressed
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] comments for remaining warning supressions
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] README tuning, typo fixing
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Using less verbose syntax
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] simplified logging on errors
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Code review comments
Avoiding null checker while having more compact code
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Null safety
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] configuration label and description formatting
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] xml indentation with tabs
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] @Nullable 1-line annotation with class fields
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] No need to override credentials per request
Client has the credentials set on build time
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] set API timeouts no matter what
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] adding exception message
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] static logger
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] dependency
- comments clarifying the logic of properties
- adding netty to dep.noembedding to ensure it is not compiled in
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] ensure correct jackson and netty versions using dependencyMgt
Specifically for development and testing
See 051c764789
for further discussion why this is needed.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] avoid google collections
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] jackson-dataformat-cbor not jackson-cbor
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] also restrict netty-transport-native-epoll linux-x86_64 version
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] refering dynamodb.cfg similar to other bundles
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] bnd.importpackage to excl. reactivestreams and typesafe.netty
These are compiled-in dependencies, and thus we do not want to have them in
OSGi Import-Package.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [dynamodb] remove netty-codec-http2 as it is included in tp-netty
See https://github.com/openhab/openhab-core/pull/2257/
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] removed duplicate in bnd.importpackage
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] slf4j-api marked as provided to remove dep errors in runtime
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [ventaair] New VentaAir binding for air humidifiers
New binding that implements support for air humidifier from Venta Air.
Closes#9922
Signed-off-by: Stefan Triller <github@stefantriller.de>
* Added One Call API weather warnings
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Changed Channel title to event
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Update README.md
As i spent hours to figure out the correct document to read about the address scheme, this might help others to avoid this and get this plugin to the same "copy and paste" use as the others, even if the existing scheme already is enough to get it working.
* Update bundles/org.openhab.binding.modbus.studer/README.md
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [pulseaudio] Add pulseaudio sink as openhab audio sink (#1895)
This add to the pulseaudio binding the capability to use "pulseaudio sink" as an "openhab sink" to output sound from openhab to a pulse audio server on the network.
You need to load module-simple-protocol-tcp sink in addition to the usual module-cli-protocol-tcp, and enable the sink in the thing configuration.
Closes#1895
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Small corrections after review
And getting rid of some other compilation warnings
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Fix some registration errors and allow the binding to load the simple module remotely
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Small corrections after reviews
initialize audiosink in a thread with scheduler.submit
clear some warning related code.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Better interruptexception handling
* Fix two small concurrency bugs
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
This simplifies the DSMRHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.
Also contains a few other improvements:
* more constructor injection
* add a few missing @NonNullByDefault on test classes
Signed-off-by: Wouter Born <github@maindrain.net>
This removes the ResponseListener class and replaces it with lambda functions for the various Jetty response listeners. This seems to fix our duplicate onContent issue in #10470 , although i'm not at all clear why.
Fixes#10470
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Removed method that was already marked as deprecated
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Handle HM-ES-TX-WM with firmware version >= 2.0 as different device
The device provides different data points (channels) depending on the
firmware version. Therefore devices with a firmware version >= 2.0 are
handled as a different device.
Fixes#9793
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Don't change uninitialized thing state automatically to online
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Listen to all network interfaces instead of limiting it to only one
This also makes the specification of a separate bind address
superfluous.
Fixes#9855Fixes#10075
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Add support for HmIP-eTRV-C-2 device
The event messages received for this device are not correctly formatted
and thus some special treatment for at least one data point is required.
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Spotless formatting applied
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Update README.md
Avoid confusion connecting RS232 to a CAN bus, wasting days of work...
* Update bundles/org.openhab.binding.comfoair/README.md
Co-authored-by: boehan <boehan@users.noreply.github.com>
Co-authored-by: boehan <boehan@users.noreply.github.com>
* [somfytahoma] New channel on the bridge to execute scenes
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: documentation updated
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Console command added to list the scenarios IDs
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Update state of new channel
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: set auto update policy to recommend
Signed-off-by: Laurent Garnier <lg./hc@free.fr>
* Update HaywardBridgeHandler to set thingstatus online upon succesful getTelemetryData
Signed-off-by: matchews <mmyers75@icloud.com>
* updated default endpoint url
Signed-off-by: matchews <mmyers75@icloud.com>
* Bug fixes. Prevent bridge status toggling if a single request fails. Don't evaluate xml if http response if != 200
Signed-off-by: matchews <mmyers75@icloud.com>
* [tacmi] TA-CMI: Improvements on Schema API Connection
* Removed deprecation warning
* Ensure channels get re-added when removed manually
* Debounce unintended toggeling when status-polling overlaps with new commands.
Status fetching sometimes takes longer and then it occurs the status page reports still the old/previous value.
With this change values for things will be ignored when the thing was updated after the start of the page fetch.
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
* [tacmi] TA-CMI: Schema API Connection: Bugfix: On initialization check if custom channel types still exists and re-create them when needed...
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
* [tacmi] TA-CMI: Schema API Connection: Improvement: channels now have a 'updatePolicy' configuration parameter to specify the update behaviour
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
* [tacmi] TA-CMI: Improvements & some initial SI-Units for the COE connection handler
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
* [tacmi] TA-CMI: only catch URISyntaxException instead of generic Exception
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
* This PR brings in the Shelly Manager, check doc/ShellyManager.md for
additional information.
* Restart Device in Manager when CoIoT Mode has changed
* Updated pattern to extract version info (thanks @fwolter), CoIoT warning
for non-Motion devices fixed; AdvancedUsers.md now refers to Shelly
Manager
* Modified message when beta is detected (reference to 1.5.7 release build
confuses users running 1.10 beta)
* Fix for Enable/Disable AP roaming
* Handle button events also in detached mode, README updated
* Ignore inconsistent version string for initial 1.10 releases
* removed display of firmware id (there are various formats and it has
no value)
Signed-off-by: Markus Michels <markus7017@gmail.com>
In the Thing Configuration section starting at Line 40, the code example had parameters transposed versus the preceding description and the true operation of the binding. The correction puts the parameters included in the original example in the thing that they belong with in Lines 80 and 81. The optional notification parameters of the renderer were not included originally and I have left it like that.
Viomi's property battery life seems to have a weird typo. The property's real name is `battary_life` instead of `battery_life`. Using the wrong name `battery_life` makes the other properties in the batch to be undefined: `"run_state","mode","err_state","battary_life","box_type"`
The correct name `battary_life` is already used in other projects like https://github.com/rytilahti/python-miio/blob/master/miio/viomivacuum.py#L316 or 0bed81ab4f/lib/robots/viomi/ViomiValetudoRobot.js (L254)
Signed-off-by: Antonio Tapiador del Dujo <atd@singularities.org>
The fields are used to login with username and password instead of a refreshToken.
They're therefore not required.
Signed-off-by: Florian Schmidt <florian.schmidt.welzow@t-online.de>
* [Automower] Enhanced binding:
- Added support for the planner and calendar data
- Added command channels
- Updated docs
Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>
* [Automower] Fixed consts with channel ids after removal of channel
groups. Improved the mower state update:
- Cache the last read state from API
- Use cached mower state so the items linked will always be up to date
without the need to wait for API refresh period.
- Use timeZoneProvider to user user set timezone.
Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>
* Rolledback NotNullByDefault annotation
Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>
* [somfytahoma] New method to send a command to several devices in the same place
Also include the place into the inbox label (discovery)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: remove unnecessary method
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
The groupId variable results in the wrong configfile GAV when building a single KAR with karaf:kar for an add-on.
Signed-off-by: Wouter Born <github@maindrain.net>
* [lifx] Improve firmware version support
When the firmware of a light is upgraded the supported features can change.
With these changes the binding uses the features based on the light firmware version.
Also corrects some of the temperature ranges based on the LIFX products description.
Signed-off-by: Wouter Born <github@maindrain.net>
* Add option for using metadata value as measurement name
Also-by: Joan Pujol <joanpujol@gmail.com>
Signed-off-by: Johannes Ott <info@johannes-ott.net>
* Resolve itest runbundles for Gson and Commons Lang upgrades
* Fix JsonParser deprecations too
* Fix feature verification
Signed-off-by: Wouter Born <github@maindrain.net>
This is a bigger refactoring bringing these (breaking) changes:
- System channel types are used where applicable
- Obsolete channels (such as power) were removed
- Some channel types were marked "advanced"
- "Tap" channels were converted to a trigger channel type providing a "system button" behavior
- Layout can now be requested by a console command
- Command options for effect channel are dynamically provided
- Log level has been reduced where appropriate
- HTTP request timeouts were reduced
- handleRemoval now returns quickly as expected
- Fixed hanging thread / infinite loop when requesting layouts for non-square panels
- Various other smaller enhancements and fixes
- Documentation has been adapted accordingly
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Minor restructuring of binding code
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* Ensure that SystemType is present before switch
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* Log on invalid System Type
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3
Related to openhab/openhab-addons#7722
Signed-off-by: Wouter Born <github@maindrain.net>
* Log event message construction improved
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
* Changed level to debug for some logs
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
* Added status request commands to b send when the bridge initializes
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
* Don't change the label of the zone
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
* Removed comment
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
Adding additional models to deviceType enum - "mono4" and "strip6" (please note this is not a typo in "strip6" - six is at the end and without 'e') - based on the analysis of the debug info those new models are not being recognised by Yeelight binding in OH3 and as a result the bulb or the led stripe is constantly showing offline despite correct device id.
* Remove dependency on commons-lang classes
* Use HexUtils
* Fix/add missing initial contribution author lines
* Add unit test for MACAddress
* Rename protocol package to dto
Signed-off-by: Wouter Born <github@maindrain.net>
This version introduces Java 11 compatibility by implementing a missing
function as native code and thus dropping the dependency to the
function jdk.internal.misc.SharedSecrets.
See https://github.com/Pi4J/pi4j/issues/442 for details.
Signed-off-by: Michael Rumpf <michael@rumpfonline.de>
* Adds a jackson.version property to simplify managing the version
* Make sure the specified version is used as add-on dependency by excluding Jackson from transitive dependencies
* Use openhab.tp-jackson feature with dynamodb
* Remove jackson-dataformat-cbor dependency from features which is now also provided by the openhab.tp-jackson feature
Signed-off-by: Wouter Born <github@maindrain.net>
* New feature: Shelly Manager
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Removed Shelly Manager to reduce PR size (will be another PR)
Signed-off-by: Markus Michels <markus7017@gmail.com>
* CoIoT initialization handles new COIOT options for the device,
sensorSleepTime is now adadvanced; Roller set position 0/100 is mapped
to UP/DOWN; Reference to Shelly Manager removed from README
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Nullpointer check added on settings.coiot (4Pro has this null)
Signed-off-by: Markus Michels <markus7017@gmail.com>
* README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Use regex to extract fw version from string, check fw version to detect
restarted, README updated, moved channel sensorSleepTime from group
device to sensors
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Review changes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Rebase with main, update license headers
* Small PR cleanups
* One last small PR cleanup
* Syntactical sugar
* Updated error handling
* Spelling mistake
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* [miio] add support for zhimi.airpurifier.vb2 Mi Air Purifier Pro H
close#10174
* [miio] update modes to values visible in app
* [miio] cleanup and fix valuu mapping
* [miio] fix duration
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Add zhimi heaters
add new
zhimi.heater.ma2 Mi Smart Space Heater S
zhimi.heater.ma3 Mi Smart Baseboard Heater E
zhimi.heater.mc2 Mi Smart Space Heater S
zhimi.heater.na1 Smartmi Smart Fan
zhimi.heater.nb1 Smartmi Smart Fan Heater
improving existing
zhimi.heater.za1 Smartmi Radiant Heater Smart Version
zhimi.heater.za2 Smartmi Smart Convector Heater 1S
zhimi.heater.zb1 Smartmi Smart Convector Heater 1S
* [miio] add some more options
* remove accidental development file
* [miio] fix number:duration
* [miio] remove channeltype from heaters
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [bluetooth] Notify things again when they are removed from listeners like Inbox
* [bluetooth] Add javadoc on retractDiscoveryResult()
Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
* Pimp properties and channel types with proper categories
* Update bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
* Add support to myStrom Bulb
Add properties to myStrom devices and an action to refresh the properties.
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
* Fixes according to review comments
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
* Update bundles/org.openhab.binding.mystrom/README.md
Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
* Fixes according to review comments
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
* Use system color temperature channel type
channel type system.color-temperature is used and values mapped from 1-18 to 0-100%
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
* Better tracking of colour and brightness values
Format power state
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
* Support for Shelly Motion, some minotr improvements, README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* minor changes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Bug fixes from hardening
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review changes applied
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review change
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review changes, fix creations of sensors#motion and device#externalPower
for H%T; moved images/uiroller*.png to doc/images
Signed-off-by: Markus Michels <markus7017@gmail.com>
* missing in last fix
Signed-off-by: Markus Michels <markus7017@gmail.com>
Since the device does not follow its own protocol, we do not evaluate its
replies to our configuration commands but rather do a fire and forget.
Signed-off-by: Stefan Triller <github@stefantriller.de>
* Added SMACK teach in
* Teached in devices can be teach out on a repeated teach in
* Improved detection of RPS devices, device types can be better distinguished now
* Bugfixes for discovery fallback to GenericThings
* Responses to message requests are send automatically now, no need for linking SEND_COMMAND channel
Fixes#10156
Signed-off-by: Daniel Weber <uni@fruggy.de>
* [modbus] More strict nullness. Remove apache.commons.lang from itests
* [modbus] Defaults for tcp and serial things according to docs
* [modbus] further explicit defaults
* [modbus] document default encoding for serial.
RTU is pretty much the only one used in the field.
Previous default was ascii implicitly.
* [modbus] verify defaults are used for undefined configuration parameters
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [bluetooth] Add BluetoothDevice.isNotifying()
* [bluetooth] Improve Characteristic properties support
* [bluez] Improve Characteristic properties support
* [bluetooth] Add BluetoothDevice.canNotify()
* [bluez] Also catch DBusExecutionException on read value
* [bluetooth.generic] Activate notifications for linked channels where characteristics are able to notify
* [bluez] Adjust javadoc
* [bluegiga] Add BluetoothDevice.isNotifying() support
* [bluegiga] Fix notification enabled check
* [bluetooth] move canNotify() to Characteristic
* [bluegiga] rename notificationEnabled to notifying
* [bluetooth.generic] use handlerToChannels to subscribe to notifications
* [bluetooth.generic] implement TODOs of canRead()/canWrite()
* [bluetooth.generic] optimize ChannelUID
* [bluetooth.generic] use channelUids for link check
Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
* [hdpowerview] refactor from jax-rs to http client
* [hdpowerview] adopt proposals of code reviewer
* [hdpowerview] adopt additional proposals of code reviewer
* [hdpowerview] provide exception class name
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Extended the original collection with all the languages currently listed on the VoiceRSS API website. Please consider including in main branch.
Signed-off-by: cURLy bOi <curly.boi.89@gmail.com>
* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* #72 changed use units of measure for the twinguard humidity and purity values
all other QuantityTypes in bindingcode are fine
* #77 changed title of binding to Bosch Smart Home
Replaced the SHC occurrences with Smart Home,
to avoid technical names.
* #62 Try to restart long polling when it fails before taking the thing offline
* #62 Run subscribe request on a new thread instead of using the thread of the previous long polling http request
This might be the reason why the subscribe request does never finish or finishes with a timeout
* #74 Run the whole long polling response handling in a new thread to not get timeout from HTTP client
* #74 Schedule initial access when long polling fails unexpected
We need to try to reconnect again and again (with 15 seconds between the requests) as the controller may have been restarted (update, manual restart,...). This is already done by the initial access, so I reuse that mechanism.
* Use direct formatting of logger.trace instead of String.format
* #76 Use i18n texts instead of raw translations for status messages about failed long polling
* #76 Use logger.debug instead of logger.warn for long poll error as it is handled now
* #78 defined api-version
each HTTP request will use now the defined "avp-version=2.1" for request to the smart home controller
* logging bundle version
removed the old static version string
access OSGi bundle version information instead
* #75 improved initial access
- added isOnline check and isAccessPossible now failed in case HTTPStatus is an error
- same HTTPStatus check done to all blocking send() request calls
- using i18n strings for all bridge updateStatus calls
- skipped the 'controller' and use only 'Bosch Smart Home' in descriptions
- added more @Nullable annotations
* added newline
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Retry command submission when tahome gateway is busy.
* Changed log level, cosmetic changes
* Store list of scheduled retries; cancelled when handler is disposed.
* Made retryFutures thread-safe
Signed-off-by: Georg Siebke <github@georgsiebke.de>
The ceiling10 Yeelight lamp has 2 dimmer for brightness:
"bright" for the main light and bg_bright for the ambient light.
Both are of type dimmer and accept percentage values between 1 and 100.
This fix changes the datatype of the bg_bright property from Number
to Dimmer in the device mapping database file ceiling4, which is also
the one that is used for the ceiling10 lamp.
Accepted without sign-off under minor change exemption.
"format" parameter value for HTML seems that should be "html", not "HTML"
"HTML" seems to have no affect when using sendPriorityMessage, but "html" works.
Accepted without sign-off under minor change exemption.
As per https://creativecommons.tankerkoenig.de (in the "Terms"-section) we should not make more than 1 request per 5 minutes, this changes the limit accordingly and allows doing so.
Signed-off-by: Flole <flole@flole.de>
* Improved error handling for Powermax binding
Catch all exceptions, and take all Powermax things offline in the event
of a communication failure. Also adds a 5-minute watchdog for
connections in Standard (non-Powerlink) mode.
* More Powermax error handling improvements
1. Mark the bridge and all things as offline when communication is lost
2. Bubble all I/O exceptions up to the bridge status
3. Set all channels to UnDefType.NULL when bridge goes offline
4. Ignore CRC errors on messages of type 0xF1
5. Don't try and download partition settings for panels that don't support partitions
6. Fix logging levels to avoid unnecessary non-DEBUG messages
Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
* Internationalization + actions for messages
- Internationalization of UI relevant texts
- Better support for the error/warning/info/status messages received
from the device
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Review inputs + improvements
- inputs from @ssalonen
- additional action to retrieve all messages collectively
- added rule example for handling the collective message action
- added semantic tags in items example
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* mvn spotless:apply
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandler.java
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/helioseasycontrols_de.properties
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/thing/thing-types.xml
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Review inputs from @fwolter
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Inputs from @fwolter
- changed return type for actions with a single return value
- corrected findings from static code analysis
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Removed configurationPid from TranslationProvider
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Changes requested by @fwolter
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Changed log level to debug when catching InterruptedException
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Added commands for second central heating circuit
* Added command for temperature sensor
* Added controlsetpoint2 and ch2_enable channels
Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
* Binding redesigned 20200923 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter], regarded OH3.
[WIP]
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200923 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200923 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200923 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200924 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200924 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Changes made in
org.openhab.binding.internal.kostal.inverter.secondgeneration.SecondGenerationHandler.java
found by Travis tests.
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201007 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Done changes in:
Channels.xml
PIKO1020.xml
README.md
SecondGeneration.xml
SecondGenerationChannelConfiguration.java
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201008 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201012 by Örjan Backsell, regarded to @fwolter
requested changes
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201028 by Örjan Backsell, regarded to @cpmeister
requested changes.
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201105 by Örjan Backsell
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20200923 by Örjan Backsell
'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
'
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201111 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201117 by Örjan Backsell
'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter]
[WIP]
'
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201119 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201125 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201130 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201130, 1630 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201202 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201204 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Redesigned 20201204 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20201010 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20210112 by Örjan Backsell
'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter]
'
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20210114 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20210119 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding (KostalInverterFactory.java)redesigned 20210119 by Örjan
Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20210125 by Örjan Backsell
* Binding redesigned 20200923 by Örjan Backsell
(KostalInverterFactory.java)
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Binding redesigned 20210125 by Örjan Backsell
Signed-off-by: basse04 <orjan.backsell@gmail.com>
* Added option to reverse rollershutter commands - UP -> DOWN and DOWN -> UP - might happen if rollershuter module's output is wired differently.
* Fixed PR comments.
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
* Add IR code commands to dropdown and documentation
* Add link to community for advanced UI creation
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* [novafinedust] Test for optimizations on access to the serial port
- retry logic if port does not yet exist on startup
- do not write sleep command on shutdown if port has issues
- no not register data listener on port but wait for data instead to be
compatible with RFC2217 serial over network implementation
- ignore all buffered data from device during initialization to get the
device into a defined state
* Adress review comments
- moved most "normal" logging to TRACE level
- used lambda function
* Improve error messages as requested in the review
Signed-off-by: Stefan Triller <github@stefantriller.de>
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)
* Implemented EEP family D2_50
* Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units
Fixes#9465
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)
* code refactoring (JAVA11 improvements)
Fixes#9465
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)
* Removed unnecessary EEP classes
* Made final fields static
* Added @NonNullByDefault to EEP Class
Fixes#9465
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)
* Removed @NonNullByDefault to not mess up PR with non related changes
Fixes#9465
Signed-off-by: Daniel Weber <uni@fruggy.de>
* Fix brightness
* Revert to old beahaviour if segments are used
* Fix formatting
* Remove unused Var
Signed-off-by: Sebastian Garske <sebgarske@gmail.com>
* add support for custom mapping
* add screenshot
* remove unnecessary variable
* make parameter nullable to avoid not required list instances
Signed-off-by: Eugen Freiter <freiter@gmx.de>
* This PR merges the 2.5 code base with new features, a bunch of bug fixes
and improved documentation. Parts of the code has been re-factored and
vaious issues are fixed/optimized along the way.
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Minor fixed, support for Shelly Color Bulb, Shelly Motion
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Review changes applied
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review change applied
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review changes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Review changes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review changes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review change
Signed-off-by: Markus Michels <markus7017@gmail.com>
* review change
Signed-off-by: Markus Michels <markus7017@gmail.com>
Fixes#6762
* Fix Unit tests
The method was used to create the pattern for a regex and for building
the channel id. I ave separated them now. At least the tests are green ;)
Signed-off-by: Stefan Triller <github@stefantriller.de>
* [irobot] Roomba: Add more properties.
On request by @falkena, also some i7 specifics
* [irobot] Roomba: Add map_upload channel.
Controls uploading Clean Map(tm) to the cloud.
* [irobot] discovery: Get rid of empty while() loop
Rewrite the loop so that it doesn't have empty body any more, this gets rid of
one more static analyzer warning. Added dumping the whole IDENT packet on TRACE
level, aids implementing support for newer devices.
Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
* [modbus] Cascaded transforms with ∩
* [modbus] README to mention cascaded transformations
* [modbus] Take cascaded transformation into use
* [modbus] README to show preference towards new syntax
* [modbus] examples to use new syntax
* [modbus] fix test
* [modbus] remove apache commons lang dependency
- see also PR #10002
- I removed equals and hashCode implementation all-together, I could not see they played any role in practice.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [pidcontroller] Reset state of command Item after command has been processed
* Fix read-only state of item parameters
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
* [miio] validate response id matching command id
This PR prevents out of sync issues in case devices are too slow to
respond or the timeout is set too short.
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] spotless adding space
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update based on review
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Support for Denon "Home" speaker as bridge added
* Fixed a runtime issue if no serial number is provided by the player, by using the PID as a fallback if no serial number is available
Signed-off-by: Wire82 <johannes.einig@me.com>
* Added support for color temperature capabilities and set value in Kelvin
* Use system default channel type
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Use for each loop in getChildThing()
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* Further refine getChildThing() using stream map
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* Fix spotless errors
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
* fix some tivo binding bugs
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* update search example rule
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* [sonos] Add bass/treble/loudness controls
Related to #9874
Disable these controls when the output level is fixed
* Review suggestion: use OnOffType.from
* Add bass/treble/loudness channels to Arc and Arc SL models
* Review comment: remove usage of keySet
Factorize code
Define constants
* Use Map.of to simplify the code
* Review comments considered
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* add ontime
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
* Update bundles/org.openhab.binding.deconz/README.md
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [sonos] Add support for Sonos Arc/Arc SL + new controls for sub/surround speakers
Related to #9874
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Use OnOffType.from
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Configured XML parsers to resist XXE attacks
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* added fix for avmfritz
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* added fix for sonos
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* added fix for vitotronic and bosesoundtouch
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* changed avmfritz to singleton pattern
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* addressed roku binding
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* address all uses of DocumentBuilderFactory
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* fixed other occurrences in roku binding
Signed-off-by: Kai Kreuzer <kai@openhab.org>
Related to #8607.
In some cases removed information that is actually generic information and should not be in binding readme.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Fixes#7024
The problem was caused by the asynchttpclient dependency that seemed to require another version of the Netty dependency than what is added by the openhab.tp-netty feature.
This caused some of the classes in the ssl package to not be found during initialization.
I fixed it by upgrading the asynchttpclient dependency to a version that use the same version of Netty that is bundled(4.1.42.Final).
Signed-off-by: Jörgen Nilsson <mail.jnilsson@gmail.com>
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
Co-authored-by: Dan Cunningham <dan@digitaldan.com>
Co-authored-by: Craig Hamilton <craigh@quailholdings.com>
Co-authored-by: Brian O'Connell <boc@us.ibm.com>
Co-authored-by: Dan Cunningham <dan@digitaldan.com>
Co-authored-by: Craig Hamilton <craigh@quailholdings.com>
Co-authored-by: Brian O'Connell <boc@us.ibm.com>
* [pidcontroller] Catch empty commandTopic
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* [pidcontroller] Fix handling action
keys in action context from trigger are passed with prefix of trigger name.
This change removes the prefix to get the actual name and checks if it matches an item.
Else it tries the original name.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* [pidcontroller] review comment
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Add support for ESP32 devices
* Add Unit Tests
Ensure Gson objects are NonNull
Generify Handlers
Generify Utils
Signed-off-by: Christian Schlipp <christian@schlipp.de>
* Updates links to target the openhab-addons 'main' branch instead of the 'master' branch
* Updates some NOTICE files to indicate content is maintained by openHAB instead of Eclipse SmartHome
Signed-off-by: Wouter Born <github@maindrain.net>
The channel is added dynamically with a channel-type `abshumidity`, but the channel-type definition was names `absolutehumidity`
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
* Improve debugging in message classes
Each PowermaxBaseMessage subclass had its own toString() which added
useful debug info but duplicated a lot of the logic in the message
handler. I've moved the debug info inline and removed the duplication,
and also added decoding for more values to the debug output.
* Fix for 0xFF byte values, which convert to int -1
Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
* Use set instead list to avoid duplicate listeners
* Remove from listeners when bridge is not ONLINE
* Unsubscribe from bridge handler events when thing handler is disposed
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
The KP115 plug is a WiFi smart plug with energy monitoring support.
It uses the same API as existing TP-Link smart home devices. This change adds support in the binding for the KP115.
Signed-off-by: Evan Anderson <evan@eaanderson.com>
1. Fixes#8786 invalid uid on discovered hub
2. Resolve issue on startup in OH3 discovery result without address
Signed-off-by: James Melville <jamesmelville@gmail.com>
The internal package was placed before the binding specific package, and it should be the other way around.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>