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

update fork #1

merged 52 commits into from
Apr 13, 2020

Conversation

mlobstein
Copy link
Owner

update fork

cpmeister and others added 30 commits April 1, 2020 20:05
…7253)

* Added AM43 and Airthings projects to bluetooth footer.xml
* Updated AM43 readme to include link to product page.

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
Signed-off-by: Øystein Bedin <oybed78@gmail.com>
…sses ending in DTO (#7257)

* Treat packages containing .dto. the same way as java classes ending in DTO

Signed-off-by: Arne Seime <arne.seime@gmail.com>
Fixes #5579

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
Signed-off-by: Dominik Schön <dominik@familie-schoen.com>
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
Signed-off-by: Joe Inkenbrandt <joe@inkenbrandt.com>
* Fix errors and changes after importing add-ons in Eclipse

* Add missing Eclipse project/classpath files
* Fix null analysis errors showing in Eclipse
* Remove ignored Eclipse .settings files
* Fix Eclipse linuxinput project name

With these changes there are no unstaged changes and only one error showing in FileTailer (#5442) after importing the add-ons in Eclipse.

Signed-off-by: Wouter Born <github@maindrain.net>
Adding several new devices. including:
yeelink.light.color4 #7016
Mi Home PTX Wall Switches (090615.switch.xswitch03) #7000
Xiaomi Ceiling Lamp (yeelink.light.ceiling11) #6787
Additional sensors and information in zhimi.airpurifier.v7 #5760

fix formatting and channel
correct Shutdowm typo

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

* Refactor and unify BluetoothAdapter implementation logic

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
* Added status code and error code channel
* Fix documentation

Signed-off-by: Peter Schraffl <p.schraffl@gmx.at>
Uses the diamond operator where ever possible.
Also fixes many tight coupling issues by using interfaces instead of actual implementations.

Fix bug in XiaomiBridgeSocket.setupSocket
Add instructions for formatter

Signed-off-by: Wouter Born <github@maindrain.net>
It throws the exception for example using:

smarthome:voice say "washer is done. dryer is done."

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
* Fix SAT findings: ModifierOrderCheck, NewlineAtEndOfFileCheck, SimplifyBooleanExpressions, UnusedImportsCheck

Fixes the following findings:

* ModifierOrderCheck
* NewlineAtEndOfFileCheck
* SimplifyBooleanExpressions
* UnusedImportsCheck
* Fix Java 8 build

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
…finition (#7297)

- Add missing representation property 'host' in in gateway definition

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Fix SAT NoEmptyLineSeparatorCheck findings
* Fix sloppy coding and fragile comment

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Stefan Schmidhammer <byteterra@hotmail.com>
)

* enhanced logging (show byte array in addition to string)
* mention the type of status that could not be understood
* performance considerations for logging

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
* Correctly name STARTTLS and a few small improvements

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Krzysztof Goworek <krzysztof.goworek@gmail.com>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
With the changes in #6967 the HueEmulationServiceOSGiTest always fails for me.
The reason is that if the discoveryIps are not configured, it is no longer guaranteed it will use the primary IPv4 host address as fallback.
In my case the iterator on the HashSet would return an IPv6 address as first address.
By using a LinkedHashSet the order is preserved and it will again use the primary IPv4 host address as fallback.

Signed-off-by: Wouter Born <github@maindrain.net>
* First commit of v2 SagerCaster Binding

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* [lgwebos] Ignore power off command when the TV is already off

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…#7302)

* [lgwebos] Update the thing configuration only if the key is different

Avoid concurrent edit of thing configuration/properties

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…ules (#7295)

* Add support for Beep and LED on/off features to Dimmer Modules(2457D2), On/Off Modules(2635-222), and On/Off Outdoor Modules(2634-222)

Signed-off-by: Tom Weichmann <tommycw10@gmail.com>
wborn and others added 22 commits April 5, 2020 21:29
.isEmpty() and !.isEmpty() express the intent more clearly and are therefore preferred.
Counting the number of elements can also be an expensive operation e.g. when using certain linked list implementations (ConcurrentSkipListSet).

.isEmpty()  can be used instead of ".size() == 0" and ".size() < 1"
!.isEmpty() can be used instead of ".size() != 0", ".size() > 0" and ".size() >= 1"

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* [nikohomecontrol] Small README updates.
* Remove obsolete profiles list as these cannot be retrieved with hobby
API.
* Fix timezone property.
* Removed acting on public messages as not available in hobby API.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
The team got renamed after the repo got renamed to openhab-addons.

Signed-off-by: Wouter Born <github@maindrain.net>
* [miio] Squash/rebase Xiaomi cloud logon and map download
[miio] WIP cloudlogon to get device tokens and map
[miio] save server responses
[miio] cloudstuff cleanup
[miio] Cloud - more updates map download
[miio] WIP get vacuum map from cloud
[miio] WIP get tokens from cloud
[miio] WIP output vacuum image
[miio] first working  version with map and tokens from cloud
[miio] improvements map downloads
[miio] improve map decoding
[miio] finalized map drawing logic
[miio] 2nd alpha version cloud+map funcionality
[miio] fixing spotbugs issues
[miio] more spot bug issues resolving
[miio] improved map reading
[miio] map version 1.1
[miio] cleanup many notnullbydefault issues alpha release3
[miio] cleaning cloudconnector
[miio] alpha release 3
[miio] cached logons
[miio] small cleanup
[miio] minor fix text drawing
[miio] alpha 4
[miio] new models added
[miio] Improve path color
[miio] generic county request
[miio] mapviewer cleanup
[miio] log levels adjustment
[miio] update readme
[miio] fix updating basic devices (#7254)
[miio] improvements based on feedback

feedback improvements
token obfuscation for log sharing
basic handler cleanup and improvements

[miio] schedule login to avoid activation issues
[miio] updates based on feedback

Fix for re-logon
move to DTO
Updates based on review feedback
[miio] update readme & small cleanup
[miio] small fix
Apply suggestions from code review
Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/cloud/CloudUtil.java

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

Co-authored-by: cpmeister <mistercpp2000@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>
* [neohub] new NeohubBool and NeohubBoolDeserializer classes
* [neohub] implement NeohubBool and NeohubBoolDeserializer
* [neohub] test NeohubBool, NeohubBoolDeserializer with old/new JSON versions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Fixes:
* Jackson version range resolution issues, so #7258 can be undone (vitalidze/chromecast-java-api-v2#124)
* Logs IOE on debug instead of warning when disconnecting ("Got IOException while reading due to stream being closed (stop=true)")

Signed-off-by: Wouter Born <github@maindrain.net>
Related to openhab/openhab-core#1408

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Dries Vandenneucker <dries.vandenneucker@yahoo.com>
Signed-off-by: Dries Vandenneucker <dries.vandenneucker@yahoo.com>
…sed (#7299)

* [lgwebos] Avoid thing updates when the thing handler is already disposed
* Change of state trigger for stopping the reconection job and starting the keep alive job

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Added apparent temperature channel
* Applied spotless formatter
* Moved POJO classes into dto package

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* [daikin] Update doc to include fandir channel previosly omitted
* [daikin] Add an example for fandir channel

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
…itch (#7339)

* Added Beep and LED On/Off to dimmers switches (and keypad dimmers and switches).  Also added Dawn/Dusk and LowBattery to motion detectors.
* Added Beep and LED On/Off as channels
* Added Beep and LED On/Off channels to README.md
* Added Motion Sensor Dawn/Dusk and Low Batt as channels and to README.md
* Changed a few variable names to better match standard and removed commented out code.
* Chnged variable for light sensor above threshold to betther match standard and fixed formatting to better match standard
* Changed WirelessMotionSensorLightlevelabovethreshold to WirelessMotionSensorLightLevelAboveThreshold per request
* Changed WirelessMotionSensorLowbattery to WirelessMotionSensorLowBattery per request
* Added some formatting changes to ensure docs match code and to al code to match Eclipse formatting
* Added LED On/Off and Beep to Dimmer Modules (2457D2), On/Off Modules (2635-222), and On/Off Outdoor Modules (2634-222)
* Added Fast On/Off and Manual change support for Insteon 2334 - 6 and 8 button varients and added all support Insteon 2487S - 8 button varient

Signed-off-by: Tom Weichmann <tommycw10@gmail.com>
* [DWDPollenflug] New Binding retry

Signed-off-by: Johannes DerOetzi Ott <info@johannes-ott.net>
* [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>
* Replaced deprecated constructors
* Use of builder instead of constructor

Signed-off-by: Martin Herbst <develop@mherbst.de>
* improved message processing
* added undocumented 0x5c message code definition

Signed-off-by: jsetton <jeremy.setton@gmail.com>
Signed-off-by: Mark Hilbush <mark@hilbush.com>
* [extensionservice] Add more null annotations
* Use cachedNodes array again for easy atomic assignments
* Prevent code from messing with cachedNodes

Signed-off-by: Wouter Born <github@maindrain.net>
@mlobstein mlobstein self-assigned this Apr 13, 2020
@mlobstein mlobstein merged commit 29400b5 into mlobstein:2.5.x Apr 13, 2020
mlobstein pushed a commit that referenced this pull request Dec 6, 2022
…penhab#13695)

* [jsscripting] Refactor ThreadsafeTimers to create futures inline instead of in an extra methods
* [jsscripting] Introduce utility class for providing easy access to script services
* [jsscripting] Reimplement timer creation methods from ScriptExecution for thread-safety
* [jsscripting] Add missing JavaDoc for reimplement timer creation methods
* [jsscripting] Remove the future from the map when setTimeout expires
* [jsscripting] Rename `GraalJSScriptServiceUtil` to `JSScriptServiceUtil`
* [jsscripting] Remove the `createTimerWithArgument` method
* [jsscripting] Replace the OSGi workaround of `JSScriptServiceUtil` with an injection mechanism
* [jsscripting] Use constructor to inject `JSScriptServiceUtil` into `GraalJSScriptEngineFactory`
* [jsscripting] Minor improvements by @J-N-K (#1)
* [jsscripting] Minor changes related to last commit to keep flexibility of `JSRuntimeFeatures`
* [jsscripting] Upgrade openhab-js to v2.1.1
* [jsscripting] Remove unused code

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Co-authored-by: Jan N. Klug <github@klug.nrw>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.