Commit Graph

244 Commits

Author SHA1 Message Date
Wouter Born
a2868bb0dc
Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Wouter Born
3415397a83
Remove unnecessary semicolons (#16214)
This helps with stopping the proliferation of unnecessary semicolons.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 23:56:58 +01:00
Wouter Born
4fe00bb2bf
Remove redundant feature dependencies (#16204)
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 20:00:24 +01:00
Jacob Laursen
f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Wouter Born
c58d894bf0
Use OnOffType.from to reduce code (#16101)
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Holger Friedrich
533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot
83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00:00
Marcel
4d13a6d20e
[miio] Fix cleaning record for newer vacuums (#15944)
* [miio] Fix cleaning record for newer vacuums

Fixes Roborock Q7Max Historical Cleaning record missing

closing #15490

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-11-28 00:10:27 +01:00
truidix
5555d68f92
[miio] Add a few new vacuum robots and station channels (#15704)
* Added a few new channels:
- cleaning the mop
- check if mop drying is enabled
- remaining time for mop drying

Signed-off-by: David Kumar <github@truidix.de>
2023-11-08 21:39:59 +01:00
Marcel
b3da0511b1
[miio] readme hyperlink fix (#15814)
* Minor formatting
* Fix hyperlink for robo rock vacuums channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-29 11:07:10 +01:00
Marcel
7cb94f9238
[miio] Add support Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3) (#14210)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-17 15:57:24 +02:00
Marcel
b7ff168b18
[miio] new gen vacuums cleaning map and rooms (#15675)
* Room Mapping from cloud
* New history record

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-06 08:23:23 +02:00
Marcel
54e128fee6
[miio] Add support "Mi Smart Antibacterial Humidifier" (#15676)
Adding support for the following models:
* Xiaomi Smart Humidifier 2 (modelId: deerma.humidifier.jsq2w)

closing #15639

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-02 09:18:18 +02:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Marcel
4359c732a4
[miio] add DreameBot L10s Ultra (#15582)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-25 14:53:42 +02:00
Marcel
7a0d05781a
[miio] fix reported brightness for yeelight (#15611)
Fix reported brightness for yeelight when powered off.
This will fix wrong power switch visualization in the OH UI.

related to issue:
https://community.openhab.org/t/miio-and-yeelight-rgb-bulbs-behavior/135788/9

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:38:58 +02:00
Marcel
d782ac96bc
[miio] add new robo map blocks to map parser (#15591)
* [miio] add new robo map blocks to map parser

Adding new block types in map parser.
close #15068

* [miio] fix history for newer robot models

closes #11001

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:12:16 +02:00
Marcel
798119305e
[miio] add support for newer Roborock vacuums (#15586)
Add support for the following models:
roborock.vacuum.a51 = Roborock S8
roborock.vacuum.a64 = Roborock G10S Pure
roborock.vacuum.a65 = Roborock S7 Max Ultra
roborock.vacuum.a66 = Roborock G10 Plus
roborock.vacuum.a69 = Roborock G20
roborock.vacuum.a70 = Roborock S8 Pro Ultra
roborock.vacuum.a72 = Roborock Q5 Pro
roborock.vacuum.a73 = Roborock Q8 Max
roborock.vacuum.a74 = Roborock P10
roborock.vacuum.a75 = Roborock Q Revo
roborock.vacuum.a76 = Roborock G10S Auto

close #15020

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:05:02 +02:00
Marcel
bf1aa3deb2
[miio] Java style cleanup (#15610)
Introducing non-breaking improvements from #15520
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- multiline strings

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-19 22:53:50 +02:00
truidix
1a6cd3446f
[miio] Add support for Roborock Q Revo (#15358)
Signed-off-by: David Kumar <github@truidix.de>
2023-09-13 08:39:32 +02:00
Marcel
641b482551
[miio] Update device names list (#14193)
* [miio] maintenance - update device names list

Update the list with latest device names

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Update device names list

Update the list with latest device names used by some of the support
tools

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-13 07:53:58 +02:00
Holger Friedrich
edaf17b345
Java 17 features (H-M) (#15520)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-08 14:36:59 +02:00
Holger Friedrich
95ac2eb80b
Use SecureRandom instead of Random (#15459)
Make sure that SecureRadom is used whenever the random number
is used for cryptographic operations, e.g. as nonce/salt.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-20 21:29:37 +02:00
Kai Kreuzer
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
Holger Friedrich
a5c47aebee
Reduce SAT warnings (#15090)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-15 00:02:10 +02:00
Marcel
6784d22ab9
[miio] Update readme wrt unsupported devices (#14512)
* Rename channel names to better reflect purpose
* Update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-05-10 20:58:44 +02:00
mlobstein
6e2dddfe73
Declare connection for bindings G thru M (#14902)
* Declare connection for bindings G-M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 20:24:54 +02:00
J-N-K
d613641bbd
Adapt addons to core watch service changes (#14004)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 16:37:57 +01:00
J-N-K
89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Marcel
c24ec070bc
[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>
2023-01-07 11:19:12 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Marcel
d0d3005b34
[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)
Adding support for the following models:
* ROIDMI EVA (modelId: roidmi.vacuum.v66)

close #13813

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-31 17:15:16 +01:00
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Дилян Палаузов
ef836a15dc
typos: success, successful (#13997) 2022-12-18 14:18:24 +01:00
Jerome Luckenbach
0e68936663
[Documentation] Markdown improvements f to m (#13866)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-08 21:36:05 +01:00
Дилян Палаузов
2a5d6beb64
Typos a/an (#13846) 2022-12-05 18:47:43 +01:00
Marcel
224d86e88a
[miio] add support Xiaomi Smart Air Purifier 4 Compact (#13806)
* [miio] add support zhimi.airp.cpa4 WIP
* [miio] add support Xiaomi Smart Air Purifier 4 Compact

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Compact (modelId: zhimi.airp.cpa4)

Minor typo fixing (note: no breaking channel changes)

close: #13763

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-02 21:44:33 +01:00
Marcel
ac546dee0f
[miio] cloud login issues improvement (#13715)
* [miio] cloud login issues improvement

* Small change in debug loggin is login issues are expected
* Additional trouble shooting steps in readme
* Fix duplicate name in device list preventing readme maker running
* Catch a json exception in readme maker

close #13611
close #7459

* [miio] fix strange/foreign characters in readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-29 12:26:38 +01:00
Marcel
698bee7c3e
[miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5) (#13717)
* [miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5)

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-26 06:59:34 +01:00
Marcel
cf241f8b4f
[miio] Fix dimming channels for several yeelights (#13724)
The majority of brightness channels were already converted to dimmer.
This PR applies same to the 'other'brightness channels like nightlight
and/or ambient

close: #9936

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-16 13:26:26 +01:00
Marcel
162e1461b0
[miio] Fix warning messages and discovery on newer robots (#13111)
also includes update to latest devicenames list

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-06 10:03:51 +01:00
Leif Bladt
a5823d8df0
Add support for Dreame L10 Pro (#12803)
Signed-off-by: Leif Bladt <leif.bladt@gmx.de>
2022-11-05 13:10:08 +01:00
Michi
6024eb84f6
[miio] Update yeelink.light.light15.json (#13554)
* Update yeelink.light.light15.json

changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness"
same issue openhab#9936 (but already fixed)

Signed-off-by: Michi <michael.schmidts@online.de>
2022-10-30 20:41:13 +01:00
Dmitry
b6a2240270
[miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken (#13262)
* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  Custom refresh command for "battery" was defined . The device with "4.1.8_9999" firmware version does not allowed to obtain this information by this way which prevents to obtain other values. The solution should work for both old firmware (the battery information would be requested as before) and it does not prevent the device with new firmware from sending other values (I checked it).

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  The comment clarifying the "battery" parameter behavior was added.

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
2022-09-18 17:23:22 +02:00
Tiller
bb3be91981
[miio] adding support for ijai.vacuum.v19 : Xiaomi Vacuum Mop 2S (#12723)
Signed-off-by: Tiller <github.me@tiller.fr>
2022-08-14 23:00:21 +02:00
Kai Kreuzer
440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot
ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00