Marcel
d196dc2c92
[miio] Implement lumi devices support for gateways ( #11688 )
...
* [miio] Implement lumi devices support for gateways v3 WIP
Adding support for the following models:
* Aqara LED Light Bulb (Tunable White) (modelId: lumi.light.aqcn02)
* IKEA E27 white spectrum opal (modelId: ikea.light.led1545g12)
* IKEA E27 white spectrum clear (modelId: ikea.light.led1546g12)
* IKEA E14 white spectrum (modelId: ikea.light.led1536g5)
* IKEA GU10 white spectrum (modelId: ikea.light.led1537r6)
* IKEA E27 warm white (modelId: ikea.light.led1623g12)
* IKEA GU10 warm white (modelId: ikea.light.led1650r5)
* IKEA E14 warm white (modelId: ikea.light.led1649c5)
* Door lock (modelId: lumi.lock.v1)
* Aqara Door Lock (modelId: lumi.lock.aq1)
* Aqara Door Lock S2 (modelId: lumi.lock.acn02)
* Aqara Door lock S2 Pro (modelId: lumi.lock.acn03)
* Mi Smart Plug (Zigbee) (modelId: lumi.plug.mmeu01)
* Mi Temperature and Humidity Sensor (modelId: lumi.sensor_ht.v1)
* Mi Window and Door Sensor (modelId: lumi.sensor_magnet.v2)
* Mi Motion Sensor (modelId: lumi.sensor_motion.v2)
* Water Leak Sensor (modelId: lumi.sensor_wleak.aq1)
* Aqara Temperature and Humidity Sensor (modelId: lumi.weather.v1)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Work in progress support plug
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] cleanup, improve messages and initialization
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Cleanup to prepare for PR
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] add missing placeholder
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] resolve merge issue
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update readme after rebase
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Update from review comments and warnings/checkstyle cleanup
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update readme after merge and update json to updated format
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Improve online indication
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* reset
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Update readme
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update from review comments
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] feedback codereview
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-01-22 18:57:01 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 ( #11973 )
...
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Christoph Weitkamp
167f8ebc49
Avoid UnsupportedEncodingException & use const from StandardCharsets ( #11948 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 16:05:08 +01:00
Marcel
cc47ef7f3e
pom update from http to https reference ( #11833 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-23 19:40:44 +01:00
Kai Kreuzer
48746f5e3f
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot
6dc031e6cf
[unleash-maven-plugin] Preparation for next development cycle.
2021-12-20 00:30:46 +00:00
Marcel
00ced1d696
[miio] Cleanup devices section of readme ( #11788 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-16 20:08:41 +01:00
Marcel
40b3db468b
[miio] fix action channel miot for empty input with parameters ( #11794 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-16 09:03:42 +01:00
Marcel
f8a6522100
[miio] add BT Devices channel to chuangmi plug ( #11715 )
...
* [miio] add BT Devices channel to chuangmi plug
* Shows the bluetooth devices connected to the plug (plug as BT
gateway)
* Add refresh interval functionality to reduce load on device
* Change public to private for the private functions in conversions.
* Add test for new conversion
* Update miio.properties
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:21:20 +01:00
Marcel
ba58f96d33
[miio] Add support for Roidmi EVE roidmi.vacuum.v60 ( #11727 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:13:11 +01:00
Marcel
1e179e77d7
[miio] Improve Viomi vacuums, add docking and route channel & mapping ( #11763 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:10:51 +01:00
Marcel
b1bdcf7686
[miio] Fix zhimi.airpurifier.vb2 channel unit ( #11722 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-07 12:50:10 +01:00
Marcel
b6836b8ef9
[miio] Add support for new dreame vacuum models (p2027,p2028,p2059) ( #11669 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-05 11:23:40 +01:00
lolodomo
83f5f01267
[miio/ntp] Fix wrong "Date" channel category ( #11699 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-12-04 17:05:58 +01:00
Marcel
13bae622ac
[miio] Improve binding description ( #11690 )
...
* [miio] Improve binding description
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-04 16:36:05 +01:00
Marcel
2a9e264075
[miio] add support for Mi Smart Humidifer S (deerma.humidifier.jsqs) ( #11687 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-04 15:31:52 +01:00
Marcel
82ac5ee2d9
[miio] i18n translation handling for basic channels ( #11576 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-02 09:08:17 +01:00
Marcel
c6798ea4fa
[miio] add support for BT Gateway switch on chuangmi.plug.212a01 ( #11657 )
...
* [miio] add support for BT Gateway switch on chuangmi.plug.212a01
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] improve conversion & add test for it
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] add one empty string test
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] remove unnessesary exceptions
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] add one more test for different inputs
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] typo
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 12:34:09 +01:00
Marcel
f8d8f9a9fe
[miio] Add support Mi Fresh Air Ventilator C1-80 zhimi.airfresh.ua1 ( #11579 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 11:00:19 +01:00
Marcel
497cffb084
[miio] fix Error parsing miot data null for new miot devices ( #11658 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 10:57:58 +01:00
Marcel
bea7197ede
[miio] add missing vacuum status codes ( #11659 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 00:29:40 +01:00
Marcel
58f40a5c73
[miio] add support Mi Smart Humidifier deerma.humidifier.jsq5 ( #11577 )
...
https://community.openhab.org/t/mi-smart-antibacterial-humidifier-not-recognized/127562
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-20 12:34:00 +01:00
Marcel
bd49ad40b1
[miio] Move (remaining) channel details to json files ( #11568 )
...
Move remaining channel details to the respective channels to simplify
and avoid mistakes/errors.
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-20 12:32:10 +01:00
Marcel
4d8c6b304b
[miio] support sending openclose commands ( #11581 )
...
* [miio] support sending openclose commands
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix contact sending
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] switch
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-14 13:40:05 +01:00
Marcel
40d8e1c175
[miio] Initial i18n properties file for Xiaomi miio binding ( #11563 )
...
* [miio] Initial i18n properties file
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] add status msg to i18n
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-11 23:10:47 +01:00
Marcel
7861a9c8f4
[miio] Add support 3 yeelights ( #11492 )
...
Add support for
yeelink.light.mono6 - Mi Smart LED Bulb
yeelink.light.monoa - Yeelight LED smart bulb W3(dimmable)
yeelink.light.monob - Yeelight GU10 Smart Bulb W1(dimmable)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-04 09:07:45 +01:00
Marcel
b73bf672ab
[miio] Support contact type in basic channel json ( #11477 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-31 12:42:32 +01:00
Marcel
8b1eabe166
[miio] sending device in MiIoSendCommand ( #11475 )
...
* [miio] sending device in MiIoSendCommand
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] spotless reformatting
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-31 12:41:40 +01:00
Marcel
306b3c4853
[miio] Save last msgId and misc minor updates ( #11464 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-30 18:07:47 +02:00
Marcel
ad54da1638
[miio] force start cloudconnector after credentials are updated ( #11459 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-30 08:50:43 +02:00
Marcel
dfc9a5cb92
[miio] Avoid excessive MessageSenderThread ( #11455 )
...
* [miio] Avoid excessive MessageSenderThread
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-27 21:18:54 +02:00
Marcel
3eb5e566df
[miio] avoid NPE in discovery in case of unexpected response cloud ( #11420 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-22 08:49:45 +02:00
Marcel
2fb86d7138
[miio] Automatic create experimental support for (unsupported) miot devices ( #11149 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-19 22:01:22 +02:00
Marcel
357d699cdd
[miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2) ( #11164 )
...
* [miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2)
Add support for
* Smartmi Fresh Air System (zhimi.airfresh.va4)
* Smartmi Fresh Air System (zhimi.airfresh.va2)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix 2 commands and add some formatting
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix copy paste error
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] airfresh channelnames
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] merge & count devices
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-14 16:57:57 +02:00
Marcel
f0df1a45cc
[miio] Add support for Yeelight Jade Smart LED Ceiling Light ( #11241 )
...
Add support for yeelink.light.ceil26 - Yeelight Jade Smart LED Ceiling
Light C2001
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-13 19:54:35 +02:00
Marcel
31cde42da5
[miio] Avoid shutting down shared executor service ( #11166 )
...
* [miio] Avoid shutting down shared executor service
* Closing #11152
* Better identify communication threads
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-08 22:13:32 +02:00
Marcel
fac7edc270
[miio] add support for mi airfryers (careli.fryer.maf01,2&3) ( #11142 )
...
Also includes update of models names db
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-29 22:17:43 +02:00
Marcel
492682c5cf
[miio] improve readme: restructure & map customizing feature ( #11143 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-29 20:18:31 +02:00
Marcel
62f169d649
[miio] map improvement cropping and customizable colors/parameters ( #11110 )
...
* [miio] make robo map drawing customizable
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Add cropping possibility for vacuum map
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* miio minor edit
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-16 14:03:33 +02:00
Marcel
0d286e7a89
[miio] improve/add properties for qmi powerstrip ( #11118 )
...
improve mija vacuum channels
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-16 14:02:09 +02:00
Marcel
9f09db1f18
[miio] add support for Mi Smart Standing Fan 2 (dmaker.fan.p18) ( #11106 )
...
closing #11053
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-14 13:40:36 +02:00
Marcel
8dbe57947d
[miio] add moppath & carpet area to robomap ( #11097 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-11 11:56:09 +02:00
Marcel
aac28589e7
[miio] Minor improvement documentation & deviceId update message ( #11046 )
...
* [miio] Minor improvement documentation & message
* [miio] minor cleanup from sat
* miio] fix another minor datetimeformat SAT issue
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-24 21:21:14 +02:00
Marcel
5671f09900
[miio] Improve yeelight RGB with brightness, introduce substitutions ( #10984 )
...
* [miio] add deviceId and timestamp substitutions
This will allow to send right commands for gateway and lumi devices
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update brightness in yeelight RGB channel
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Use generic way to call the asyncCommunication module
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Fix mapping yeelight
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Improve Yeelight colormode mapping
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] yeelight fix unit for delayed off
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-17 22:32:13 +02:00
Marcel
072a6045c2
[miio] add new custom refresh methods ( #10957 )
...
* Improve matching the command responses to the sending channel
* Use newer method to get device list using `device_list_page`
* Adding the ability to send custom requests to cloud
* Adding the ability to send custom commands with additional elements in
the json
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:55:16 +02:00
Marcel
c0ab022e4e
[miio] fix color lights sending numbers as strings ( #10960 )
...
* [miio] fix color lights sending numbers as strings
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:53:49 +02:00
Marcel
7d2db98662
[miio] change deviceID to Xiaomi used string ( #10951 )
...
* [miio] change deviceID to Xiaomi used string
Change the deviceId from the current hexadecimal to the string used by
Xiaomi.
This is needed as we have some devices that have deviceIds that are
non-numeric, hence breaking the current logic.
Note: separately removing the upnp discovery as this has become
irrelevant with cloud discovery and devices supporting the udp regular
discovery.
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-06 19:42:42 +02:00
Kai Kreuzer
bebab9ce29
applied spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256
[unleash-maven-plugin] Preparation for next development cycle.
2021-06-27 17:35:01 +00:00
Marcel
809e53d3af
[miio] Add support gateway lumi.gateway.mieu01 ( #10893 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-21 22:07:17 +02:00