]>
git.basschouten.com Git - openhab-addons.git/log
Mark Herwege [Sun, 5 Feb 2023 15:59:51 +0000 (16:59 +0100)]
[unifi] guest voucher actions (#14303)
* guest voucher actions
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
lsiepel [Sat, 4 Feb 2023 18:44:06 +0000 (19:44 +0100)]
[plugwiseha] Added default tags (#14160)
* add default tags
Signed-off-by: lsiepel <leosiepel@gmail.com>
Andreas Berger [Sat, 4 Feb 2023 17:03:14 +0000 (18:03 +0100)]
[fineoffsetweatherstation] Fix java.lang.IllegalMonitorStateException (#14326)
This fix ensures, that the `ReentrantLock::unlock` method is only called, when the Thread is owning the lock.
resolves: #14322
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
J-N-K [Sat, 4 Feb 2023 14:47:30 +0000 (15:47 +0100)]
[snmp] Upgrades and enhancements (#14330)
* [snmp] Upgrades and enhancements
- bug: improve test stability
- enhancement: add support for UoM
- bug: fix misleading error message
- bug: fix initialization exceptions
- enhancement: Add support for SNMPv3
- enhancement: add opaque value handling
Signed-off-by: Jan N. Klug <github@klug.nrw>
Jacob Laursen [Sat, 4 Feb 2023 12:08:41 +0000 (13:08 +0100)]
Add TLS support (#14331)
Fixes #14309
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
WoKe77 [Sat, 4 Feb 2023 09:54:57 +0000 (10:54 +0100)]
[easee] Update README.md - added status values for "state#chargerOpMode" (#14175)
* Update README.md
added status values for "state#chargerOpMode"
Jacob Laursen [Sat, 4 Feb 2023 09:07:07 +0000 (10:07 +0100)]
Remove obsoleted author tags (#14333)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Jacob Laursen [Sat, 4 Feb 2023 08:52:22 +0000 (09:52 +0100)]
Add UoM support for RSSI channel (#14319)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
lolodomo [Sat, 4 Feb 2023 08:30:58 +0000 (09:30 +0100)]
[mail] Make actions names for DSL rules consistent with documentation (#14151)
* [mail] Make actions names for DSL rules consistent with documentation
Keep old names for backward compatibility.
Actions names are now consistent over all rule engines.
* Review comment: use htmlContent as parameter name
* Review comment: make consistent url and urlList parameters
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Jacob Laursen [Sat, 4 Feb 2023 07:56:14 +0000 (08:56 +0100)]
Add missing binding description (#14332)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
J-N-K [Sat, 4 Feb 2023 07:26:48 +0000 (08:26 +0100)]
Fix findbugs instanceof pattern matching (#14329)
* Fix findbugs instanceof pattern matching
Signed-off-by: Jan N. Klug <github@klug.nrw>
fcvuilbak [Sat, 4 Feb 2023 05:17:45 +0000 (06:17 +0100)]
Added MOOD_LIGHT for NOVY Fan (#14298)
Signed-off-by: fcvuilbak <42965756+fcvuilbak@users.noreply.github.com>
mlobstein [Sat, 4 Feb 2023 04:53:27 +0000 (22:53 -0600)]
Fix Essentia G standby mode wake-up (#14321)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
lolodomo [Fri, 3 Feb 2023 23:02:56 +0000 (00:02 +0100)]
[hue] Retrieve scenes without 10 minutes initial delay (#14289)
Fix #14137
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
J-N-K [Fri, 3 Feb 2023 19:41:16 +0000 (20:41 +0100)]
[dmx] Refactor and improve code (#14327)
Also adds null-annotations
Signed-off-by: Jan N. Klug <github@klug.nrw>
(cherry picked from commit
8153032ce07f5bcd7c5b31316ac0d4565126fe72 )
Daniel-at-git [Thu, 2 Feb 2023 19:40:57 +0000 (20:40 +0100)]
Commit
1d23c32de1e3831644494751c961d17d10628ec8 broke sending underscore character in messages (#14204) (#14314)
This PR reverts commit
1d23c32de1e3831644494751c961d17d10628ec8 and fix #14204.
Signed-off-by: Daniel Schröter <d.schroeter@gmx.de>
Dave [Thu, 2 Feb 2023 11:46:46 +0000 (12:46 +0100)]
[omnikinverter] added extra parameters (temperature, AC frequency, AC current, AC voltage and total hours running) (#14244)
* [omnikinverter] Added temperature sensor
* [Omnikinverter] Bugfix for wrong channeltype item-type
Prevents 'Received HTTP PUT request with an invalid item name' when adding items
* [Omnik] Added AC Voltage, Currrent and Frequency and total running hours
Signed-off-by: Dave <leansoft@users.noreply.github.com>
Ilias Ktn [Thu, 2 Feb 2023 07:27:16 +0000 (09:27 +0200)]
Working PostgreSQL Schema check/fix and set TIMESTAMPTZ to match MySQL defaults (#14294)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
Boris Krivonog [Wed, 1 Feb 2023 20:06:27 +0000 (21:06 +0100)]
[rrd4j] fixed oom when requesting data and boundary=true (#14292)
* Fixed end date when requesting data using rrd4j and boundary=true
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
lolodomo [Wed, 1 Feb 2023 19:55:54 +0000 (20:55 +0100)]
[hue] Handle unexpected empty response from API (#14297)
Fix #14218
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Mark Hilbush [Wed, 1 Feb 2023 19:27:10 +0000 (14:27 -0500)]
Fix incorrect i18n tags in addon.xml (#14312)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Mark Hilbush [Wed, 1 Feb 2023 16:06:51 +0000 (11:06 -0500)]
Fix i18n in addon.xml (#14310)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Mark Hilbush [Tue, 31 Jan 2023 19:52:00 +0000 (14:52 -0500)]
Fix for NumberFormatException when parsing json (#14308)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
openhab-bot [Tue, 31 Jan 2023 18:47:42 +0000 (19:47 +0100)]
New translations jruby.properties (Italian) (#14306)
Kai Kreuzer [Tue, 31 Jan 2023 18:35:22 +0000 (19:35 +0100)]
Fix account going offline every few seconds (#14300)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
Cody Cutrer [Mon, 30 Jan 2023 23:12:48 +0000 (16:12 -0700)]
[jrubyscripting] don't use options for check for updates config boolean (#14299)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Cody Cutrer [Mon, 30 Jan 2023 22:24:54 +0000 (15:24 -0700)]
[jrubyscripting] allow disabling dependency tracking (#13944)
* [jrubyscripting] allow disabling dependency tracking
in case your helper library doesn't support it. or you just don't like
the behavior.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
J-N-K [Mon, 30 Jan 2023 19:04:57 +0000 (20:04 +0100)]
[influxdb] Fix re-connection issues (#14296)
Signed-off-by: Jan N. Klug <github@klug.nrw>
lolodomo [Mon, 30 Jan 2023 12:24:36 +0000 (13:24 +0100)]
[shelly] Cancel the init job when the thing handler is disposed (#14290)
Fix #14032
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Hilbrand Bouwkamp [Mon, 30 Jan 2023 07:59:19 +0000 (08:59 +0100)]
[unifi] Added channels name and hostname to client things. (#14283)
* [unifi] Added channels name and hostname to client things.
Also some changes related to the guestVoucher changes.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
lsiepel [Sun, 29 Jan 2023 21:15:38 +0000 (22:15 +0100)]
[astro] Add option to force event to occur (#14132)
* fix issue 11424
Signed-off-by: lsiepel <leosiepel@gmail.com>
Nils Schnabel [Sun, 29 Jan 2023 18:56:10 +0000 (19:56 +0100)]
[fmiweather] HIRLAM → HARMONIE weather model (#13693)
* [FMI] HIRLAM → HARMONIE model
Signed-off-by: Nils Schnabel <git@to.nilsschnabel.de>
Co-authored-by: Sami Salonen <ssalonen@gmail.com>
Andrew Fiddian-Green [Sun, 29 Jan 2023 09:32:33 +0000 (09:32 +0000)]
[velux] Do not use new API on Somfy devices (#14225)
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
dirkbe [Sun, 29 Jan 2023 09:25:53 +0000 (10:25 +0100)]
[homematic] HUMIDITY and CONTROL_MODE as PaperUI standard channels (#14274)
HomematicIP added humidity and HVAC control mode under new channel
HEATING_CLIMATECONTROL_TRANSCEIVER|HUMIDITY. Those channels won't
show in PaperUI unless "Advanced" is selected. This pull request
adds those channels as standard.
Impacted HomematicIP devices: HmIP-BWTH, HmIP-BWTH24,
HmIPW-STHD, HmIPW-STH, HmIPW-WTH, HmIP-STHD, HmIP-STH, HMIP-WTH,
HmIP-WTH-2, HmIP-WTH-B
The devices HmIP-eTRV* and HmIP-WT only support CONTROL_MODE not
Humidity.
resolves: #11829
Signed-off-by: Dirk Benecke <dirkbe@web.de>
Signed-off-by: Dirk Benecke <dirkbenecke@Dirks-MBP.fritz.box>
lsiepel [Sun, 29 Jan 2023 09:24:26 +0000 (10:24 +0100)]
[tibber] Fix NPE on server issues (#14273)
* Fix NPE
Signed-off-by: lsiepel <leosiepel@gmail.com>
Dan Cunningham [Sun, 29 Jan 2023 09:21:54 +0000 (01:21 -0800)]
[openhabcloud] Reconnection Fixes (#14251)
* [openhabcloud] Possible connection leak
* Creates thread safe reconnection, reduces unnecessary polling on setup, removes unused variables.
* adds the reconnect settings to the internal socket.io options.
* Up the min reconnect time
* Use @ssalonen sugestion for backoff mins and randomness
* Reconnect after server initiated disconnect
* Remove unhelpful comments
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
Mark Herwege [Sat, 28 Jan 2023 20:30:12 +0000 (21:30 +0100)]
[unifi] Guest wifi vouchers (#14284)
* guest voucher support
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
igitti [Sat, 28 Jan 2023 17:56:02 +0000 (18:56 +0100)]
(MyBMW] command "horn-blow" not "horn-low" (#14270)
* MyBMW command "horn-blow" not "horn-low"
The command is "horn-blow" not "horn-low".
Tested with my car: "horn-blow" works, "horn-low" does not.
* (MyBMW] command "light-flash" not "flash-lights"
The command is "light-flash" not "flash-lights".
Tested with my car: "light-flash" works, "flash-lights" does not.
Jacob Laursen [Sat, 28 Jan 2023 08:35:30 +0000 (09:35 +0100)]
[wemo] Fix stability issues (#14163)
* Stabilize UPnP subscription handling
* Remove unused UpnpService
* Fix integration test
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Cody Cutrer [Fri, 27 Jan 2023 23:39:19 +0000 (16:39 -0700)]
[homekit] fix restarted on network interface change (#14226)
a regression caused during the final changes of #13877
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Cody Cutrer [Fri, 27 Jan 2023 23:38:38 +0000 (16:38 -0700)]
[mqtt.homeassistant] support command_template for fan components (#14233)
* [mqtt.homeassistant] support command_template for fan components
* [mqtt.homeassistant] fix field declaration for consistency
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Cody Cutrer [Fri, 27 Jan 2023 23:37:45 +0000 (16:37 -0700)]
[mqtt.homeassistant] add support for DeviceTrigger component (#14234)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Cody Cutrer [Fri, 27 Jan 2023 23:37:15 +0000 (16:37 -0700)]
[mqtt.homeassistant] Mark disabled by default components as advanced channels (#14240)
openHAB doesn't have the concept of "enabled by default", since _everything_
is technically "disabled" until you link it to an item. It seems devices
use disabled by default on less common entities, such as zigbee2mqtt
marking a binary_sensor as a "backup" method to an update entity for
when an update is available, or a sensor as a "backup" method to a
select entity. So in that case, just hiding these channels unless the user
clicks "Show Advanced" seems to map best.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
lolodomo [Fri, 27 Jan 2023 12:23:04 +0000 (13:23 +0100)]
[rotel] Fix reader thread handling (#14272)
Previous code was not working in Java 17.
A thread should not be started after being interrupted.
Fix #14264
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lsiepel [Fri, 27 Jan 2023 09:36:40 +0000 (10:36 +0100)]
[tibber] Add accumulatedReward channel (#14277)
* Add channel, fix warning
Signed-off-by: lsiepel <leosiepel@gmail.com>
Ilias Ktn [Fri, 27 Jan 2023 09:33:11 +0000 (11:33 +0200)]
Perform upsert on key conflict like the default for MySQL (PostgreSQL >= 9.5) (#14281)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
Gaël L'hopital [Fri, 27 Jan 2023 07:49:47 +0000 (08:49 +0100)]
Bringing a solution to issue #14256. (#14265)
This solution is not the best but takes in account observations made in issue #13015.
Signed-off-by: clinique <gael@lhopital.org>
TheNinth7 [Fri, 27 Jan 2023 07:34:36 +0000 (08:34 +0100)]
Update README.md (#14266)
Updated section on shutter position with info on the automatic calibration's reliance on the actuator's automatic stop message, and that for older actuator's manual setting of shutterRun is required.
Florian Hotze [Mon, 23 Jan 2023 20:17:39 +0000 (21:17 +0100)]
[evcc] Adjust to breaking API change & Add new channel (#14245)
* [evcc] Adjust to breaking API changes
Fixes #14231.
See https://github.com/evcc-io/evcc/discussions/5522.
* [evcc] Add battery capacity channel
* [evcc] Version & openHABian note
* [evcc] Use already defined constants in ChannelTypeUIDs
* [evcc] Correct header in evcc.properties
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Jacob Laursen [Sun, 22 Jan 2023 18:22:13 +0000 (19:22 +0100)]
Fix some addon.xml issues (#14261)
* Fix some addon.xml issues
* Re-add thing-type binding for Velux
* Prefix thing-type filenames
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Markus Eckhardt [Sun, 22 Jan 2023 11:25:37 +0000 (12:25 +0100)]
[Tibber] Added "today" API channel (#14236)
* Added "today" API channel
Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
Frieso Aeschbacher [Sun, 22 Jan 2023 09:49:52 +0000 (10:49 +0100)]
[dominoswiss] Fix Bridge-Loading with OH3_3 and OH3_4 (#14172)
* Fix Loading of Bridge with OH3.3
Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>
schmidmuc [Sat, 21 Jan 2023 23:19:08 +0000 (00:19 +0100)]
Update README.md (#14254)
URL for HomeConnect consol was wrong
lolodomo [Sat, 21 Jan 2023 23:17:21 +0000 (00:17 +0100)]
[gree] Remove unneeded i18n entry addon.gree.label (#14253)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
openhab-bot [Sat, 21 Jan 2023 23:03:52 +0000 (00:03 +0100)]
New Crowdin updates (#14258)
* New translations amazondashbutton.properties (French)
* New translations hdpowerview.properties (Danish)
* New translations boschindego.properties (Danish)
* New translations amazondashbutton.properties (Italian)
Cody Cutrer [Sat, 21 Jan 2023 14:02:49 +0000 (07:02 -0700)]
[mqtt.homeassistant] add support for Number and Select components (#14230)
* [mqtt.homeassistant] add support for Select component
closes #13603
Signed-off-by: Cody Cutrer <cody@cutrer.us>
J-N-K [Sat, 21 Jan 2023 11:14:51 +0000 (12:14 +0100)]
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
mlobstein [Sat, 21 Jan 2023 10:16:36 +0000 (04:16 -0600)]
Publish ALLOFF event for use in source rules (#14248)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Cody Cutrer [Sat, 21 Jan 2023 08:59:37 +0000 (01:59 -0700)]
[mqtt] fix thread concurrency issue with type provider (#14229)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
lsiepel [Sat, 21 Jan 2023 08:50:09 +0000 (09:50 +0100)]
[jeelink] Fixed wrong TX22 rain value (#14224)
* Divide instead of multiply
* Remove apache.commons
Signed-off-by: lsiepel <leosiepel@gmail.com>
J-N-K [Fri, 20 Jan 2023 13:57:42 +0000 (14:57 +0100)]
Fix build after core changes (#14027)
Signed-off-by: Jan N. Klug <github@klug.nrw>
Hilbrand Bouwkamp [Fri, 20 Jan 2023 12:12:57 +0000 (13:12 +0100)]
[unifi] Various stability improvements (#14249)
* [unifi] Various stability improvements
- Fixed bug, causing nullpointer, in devices not reporting voltage/ampere values on PoE ports.
- Added some null checks to avoid having null pointer exceptions.
- Handled timeout exception that is in ExecutionException.
- Improved handling case where server returns data, but it's not from the api, and therefor can't be parsed.
- Improved adding additional text to the error messages by adding the reported exception message too.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Christoph Weitkamp [Fri, 20 Jan 2023 10:58:47 +0000 (11:58 +0100)]
[rrd4j] Avoid IAE thrown if e.g. invalid start/end time given (#14238)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Florian Hotze [Sun, 15 Jan 2023 22:55:42 +0000 (23:55 +0100)]
[influxdb] Add docs for usage of self-signed certs (#14228)
* [influxdb] Add docs for usage of self-signed certs
See
https://community.openhab.org/t/influxdb-persistence-doesnt-work-with-s
sl/35409/10?u=florian-h05.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
J-N-K [Sun, 15 Jan 2023 19:31:42 +0000 (20:31 +0100)]
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
Holger Friedrich [Sat, 14 Jan 2023 12:02:31 +0000 (13:02 +0100)]
[knx] Fix javadoc errors (#14174)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
lsiepel [Sat, 14 Jan 2023 11:43:34 +0000 (12:43 +0100)]
Adjust channel min state (#14219)
Signed-off-by: lsiepel <leosiepel@gmail.com>
Jacob Laursen [Sat, 14 Jan 2023 11:26:38 +0000 (12:26 +0100)]
Improve multicast implementation (#14199)
Fixes #14198
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
lsiepel [Sat, 14 Jan 2023 11:14:09 +0000 (12:14 +0100)]
[gree] Allow wider temperature range (#14217)
* Fix checkstyle
* Allow wider temp range
* Remaining checkstyle
Signed-off-by: lsiepel <leosiepel@gmail.com>
Gwendal Roulleau [Sat, 14 Jan 2023 08:39:59 +0000 (09:39 +0100)]
[mimictts] Fix ssml and playing from audiosinks using the audio servlet (#14120)
* [mimictts] Fix ssml and playing from an audiosink using the audio servlet
Fix :
- ssml not working
- add an option to store the audio on a file before sending it to openhab. It enables audiosink based on the audio servlet to play the sound (the servlet requires the getClonedStream method, unavailable with a pure streaming approach). The files are stored in the user data directory and deleted as soon as possible (stream close detection).
- fix error with voice name not encoded
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Cody Cutrer [Fri, 13 Jan 2023 19:25:06 +0000 (12:25 -0700)]
[homekit] Implement IrrigationSystem Accessory (#14209)
* [homekit] Implement IrrigationSystem
Fairly trivial now, except that a ServiceLabelService has to be added
to the accessory.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Holger Friedrich [Fri, 13 Jan 2023 18:10:59 +0000 (19:10 +0100)]
Fix SAT warnings (#14214)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
maniac103 [Fri, 13 Jan 2023 15:25:26 +0000 (16:25 +0100)]
[homematic] Fix updating enum config values (#14213)
When changing an enum value in the configuration, we used the wrong data
type: while the value in the OH config is a string (the 'option value' -
see HomematicThingHandler::getValueForConfiguration), internally we use
an integer (the 'option index'), so we have to do the option value ->
option index conversion when applying the new value.
This especially was a problem for HM-MOD-EM-8 devices, which check the
CHANNEL_FUNCTION enum value as part of their initialization routine.
When disabling/enabling them after changing the CHANNEL_FUNCTION enum
value, they went offline, because their initialization failed due to a
NumberFormatException (via
HomematicThingHandler::doInitializeInBackground ->
HmChannel::checkForChannelFunctionChange ->
HmChannel::getCurrentFunction)
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Holger Friedrich [Fri, 13 Jan 2023 07:11:06 +0000 (08:11 +0100)]
Fix SAT warnings (#14202)
* Fix SAT warnings
- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions
* Include StandardCharsets
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
J-N-K [Thu, 12 Jan 2023 21:23:20 +0000 (22:23 +0100)]
[scripting] Adjust to core changes (#14043)
* [scripting] Adjust to core changes
Signed-off-by: Jan N. Klug <github@klug.nrw>
lsiepel [Thu, 12 Jan 2023 20:07:31 +0000 (21:07 +0100)]
[bsblan] Minor SAT fixes (#14138)
* Minor SAT fixes
Signed-off-by: lsiepel <leosiepel@gmail.com>
Cody Cutrer [Thu, 12 Jan 2023 14:29:50 +0000 (07:29 -0700)]
[homekit] Add support for TV accessory (#14055)
* [homekit] TV accessory
Now possible since we support multiple secondary services. Just need to explicitly
declare that InputSource is a linked service to a Television, not just a secondary
service.
Note also that since TV and related services have so many mandatary characteristics
that are often static, I introduced a new way to declare characteristics -
via metadata on the service's item. Honestly, I feel like it's a lot cleaner to
have a factory create the mandatory characteristics the same way as the optional
characteristics, and then construct the service ourselves instead of basing the
service on the specific accessory interface. But this commit is already big enough,
I didn't want to go refactoring _all_ of the accessories to do it that way just
yet. This is why I have "unused" metadata characteristic factory methods for
AirQuality, HeaterCooler, and Thermostat - I started to make those configurable
via metadata, then realized they were mandatory characteristics that couldn't
be found from metadata via the current infrastructure.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Keith T. Garner [Thu, 12 Jan 2023 06:42:15 +0000 (00:42 -0600)]
[bondhome] Add raw speed channel (#14155)
* [bondhome] add raw speed channel
* Add a channel for the raw speed value from the bond api
Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
maniac103 [Wed, 11 Jan 2023 14:05:19 +0000 (15:05 +0100)]
[gardena] Fix server ping timeout logic (#14203)
On server timeouts, it's possible for multiple minutes to elapse
between receiving the last pong on the old connection and attempting to
send the next ping on the new connection. If that time span exceeded 5
minutes, the binding went into a minutely reconnection loop, because it
never attempted to send a ping anymore, which led to lastPong not being
updated anymore.
To fix this, replace the timing dependent timestamp handling by a simple
counter which counts how many consecutive ping attempts didn't receive
an answer, and closing the connection after 5 unsuccessful ping
attempts. That new counter is now also reset whenever the connection is
restarted.
Fixes #14188
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Mark Hilbush [Wed, 11 Jan 2023 12:56:40 +0000 (07:56 -0500)]
[squeezebox] Add new channels for additional tags (#14201)
* New channels for additional tags
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Holger Friedrich [Wed, 11 Jan 2023 07:59:46 +0000 (08:59 +0100)]
Upgrade maven-javadoc-plugin to release 3.2.0 (#14173)
* Switch to version used by openhab-core
* Apply patch from #2359 for upgrading dependency on plexus
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
lsiepel [Wed, 11 Jan 2023 07:58:13 +0000 (08:58 +0100)]
Add accuracy moon tests (#14182)
Signed-off-by: lsiepel <leosiepel@gmail.com>
Mark Hilbush [Tue, 10 Jan 2023 14:02:40 +0000 (09:02 -0500)]
Fix for NPE when playerState is null (#14191)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Andrew Fiddian-Green [Tue, 10 Jan 2023 07:14:54 +0000 (07:14 +0000)]
[velux] tweak read me (#14196)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Holger Friedrich [Mon, 9 Jan 2023 16:51:12 +0000 (17:51 +0100)]
Fix Markdown warnings in README.md (#14187)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Mark Hilbush [Sun, 8 Jan 2023 22:35:01 +0000 (17:35 -0500)]
[ecobee] Fix issue with UTC and local dates (#14170)
* Correctly handle UTC and local date/times
* Eliminate use of Date class
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Gwendal Roulleau [Sun, 8 Jan 2023 09:57:04 +0000 (10:57 +0100)]
[doorbird] Add audiosink (#14122)
* [doorbird] Add audiosink
Add audiosink capability to a doorbird thing
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Marcel [Sat, 7 Jan 2023 10:19:12 +0000 (11:19 +0100)]
[miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4 (#13941)
* [miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4
Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Pro (modelId: zhimi.airp.vb4)
close
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
lsiepel [Sat, 7 Jan 2023 08:51:20 +0000 (09:51 +0100)]
[chromecast] Fix thing go offline after stop command (#14158)
* Restructure commander
* Improve thing status handling on error
Signed-off-by: lsiepel <leosiepel@gmail.com>
Jacob Laursen [Fri, 6 Jan 2023 23:01:27 +0000 (00:01 +0100)]
Fix incorrectly formatted license headers (#14171)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Jacob Laursen [Fri, 6 Jan 2023 17:56:53 +0000 (18:56 +0100)]
Fix namespaces for tests (#14156)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
lolodomo [Fri, 6 Jan 2023 15:28:38 +0000 (16:28 +0100)]
[sonos] Correct identification of tuneIn started from Alexa (#14164)
Contained URL is now HTTPS instead of HTTP before.
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Cody Cutrer [Fri, 6 Jan 2023 15:25:42 +0000 (08:25 -0700)]
[homekit] properly expose services from dummy accessories (#14169)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Mark Hilbush [Fri, 6 Jan 2023 11:49:30 +0000 (06:49 -0500)]
Make more channels advanced (#14168)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Jacob Laursen [Fri, 6 Jan 2023 08:49:54 +0000 (09:49 +0100)]
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Jacob Laursen [Fri, 6 Jan 2023 08:44:20 +0000 (09:44 +0100)]
Exclude 3rdparty directories from license header generation (#14165)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Doug Culnane [Thu, 5 Jan 2023 22:55:38 +0000 (23:55 +0100)]
[renault] Add new channels 'batterystatusupdated' and 'locked' (#14076)
Signed-off-by: Doug Culnane <doug@culnane.net>
lsiepel [Thu, 5 Jan 2023 22:08:07 +0000 (23:08 +0100)]
[bigassfan] Null annotations (#13903)
* Null annotations and some refactoring
* Fix synchronized block
* Fix remaining warnings
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Florian Hotze [Thu, 5 Jan 2023 22:04:07 +0000 (23:04 +0100)]
[jsscripting] Update docs for code caching (#14166)
... and fix the table of contents.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Florian Hotze [Thu, 5 Jan 2023 12:28:28 +0000 (13:28 +0100)]
[hueemulation] Fix tests after core change (#14161)
Fixes #14153.
This fixes the Hue Emulation tests (and in consequence the full addons build) after core change https://github.com/openhab/openhab-core/pull/3298.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>