Commit Graph

5502 Commits

Author SHA1 Message Date
Florian Hotze
cfa65c68ee [jsscripting] Fix multi-threading issues in UI-based scripts (#17510)
* [jsscripting] Make logger non-static
* [jsscripting] Log lock acquisition and release
* [jsscripting] Implement Lock in DebuggingGraalScriptEngine so openHAB Core can lock and unlock when executing the pre-compiled script
* [jsscripting] Improve comments in ThreadsafeTimers
* [jsscripting] Add a short sleep after unlocking the lock to fix multi-threading issues with UI-based scripts

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:24 +02:00
lsiepel
81ff220f6c [irtrans] Adapt documentation (#17521)
* Adapt documentation

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:24 +02:00
Matthew Skinner
d8cace5459 [ipcamera] Add support to change MJPEG source to a different RTSP sub stream to lower CPU usage (#17591)
* Add support to change MJPEG sources to different RTSP sub streams

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:24 +02:00
openhab-bot
5557e3b091 New translations tado.properties (Italian) (#17615)
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
df8d7e28ae [mqtt.homeassistant] JSON Attributes can exist on BinarySensor (#17608)
also fix the conditional for JSON attributes on other components,
and make the channel read only.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
0deda9d22b [mqtt.homeassistant] JSON Attributes can exist on Climate (#17610)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
5e040e3dc4 [mqtt.homeassistant] JSON Attributes can exist on Cover (#17611)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
92e514dc57 [mqtt.homeassistant] JSON Attributes are supported by Scene (#17614)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
e97833b041 [mqtt.homeassistant] JSON Attributes can exist on Number (#17613)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
926fff034c [mqtt.homeassistant] JSON Attributes can exist on Lock (#17612)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Andrew Fiddian-Green
a146c81406 [tado] Add channel for remaining time of open window override (#17576)
* [tado] Add open window override remaining time channel

Signed-off-by: AndrewFG <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Jacob Laursen
cb445d4e07 [jdbc] Fix case-sensitive table names for PostgreSQL (#17597)
* Fix case-sensitive table names for PostgreSQL

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
d135e24fe4 [mqtt.homeassistant] Add support for Event component (#17599)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
356aa13fb7 [mqtt.homeassistant] add JSON attributes channel to several components (#17605)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
40805e9c94 [mqtt.homeassistant] bring channel ids inline with coding standards (#17604)
but only for newStyleChannels, which is already a breaking change of
most channels getting renamed for 4.3 anyway

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Jørgen Melhus
ff4d3f8313 [entsoe] Initial contribution (#17416)
Signed-off-by: Jørgen Melhus <jmelhus@outlook.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Cody Cutrer
89b4e2267d [mqtt.homeassistant] Use a single channel for all events from a single button (#17598)
Use the `subtype` field to collapse multiple DeviceAutomation components into
a single channel.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Christian Niessner
41d19067bf [tacmi] Reworked unit-mapping between TA and OH; added support for timespans (#17556)
* [tacmi] Reworked unit-mapping between TA and OH; added support for timespans

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Gaël L'hopital
749805d4a0 [netatmo] Consider timezone of the house when defining the end time of a setpoint (#17586)
* Consider timezone of the house when defining the end time of a setpoint

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Ramsey
d8f80dcee5 Update README.md (#17603)
corrected typo (channel powerInL1 = Purchased power L1)

Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:23 +02:00
Ronny Grun
720d0e1c78 [mercedesme] fix websocket endpoint (#17594)
Signed-off-by: Ronny Grun <ronny.grun@t-online.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Wouter Born
c8c40d44bd Set openHAB system properties during tests (#17592)
* Set openHAB system properties during tests

This will make sure tests write data to './target/openhab/userdata' instead of './userdata' etc.
Prevents new files from appearing whenever running the Mi IO Binding tests.

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Matthew Skinner
46f3e9aa8c [ipcamera] Fix Reolink does not detect bad user or passwords. (#17589)
* Fix Reolink does not detect bad user or password.
* Improve logging to include URL

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
JonathanvdGHU
a21e7d8dff [jdbc] Fix tableCaseSensitiveItemNames for PostgreSQL/TimescaleDB (#17587)
Signed-off-by: Jonathan van de Giessen <jonathan.vandegiessen@student.hu.nl>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Jacob Laursen
5a749d03fe [fmiweather] Add support for edited Scandinavia forecast (#17555)
* Add support for edited Scandinavia forecast

Resolves #17548

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
lsiepel
077f7bfd84 [lgwebos] Fix representation property (#17588)
* Fix representation property
* Null annotations and compiler fixes
* Fix lowercase

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
lsiepel
b64a37ea06 [multiple] Reduce SAT warnings (#17564)
* NoEmptyLineSeparatorCheck
* ModifierOrderCheck
* TypeNameCheck
* ConstantNameCheck loggers
* UnusedPrivateField
* Fix imports
* New line
* dynamodb static logger

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Ondrej Pecta
f22d3264c0 [somfytahoma] add support for the Up/Down Venetian Blind thing (#17583)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Matthew Skinner
c178939c91 [ipcamera] Fix Reolink events do not auto restart (#17581)
* Fix Reolink events do not auto restart.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Cody Cutrer
69c519e06d [mqtt.homeassistant] avoid improperly delivered triggers (#17584)
if multiple DeviceTrigger components share a topic, and each
has a payload value configured, only messages matching that
payload should be delivered to the corresponding channel

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Matthew Skinner
6f283a47d4 [Mikrotik] Add support for RouterOS 7 devices and support internal radios with capsman disabled (#17547)
* Add support for API version 7 and AX wifi6 range of devices.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Wouter Born
756ad0232a Remove JUnit 4 dependencies (#17580)
Using JUnit 5 should suffice.

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Anton Jansen
61483d9944 [Broadlink] Initial contribution (#16273)
* Initial import of the broadlink binding for openhab 4.2

Signed-off-by: AntonJansen <gradius@fmf.nl>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Christian Jonak-Möchel
dfdd9f3777 [robonect] Add blade status channel (#15061)
* Add blade status channel in Robonect binding

Signed-off-by: Christian Jonak-Möchel <christian@jonak.org>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:22 +02:00
Ondrej Pecta
f5326ba224 [somfytahoma] add proper OAuth2 token refreshing (#17574)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Ondrej Pecta
c1d7304cce [somfytahoma] switch Tahoma to OAUTH2 authentication (#17361)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Andrew Fiddian-Green
6a772a0bd3 [growatt] improve logging (#17573)
Signed-off-by: AndrewFG <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Wouter Born
1cd2e310ca Remove unnecessary executable permissions (#17569)
These files are marked as executable for no good reason at all.

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Thomas Lauterbach
60a5936311 [unifi] Add some standard channels to access points (#17530)
Signed-off-by: Thomas Lauterbach <thomas_lauterbach@arcor.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Espen Fossen
a3a5446602 [emotiva] Fix main zone volume-db channel name (#17567)
Signed-off-by: Espen Fossen <espenaf@junta.no>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
openhab-bot
c652d56531 New translations goecharger.properties (Italian) (#17565)
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Дилян Палаузов
cbbaec7815 [enocean] Spell when devices support power measurement, power failure detection (#17522)
configurable dimming or pilot wire, do not have local control.

Co-authored-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
lsiepel
98661fde91 [pjlinkdevice] Remove org.apache.common (#14430)
* Remove org.apache.common

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
lsiepel
4dd40b48c0 Remove apache (#17409)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
lsiepel
81affcb8f0 [plclogo] Remove org.apache.commons.net.util.SubnetUtils (#17408)
* Remove apache

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
lsiepel
75b7783b01 [dscalarm] Remove org.apache.commons.net.util.SubnetUtils (#17407)
* Remove apache

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Gaël L'hopital
8601ae4717 [netatmo] Ensure expiresAt is usable (#17553)
* Ensure expiresAt is usable

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:21 +02:00
Matthew Skinner
143d072c85 Fix bug where port numbers in URL stop MJPEG from working (#17551)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:20 +02:00
Jacob Laursen
04b9c33706 Add time series support for forecasts (#17543)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:20 +02:00
lsiepel
2a1fb95946 [goecharger] Add awattarMaxPrice channel (#17532)
* Add awp channel

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:20 +02:00