David Pace [Thu, 4 Jan 2024 07:19:33 +0000 (08:19 +0100)]
[boschshc] Handle invalid long poll responses gracefully (#16002)
If the long poll response from the Smart Home Controller does not
contain valid JSON, the subscription is gracefully terminated a new one
is initiated after 15 seconds.
[chromecast] Update protobuf from 2.6.0 to protobuf-javalite 3.25.1 (#16186)
Switch from vitalidze/chromecast-java-api-v2 to de.sfuhrm/chromecast-java-api-v2.
This fork updates protobuf-java from 2.6.0 to protobuf-javalite 3.25.1.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Cody Cutrer [Tue, 2 Jan 2024 19:02:47 +0000 (12:02 -0700)]
[mqtt.homeassistant] Improve support for Lock component (#16052)
* [mqtt.homeassistant] Improve support for Lock component
* handle state and command payloads differing (as they do by default)
* expose full state possibilities and OPEN command by adding
a TextValue channel
* Recognize intermediate lock states as unlocked on the switch channel
openhab-bot [Sun, 31 Dec 2023 13:51:04 +0000 (14:51 +0100)]
New Crowdin updates (#16162)
* New translations automower.properties (Italian)
* New translations opensprinkler.properties (Italian)
* New translations samsungtv.properties (Italian)
David Pace [Sun, 31 Dec 2023 10:40:43 +0000 (11:40 +0100)]
[boschshc] Support for Door/Window Contact II (#16093)
* [boschshc] Support for Door/Window Sensor II
* add new thing type for Door/Window Sensor II
* add channel types for bypass state and communication quality
* add handler extending the basic Door/Window Sensor handler
* add service implementations
* register handler in discovery service
* add unit tests
* re-generate i18n properties file
* add documentation
Nils Schnabel [Thu, 28 Dec 2023 10:07:31 +0000 (11:07 +0100)]
[PJLink] forget threadpool after it was shutdown (#16119)
This is an issue if the user cancels/restarts discovery scans, new tasks were added to the shutdown threadpool.
With this PR, a new threadpool will be created on the next scan in getExecutorService().
Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
since #13801, it's not been possible to add new milight things,
because the thing XML already has the new channel types, but not
the thingTypeVersion property set, so it would try to apply the
update instructions and error about duplicate channels
Cody Cutrer [Sat, 16 Dec 2023 08:49:35 +0000 (01:49 -0700)]
[mqtt.espmilighthub] Use system channel types for color temp and brightness (#13801)
* [mqtt.espmilighthub] use system channel types for color temp and brightness
closes #10096
also add absolute color temp channel. and remove level channel when we
already have a color channel (you can link a DimmerItem to a color
channel if your light doesn't happen to have color or you want direct
control of brightness only for some reason)
Cody Cutrer [Thu, 14 Dec 2023 22:53:14 +0000 (15:53 -0700)]
[mqtt.homeassistant] Add support for Update component (#14241)
* [mqtt.homeassistant] add support for Update component
This component is fairly non-standard - it doesn't add any channels.
Instead, it provides several properties to the thing, and also adds
a thing configuration allowing you to trigger an OTA update on a
Home Assistant device from MainUI.
Martin Grassl [Thu, 14 Dec 2023 22:08:25 +0000 (23:08 +0100)]
[mybmw] Upgrade to new BMW API (#14452)
* [mybmw] fix not working binding due to API update
to make it work the code has been refactored and due to API changes some
improvements could be made. These include:
- (improvement) fingerprint generation: You can
take a look at the README how to create a
fingerprint more conveniently.
- (change) changed channel: charge-info has been
renamed to charge-remaining
- (improvement) added channels:
estimated-fuel-l-100km and estimated-fuel-mpg
which calculates the estimated fuel consumption
based on the range and remaining fuel liters
- unfortunately such a calculation is not available
for EVs as there is no information about the capacity of the battery.
- (improvement) added channel last-fetched:
the last-updated timestamp is showing by when
the last update of the vehicle happened. As right
now you can not see from the channels if a thing
is offline due to connection issues, you can check
now if last-fetched is more than 5 minutes ago to identify an issue
- (fixed) remote command typos fixed
Fixes #14065
Also-by: Mark Herwege <mark.herwege@telenet.be> Signed-off-by: Martin Grassl <martin.grassl@digital-filestore.de>
Tim Harper [Thu, 14 Dec 2023 21:09:23 +0000 (22:09 +0100)]
[opengarage] Add door transition status support (#14028)
* Add support for garage door transition status
Homekit requires a status for the garage door of OPEN, CLOSED, CLOSING,
OPENING. In order to report that, we must provide state transition
information. State transition information is inferred when the garage
door state is changed. For door_transition_time_seconds since the last
open/close command was issued, the binding reports the state as either
"closing" or "opening".
---------
Signed-off-by: Tim Harper <timcharper@gmail.com> Co-authored-by: Laurent Garnier <lg.hc@free.fr>
Cody Cutrer [Mon, 11 Dec 2023 18:11:27 +0000 (11:11 -0700)]
[mqtt.homeassistant] Improve Cover support (#15875)
* [mqtt.homeassistant] improve Cover support
* Add support for covers that report position
* Handle when command and state values for OPEN/CLOSE/STOP
differ (as they do by default)
* Expose the full cover state, since it can have tell you
if the cover is moving or not
* Handle covers that have a position only, but not a state
* add constants to clarify up/down values
* Be sure to parse percents from strings in RollshutterValue
David Pace [Sun, 10 Dec 2023 23:57:59 +0000 (00:57 +0100)]
[boschshc] Add support for motion detector illuminance sensor (#16021)
* [boschshc] Add support for motion detector illuminance sensor
- add channel and corresponding channel type
- add update description
- add state model
- implement service and handler
- add documentation
- add unit test