Commit Graph

192 Commits

Author SHA1 Message Date
Marcel
1e5aaf948c
[miio] add support for lumi.curtain.hagl05 Xiaomi youpin Curtain Controller (Wi-Fi) (#9017)
* [miio] add support for lumi.curtain.hagl05
* [miio] improve channel description
* [miio] improved mapping for curtain hagl05
* [miio] fix channelTypes

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-15 17:19:00 -08:00
Marcel
406b7e4392
[miio] Add support for mijia.vacuum.v2 (#9036)
* [miio] Add support for mijia.vacuum.v2

related issue #9005
* [miio] fix channelTypes based on review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-15 17:17:59 -08:00
Marcel
02341d3536
[miio] Use generic channeltypes if none provided (#8999)
To prevent channels not showing up in OH3 main UI

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-13 15:09:39 -08:00
Marcel
13a37f0c8c
[miio] add support for scishare smart capsule coffee machine s1102 (#9015)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-13 14:48:15 -08:00
J-N-K
ba4c96d99d
[infrastructure] move infered nullness warnings to error and update EEA (#8949)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-12 21:07:11 +01:00
Marcel
258f709ab8
[miio] Add zhimi.fan.za1 (#8998)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-11 11:28:39 -08:00
Marcel
918408eac1
[miio] Allow for quantity Type (#8756)
* [miio] Allow for quantity Type in the basic handler

This extends the miio:basic handler with the option to define channels
with QuantityType e.g. to use number:temperature

* [miio] add missing breaks

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-09 08:39:50 -08:00
Marcel
9f22e64ffd
[miio] update readme with db location details (#8987)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-08 19:17:13 -08:00
Marcel
71566e47af
[miio] add poweroff properties to zhimi powerstrip (#8899)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-01 14:32:56 -08:00
Marcel
15312d33f2
[miio] update readme with Roborock app info (#8935)
As per  https://community.openhab.org/t/xiaomi-robot-vacuum-binding/31317/1729

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-01 21:30:43 +01:00
Marcel
b4bc6d7e77
[miio] remove unneeded debug msg (#8919)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-01 00:17:40 -07:00
J-N-K
bd664ff0c8
[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-10-31 00:29:03 +01:00
Marcel
9a5832a2ee
[miio] Fix handling commands with curly brackets (#8897)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-29 23:24:20 -07:00
Marcel
472c0fd960
[miio] avoid Invalid URI host: null error (#8867)
* [miio] avoid Invalid URI host: null error

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-27 16:08:13 +01:00
Marcel
788ca22724
[miio] delay refresh to avoid devices not ready yet (#8838)
* [miio] delay refresh to avoid devices not ready yet

Delay refresh after command is send as some devices are not ready yet
with the execution and will report wrong status.
This is confusing to the users.

Related forum topic:
https://community.openhab.org/t/xiaomi-mi-air-purifier-xiaomi-mi-io/34840/300

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

* [miio] remove change from PR
2020-10-23 18:45:03 -07:00
Marcel
df261980c8
[miio] add FAQ to readme (#8837)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-22 15:27:35 -07:00
Marcel
8606f57b56
[miio] cleanup duplicate paths (#8835)
Use the path defined in the binding constants

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-22 18:13:08 +02:00
Marcel
49580b59bb
[miio] Add temperature value to chuangmi.plug.v1 (#8832)
Based on: https://github.com/marcelrv/openhab2/pull/12

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-22 18:06:57 +02:00
Marcel
ed6d68ffd7
[miio] add new country server and improve readme (#8816)
* [miio] add new country server and improve readme
* [miio] apply spotless

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-21 14:14:14 -07:00
Marcel
998d11455c
[miio] Allow for custom refresh commands (#8796)
* [miio] Allow for custom refresh commands

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-21 14:01:22 -07:00
Marcel
71fd87c5c9
[miio] add suppport for Mr Bond M1 pro Smart Clothes Dryer (#8749)
Add support for following types
"mrbond.airer.m1s",
"mrbond.airer.m1pro",
"mrbond.airer.m1super"

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-16 10:01:23 -07:00
Marcel
aef1d10f40
[miio] Add Zhimi Heater za1 (#8743)
add model zhimi.heater.za1

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-14 13:59:38 -07:00
Marcel
2913018e4a
[miio] add several Philips lights (#8736)
Add following models:
philips.light.sread2
philips.light.cbulb
philips.light.cbulbs
philips.light.dcolor
philips.light.rwread

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-11 18:18:43 -07:00
Marcel
343981fc12
[miio] add chungmi plug (#8728)
add
chuangmi.plug.hmi206
chuangmi.plug.hmi208

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-11 11:58:09 -07:00
Marcel
a5657bb5d9
[miio] eliminate warning org.apache.commons.io.FileUtils in readmemaker (#8718)
* [miio] eliminate warning org.apache.commons.io.FileUtils in readmemaker

Eliminate
[WARNING] org.openhab.binding.miio.internal.ReadmeHelper.java:[25]
The package org.apache.commons.io.FileUtils should not be used.

* [miio] add StandardCharsets.UTF_8 to file readwrite

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-10 19:24:06 -07:00
Marcel
aa98737e9f
[miio] Improved unsupported handler that build experimental support (#8716)
* [miio] Improved unsupported handler that build experimental support

New unsupported handler that tries to find channels for unsupported
devices and creates experimental database file for it.

* [miio] logger fixes

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-10 11:03:33 -07:00
Marcel
bf72bd2ce3
[miio] Miio philips miot lights (#8699)
* [miio] add Philips miot ceiling lights

adding models
philips.light.dlight
philips.light.mceil
philips.light.mceilm
philips.light.mceils
philips.light.obceil
philips.light.obceim
philips.light.obceis
philips.light.xzceil
philips.light.xzceim
philips.light.xzceis
philips.light.sceil
philips.light.sceilm
philips.light.sceils

* [miio] change name downlight

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-08 20:14:51 -07:00
Marcel
435c78ef8c
[miio] Add several Philips ceiling lights (#8681)
Adding
philips.light.bceiling1
philips.light.bceiling2
philips.light.lnblight1
philips.light.lnblight2
philips.light.lnlrlight
philips.light.lrceiling

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-07 14:39:27 -07:00
Marcel
782a4210a4
[miio] allow for device remarks in the readme from json db (#8676)
* [miio] allow for device remarks in the readme from json db
* Update bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java

Signed-off-by: Marcel Verpaalen marcel@verpaalen.com
2020-10-06 15:04:36 -07:00
Marcel
3403216154
[miio] add several xjx.toiletseats (#8677)
* [miio] add several xjx.toiletseats

To enjoy your quiet moment with Openhab...

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-06 12:55:44 -07:00
Marcel
43be10c204
[miio] onoffpara commandtype fix (#8675)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-06 12:45:10 -07:00
Marcel
a980dbfb4d
[miio] Add many new Yeelights models (#8668)
* [miio] Add many new Yeelights models

closing #8082
* [miio] update doc

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-05 10:35:00 -07:00
Marcel
a857592f07
[miio] allow for comments to channels in json db (#8666)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-04 16:56:36 -07:00
Marcel
7b2d184676
[miio] add yunmi waterpurifiers (#8665)
* Add several new models waterpurifiers
* Add many new properties

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-04 15:29:53 -07:00
Marcel
9c6c80d41f
[miio] add new map elements (#8637)
* [miio] add new map elements

Add newly found mapelements for obstacles

Signed-off-by: Marcel Verpaalen marcel@verpaalen.com
2020-10-04 09:35:59 -07:00
Marcel
e6dfd0c946
[miio] enable telnet for lumi gateway (#8639)
* [miio] enable telnet for lumi gateway

* allow enable telnet and some other functions on gateway
* use new fw as default for chugmi plug

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-10-04 09:31:56 -07:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00
Marcel
d716d03787
[miio] avoid IndexOutOfBoundsException exception (#8587)
In case of the parameters & response are not equal avoid the
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-09-27 23:14:04 +02:00
Wouter Born
0c11a21d90
Fix ConfigConstants deprecations (#8525)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:57:04 +02:00
Wouter Born
7f39d01a0f
Remove/ignore Eclipse project files (#8529)
Fixes #8451

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +02:00
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 18:21:26 +02:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00