Commit Graph

1429 Commits

Author SHA1 Message Date
Wouter Born
ba3a9bb01a
[groovyscripting] Update Groovy to 3.0.9 (#11251)
For all bugfixes and improvements, see:

http://groovy-lang.org/changelogs/changelog-3.0.9.html

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-15 19:02:17 +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
mlobstein
db935d3a3b
[kaleidescape] Add configuration option to auto load metadata channels without rules (#11231)
* Add configuration option to auto load metadata channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Debug message

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-09-14 16:55:48 +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
Michael Wodniok
962853811a
[icalendar] Fix internal calculation for retrieving events for command tags (#11178)
* [icalendar] Fixes #11084: Different method for retrieving events

Replaced retrieval of events for CommandTags by another, already implemented method, fixing wrong behaviour in case of moved or removed events. Also updated dependencies to get this binding resolvable again.

Signed-Off-By: Michael Wodniok <michi@noorganization.org>
2021-09-11 16:18:08 +02:00
Dan Cunningham
7efc3e9e81
[myq] Switch to using oAuth for logins (#11183)
* change MyQ binding to use now required oAuth for authentication

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Clean up error handling

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Cleanup checkstyle errors

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* missing newline

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Remove unused classes

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Add token listener

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* add a redirect limit...just in case

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Don't resue the oAuth service if we have been disosed or its closed.  Reduce logging verbosity.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Force login if we get a 401 response

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-09-11 13:41:28 +02:00
lolodomo
f055795c28
[remoteopenhab] Example with a connection to myopenhab.org (#11237)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-09-11 13:35:27 +02:00
Matthew Skinner
d0c435b9bd
[telegram] Fixes exceptions that stop rules/actions from finishing (#11215)
* reorder channel updates.


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

* catch exceptions.


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

* Spotless fixed


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

* increase timeout.


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

* Fix NPE in action from causing issues.


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

* fix logger.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-09-11 13:34:23 +02:00
lolodomo
ce8fac8df2
[linky] Removed from the distribution until it is fixed (#11233)
* [linky] Removed from the distribution until it is fixed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Apply spotless

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-09-10 15:07:25 +02:00
Kai Kreuzer
195d532aa7
Correctly disable unstable test (#11232)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-09 09:35:14 +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
dalgwen
0a96792a93
[pulseaudio] Fix playing time with pulseaudio sink (#11170) (#11171)
Fixes #11170 by introducing an intelligent thread.sleep (getting the duration of the sound, if possible, then wait the appropriate time for letting the sound play). By the way, the method to get the sound duration is not as easy as I thought.

Also fix a minor issue with the last volume not propertly saved.

And fix some minor warnings by using final local variable.

Signed-off-by: Gwendal ROULLEAU <gwendal.roulleau@gmail.com>
2021-09-08 21:08:05 +02:00
jlaur
56a0449ce1
[hdpowerview] Add new battery level channel (#11206)
* Introduce new batteryLevel channel.

Fixes #11205

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:36:59 +02:00
jlaur
8f836a08ea
[wemo] Add dimensions for power/energy channel types for Insight Switch. (#11208)
* Add dimensions for power/energy channel types for Insight Switch.

Fixes #11207

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:36:03 +02:00
jlaur
5ae581f4e1
Fix broken things file support. (#11218)
Fixes #8877

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:34:08 +02:00
Peter Schraffl
bb1ad2a453
fix: Add Group Definition (#11226)
Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
2021-09-08 20:16:23 +02:00
Ron Isaacson
d4983c4991
[powermax] Introduce some new channels for better status reporting (#10624)
* [powermax] Introduce some new channels for better status reporting

* New panel channels:
    - Ringing indicator (the siren is currently sounding)
    - Date/time the last message was received from the panel
    - List of all active alarms and alerts (similar to panel's
      Memory list, but items get removed from the list as conditions
      resolve)
* New zone channels:
    - Alarmed indicator (zone is in alarm, or has an alarm in memory)
    - Tamper alarm indicator (same but for a tamper condition)
    - Inactive indicator
    - Tamper indicator (zone is actively tampered right now)
    - Last status message received for this zone, and when
* Use descriptive names for zones in log messages. If you create a
  Thing for a zone, it will use that Thing's label in all reporting
  for that zone. If there's no Thing then it will attempt to use the
  zone label from the panel (e.g. "Basement").
* Clear all channels during startup to keep from displaying stale
  values loaded from persistence
* Also includes some minor SAT fixes (checkstyle, spotbugs)

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>

* Incorporate review feedback from lolodomo

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
2021-09-08 18:58:35 +02:00
TheTrueRandom
0a1f23f98d
[doorbird] fix controller id (#11190)
Signed-off-by: True Random <rantruedom@gmail.com>
2021-09-07 22:48:33 +02:00
Jan Vybíral
d1171ca809
[nuki] Opener support and discovery (#10672)
* [nuki] Opener support and discovery (#10671)

* Added Opener support
* New Smartlock channels
* Discovery support
* Secured communication using hashed token
* Improved callback handling

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed code style problems

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Id of bridge is unique for openhab instance

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Added compatibility with smart lock created by previous binding version

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Secure token configuration + threading improvements

Added configuration option to enable or disable using hashed token
for bridge API authentication.
Turning bridge offline when device request fails.
All HTTP calls made async so that openhab thread is not blocked.

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Only discover bridges which return some response

Only bridges which return 200 or 403 response are discovered.
Nuki API might return bridges which no longer exists or are on different
network and are not reachable. We do not want to put these in inbox, only those
who respond do HTTP calls.

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Changed ownership of nuki binding

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Fixed @Nullable annotations
* Fixed too many logger messages
* Rewritten configuration to use configuration class

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* NukiId moved back to configuration and switched to configuration classes in all devices
* Doorbell ringing channel switched to trigger channel

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Channel description reformatted into table
* Fixed bug where repeated bridge discovery was overwriting existing bridge properties

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed ringactionTimestamp property name

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed search of changed thing in HTTP callback

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Improvements to uuid generation

* Bridge id is generated only from bridgeId property, making it stable across openhab installations
* Using InstanceUUID as unique callback identifier instead of bridge id

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Improved duplicate thing discovery

* Implemented duplicate thing detection using openHAB ThingRegistry

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Fixed all nullable warnings
* Fixed README formatting

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2021-09-05 11:50:23 +02:00
Scott H
b37022c5d7
[Twitter] 3.0 Twitter Binding (#10241)
* [twitter][WIP] Initial contribution

using the 1.x binding as a template, I created a new Twitter Binding.

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com> (github: computergeek1507)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* trying to fix twitter4j dependency stuff

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* add to bundle POM

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* trying to fix build

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* Fixed dependency issues, Got Actions working

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* updating readme

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* fix class name

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* Fixes based on review

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* Cleanup based on review and mvn checks

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* grammar fix

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* remove Apache dependencies

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* added Null Checks based on review

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* change null check around

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
2021-09-05 09:33:00 +02:00
jlaur
0087c8c828
[hdpowerview] Add new signal strength channel (#11198)
* Add new signal strength channel.

Fixes #11197

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:49:33 +02:00
jlaur
3a36b1e70d
Fix channel lowBattery being updated to ON when no battery status available. (#11201)
Fixes #11200

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:48:19 +02:00
Wouter Born
6c3e937f02
[lifx] Add missing color feature to a few products (#11180)
Updates the LIFX Candle (PID 68) and LIFX Clean (PID 90, 99) products to support color features.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 19:43:38 +02:00
mlobstein
cd69c77cd5
[oppo] Remove logo from README (#11176)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-31 14:41:11 +02:00
Jørgen Melhus
2e8fb907ca
[bluetooth.bluegiga] Fix CompareObjectsWithEquals findings regression causing all devices to be beacons
Signed-off-by: Jørgen Melhus <5099412+jmelhus@users.noreply.github.com>
2021-08-31 13:05:09 +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
Mark Hilbush
b2b3ad274b
API changed location of event counts (#11159)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-08-26 19:09:26 +02:00
jlaur
4e50a985e6
[hdpowerview] Add new batteryVoltage channel (#11155)
* Add new batteryVoltage channel.

Fixes #11154

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix documentation for lowBattery.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Organized channels into two groups: Shade and Battery.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Revert breaking change.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-26 18:57:27 +02:00
antroids
36377a790e
[mqtt-homeassistant] MQTT Homeassistant test concurrency bug fixed (#11161)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

Co-authored-by: Anton Kharuzhy <antroids@gmail.com>
2021-08-26 14:46:53 +02:00
mlobstein
81989112d1
Fix equalsIgnoreCase issue (#11140)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-24 19:05:32 +02:00
mlobstein
5ce27e3407
Fix equalsIgnoreCase issue (#11141)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-24 19:04:17 +02:00
jlaur
be17654767
Renamed channel manual_fan_speed to manual_fan_step for consistency. (#11147)
Fixes #10621

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-24 18:59:35 +02:00
Mark Hilbush
5cb228570d
Fix parsing to handle when volume is a float (#11151)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-08-24 14:44:02 +02:00
OneYellowLemon
4988522173
Make spacing consistent (#11145)
Signed-off-by: OneYellowLemon <66096725+OneYellowLemon@users.noreply.github.com>
2021-08-23 21:51:40 +02:00
kennetn
73f7a86dd8
[irobot] Minor readme corrections (#11124)
* Minor readme corrections

Minor clarification originally described here https://community.openhab.org/t/irobot-9xx-on-openhab/17774/196

Signed-off-by: kennetn <kennetn@gmail.com>
2021-08-22 12:04:33 +02:00
Julio Vilmar Gesser
aee601cc3d
[semsportal] Fix lastUpdate parse format to accept the format provided by the inverter (#11127)
* Fixed lastUpdate date formating

Signed-off-by: Julio Gesser <jgesser@gmail.com>
2021-08-22 12:02:10 +02:00
Allan Seidel
14cd779530
Update README.md (#11131)
Corrected the humidifier mode label.
2021-08-22 11:58:38 +02:00
Ryz
bf94b06d0b
Changed minimum Z-Way polling interval to 1 second. (#11122)
Signed-off-by: Ryz <mirco.heitmann@gmail.com>
2021-08-22 11:57:25 +02:00
Matthew Skinner
300ed046a8
[telegram] Send message if a file download fails and bug fixes. (#11125)
* Send message when pic/vid/ani fails to DL
* Upgrade lib to 5.2.0 and fix error.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-22 11:54:34 +02:00
Anders Alfredsson
c084ec3a5b
Fix IndexOutOfBoundsException in aggregator function (#11113)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-08-22 11:53:11 +02:00
jlaur
9fed16d8bb
[danfossairunit] Change Humidity channel type from Number to Number:Dimensionless (#11121)
* Change Humidity channel from Number to Number:Dimensionless
* Fix documentation for temperature channels.

Fixes #9755

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-22 11:52:05 +02:00
jlaur
44538c5409
[danfossairunit] Add channel descriptions and categories (#11129)
* Use system default channel type for battery level.
* Add channel categories where applicable
* Add missing channel descriptions (and fix two existing)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-22 11:50:33 +02:00
Stefan Giehl
5f6d9b91ef
Fix/update channels for setting hot water target temperature (#11135)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-08-22 11:49:33 +02:00
Stefan Triller
b6aa401cf9
[robonect] Channel for distance from charging station on remote start (#11137)
New channel "status-distance" that shows the distance of the robot from
its charging station while it is searching for the remote starting point.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-08-22 11:45:55 +02:00
Jan Gustafsson
02d8e43d37
Fix for #10982 - Binding not working properly HANDLER_REGISTERING_ERROR (#11108)
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-08-16 14:06:16 +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
antroids
3a7835e122
[mqtt-homeassistant] climate.mqtt support (#10690)
* MQTT.Homeassistant Climate support

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant synthetic config test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant refactoring

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant discovery test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant thing handler test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant switch test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Climate test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant author header added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant copyright header added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test fixed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test fixed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test infrastructure updated. Added tests with mqtt publishing and commands posting.

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant fixed Climate#send_if_off handling

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant do not filter the power command

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant climate unit test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* Update bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/DiscoverComponents.java

Redundant annotation removed

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

* MQTT.Homeassistant Redundant @Nullable annotations removed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Unit tests added for all components

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Unit tests stability fix

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant @NonNullByDefault removed from Device, config.dto package created

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Climate author added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Device.sw_version renamed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant tests wait timeout increased to 10s

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

Co-authored-by: antroids <antroids@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-08-15 11:48:26 +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
mlobstein
5d6fa4a460
Update Nuvo README (#11107)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-14 13:39:11 +02:00
mlobstein
1321049973
Add Roku TV channels (#11087)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-11 12:06:40 +02:00
Matthew Skinner
333e7d2ef2
Fix IndexOutOfBoundsException and remove Sleep. (#11089)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-11 12:02:19 +02:00
Michael B
9f35e7ba31
Added inverted info for rollershutters (#11094)
Currently openHAB and the CCU are using different values for the same state of a rollershutter.
Added information about this under Troubleshooting and listed some examples.

Signed-off-by: Michael Bredehorn <michael@bredehorn.nrw>
2021-08-11 12:00:30 +02:00
Sami Salonen
497c09ee05
[dynamodb] AWS setup guidance updated in docs (#11092)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-08-11 11:57:26 +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
Matthew Skinner
8e7f4a0e41
Sematic Tags added. (#11098)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-11 11:55:26 +02:00
Christoph Weitkamp
8a774cb1c5
[openweathermap] Fix ozone mapping in DTO (#11086)
- Fix ozone mapping in DTO

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-08-08 14:22:13 +02:00
Andrew Fiddian-Green
2e8700e7c4
[mqtt] Discovery services shall not unsubscribe unless they have already subscribed (#10566)
* [mqqt] do not allow unsubscribe unless already subscribed

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-08-08 14:18:01 +02:00
lolodomo
bcd89086f2
[homeconnect] 2 channels added for washer appliance (#11071)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-07 20:55:32 +02:00
lolodomo
e3b8b937c4
[homeconnect] Use getLinkedChannel rather than getThingChannel (#11069)
when the purpose is only to call the method updateState

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-04 20:10:33 +02:00
lolodomo
ebb2662870
[homeconnect] Fix update of channels linked to program options (#10990)
Fix #10955

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-04 15:52:56 +02:00
lolodomo
f09dfa0f93
[networkupstools] Missing status added (#11082)
Fix #9276

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-03 14:33:01 +02:00
Petr27
138aef19a7
Fix DIR3100 and Auna Connect CD mode (#11058) 2021-08-02 21:47:49 +02:00
Björn Lange
699b7712c3
[mielecloud] Remove e-mail parameter validation (#11073)
Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
2021-08-02 21:45:41 +02:00
Matthew Skinner
91879336e3
[ipcamera] Improve FFmpeg motion detection to support wider FPS range (#11067)
* Fix urls are null until binding restarts.


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

* Change to using port config.


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

* automate the ffmpeg output folder to follow the UID.


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

* spotless fixes.


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

* Update readme.


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

* change to using the userdata folder.


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

* change to better field description.


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

* Add advanced.


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

* Add link to docs.


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

* improve readme.

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

* improve example path in readme.


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

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

Cut and paste bandit strikes again. thanks.

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

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

* Change to using ipcamera as folder loc.

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

* Improve Ffmpeg motion and refactor to remove compiler warnings.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-08-01 20:06:28 +02:00
Dan Cunningham
e465155d84
[hydrawise] Migrate to new GraphQL based API (#10947)
* [hydrawise] Migrated to new GraphQL based API

Fixes #7261

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Addressed PR comments.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Address PR review comments.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-08-01 20:03:37 +02:00
Kai Kreuzer
f25cc8d14a
[amplipi] Initial contribution of AmpliPi binding (#10983)
* Initial contribution of AmpliPi binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* change http client from cxf jax-rs to Jetty

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* applied spotless

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove Jackson dependency

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Add support for input handling

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Clean up, improvements and documentation

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove unused password from configuration class

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove example properties file

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* revert change in .gitignore

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Update README

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Address review feedback

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Handle ExecutionException as network error

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-08-01 12:25:29 +02:00
lolodomo
b468582e13
[homeconnect] New how-to entry in doc about OAuth files (#11076)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-01 12:18:41 +02:00
mlobstein
440554dcc1
update README (#11075)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-01 09:24:37 +02:00
Kai Kreuzer
e1eb18ee3f
Fix SAT error (#11074)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 22:10:14 +02:00
Kai Kreuzer
955faaec0c
Apply spotless (#11072)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 21:02:53 +02:00
Mathias Maes
9e7f23e921
[unifi] Fixed 404 error with reconnect and no default value set for UniFiOS Checkbox (#11004)
* Fixed 404 error by obtaining Csrf token before login

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Only try to obtain a csrf token when using UniFi OS

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Updated documentation

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Updated thing configuration in README.md

Signed-off-by: Mathias Maes <watcherwhale@maes.family>
2021-07-31 18:55:34 +02:00
Tobi
a1ec5eb241
[tr064] Add Wifi Signal Strength & Wifi Speed channels to LAN Subdevice (#10959)
* Add channels to tr064

Signed-off-by: Tobias Löbermann <tobiloeb@gmail.com>

* Set typeId for macSignalStrength channels

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* adjust README with correct channel names.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Add JavaDoc and separate post processors.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Use UNDEF as default for signal-strength

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Update README.md documentation

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>
2021-07-31 13:01:20 +02:00
pali
4b57ea28c8
[js-transform] Introduced support for additional parameters (#10901)
* [js-transform] Introduced support for additional parameters


Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Added junit tests and updated readme

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Typo fixes

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Typo fix

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Fixed junit test

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-07-31 12:42:50 +02:00
Thomas Lauterbach
02c2513e28
[enocean] Adds support for the D2_06_50 EEP type (#10949)
* Initial D2_06_20 EEP Implementation.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added data validation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added channels for calibration

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer ID for discovery

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added data validation"

This reverts commit 945101056b.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fixing discovery by setting manufacturerId

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fix spotless

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* removed validation override

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer suffix

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* channel description updated

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* mentioning calibration channels in documentation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* shortened thing label

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

Co-authored-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
2021-07-31 12:24:10 +02:00
Ondrej Pecta
677804c485
[orbitbhyve] Initial contribution (#10426)
* [orbitbhyve] initial contribution

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* [orbitbhyve] improvements based on code review

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* [orbitbhyve] next bunch of fixes related to code review

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-31 12:01:22 +02:00
fragger42
882374fbcc
[yamahareceiver] Add possiblity to switch HDMI outputs on and off on Yamaha receivers (openhab#6327) (#11063)
* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
2021-07-31 11:52:45 +02:00
Kai Kreuzer
207dab57b9
Fix spotless errors (#11068)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 09:42:29 +02:00
dw-8
12dc0c37bb
[airthings] Add support for Airthings Wave Gen 1 (#11052)
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
2021-07-30 22:12:35 +02:00
lolodomo
fa699b807e
[sonos] Fix error in channels.xml file (#11060)
Related to #10979

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-26 21:13:58 +02:00
Jeremy
95402db586
[pushbullet] Update README.md with recipient broadcast information (#11057)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2021-07-26 09:28:06 +02:00
morph166955
731e5cf73d
[sonos] Add new channel codec for several models (#10979)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2021-07-25 20:29:35 +02:00
Matthew Skinner
24c1691c8b
[espmilight] Add color channels ability to trigger white LEDs (#11047)
* Add white shortcut for sat threshold


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

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-07-25 12:43:28 +02:00
lolodomo
0c2d697909
[pulseaudio] Move the binding config in file binding.xml (#11055)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-25 12:40:57 +02:00
lolodomo
3d0c31bd50
[homeconnect] Predefined temp / spin speeds options for unsupported washer programs (#10953)
* [homeconnect] Predefined temp / spin speeds options for unsupported washer programs

Fix #10701

Also save in programs cache the unuspported program

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Use constants OPTION_WASHER_TEMPERATURE and OPTION_WASHER_SPIN_SPEED

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment : using constants

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-25 11:49:19 +02:00
dw-8
0f3289a937
[airthings] Enhance logging (#11043)
Signed-off-by: Davy Wong <davy.wong.on+github@gmail.com>
2021-07-25 09:41:25 +02:00
Christoph Weitkamp
65b4db7526
[pushover] Add support to send an Image URL directly (#11027)
* Added support to send an Image URL directly
* Add support for data URI scheme

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-25 09:34:04 +02:00
nimric
cf6729adef
[jdbc] Select the proper schema when retrieving the item tables (#11023)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-07-24 21:29:15 +02:00
lolodomo
e23a0de94a
[homeassistant/homie] Standardize config URI (#11021)
* [homeassistant/homie] Standardize config URI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-24 21:27:01 +02:00
Matt
3d3cdf3889
[haywardomnilogic] Remove erroneous chlorinator code from filterhandler (#11028)
* Removed erroneous chlorinator code from filterhandler

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2021-07-24 21:25:44 +02:00
Christoph Weitkamp
d5e0e4905a
Changed default color mode for color commands to XY (#11036)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-24 21:23:51 +02:00
Petr27
ccbc5e7d46
Update README.md (#11045)
Add binding for Hama IR100, Hama DIR3100 and Auna Connect CD
2021-07-24 21:22:31 +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
James Hewitt
487dc0e49f
[rfxcom] Add ability to properly receive configured command ids, deprecated hard-coded guesses. (#10940)
Currently, when a message is received the command will be determined only from the hard-coded set of ON/OFF commands, which means if I configure
a thing and attach it to a switch there is no guarantee that it will respond as expected to receive commands. This PR changes the message factory
to require either bytes (from the RFXcom device) or all the details required to make a transmissable message, including the confguration of the
associated Thing. At the moment, this is only used by lighting4 and raw types, but I expect it will be useful for others in the future.

The hard-coded ON/OFF commands in lighting4 are based on experimentation with different devices, and are not at all consistent. This PR deprecates the
use of those so that in a future release, Lighting4 devices will only work when configured with the correct command ids up front. This will resolve
inconsistent behaviour where devices that have been discovered may work correctly, work only for ON or OFF but not both, have ON and OFF the wrong
way around, turn ON one physical device and OFF another, or any combination of those possibilities.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-07-18 21:37:44 +02:00
James Hewitt
fcc23f0ab3
[volvooncall] Extend battery channels (#10991)
* [volvooncall] Extend battery channels

Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading.

Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
2021-07-18 20:15:59 +02:00
maniac103
5d7993843a
[squeezebox] Cleanup / code simplification (#10941)
* [squeezebox] Reduce boilerplate by using lambda expressions.
* [squeezebox] Make code dealing with key/value responses more readable.
* Fix off-by-one mistake.
* [squeezebox] Simplify CLI response parsing code.
* [squeezebox] Optimize some redundant code.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-18 19:16:48 +02:00
Sebastian Held
8c6c97e237
fix decimal values being truncated (#10989) 2021-07-18 19:15:15 +02:00
Sami Salonen
4cf8b1a5ab
[fmiweather] Fix UNDEF observations in corner case situations. (#11025)
* [fmiweather] Fix UNDEF observations in corner case situations.

In addition, tests added for static utility functions in
AbstractWeatherHandler.

Resolves #11024.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-07-18 19:10:34 +02:00
lolodomo
7cdb41a459
[shelly] Suppress useless config URI with only 2 segments from binding.xml (#11022)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 19:06:08 +02:00