Commit Graph

150 Commits

Author SHA1 Message Date
openhab-bot
91fdd42800 [unleash-maven-plugin] Preparation for next development cycle. 2024-11-24 16:58:36 +00:00
openhab-bot
ef3ffff2bc [unleash-maven-plugin] Preparation for next development cycle. 2024-09-29 15:46:54 +00:00
openhab-bot
852a7b764d [unleash-maven-plugin] Preparation for next development cycle. 2024-08-09 10:37:43 +00:00
Markus Michels
353315537f [shelly] Fix thing re-init after power cycle for firmware update (#17163)
* Fixes thing re-init during/after firmware update. API will not be closed
on ota_success message.
* Don't disconnect from device during firmware update, this ensures to get
further events throughout the upgrade process
* suspress COMMUNICATION_ERROR on expected restart after fw upgrade

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-08-02 23:15:20 +02:00
Markus Michels
c2877e08a6 Fixes BLU Discovery when Shelly Cloud Bluetooth Gateway is enabled (in (#17167)
this case the binding's gateway script could not get access to the BLE
observer).

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-07-30 14:05:34 +02:00
Jacob Laursen
2ced284d8d Fix NullPointerExceptions (#17180)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-29 20:24:34 +02:00
Markus Michels
12eaeee009 fixes #17121 (BLU Gateway), #17120 (NPE in cover mode) (#17122) 2024-07-25 09:32:40 +02:00
Jacob Laursen
94e11fcd05 Add test coverage for thing type mapping (#17040)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-25 09:30:49 +02:00
Markus Michels
c41858ba6c [shelly] Fix initialization of BLU Motion device (#17053)
* Fixes #17052 (caused by inproper initialization of the profile flags for
BLU devices in general and for BLU Motion another one)

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-07-17 00:47:31 +02:00
Jacob Laursen
84d38ac7ac Fix thing type descriptions for Plus Mini series (#17015)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-09 20:24:41 +02:00
Markus Michels
d5d01dc8a1 [shelly] Revise fix for Gen1 initialization problem for manually created Things (#17011)
* Fixes #16990 - Gen1 nbo longer initializes when defined in .things

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

Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-09 19:48:06 +02:00
Kai Kreuzer
72bd390d35 Bump version to 4.2.1-SNAPSHOT
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-09 18:52:34 +02:00
openhab-bot
8d0017e9f3 Preparation for tag creation (Tag name: '4.2.0'). 2024-07-07 18:07:08 +00:00
Markus Michels
ab385ed2f3
Fixes #16990 - Gen1 nbo longer initializes when defined in .things (#17009)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-07-07 09:48:51 +02:00
ErikDB87
7a57761681
Update Shelly binding README regarding discovery of BLU devices (#16884)
See https://community.openhab.org/t/shelly-binding/56862/3864 (and thus https://community.openhab.org/t/shelly-binding/56862/3771).

Signed-off-by: ErikDB87 <148375835+ErikDB87@users.noreply.github.com>
2024-06-17 21:54:24 +02:00
Markus Michels
f79a2dd7f0
[shelly] Various small fixes for BLU HT, Range Extender, Plus 10V, TRV set temp (#16746)
* fixes ##16736, #16734, #16542, #16709, #16735

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-05-28 21:48:56 +02:00
Fabian Fagerholm
8b85ff1db5
Enable use of analogue input with Shelly Plus Add-on (#16744)
Signed-off-by: Fabian Fagerholm <fabbe@paniq.net>
2024-05-12 12:06:23 +02:00
Markus Michels
7a32f4e97d
[shelly] Support for Shelly Plus HT Gen3 (#16625)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-05-11 23:30:06 +02:00
Jacob Laursen
2f7ad5f62e
Provide unit hints for humidity/noise/volume channels (#16614)
* Provide unit hints for humidity channel types

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

* Provide unit hints for noise/volume channel types

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

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-04-07 14:08:53 +02:00
Markus Michels
afc6d949e8
[shelly] Add support for Range Extender feature (#16419)
* Add support for Shelly Range Extender mode (Plus/Pro series only)
* Check for secondary devices also when manual scan is triggered

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-03-31 10:27:47 +02:00
Leif Bladt
fd882ffc75
Enable accumulated channels for Shelly Pro 3EM (#16566)
Signed-off-by: Leif Bladt <leif.bladt@gmx.de>
2024-03-24 16:24:06 +01:00
Holger Hees
504fdc611c
Use mac address as a fallback name (#16547)
Signed-off-by: Holger Hees <holger.hees@gmail.com>
2024-03-24 16:20:24 +01:00
Holger Hees
1100cbcf59
Fix missing starting head tag (#16426)
Signed-off-by: Holger Hees <holger.hees@gmail.com>
2024-02-19 22:46:19 +01:00
Markus Michels
51109f4d95
[shelly] Support for Shelly BLU H&T (#16413)
* Support for Shelly BLU H&T added

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-18 08:59:19 +01:00
Markus Michels
4ca013d99b
[shelly] New channel group ncurrent for 3EM (#16336)
* Add channels for emeter_n (neutral current-based measurements) - polled
status and CoAP update (ncurrent only, no other values)

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-17 15:36:20 +01:00
Alexander Falkenstern
473b0acda1
Remove duplicated code. (#16393)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2024-02-11 22:59:29 +01:00
Markus Michels
a2899177b2
Re-adding missing Plus10V to list of supported things (#16391)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-09 22:52:43 +01:00
Markus Michels
970b4d3a8f
Fix check to avoid crash (#16371)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-05 19:35:30 +01:00
Markus Michels
3fb5e66eb1
Support for Shelly Plus Mini Gen 3 series of devices, Shelly Plus UNI (#16335)
and Shelly BLU Gateway.

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-04 17:17:59 +01:00
Markus Michels
bed592c3a4
[shelly] Add check and ThingStatus for local IP issue (APIPA) (#16306)
* Check for local_ip == 169.254.x.xm, which is the result when DHCP IP
assignment failed. Avoid that the binding passes this address to the
device as part of the callback url.

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

Co-authored-by: markus7017 <markus7017@gmail..com>
2024-01-27 21:58:44 +01:00
Markus Michels
9e1f87db86
[shelly] improved logging on WebSocket connection problems (#16303)
* Improve logging on WebSocket connection problems

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-01-19 21:58:18 +01:00
Markus Michels
511244ea2b
make blu gw script more rebust on startup (#16304)
Signed-off-by: Markus Michels <markus7017@gmail.com>
Co-authored-by: markus7017 <markus7017@gmail..com>
2024-01-19 10:53:46 +01:00
Markus Michels
a6f9adf6ec
Fix stack overflow when an unknown CoAP Id is detected; Fix innerTemp (#16240)
channel creation for Gen2 devices not having this; Fix sensor
initialization on wakeup; Fix missingf temperature5 description; add
missing relay definition for shellywalldisplay; Some README fixes
2024-01-18 22:05:22 +01:00
Wouter Born
a2868bb0dc
Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Wouter Born
3415397a83
Remove unnecessary semicolons (#16214)
This helps with stopping the proliferation of unnecessary semicolons.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 23:56:58 +01:00
Wouter Born
4fe00bb2bf
Remove redundant feature dependencies (#16204)
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 20:00:24 +01:00
openhab-bot
f58898cd1d
New translations shelly.properties (German) (#16182) 2024-01-02 15:19:05 +01:00
Jacob Laursen
f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Wouter Born
607c647734
[shelly] Fix WebSocketServerFactory ClassNotFoundException (#16150)
Adds a package import so the class can be found by the class loader.

Fixes #16118

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-31 11:48:04 +01:00
Wouter Born
c58d894bf0
Use OnOffType.from to reduce code (#16101)
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Holger Friedrich
533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot
83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00:00
Mark Herwege
463cebcbdf
change mdns add-on discovery syntax (#16060)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-12-16 14:14:32 +01:00
Andrew Fiddian-Green
3814f37d9a
Make bindings discoverable on system startup (#15817)
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-07 20:34:45 +01:00
openhab-bot
f0c8defabb
New translations shelly.properties (German) (#15988) 2023-12-02 00:15:26 +01:00
Markus Michels
a4da986330
[shelly] Support for Plus Dimmer 10v (#15950)
* Implements #15949: Plus Dimmer 10v added
* category DimmableLight does not exist; README updated

---------

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-26 00:27:03 +01:00
Markus Michels
a13fd80bfe
[shelly] Misc changes (small fixes, log improvements, hardened leak prevention on (#15922)
* Misc changes (same fixes, log improvements, hardened leak prevention on
exceptions)

---------

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-25 09:46:22 +01:00
openhab-bot
2064b51610
New Crowdin updates (#15939)
* New translations shelly.properties (German)
* New translations energidataservice.properties (Danish)
2023-11-22 07:00:48 +01:00
Markus Michels
a535caa13c
[shelly] BLU Motion, optimize ShellyManager for BLU devices (#15401)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-18 21:50:10 +01:00
Markus Michels
45786fa12c
[shelly] Fix Gen2 auth, improved security for Gen1 auth, improved discovery (#15898)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-18 16:28:44 +01:00