Supports Herzborg curtain motors over RS-485 network
Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Consolidate service subscriptions in base class.
* Remove unsynchronized and unneeded cache of subscriptions.
* Do not unregister participant when removing subscription.
* Fix status wrongly set to ONLINE when exception is thrown.
* Refactor error handling for WemoHttpCall.
* Adjust log level for communication errors.
* Add automatic subscription renewal.
* Fix more ONLINE/OFFLINE status transition issues.
* Adjust log level when getWemoURL fails because device is offline.
* Remove redundant logging.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* New translations http.properties (Italian)
* New translations ambientweather.properties (French)
* New translations automower.properties (French)
* New translations electroluxair.properties (French)
* New translations mqttbroker.properties (Hungarian)
* New translations mqttbroker.properties (Italian)
* [voicerss] Fix and enhance the external tool to prefill the cache
* Make the tool independent of core openHAB
* Fix the parsing of the command arguments.
* Allow to provide optional audio codec and format.
* Null annotations added on most of the classes
* Simplified doc about classpath
* Suppress obsolete mention of open issue in doc
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Appends the ruleID or file name to the logger when console logging.
* Adds configurable logging, updates scriptId logic
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* New translations tradfri.properties (Italian)
* New translations mycroft.properties (French)
* New translations deutschebahn.properties (German)
* New translations gardena.properties (German)
* New translations luftdateninfo.properties (German)
* New translations network.properties (Finnish)
* New translations publictransportswitzerland.properties (Finnish)
* New translations mycroft.properties (Finnish)
* New translations pushover.properties (German)
* New translations yamahamusiccast.properties (Italian)
* New translations ecotouch.properties (German)
* New translations voicerss.properties (French)
* Optimize initialization of shades.
Fixes#12071
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Avoid hashmap reallocation during initialization.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* [tapocontrol] added energy monitoring for P110
* [tapocontrol] corrected textual thing configuration in readme
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [hdpowerview] refactor enum constant names
* [hdpowerview] add support for blackout shades
* [hdpowerview] unit tests for capabilities 8 & 9
* [hdpowerview] delete no longer valid comment
* [hdpowerview] blackout shade position is never UNDEF
* [hdpowerview] updated read me
* [hdpowerview] refactor unit tests into two classes
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* Add support for repeaters.
Fixes#12060
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Simplify thing type filtering.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Improve robustness of configuration ID validation/initialization.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Convert repeater-identify to command channel.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix logged warning.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Skip unneeded bridge status logic.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Skip redundant logging.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix chanenl type label for blinking enabled.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Extract getHost() and getUDN() to common handler base class.
* Delete AbstractWemoHandler as it serves no purpose.
* Extract isUpnpDeviceRegistered() to base class.
* Fix typo.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
if an Item associated with a temperature characteristic has a QuantityType
(of dimension Temperature) as its state, regardless of current unit,
use that to convert to celsius instead of any other configuration.
Note that this is only for supply values to HomeKit; commands coming from
HomeKit will still send a DecimalType with units according to the HomeKit-wide
useFahrenheit configuration.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
* Fixed NullPointerException due to missing SecureApplicationLayer in creation of ProcessCommunicationResponder
Signed-off-by: Frank Seidinger <frank.seidinger@gmail.com>
* binding: [onkyo]: add TX-NR609
* Basically a 616 but with some THX Listening Modes not on other models
* [onkyo]: add "PLIIx Music + THX Music" Listening Mode
Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
* Extract dynamic channel creation to separate classes.
* Avoid double list allocations.
* Add test coverage for scenarios with no channels built.
* Extract common builder stuff to super class.
* Fix grammar.
* Reduce constructor access modifiers.
* Removed unneeded this keyword for protected method.
* Fix null annotation issues.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* New translations openweathermap.properties (Italian)
* New translations openweathermap.properties (German)
* New translations icalendar.properties (Italian)
* New translations network.properties (German)
* New translations atlona.properties (Italian)
* New translations yeelight.properties (Italian)
* New translations yioremote.properties (Italian)
* New translations astro.properties (German)
* New translations deconz.properties (German)
* New translations deconz.properties (Italian)
* New translations pollytts.properties (German)
* New translations mqtt.properties (Italian)
* New translations publictransportswitzerland.properties (Italian)
* New translations mqtt.properties (Italian)
* New translations mqtt.properties (Italian)
* New translations ipp.properties (German)
* Add support for calibrating a shade.
Fixes#11767
* Fix startup problems by decoupling capabilities cache from updateSoftProperties.
* Minor refactoring of capabilities and shade id handling.
* Dispose faster/safer by killing any remaining tasks.
* Set shade thing status to UNKNOWN until we receive any data for shade.
* Fix position update glitch after setting position.
* Remove unneeded catch after shade id refactoring.
* Document return values in Javadoc.
* Avoid logging InterruptedException during dispose.
* Add calibration example item.
* Reduce nesting.
* Add myself as reviewer for binding.
* Add Andrew Fiddian-Green as reviewer for binding.
* Handle JsonParseException.
* Fix alphabetic order.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix SAT warnings about missing @NonNullByDefault.
* Move part of firmware JSON response validation to HDPowerViewWebTargets.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* added support for DSUID in DSS response data while being compatible to removed DSID which might still be in use due to older firmware versions.
* fixed a NPE and also fixed json parameter naming.
* applied improvements from DSUID class
* fixed variable name, made dsid member final, added author
Signed-off-by: Alexander Friese <af944580@googlemail.com>
* [homematic] Fix long button press handling for HM-IP devices
HM devices have the following long press cycle:
PRESS_CONT
PRESS_LONG
PRESS_CONT (N times for repetion)
PRESS_LONG_RELEASE
while (at least some) HM-IP devices use this one:
PRESS_LONG
PRESS_LONG_START
PRESS_LONG (N times for repetition)
PRESS_LONG_RELEASE
Add support for the latter case while keeping support for the former
case.
Signed-off-by: Danny Baumann <dannybaumann@web.de>
* [homematic] Track 'uses LONG_START datapoint' flag per-device
* Change center_display_state from switch to number
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Update property file
Signed-off-by: Kai Kreuzer <kai@openhab.org>
Changed Example of Dimmer channel. Makes no sense to provide both Switch and Position Status in configuration, as an update of Switch Status will delete Position and vice versa. Position Status makes sense.
This binding will connect to Mycroft A.I. in order to control it or react to event by listening on the message bus.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Add UOM for MQTT Channels
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Fix dependencies
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Simplify units parsing, remove channelUID from NumberValue constructor
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Simplify pattern
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Fix tests
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Correct Units reference
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Correct homeassistant binding changes
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Wrap precision in temperature unit definition
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Use BigDecimal for precision
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Use BigDecimal throughout
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Fix SAT
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Inverty equals check
Signed-off-by: James Melville <jamesmelville@gmail.com>
* [electroluxair] Initial contribution of the electroluxair openHAB binding
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review.
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review and also copyright to 2022.
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* [electroluxair] Initial contribution of the electroluxair openHAB binding
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review.
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* [googletts] Use real sound returned to get play informations (#10015)
When google tts returns a wav file, it is now parsed to get correct informations about it.(mandatory for playing it with at least the System speaker audio sink)
Close#10015
* Fix a regression, as the WAV fix was incorrectly applied to the MP3 file
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
fix for bug #11969
After a restart of openHAB the function 'getScanTimeout()' is called before the member 'installModeDuration' has been initialized with the correct value from the configuration. With a large number of Homematic devices, the default value of 'installModeDuration' is too small to read in all Homematic devices from the CCU.
Therefore, when calling the function 'getScanTimeout()', the value is read directly from the configuration. The member 'installModeDuration' has been removed.
Signed-off-by: raykleibelt <54982000+raykleibelt@users.noreply.github.com>
* [tapocontrol] P110 and L920 Things added
* [tapocontrol] Fixed L510/L530 Series Bug with HW-Rev2.0
Signed-off-by: Christian Wild <christian@wild-bw.de>
* 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>
* Removed erroneous chlorinator code from filterhandler
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Adding pump support, added body of water to xml paths to prevent detection of terminal or other items
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Added getApiDef call to initialize when debug=trace
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fixed typo on README
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Cleanup pump xml spotless checks
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fix typos in README
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fixed a couple typos in pump discovery
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fixed README typo
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fix untested pump typos
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fix pump typo
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add thing properties and max filter/pump speed command
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add support for relays to exist in the backyard
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Update README
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add support for colorLogicLights to exist in the backyard
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Remove sensor thing and associated handler. Hayward does not expose data for stand alone sensors. Packaged in other things (backyard air temp, body of water temp, etc.)
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Added heater states
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Updated heater state in readme
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Added dynamic state description updates to set pump & filter minimum and maximum speeds.
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Moved dynamicStateDescription updates to thing initialize routine
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Code checks
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add min/max limits to filter, pump and heater setpoints
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add virtual heater dynamic state descriptions. Change filter & pump speeds back to number:dimensionless
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Add pump & filter speed RPM channels
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Fixed typo in pump handler
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Elaborate on filter/pump handler initialize exception
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Update bow.xml property intit's to empty values (fix typos)
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Added debug flag to inject XML until appropriate integration tests are setup
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Pump and Filter enable to last speed
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Removed tatus file
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Update readme
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* format readMe
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Update ReadMe
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* Remove xml debug code
Signed-off-by: Matt Myers <mmyers75@icloud.com>
* New translations adorne.properties (German)
* New translations ahawastecollection.properties (German)
* New translations airquality.properties (German)
* New translations airvisualnode.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations astro.properties (Finnish)
* New translations astro.properties (French)
* New translations bosesoundtouch.properties (German)
* New translations chromecast.properties (German)
* New translations denonmarantz.properties (German)
* New translations exec.properties (German)
* New translations hue.properties (French)
* New translations icalendar.properties (German)
* New translations jruby.properties (German)
* New translations jruby.properties (Italian)
* New translations luxtronikheatpump.properties (German)
* New translations mielecloud.properties (German)
* New translations openuv.properties (French)
* New translations openweathermap.properties (German)
* New translations phc.properties (German)
* New translations powermax.properties (French)
* New translations pushsafer.properties (German)
* New translations rotel.properties (French)
* New translations tradfri.properties (French)
* [dynamodb] Update guide for updating the SDK
Some steps were obsolete and required corrections.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [dynamodb] Update AWS SDK to 2.17.102
- Added NOTICE with all compiled dependencies. Dependencies listed in
feature.xml are omitted.
- jackson dependency is now provided by AWS SDK as a 'shaded' copy
- log4j version used in tests updated
- Specifying DefaultsMode=STANDARD to make the SDK utilize latest
recommended parameters. RetryMode is also controlled by DefaultsMode,
so we avoid setting it explicitly unless overridden by the user.
- Fixed test regressions due to SDK changes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* update to use executorservice to fix crash caused by change in underlying threadpool implementation
* Remove explicit cast
Signed-off-by: John Harvey <john.p.harvey@btinternet.com>
Season timeleft calculated the wrong time at the end of the year, because the seasons it measures the time with are the seasons within the same year.
So for times at the end of the year it computed against the season at the beginning of the year, resulting in negative number of days.
Also changed the time of timeLeft to actual days instead of quantity unit days.
Because with the milliseconds internal resolution it will generate events each and every time this channel is updated as milliseconds change often.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Adds channels available on newer heatpumps
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
This fixes the comment showing up in the translations.
The code seems to use the 'message.discovery.failed' instead of 'discovery.failed'.
Signed-off-by: Wouter Born <github@maindrain.net>
* New translations astro.properties (Finnish)
* New translations astro.properties (German)
* New translations bluetooth.properties (German)
* New translations boschshc.properties (Italian)
* New translations comfoair.properties (German)
* New translations dwdunwetter.properties (German)
* New translations epsonprojector.properties (German)
* New translations gpio.properties (German)
* New translations heliosventilation.properties (German)
* New translations homeconnect.properties (German)
* New translations homematic.properties (German)
* New translations ipp.properties (German)
* New translations jruby.properties (Hungarian)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Hungarian)
* New translations map.properties (German)
* New translations map.properties (Hungarian)
* New translations mqttbroker.properties (Italian)
* New translations nanoleaf.properties (German)
* New translations ocean.properties (German)
* New translations openhabcloud.properties (Finnish)
* New translations samsungtv.properties (Hungarian)
* New translations shelly.properties (German)
* New translations snmp.properties (German)
* New translations sonos.properties (German)
* New translations spotify.properties (German)
* New translations tr064.properties (German)
* New translations tradfri.properties (German)
* New translations unifi.properties (German)
* New translations unifi.properties (Hungarian)
* New translations valloxmv.properties (Finnish)
* New translations volvooncall.properties (German)
* New translations xslt.properties (German)
- do not go from INITIALIZING to OFFLINE and then ONLINE, but skip OFFLINE for panels, if the controller is ONLINE
- reduce logging to debug when receiving trigger events
- only update Thing configuration if necessary to avoid Thing updated events
- fix description of model types, which was outdated due to new models being available by now
Signed-off-by: Kai Kreuzer <kai.kreuzer@telekom.de>
* [MQTT] Add additional logging information
Add additional logging information when command is not supported by type.
Signed-off-by: Lukas Agethen <lukas83@gmx.de>
* Fix description of nviSollKuehlen being writable
* Fix description of coolEnableTemp being writable
* [ecotouch] make channels writable
* [ecotouch] silence compiler warnings
* change example to English
Signed-off-by: Sebastian Held <sebastian.held@gmx.de>
Co-authored-by: Jan Mattner <JanMattner@users.noreply.github.com>
This adds a minor refactoring of loading local resource paths that i didn't have time to get into 3.2 and moves the docs directory to doc.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* New translations avmfritz.properties (German)
* New translations js.properties (German)
* New translations scale.properties (German)
* New translations openweathermap.properties (French)
* New translations astro.properties (French)
* New translations hue.properties (French)
* New translations powermax.properties (French)
* New translations js.properties (German)
* New translations scale.properties (German)
* New translations exec.properties (German)
* New translations mpd.properties (German)
* New translations qbus.properties (Dutch)
* New translations tankerkoenig.properties (German)
* New translations js.properties (German)
* New translations tankerkoenig.properties (German)
* [jsscripting] Library and Doc updates
This updates the documentation, bumps the NPM version library, and implements conversion of JS date types (js-joda) to Java types
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
While uploading the German translations I noticed the file had a different name.
Renaming it prevents us ending up with 2 German translations files once all the texts are translated in German.
Signed-off-by: Wouter Born <github@maindrain.net>
* New translations mqttbroker.properties (Hungarian)
* New translations exec.properties (Hungarian)
* New translations jinja.properties (Hungarian)
* New translations js.properties (Hungarian)
* New translations regex.properties (Hungarian)
* New translations jsonpath.properties (Hungarian)
* New translations scale.properties (Hungarian)
* New translations xslt.properties (Hungarian)
* New translations xpath.properties (Hungarian)
* Add default translations for binding add-ons
This makes the texts used by these add-ons translatable with Crowdin.
To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.
There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.
Signed-off-by: Wouter Born <github@maindrain.net>
* [miio] add BT Devices channel to chuangmi plug
* Shows the bluetooth devices connected to the plug (plug as BT
gateway)
* Add refresh interval functionality to reduce load on device
* Change public to private for the private functions in conversions.
* Add test for new conversion
* Update miio.properties
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Add default translations for io add-ons
This makes the texts used by these add-ons translatable with Crowdin.
Signed-off-by: Wouter Born <github@maindrain.net>
* New translations openweathermap.properties (German)
* New translations openweathermap.properties (German)
* New translations urtsi.properties (German)
- Upstream update of base library for KNX access from v2.4 to v2.5.
- Adapt AbstractKNXClient to new interface and replace calls of deprecated
methods.
Fixes#6849.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Fixed leading spaces in translations
* Add @text in binding.xml
* Added @text in urtsi.properties
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Add new channel
* Last Event Data channel finished.
* Remove info logging.
* Fix bugs
* Fix ONVIF wont use different ports in xaddr paths.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Use globally unique id for registration of callback to allow ...
the connection of multiple OH installations with one CCU.
The bridge id is not sufficient for this purpose because it is same in
all OH installations.
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Retry callback re-registration after connection is resumed
Some services on the CCU need longer to start and are not available
immediately after the connection to the CCU has been resumed.
Improves the solution for #8808Fixes#10439
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Description was missing.
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Changed setting name and description to avoid confusion
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Added a troubleshooting tip to solve a communication problem
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Shortened the label name to follow the guide lines
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Print more information about the reason for the failure
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Using scheduler thread pool and simplified configuration
Instead of configuring separate values for retry delays and number of
retries only the maximum time for retries can be configured.
The init method uses fixed delays.
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Don't retry to send if gateway does not answer at all
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Improved reconnect handling
- unregister callback not necessary if connection is lost
- wait 30s until clients and servers are restarted to give the gateway
some time to recover
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Spotless
Signed-off-by: Martin Herbst <develop@mherbst.de>
* Cancel an active future if the binding is stopped
Signed-off-by: Martin Herbst <develop@mherbst.de>
* New translations ambientweather.properties (Italian)
* New translations amazondashbutton.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations lghombot.properties (Swedish)
* New translations playstation.properties (Swedish)
* New translations urtsi.properties (German)
* New translations chromecast.properties (German)
* New translations openhabcloud.properties (French)
* New translations openhabcloud.properties (Hungarian)
* New translations openhabcloud.properties (German)
* New translations logreader.properties (German)
* New translations googletts.properties (German)
* New translations avmfritz.properties (German)
* New translations thingstate.properties (French)
* New translations sncf.properties (French)
* New translations openweathermap.properties (German)
* New translations twitter.properties (French)
* New translations nikohomecontrol.properties (French)
* New translations gce.properties (French)
* New translations synopanalyzer.properties (French)
* New translations vigicrues.properties (French)
* New translations airquality.properties (French)
* New translations meteoblue.properties (French)
* New translations xmltv.properties (French)
* New translations sncf.properties (French)
* Add support for enabling/disabling automations.
Fixes#11516
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix class description.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Document automation channel and channel groups.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update scene example in documentation.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Consolidate method for getting channel map.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Extract channel updating from data fetching methods.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Draft implementation of better automation description.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Simplify and optimize building weekday string.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Further simplify building weekday string.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update scheduled event channels when modified.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update scene channels when modified.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update scene group channels when modified.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix cache synchronization during initialization.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Reduced code duplication.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Shorten time formatting.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Danish translations for dynamic channels.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Simplify, optimize and fix dynamic channel creation.
Channel order is now preserved when updating an existing channel.
Scenes and scene collection are sorted correctly.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Provide backwards compatibility for deprecated channels.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Document purpose of createDeprecatedSceneChannels.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Cleaned up poll method for improved readability.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix potential race condition when initialize() is called while updating channels.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
This fixes the issue that the 'power' channel would not update with the correct state because the number of pulses in the PowerInformationResponseMessage is signed instead of unsigned.
When the binding detected these strange readings it would normally log: "Circle (...) is in a kind of error state ...".
Signed-off-by: Wouter Born <github@maindrain.net>
* Adding several functions to binding to mimic local API
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Adding functionality according to API
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Updating Read me with new capability
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Additional commit with requested changes to pull request
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Updates to address all comments on previous commit.
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Updates as requested in review.
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Corrections for check style warnings
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Updates to address feedback from lolodomo.
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* Changes to address feedback from lolodomo's review
Signed-off-by: raveydavies <matthew.davies@skynet.be>
* FanState changed to Switch, Exception handling added as per review.
Signed-off-by: raveydavies <matthew.davies@skynet.be>
This commit fixes a crash that happens when the smart meter does not provide gas values. The crash was caused by the empty timestamp.
Signed-off-by: Daniël van Os <daniel@supercell.nl>
These are color bulbs and should have the color channel instead of the brightness channel.
Closes#11660
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Initial contribution of the Anel NET-PwrCtrl binding for OH3.
Signed-off-by: Patrick Koenemann <git@paphko.de>
* Adjustments based on code review.
Signed-off-by: Patrick Koenemann <git@paphko.de>
* Further adjustments according to second review.
Signed-off-by: Patrick Koenemann <git@paphko.de>
* Checkstyle warnings revmoed.
Signed-off-by: Patrick Koenemann <git@paphko.de>
Updated the documentation with:
* Core Actions
* Cloud Notification Actions
* Persistence Extensions
* Ephemeris Actions
* Types and Units
Instead of the single "imports", the default scope
(openhab-core/DefaultScriptScopeProvider.java) is used.
It's imported as `openhab`, services are under `openhab.service`.
As the helper library is on the way (openhab/openhab-js):
* Added note about console.log and logging in general.
* Added note that the lib is on the way.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* New translations deconz.properties (German)
* New translations sonos.properties (French)
* New translations openuv.properties (French)
* New translations synopanalyzer.properties (French)
When the binding is stopped sleeping threads are interrupted by design.
By throwing the InterruptedException, it should be caught in LifxSelectorUtil.sendPacket (which is waiting for the packet interval to elapse), which will then abort sending a packet.
This prevents:
```
[ERROR] [lifx.internal.util.LifxThrottlingUtil] - An exception occurred while putting the thread to sleep : 'sleep interrupted'
```
Signed-off-by: Wouter Born <github@maindrain.net>
* [tapocontrol] New Source Upload
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] Delete bundles/org.openhab.binding.tapocontrol directory
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] Snapshot 3.2
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] Update CODEOWNERS
Fixed bindingname
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] Update README.md
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] new "Bridge-Version"
Credentials (TapoCloud) where now set in a bridge device.
Things now had to be attached to a bridge.
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] fixed device discovery bug
fixed device discovery bug
added bridge to thing-types.xml
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] Update bundles/org.openhab.binding.tapocontrol/README.md
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] code cleanup and optimization
- general code cleanup and optimization
- limited max connections and queued requests to 10 per destination
- device error handling revised
- review remarks of pull request processed
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] solved review requests
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] LightStrip L900 basicly supported
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] fixed review requests
Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] fixed compiler warnings
Signed-off-by: Christian Wild <christian@wild-bw.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* New translations openhabcloud.properties (French)
* New translations transform.properties (French)
* New translations voicerss.properties (French)
* New translations actions.properties (German)
* New translations errors.properties (German)
* New translations stateflags.properties (German)
* New translations nanoleaf.properties (German)
* New translations surepetcare.properties (German)
* New translations deconz.properties (German)
* New translations tr064.properties (German)
* New translations deconz.properties (German)
* New translations openhabcloud.properties (German)
* New translations astro.properties (French)
* New translations hue.properties (French)
* New translations ntp.properties (French)
* New translations feed.properties (German)
* New translations lgwebos.properties (French)
* New translations gce.properties (French)
* New translations airquality.properties (French)
* New translations airquality.properties (French)
* New translations rotel.properties (French)
* New translations feed.properties (German)
* New translations hue.properties (French)
* New translations mail.properties (German)
* New translations sonyprojector.properties (French)
* New translations tradfri.properties (French)
* New translations powermax.properties (French)
When the docs are generated any {{ }} constructs are substituted with variables.
As a result the docs are less easy to understand.
Signed-off-by: Wouter Born <github@maindrain.net>
When the docs are generated any {{ }} constructs are substituted with variables causing the place holders to get lost.
As a result the docs are less easy to understand.
Signed-off-by: Wouter Born <github@maindrain.net>
* Change to json for states
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add 3rd colours.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Segments now mostly work
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* changes to json api fully made
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Mirror and Reverse channels added.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove old channels when needed.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Simplify return
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add support for named presets
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Dont add empty preset 0 to list
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add preset saving with custom names
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Tidy up
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Rename function for clarity
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add more channels
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Clean up
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix bugs and update readme for new channels
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Move remaining channel details to the respective channels to simplify
and avoid mistakes/errors.
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Clarify supported models and documentation
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Clarify supported models and documentation
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Add notes for amps with built-in serial over IP
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Add notes for amps with built-in serial over IP
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* fix spotless error
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* substitute controller/amplifier
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* New translations intesis.properties (German)
* New translations avmfritz.properties (German)
* New translations hue.properties (German)
* New translations pixometer.properties (German)
* New translations volvooncall.properties (French)
* New translations tr064.properties (French)
* New translations transform.properties (German)
* New translations googletts.properties (German)
* New translations avmfritz.properties (German)
* New translations googletts.properties (German)
* New translations sonyprojector.properties (French)
* New translations meteoblue.properties (French)
* New translations avmfritz.properties (German)
* New translations mail.properties (German)
* New translations hue.properties (German)
* New translations astro.properties (French)
* Fix reconnect after first connection to TV is lost.
Fixes#7055
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Reduced log level to TRACE for logging of entered methods several times per second.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add support for scene collections.
Fixes#11533
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add unit test for parsing of scene collections response.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add default i18n properties file.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update documentation with scene collections.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix formatting.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Split offline tests into separate distinct tests.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Increase test coverage for scene/scene collection parsing.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Internationalization of dynamic scene/scene collection channels.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Rename scene collections to scene groups.
Renamed for all user-oriented texts/references to be consistent with now abandoned feature of the PowerView app.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Change custom text keys to not collide with framework.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Avoid multiple thing updates.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add missing label/description texts for secondary channel.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Remove unneeded @Nullable annotations.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* [openhabcloud] reconnect on connection errors
According to documentation (albeit for 2.x Socket IO version) [1],
reconnection is responsibility of the user on connect_error events.
[1] Lifecycle diagram in
https://socketio.github.io/socket.io-client-java/socket_instance.html
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] Update Socket IO dependency to 1.0.1
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] feature.xml updated also with socket io 1.0.1
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] Re-connect manually on error events when not connected
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] less loud logging on retries
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] removing unnecessary conditional in logging
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] javadoc corrections and clarifications
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [hdpowerview] get secondary shade position value was inverted
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hdpowerview] remove testing Jar from PR
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug
New functionnality :
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.
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Add trigger on channel when using button simulation
Remove uneeded Thread.sleep in code.
Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation.
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix redundant superinterface DiscoveryService
Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix bug #11521
Typo in the Counter Channel name for VMB7IN.
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
* Remove advanced option in group-type
Signed-off-by: Jonas Hohaus <jh@gnlpf.net>
* Add support for multiple commands in one message
Signed-off-by: Jonas Hohaus <jh@gnlpf.net>
* New translations powermax.properties (French)
* New translations openhabcloud.properties (German)
* New translations avmfritz.properties (German)
* New translations mail.properties (German)
* New translations hue.properties (German)
* New translations airquality.properties (French)
* New translations ntp.properties (German)
* New translations velux.properties (German)
* New translations mail.properties (German)
* New translations hue.properties (German)
* New translations avmfritz.properties (German)
* New translations pixometer.properties (German)
* New translations openuv.properties (French)
While integrating the review comments, I did not remember that some
variable names are written as they are because they result from some
deserialization.
This small PR fixes this.
Signed-off-by: Stefan Triller <github@stefantriller.de>
* Implement Vacuum discovery for Homeassistant MQTT
Closes#8988
Signed-off-by: Stefan Triller <github@stefantriller.de>
* Addressed review comments
Signed-off-by: Stefan Triller <github@stefantriller.de>
* Spotless run again
Signed-off-by: Stefan Triller <github@stefantriller.de>
* New translations lametrictime.properties (French)
* New translations thingstate.properties (French)
* New translations twitter.properties (French)
* New translations tradfri.properties (French)
* New translations vigicrues.properties (French)