Commit Graph

83 Commits

Author SHA1 Message Date
Wouter Born
d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Marcel
03dd4d491f
[miio] Update many channels with tags, categories & QuantityTypes (#9384)
* [miio] Update many channels with tags, categories & QuantityTypes
* [miio] remove unit from dimmers
* [miio] fix readme mappings for channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-27 21:25:15 -08:00
Marcel
0874df702c
[miio] suggest correct devicenames in readmehelper (#9379)
* [miio] suggest correct devicenames in readmehelper
* add newline at file end to make git happy
* [miio] update logic for mapping in readmeComments
* Allow readme maker to fix mappings based on the current options.
* [miio] make readmeOptionMapping static

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-26 17:04:14 -08:00
Marcel
f88225113b
[miio] Add support for xiaomi.airconditions c/ma/mc/mh/mt modesl (#9380)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-22 13:49:54 -08:00
Marcel
09b1037ea1
[miio] change vacuum segment channel from undef to - (#9371)
To support alexa integration.
closing #9172

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-22 13:49:26 -08:00
Wouter Born
ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles (#9459)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 10:37:44 +01:00
jenkins
e4554f4aa6 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 10:36:42 +00:00
Matthew Skinner
ea3446f50e
[All addons] Review all readme.md files for V3 changes. (#9439)
Signed-off-by: Matthew Skinner <matt@pcmus.com>

* modbus.e3dc: newlines added and remove broken anchor.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* modbus.stie..:remove multiple newlines.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* modbus.sunspec: remove multiple newlines.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Nanoleaf: remove PaperUI.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Neato: Remove openhab 2


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Nibe: remove PaperUI.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* NibeUplink: Remove PaperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Niko: Remove PaperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Nuki: Remove Paper UI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* OneWire: Remove multiple newlines.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* OpenUV: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* OpenWebNet: Remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Pentair: remove openhab2 path


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix typo


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* RFXCOM: remove PaperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Russound: Remove PaperUI.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Samsung: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Siemens: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Samsung Smartthings: remove openhab 2 mention.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Somfy myLink: remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Somfy Tahoma: remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Sonos: Remove paperui ref


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Spotify: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Tankerkönig: remove java8 and paperUI references.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Tellstick: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Tibber: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Velbus: remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Vitotronic: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* VolvoOnCall: remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* WiFi LED: remove paperui


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* WlanThermo: remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* XmlTV: remove openhab2 path


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Z-Way: Remove paperUI


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Update bundles/org.openhab.binding.nanoleaf/README.md

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* MagentaTV: Fix typo

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* MagentaTV: Change to userId


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-20 14:43:48 +01:00
Mark Hilbush
74bdcb6e85
[miio] Check for null properties (#9408)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-17 17:41:28 -08:00
Marcel
a7009101ba
[miio] fix readme mapping string (#9409)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-17 14:07:54 -08:00
Marcel
3cdc6a8f24
[miio] fix wrong mappings in readme (#9402)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-17 08:33:13 -08:00
Marcel
4b5b6f8f8f
[miio] fix annotation for mibasicChannel (#9396)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-16 11:04:03 -08:00
Marcel
d287062acf
[miio] improve unsupported handler (#9370)
Some devices respond differently to unknown parameters

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-13 11:17:16 -08:00
J-N-K
086a046b61
fix console command documentation (#9355)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-13 09:19:51 +01:00
Marcel
12e5e38cb0
[miio] add support for huayi Fans, heater and lights (#9348)
* [miio] add support for huayi Fans, heater and lights
* [miio] incl right names

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-12 15:29:39 -08:00
Marcel
5bfc8940f4
[miio] Elimate several SAT warnings (#9289)
* [miio] eliminate warnings from mapdraw
* [miio] clean warnings from basic handler
* [miio] avoid apache commons warning in utils
* [miio] eliminate warnings from micloudconnector

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-12 15:27:54 -08:00
Marcel
6b3490fc57
[miio] improve yeelight json (#9338)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-12 11:58:18 -08:00
Marcel
7380b45811
[miio] add support for basic huayi lights (#9316)
* [miio] add support for basic huayi lights

also remove some double spaces in json files
* miio update devicenames

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-11 10:24:44 -08:00
Marcel
e9e8207345
[miio] extend units for miot types (#9318)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-11 10:20:41 -08:00
Marcel
6fe75cb288
[miio] only change the name if it is the default one (#9312)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-09 14:23:18 -08:00
Marcel
3eda5ebbc9
[miio] add support for Yeelight Dual Control Module (yeelink.switch.sw1) (#9295)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-08 10:03:25 -08:00
Marcel
82976235bc
[miio] improve dreame vacuum support (#9272)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-07 14:58:22 -08:00
Marcel
84703631fc
[miio] add support dreame 9 (dreame.vacuum.p2008) (#9278)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-07 09:14:56 -08:00
Wouter Born
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01:00
Marcel
ab3dcba5dc
[miio] channels removal (#9237)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-06 22:18:53 -08:00
Marcel
0cde89c327
[miio] update json files to new definition (#9239)
* Update some of the miot files to the new definition
* Apply units,category & tags for some channels
* apply standard sorting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-05 12:59:48 -08:00
Marcel
05b7bbdccf
[miio] Add discovery from cloud feature. (#9176)
* [miio] Add discovery from cloud feature.

This allows to discover things that are not directly on the same subnet

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 21:26:44 -08:00
Marcel
2597ff20d4
[miio] dynamically generate channelTypes (#9158)
* [miio] dynamically generate channelTypes

Simplify the json database creation for new models and less chance for
errors
Related to #7276

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 13:01:18 -08:00
Marcel
35528eda3b
[miio] Implement alternative MiIoQuantityTypes (#9203)
* [miio] Implement alternative MiIoQuantityTypes

* Improved way avoiding multiple entries for Unit
* Test cases for the MiIoQuantityTypes class
* Apply suggestions from code review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 09:37:49 -08:00
Marcel
707d840c73
[miio] Channel Updates to Quantitypes (#9196)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-02 09:25:25 -08:00
Marcel
852f19f5c2
[miio] Update channels only if they are linked (#9163)
* [miio] Update channels only if they are linked

With introduction of miot devices with enormous amount of channels
refreshes can become slow. With this change only relevant updates are
done.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-28 21:03:44 -08:00
Marcel
ad202edefa
[miio] Cloud Communication for devices (#8981)
* [miio]  Cloud Communication for devices

Allows to define if communication to devices is direct or send via the
Xiaomi cloud.
Introduce additional channel to execute commands via cloud.

Other small improvements
* Use common method from abstract handler to send commands
* Common way to handle custom commands
* Introduce small delay before refreshing robot properties after sending
commands (similar to the basic handler) so devices have time to update
their properties

* [miio] simplify cloudconnector
* [miio] Cleanup all jobs when unloading
* [miio] update to use dedicated ScheduledExecutorService

Use dedicated ScheduledExecutorService to avoid unloading problems

* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java
* [miio] fix for removeif
* miio- Improve scheduler
* [miio] fix communication error if device is not on the network
* [miio] update with comments from feedback

* remove scheduler tracking
* improve status setting for cloud communication
* [miio] update with feedback review

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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2020-11-28 20:03:12 -08:00
Marcel
d646215288
[miio] update for vacuum.e2 (#9139)
* [miio] update for vacuum.e2

small update now critical commands are confirmed working.

* [miio] update readme

as dock command is now also confirmed

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-26 16:04:46 -08:00
Marcel
8040a710fd
[miio] update line endings for readme maker (#9142)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-26 14:53:55 -08:00
Marek Skrobacki
0a9ea9fd45
[miio] add support for zhimi.humidifier.ca4 (Smartmi Evaporative Air Humidifier 2) (#9093)
* miio: add support for zhimi.humidifier.ca4

This change adds support for Xiaomi Smartmi Evaporation Air Humidifier 2.

The device uses MIOT protocol, exact spec is available at:

http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:humidifier:0000A00E:zhimi-ca4:2

Signed-off-by: Marek Skrobacki <skrobul@skrobul.com>
2020-11-26 14:32:39 -08:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Marcel
158cbe0c65
[miio] Use QuantityTypes for time & area in the vacuumhandler (#9058)
closes #7752

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 16:23:23 -08:00
Marcel
d41927c703
[miio] Add support zhimi.heater.zb1 & zhimi.heater.za2 (#9055)
* [miio] Add support zhimi.heater.zb1 & zhimi.heater.za2
* [miio] capitalize channel labels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 16:16:36 -08:00
Marcel
d86edfe32b
[miio] send miot actions parameter as jsonObject (#9056)
* [miio] send miot actions parameter as jsonObject
* [miio] avoid maven error

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 12:32:52 -08:00
Marcel
2930e431ad
[miio] Fix readme for line breaks inside table cell (#9052)
* [miio] Fix readme for line breaks inside table cell
* [miio] improve readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 10:46:20 -08:00
Marcel
d6d68c7a96
[miio] update readme (#9014)
* [miio] update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-16 12:26:50 -08:00
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