Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update fork #1

Merged
merged 52 commits into from
Apr 13, 2020
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c03217d
[bluetooth] Fix for AM43 and Airthings devices not being discovered. …
cpmeister Apr 1, 2020
0f863af
Fixing docs from ipAddress to host (#7267)
oybed Apr 1, 2020
1c4d85a
[checkstyle] Treat packages containing .dto. the same way as java cla…
seime Apr 1, 2020
dcf07de
[rfxcom] EOF fix (#7272)
paulianttila Apr 2, 2020
552b54b
[insteon] add console commands to help with troubleshooting (#7251)
robnielsen Apr 3, 2020
5cef8d3
[Jeelink] Declaration of Bridges in Items Files (#7268)
dsgrafiniert Apr 3, 2020
a58ffb4
[gardena] Adapt to the official wording (#7277)
rettichschnidi Apr 3, 2020
c1e6d5a
[etherrain] EtherRain Binding initial contribution (#5634)
dfad1469 Apr 3, 2020
2102cb0
Fix errors and changes after importing add-ons in Eclipse (#7270)
wborn Apr 3, 2020
d8c7e00
[miio] adding new devices (#7273)
marcelrv Apr 3, 2020
286f4b6
[bluetooth] Refactor and unify BluetoothAdapter implementation logic …
cpmeister Apr 4, 2020
6b95a8b
[fronius] Add new channels and fix documentation (#7247)
hypetsch Apr 4, 2020
cf962f2
Use diamond operator and loose coupling (#7280)
wborn Apr 4, 2020
3d9a35d
[marytts] Fix java.lang.NoClassDefFoundError: Jama/Matrix (#7284)
wborn Apr 4, 2020
dbc0144
[boschindigo] Fix dependency version for indego library (#7288)
J-N-K Apr 4, 2020
660b858
Fix trivial SAT findings (#7290)
wborn Apr 4, 2020
9a16309
[doorbird] Minor Documentation updates (#7293)
mhilbush Apr 4, 2020
dcfab82
Increase timeout to account for slower machines. (#7287)
cpmeister Apr 4, 2020
09b4416
[tradfri] Add missing representation property 'host' in in gateway de…
seime Apr 5, 2020
a985e07
Fix SAT NoEmptyLineSeparatorCheck findings (#7296)
wborn Apr 5, 2020
e9f3b7c
[mihome] Update README.md (#7281)
Terr4 Apr 5, 2020
1ededc4
[pjlink] enhanced logging (show byte array in addition to string) (#7…
nils Apr 5, 2020
02c1bcb
[mail] Correctly named STARTTLS and a few small improvements (#7292)
kaikreuzer Apr 5, 2020
3b49fb9
[satel] Action for reading the event log added (#7282)
druciak Apr 5, 2020
669ec98
[lgwebos] Fix initialize and dispose (#7301)
lolodomo Apr 5, 2020
2f2736b
[hueemulation] Fix broken fallback address (#7305)
wborn Apr 5, 2020
0ef20dc
[sagercaster] Sager Weather Caster Binding initial contribution (#4754)
clinique Apr 5, 2020
4d6ba4c
[lgwebos] Ignore power off command when the TV is already off (#7300)
lolodomo Apr 5, 2020
46c6cab
[lgwebos] Update the thing configuration only if the key is different…
lolodomo Apr 5, 2020
b891413
[insteon] Add support for Beep and LED on/off features to various mod…
tommycw1 Apr 5, 2020
233f516
Use .isEmpty() instead of counting elements with .size() (#7307)
wborn Apr 5, 2020
5673628
[nikohomecontrol] Small README updates. (#7311)
mherwege Apr 6, 2020
45cf759
[nikohomecontrol] Removed dead code (#7314)
mherwege Apr 6, 2020
bb95861
Update maintainers team in CODEOWNERS (#7317)
wborn Apr 7, 2020
cc61af2
[miio] Add Xiaomi cloud logon (token download) and map download (#7255)
marcelrv Apr 7, 2020
e2279f2
Add null annotations to MarketplaceRuleTemplateProvider (#7319)
wborn Apr 7, 2020
415f6b6
[neohub] bug fix for new hub firmware (#7323)
andrewfg Apr 8, 2020
051f3e4
[chromecast] Update API lib to 0.11.3 (#7327)
wborn Apr 9, 2020
4b714d4
[wemo] Fix InboxFilterCriteria deprecation (#7329)
wborn Apr 9, 2020
efab78f
[nikohomecontrol] Small README update. (#7330)
Dries-Vandenneucker Apr 9, 2020
5d01bb7
[nikohomecontrol] Small README update. (#7331)
Dries-Vandenneucker Apr 9, 2020
8a99893
[lgwebos] Avoid thing updates when the thing handler is already dispo…
lolodomo Apr 10, 2020
9527486
[openweathermap] Added apparent temperature channel (#7335)
cweitkamp Apr 11, 2020
9267183
[daikin] Support AUTO fan mode with Airbase (#7340)
jimtng Apr 11, 2020
b091ac6
[daikin] Update doc to include fandir channel previously omitted (#7341)
jimtng Apr 11, 2020
66354b7
[insteon] Improved support for 2334 Keypad Dimmer and 2487S Keypad Sw…
tommycw1 Apr 12, 2020
715322a
[dwdpollenflug] Initial Contribution (#7298)
DerOetzi Apr 12, 2020
b19b0b2
[miio] change brightness for Philips bulbs (#7349)
marcelrv Apr 13, 2020
83eabef
[homematic] Replaced deprecated constructors and use builders (#7352)
MHerbst Apr 13, 2020
7ba2503
[insteon] Improve hub message processing (#7347)
jsetton Apr 13, 2020
850c2c2
[weathercompany] Fix language in thing example (#7357)
mhilbush Apr 13, 2020
b59f3cf
[extensionservice] Add more null annotations (#7348)
wborn Apr 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[miio] change brightness for Philips bulbs (openhab#7349)
* [miio] change brightness for Philips bulbs

add s6 vacuum

* [miio] fix Philips light
* [miio] remove non existent type
* [miio] update philips lights

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
  • Loading branch information
marcelrv authored Apr 13, 2020
commit b19b0b204aa2ae2ba11348589d717af5ca4b9382
109 changes: 45 additions & 64 deletions bundles/org.openhab.binding.miio/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -120,6 +120,7 @@ public enum MiIoDevices {
VACUUMST7PV3("roborock.vacuum.t7pv3", "Roborock Vacuum T7 v3", THING_TYPE_VACUUM),
VACUUMS5MAX("roborock.vacuum.s5e", "Roborock Vacuum S5 Max", THING_TYPE_VACUUM),
VACUUMSS6("rockrobo.vacuum.s6", "Roborock Vacuum S6", THING_TYPE_VACUUM),
VACUUMSS62("roborock.vacuum.s6", "Roborock Vacuum S6", THING_TYPE_VACUUM),
VACUUME2("roborock.vacuum.e2", "Rockrobo Xiaowa Vacuum v2", THING_TYPE_UNSUPPORTED),
VACUUME_V6("viomi.vacuum.v6", "Xiaomi Mijia vacuum V-RVCLM21B", THING_TYPE_UNSUPPORTED),
VACUUME_V7("viomi.vacuum.v7", "Xiaomi Mijia vacuum STYJ02YM", THING_TYPE_UNSUPPORTED),
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@
import org.eclipse.smarthome.core.library.types.DecimalType;
import org.eclipse.smarthome.core.library.types.HSBType;
import org.eclipse.smarthome.core.library.types.OnOffType;
import org.eclipse.smarthome.core.library.types.PercentType;
import org.eclipse.smarthome.core.library.types.StringType;
import org.eclipse.smarthome.core.thing.Channel;
import org.eclipse.smarthome.core.thing.ChannelUID;
@@ -404,6 +405,9 @@ private void updateChannel(@Nullable MiIoBasicChannel basicChannel, String param
case "number":
updateState(basicChannel.getChannel(), new DecimalType(val.getAsBigDecimal()));
break;
case "dimmer":
updateState(basicChannel.getChannel(), new PercentType(val.getAsBigDecimal()));
break;
case "string":
updateState(basicChannel.getChannel(), new StringType(val.getAsString()));
break;
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"id": [
"philips.light.bulb",
"philips.light.downlight",
"philips.light.mono1",
"philips.light.virtual",
"philips.light.zysread",
"philips.light.zystrip"
@@ -27,7 +26,7 @@
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@@ -41,7 +40,7 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@@ -105,20 +104,6 @@
"parameterType": "NUMBER"
}
]
},
{
"property": "",
"friendlyName": "Toggle",
"channel": "toggle",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",
"actions": [
{
"command": "toggle",
"parameterType": "EMPTY"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@@ -37,7 +37,7 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@@ -37,7 +37,7 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"deviceMapping": {
"id": [
"philips.light.mono1"
],
"channels": [
{
"property": "power",
"friendlyName": "Power",
"channel": "power",
"type": "Switch",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_power",
"parameterType": "ONOFF"
}
]
},
{
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "set_bright",
"parameterType": "NUMBER"
}
]
},
{
"property": "scene_num",
"friendlyName": "Scene",
"channel": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "set_user_scene",
"parameterType": "NUMBER"
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@@ -36,7 +36,7 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
"property": "bright",
"friendlyName": "Brightness",
"channel": "brightness",
"type": "Number",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
"actions": [