* 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>