Commit Graph

162 Commits

Author SHA1 Message Date
Holger Friedrich
639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
openhab-bot
f80fd3d18c [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 13:46:58 +00:00
lsiepel
fb54c2baca
Normalize thread names (#17804)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-12-08 01:15:43 +01:00
Andrew Fiddian-Green
388dc6bde3
Normalize thread names (2) (#17849)
* Normalize thread names

Signed-off-by: AndrewFG <software@whitebear.ch>
2024-12-05 22:32:29 +01:00
J-N-K
a32ac52ab7
[shelly] Add support for Shelly Plus RGBW PM (#17692)
* [shelly] Add support for Shelly Plus RGBW PM

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-11-10 19:36:18 +01:00
Jacob Laursen
3fef5cc297
Fix suggestion finder (#17696)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-11-04 12:12:59 +01:00
J-N-K
18862d3e28
[shelly] Fix timeDuration handling in DTOs (#17689)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-11-03 20:55:25 +01:00
Stefan Pledl
566171e36e
[shelly] fix NumberFormatException on Shelly2RelayStatus.timerDuration (#17269)
- If 'Auto OFF' mode is enabled on a Shelly Plus 1 device and set to a
  value with decimal places a status update throws an NumberFormatException.

  Changed timerDuration/timer_duration from Integer to Double
  fixes the problem.

Signed-off-by: Stefan Pledl <stefan@pledl.de>
2024-11-02 19:59:58 +01:00
JonathanvdGHU
ec378ab4cf
[shelly] Add totalKWH channels for Shelly Pro 3EM (#17602)
* added totalkwh channel

Signed-off-by: Jonathan van de Giessen <jonathan.vandegiessen@student.hu.nl>
2024-10-25 19:45:32 +02:00
lsiepel
455330e741
[multiple] Reduce SAT warnings (#17564)
* NoEmptyLineSeparatorCheck
* ModifierOrderCheck
* TypeNameCheck
* ConstantNameCheck loggers
* UnusedPrivateField
* Fix imports
* New line
* dynamodb static logger

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-19 16:59:52 +02:00
Wouter Born
c495b0b44e
Remove unnecessary executable permissions (#17569)
These files are marked as executable for no good reason at all.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-15 08:52:01 +02:00
lsiepel
20b889c029
Markdown Documentation fixes (#17526)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-10 22:42:51 +02:00
lsiepel
1a42353cc9
Multiple binding markdown fixes (#17422)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-28 17:46:53 +02:00
Jacob Laursen
39eca040d1
[shelly] Fix compiler warnings (#17179)
* Fix warnings
* Use List interface where possible

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-08-10 08:15:37 +02:00
Markus Michels
fe0b1f8a20
[shelly] Add support for various Gen3 devices (Plus 1/1PM, Mini 1/PM/1PM, Dimmer 0110, i4) (#17166)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-08-04 21:18:18 +02:00
Markus Michels
8c29b5973e
[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:14:38 +02:00
Markus Michels
077cea0e74
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:04:37 +02:00
Jacob Laursen
e6fa6a488e
Fix NullPointerExceptions (#17180)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-29 20:23:12 +02:00
Markus Michels
d5586c6091
fixes #17121 (BLU Gateway), #17120 (NPE in cover mode) (#17122) 2024-07-25 09:20:08 +02:00
Markus Michels
b123863d59
[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:05 +02:00
Jacob Laursen
8c392da542
Add test coverage for thing type mapping (#17040)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-12 08:13:03 +02:00
Jacob Laursen
b37d0f0381
Fix thing type descriptions for Plus Mini series (#17015)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-07-09 20:20:43 +02:00
Markus Michels
7755681749
[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 07:36:21 +02:00
lsiepel
71a208b91b
Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot
4b5e4646ac [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 18:09:31 +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