Commit Graph

3024 Commits

Author SHA1 Message Date
Jacob Laursen 8e5c2455e8
[boschindego] Fix thing marked as offline when device is reachable (#13219)
* Fix thing offline on invalid command

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

* Rename exception

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

* Go back to last thing status after temporary disruptions

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

* Increase call frequency after device being unreachable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-06 08:42:59 +02:00
jimtng bf58f98774
[daikin] Fix switching specialmode to NORMAL (#13206)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-05 20:50:08 +02:00
Andrew Fiddian-Green ac12e5bfed
[gardena] Improve API rate limit handling (#13016)
* [gardena] eliminate dangling references on dispose
* [gardena] add fixes for 429 errors
* [gardena] apply rate limiting to binding restarts
* [gardena] eliminate NPE if startup fails with exception

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-04 20:20:40 +02:00
mlobstein 9f3a23c55f
Fix NPE on shutdown when Thing disabled and fix a bunch of warnings (#13215)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-04 15:56:52 +02:00
Markus Michels 0d73ed8150
[shelly] Minor bugfixes from hardening (#13200)
* Minor bugfixes from hardening

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* controlProfile is type String

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-08-04 08:42:29 +02:00
mlobstein 22f7dfe309
[epsonprojector] several small improvements and formatting changes (#13207)
* several small improvements and formatting changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-03 16:30:42 +02:00
Andrew Fiddian-Green ae418a4246
[neohub] add auto discovery to ReadMe (#13204)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-02 17:06:32 +02:00
lolodomo 2f50afdac4
[rotel] New command to toggle between stereo and bypass (#13203)
Concerns the models RSP-1570, RSP-1572 and RSX-1562

BYPASS as DSP mode is also removed for these models.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-02 12:51:28 +02:00
openhab-bot c8a3867322
New translations boschindego.properties (Danish) (#13202) 2022-08-01 23:25:52 +02:00
lolodomo f582c90ae8
[rotel] Add missed command to switch between ProLogic modes (#13197)
* [rotel] Add missed command to switch between ProLogic modes

All models using the HEX protocol are concerned.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-01 21:59:59 +02:00
Andrew Fiddian-Green f60e324229
[neohub] Add support for WebSocket connection to hub (#12915)
* [neohub] add support for secure web socket connection
* [neohub] clean code
* [neohub] synchronize api calls
* [neohub] rename classes, fix compiler errors, remove SuppressWarnings

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-01 21:58:39 +02:00
Daniel Campbell 8d3828a9a4
[amazonechocontrol] Add channels to thermostatController (#13067)
* enhance: add thermostat channels to amazonechocontrol

Signed-off-by: Daniel Campbell <djcampbell79@gmail.com>
2022-08-01 12:48:37 +02:00
Andrew Fiddian-Green b9782484c6
[velux] Add support for vane/slat position (#12618)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-31 15:15:25 +02:00
lolodomo ec5794739c
[rotel] New channel for other commands provided by the API (#13183)
* [rotel] New channel for other commands provided by the API

Models covered by this PR:
A11, A12, A14, CD11, CD12, RA11, RA12, RA1570, RA1572, RC1570, RC1572, RCD1572, P5, X3, X5,
RSP-1066, RSP-1068, RSP-1069, RSP-1098, RSP-1570, RSP-1572,
RSX-1055, RSX-1056, RSX-1057, RSX-1058, RSX-1065, RSX-1067, RSX-1550, RSX-1560, RSX-1562

* Review comment: toString on RotelCommand

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-31 11:10:38 +02:00
Jacob Laursen 2de6dd0310
[boschindego] Provide faster channel updates (#13192)
* Optimize API calls for reduced load
* Add position tracking (on map)
* Provide faster updates when active
* Optimize state update after triggering commands
* Clean up duration variables
* Add initial test coverage for DeviceStatus

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-31 10:30:43 +02:00
Jacob Laursen c7f8507cae
[hdpowerview] Refactor tests (#13175)
* Move test providers to dedicated folder
* Simplify resource loading
* Clarify what is being tested
* Extract online communication test to separate class
* Fix SAT findings
* Rename variable to comply with naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-30 20:43:17 +02:00
lolodomo 8d2bb6bf62
[rotel] Updated doc for c8 and c8+ models (#13193)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-30 12:09:16 +02:00
Markus Michels 8aa88bc3d9
This PR is just to reduce the delta before I create the PR for Plus/Pro (#13176)
support. In general Gen1 and Gen2 devices have a total different API so
I spliced the API code in version/gen 1 and 2. This means restructuring
the classes (e.h. api+coap became api+api1+api2) and therefor dummy
changes in the code, e.g. import statements. This creates a lot of
overhead and separating those "dummy changes" simplifies merging the
actual PR.

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-29 19:48:10 +02:00
Dan Cunningham d5b657c6fd
Catch json parsing errors when getting login token. (#13189)
Fixes #13181

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-29 19:06:48 +02:00
openhab-bot b20180fa19
New translations boschindego.properties (Danish) (#13188) 2022-07-29 18:44:09 +02:00
openhab-bot 7cbdfc9b58
New translations somneo.properties (Italian) (#13187) 2022-07-29 00:33:53 +02:00
Jacob Laursen 5ec86ec614
Add additional hub properties (#13174)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:43:17 +02:00
Jacob Laursen 6028533e8e
[boschindego] Plot location on map (#13179)
* Plot location on map
* Invalidate map when requested by service
* Optimize update of raw map

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:39:27 +02:00
0x4d4d 3b8567bd9e
[somneo] Initial contribution (#12321)
* [somneo] Initial contribution

Signed-off-by: Michael Myrcik <michael.myrcik@web.de>
2022-07-27 10:38:06 +02:00
Matt 1181a104f9
[haywardomnilogic] Add http timeout retry (#13164)
* Add HTTP Timeout Retry
* Updated try/catch messaging
* Repositioned some logging to occur before http request

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2022-07-27 10:31:40 +02:00
Jacob Laursen 67006de606
[boschindego] Refresh cutting times right after next planned cutting (#13158)
* Refresh cutting times right after next planned cutting
* Cancel cutting time future unconditionally

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-26 20:03:40 +02:00
robnielsen 24e9228699
[insteon] set network to ONLINE after driver is initialized (#13030)
* [insteon] set network to ONLINE after driver is initialized

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-07-26 19:49:05 +02:00
openhab-bot 7e26b1149e
New translations fineoffsetweatherstation.properties (Italian) (#13177) 2022-07-26 16:40:40 +02:00
eugen 6f3cb286d9
[homekit] Target Fan state - add support for Switch Item (#12985)
* add support for SwitchItem for target fan state

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-07-25 21:47:21 +02:00
mlobstein b31f06a4cd
[radiothermostat] minor readme updates (#13170)
* minor readme updates

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-07-25 16:42:16 +02:00
Andreas Berger 84ea355e76
[fineoffsetweatherstation] Add support for ELV protocol (#13138)
* [fineoffsetweatherstation] add support for ELV protocol
* [fineoffsetweatherstation] remove german translations
* [fineoffsetweatherstation] add representationProperty for gateway, fix unit of irradiation-uv
* [fineoffsetweatherstation] add representationProperties in descriptor xml file
* [fineoffsetweatherstation] set channels values to undef in case of communication errors
* [fineoffsetweatherstation] use lock for request synchronisation
* [fineoffsetweatherstation] marke sensors as gone, if they got unpaired

resolves #12763

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-07-25 16:39:52 +02:00
Jacob Laursen 9ec6f7d12e
Add shade RF RSSI for hub/repeater (#13096)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 12:56:03 +02:00
Martin Herbst dcc9190d2e
Allow default values that are lower than allowed minimum value (#13168)
Resolves #13097

Signed-off-by: Martin Herbst <develop@mherbst.de>
2022-07-25 12:16:30 +02:00
Jacob Laursen 60c13d7521
[boschindego] Fix communication error when smart mowing is disabled (#13167)
* Fix communication error when no planned next cutting
* Provide targeted handling of missing cutting times

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 08:45:46 +02:00
Andrew Fiddian-Green f7a228e9e9
[hdpowerview] override capabilities for shade types 54,55,56 (#13169)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-24 15:02:43 +02:00
lolodomo cf32ecfeb5
[rotel] New channels to control random mode and repeat mode (CD players) (#13165)
Available for models CD11, CD14 and RCD-1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 17:26:09 +02:00
lolodomo 41f4ca7a51
[rotel] Add support of multiple zones (ASCII protocol) (#13136)
* [rotel] Add support of multiple zones (ASCII protocol)

Models C8 and C8+ (distribution amplifiers)

Code factorization.
Simulator updated.

* Set model/firmware thing properties (ASCII V2 protocol)
* Review comment: NumberOf rather than Nb
* Review comment: getZoneCommand: IllegalArgumentException if numZone is
outside 1-4
* Review comment: constant for volumeUpDown
* Simplification: method isPowerOn with numZone parameter (range 0-4)
* Review comment: fix for getPowerOffCommand
* Review comment: new method isZoneAvailable to factorize code
* Review comment: use MAX_NUMBER_OF_ZONES to check range validity

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 13:41:38 +02:00
Jacob Laursen 96e78c12e4
Add jlaur as code owner for Bosch Indego binding (#13161)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-23 10:33:04 +02:00
dae1804 36ad888b92
Venstar: split away and schedule settings calls (#13046)
Separate Venstar thermostat API calls to change the away mode or
schedule-enabled mode so that the POST to the thermostat's REST
API settings endpoint contains only one of these two params.

Newer ColorTouch thermostat firmwares will reject any POSTs to the
settings endpoint that include the 'schedule' parameter when the
thermostat is currently in AWAY mode, regardless of the value
passed for 'schedule'.  This had the effect of preventing the
OpenHab binding from un-setting away mode.

Signed-off-by: David Eberhart <git@daveeberhart.com>
2022-07-22 21:44:43 +02:00
Tim c729b82d59
[homematic] Update README.md (#13159)
* Update README.md
2022-07-22 14:12:29 +02:00
truidix 831e7ec257
check if negativeSwitch is "on" and positiveSwitch is "off. If so: just (#13152)
print a warning instead of throwing a exception

Signed-off-by: David Kumar <git@truidix.de>
2022-07-21 21:31:02 +02:00
Jacob Laursen 0577ee8ad4
Fix excessive firmware version updates (#13155)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-21 19:32:42 +02:00
openhab-bot 572d1ec6f0
New Crowdin updates (#13157)
* New translations miele.properties (Danish)
* New translations miele.properties (German)
2022-07-21 15:53:16 +02:00
MeisterPiffer c6c65c607b
[homematic] Update README.md (#13101)
add example for DSL rule with tabbed view
2022-07-21 15:09:07 +02:00
J-N-K 7855f81760
Fix build (#13150)
* Fix build
* fix itest

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-20 20:40:42 +02:00
openhab-bot 253a634f0a
New Crowdin updates (#13135)
* New translations astro.properties (Hungarian)
* New translations chromecast.properties (Hungarian)
* New translations darksky.properties (Hungarian)
* New translations coronastats.properties (Hungarian)
* New translations evohome.properties (Hungarian)
* New translations mcd.properties (Italian)
* New translations amazondashbutton.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations openhabcloud.properties (Italian)
* New translations voicerss.properties (Italian)
* New translations tado.properties (Italian)
* New translations wled.properties (Italian)
* New translations livisismarthome.properties (Italian)
2022-07-20 17:47:24 +02:00
Matt 848ec83d52
Additional error handling (#13146)
Signed-off-by: matchews <mmyers75@icloud.com>
2022-07-20 16:26:15 +02:00
Jacob Laursen d2670e40cb
[miele] Allow hostname as gateway network address (#13147)
* Allow hostname as gateway network address
* Document configuration parameters for things
* Add message for bridge communication error

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-20 16:13:16 +02:00
lolodomo da3ec664e5
[rotel] Fix syntax of few ASCII commands (#13148)
Impacted channels: track and playControl for models CD11, CD14 and RCD1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-20 14:26:24 +02:00
Markus Michels 4f8c1722a2
[shelly] Auto-numbering for channel labels & bugfixes (#13066)
* - new device types added
- min firmware set to 1.8.2
- unit for gas concentration fixed (ppm)
- Auto numbering on channel labels for groups with multiple instances
(add sequence suffix)
- API and Thing interfaces defined to restrict access to those classes
- fix on TRV boost update via CoAP
- fix for status.temperature and status.uptime, internalTemp channels
- don’t use meter timestamp if not present (RGBW2)
- low battery indicator for sensor devices fixed
- device detection based on model/type improved
- various messages/translations fixed/improved
- README updated (missing thing types added)

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* missing properties added

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* minor changes

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* markdown fixed

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* shelly_de.properties restored from main branch

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-19 19:37:06 +02:00