Commit Graph

262 Commits

Author SHA1 Message Date
Marcel
2d14d4f596
[miio] Add support for Xiaomi Robot Vacuum X20+ (#17902)
Adding support for the following models:
* Xiaomi Robot Vacuum X20+ (modelId: xiaomi.vacuum.c102gl)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-12-17 01:22:01 +01:00
Holger Friedrich
639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
openhab-bot
f80fd3d18c [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 13:46:58 +00:00
Andrew Fiddian-Green
388dc6bde3
Normalize thread names (2) (#17849)
* Normalize thread names

Signed-off-by: AndrewFG <software@whitebear.ch>
2024-12-05 22:32:29 +01:00
lsiepel
20b889c029
Markdown Documentation fixes (#17526)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-10 22:42:51 +02:00
lsiepel
1a42353cc9
Multiple binding markdown fixes (#17422)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-28 17:46:53 +02:00
Marcel
4001735bca
[miio] add Xiaomi Robot Vacuum X10 (dreame.vacuum.r2209) (#17427)
Adding support for the following models:
* Xiaomi Robot Vacuum X10 (modelId: dreame.vacuum.r2209)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-09-17 22:13:57 +02:00
Holger Friedrich
54fd13b0c1
Reduce SAT warnings (#17406)
* Reduce SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
Marcel
bcfddf1193
[miio] Fix parsing error clear record (#17350)
* [miio] Fix parsing error clear record

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-09-10 12:40:52 +02:00
lsiepel
71a208b91b
Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot
4b5e4646ac [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 18:09:31 +00:00
Marcel
b035bf3824
[miio] Add Yeelight W3 RGB (#16659)
* fix: Added Yeelight W3 RGB props

cherrypicked from #7717221

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

* [miio] update readme

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

Co-authored-by: Igor Svehla <igor@taxtris.com>
2024-04-17 18:54:27 +02:00
Marcel
7b690d6c89
[miio] add suppoprt Mijia Omni Robot Vacuum-Mop dreame.vacuum.p2114o (#16383)
* [miio] add suppoprt Mijia Omni Robot Vacuum-Mop dreame.vacuum.p2114o

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-04-17 18:51:13 +02:00
Marcel
1dc4c4f4db
[miio] add support for Xiaomi Smart Plug 2 cuco.plug.v2eur (#16381)
* [miio] add support for Xiaomi Smart Plug 2 cuco.plug.v2eur

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-04-17 10:35:40 +02:00
Rüdiger Sopp
23502fcb9b
[miio] Add Roborock S7/S7MaxV mop mode (#16608)
* [miio] Add Roborock S7/S7MaxV mop mode
Signed-off-by: Ruediger Sopp <ruediger.sopp@gmail.com>
2024-04-05 21:10:32 +02:00
Marcel
dd6d8c1bd2
[miio] Fix last cleaning details end missing (#16388)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-02-09 09:41:52 +01:00
Marcel
b36dc180d6
[miio] Fix emtpy command sending for feature channels (#16384)
closes #15994

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-02-08 23:11:57 +01:00
Marcel
8b2148e121
[miio] Fix date parsing issue last cleaning details (#16380)
https://community.openhab.org/t/miio-binding-roborock-s4max-no-longer-getting-last-cleaning-details/153260/3

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2024-02-06 20:33:32 +01:00
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