Commit Graph

1426 Commits

Author SHA1 Message Date
Hilbrand Bouwkamp
1b80f1d492
[dsmr] Fix payload length calculation for Smarty meters (#11328)
Fixes #10932
Supersedes #10933 and adds a unit test.

Also-by: Alexander Hotz <alex.hotz@gmail.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-09-30 22:59:54 +02:00
Matthias Glaub
46e1b675cb
[influxdb] Add info that it's no good idea to override the item tag via metadata (#11316)
* add info that it's no good idea to override the item tag via metadata

closes #11288

Signed-off-by: Matthias Glaub <magl@magl.net>
2021-09-30 20:59:26 +02:00
Bernhard Bauer
c09991c08c
[heliosventilation] reference modbus.helioseasycontrols binding (#11324)
* Update README.md

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2021-09-30 19:21:30 +02:00
Bernhard Bauer
def637933b
[helioseasycontrols] reference heliosventilation binding (#11325)
* [helioseasycontrols] reference heliosventilation binding

There are two binding supporting different types of Helios ventilation systems. Cross referencing the bindings in their descriptions should help users identify the right binding for their device.

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2021-09-30 19:09:24 +02:00
Matthew Skinner
48b63759d9
[systeminfo] Add 2 new channels for Java heap (#11322)
* Add heap measuring.
* refactor to remove apache.commons

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-09-30 09:14:31 +02:00
jlaur
b28413c6f1
[miele] Fix supercool/superfreeze for fridges/fridge-freezers (#11321)
* Fix typos.

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

* Do not expose getTypeClass through interface.

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

* Fix channel supercool for fridges and partially fix supercool/superfreeze for fridge-freezers.

Fixes #11320

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

* Fix two-way channel synchronization for supercool/superfreeze for fridge-freezer.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-30 09:00:26 +02:00
Stefan Giehl
ff272bc828
[Luxtronik] Fix possible out ouf bound error for older heatpumps (#11318)
* [Luxtronik] Fix possible out ouf bound error for older heatpumps

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* fix typo

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-09-29 00:09:34 +02:00
Hilbrand Bouwkamp
b35c00c752
[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)
Closes #11156

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-09-28 18:28:15 +02:00
stefan-hoehn
d3d1c7ae0a
[nanoleaf] Reimplement touch detection based on SSE, stabilize behavior, add swipe support (#11133)
* [nanoleaf] reimplement touch detection based on sse, stabilize behavior
* [nanoleaf] add swipe support
* [nanoleaf] add / tested full shapes support

Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2021-09-28 09:07:12 +02:00
Wouter Born
89ef91bad3
[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)
* [lifx] Add channels for controlling absolute color temperature in Kelvin

Adds an 'abstemperature' channel to all Thing Types for controlling the absolute color temperature in Kelvin.
MultiZone lights also have 'abstemperaturezone' channels that allow for controlling the color temperature of a zone in Kelvin.
These channels make it easier to use the same color temperature with lights that have a different color temperature range.
Furthermore the channel type tags have been updated which simplifies using the generated items with the semantic model.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-27 22:00:01 +02:00
Andrew Fiddian-Green
b2db32da96
[mail] Add support for e-mail headers (#11307)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-09-27 10:38:13 +02:00
jlaur
8255f29320
[danfossairunit] Fix network reliability issues and setting of all channel values to zero (#11172)
* Fix Potential null pointer accesses
* Added constants for TCP port and poll interval in seconds.
* Extract interface from DanfossAirUnitCommunicationController.
* Remove unused constants which seems to be left-overs from skeleton.
* Added constant for discovery timeout value for readability.
* Created handler subfolder for DanfossAirUnitHandler (like discovery) for consistency with other bindings.
* Handle lost connection gracefully without updating all channels to zero.
* Fix infinitly blocking network calls preventing proper error handling.
* Fix thing status being reset to ONLINE after failing to update all channels.
* Fix error handling when receiving invalid manual fan step.

Fixes #11167
Fixes #11188

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-27 07:58:10 +02:00
Wouter Born
2f4a27217f
Fix/remove outdated "Default Tags" (#11313)
There used to be the following "Default Tags" which are no longer used in the current semantic model:

* Lighting
* Switchable
* CurrentTemperature
* TargetTemperature
* CurrentHumidity

See:

* https://www.openhab.org/docs/developer/bindings/thing-xml.html#default-tags
* https://www.openhab.org/docs/tutorial/model.html#semantic-model

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-27 07:33:56 +02:00
Fabian Wolter
0363ba4588
[pidcontroller] Improve logging (#11312)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-09-27 07:30:16 +02:00
jlaur
27383fcd64
Add new channels for water and power consumption for washing machines and dishwashers. (#11298)
Fixes #11297

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-25 21:09:26 +02:00
Bo Biene
8440745ceb
[wolfsmartset] Initial contribution (#10751)
Signed-off-by: Bo Biene <openhab.github@biene.eu>
2021-09-25 21:07:54 +02:00
Kai Kreuzer
277c65f43a
Make sure bridge status is set when returning from initialize (#11289)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-25 19:10:12 +02:00
jlaur
f4816f5449
Fix coffee machine auto-discovery. (#11302)
Fixes #8779

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-25 16:50:24 +02:00
jlaur
c3ac604cdb
Fix IllegalArgumentException when using oven channel 'type' (#11287)
Fixes #11286

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-22 21:32:32 +02:00
Wouter Born
1f18dda301
[modbus] Remove helioseasycontrols binding.xml causing binding identification issues (#11281)
There should only be one binding.xml file for each binding.

Fixes #8973

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-22 08:35:06 +02:00
Wouter Born
36b6b5b8c8
[metrics] Fix configuration PID and add file based configuration example (#11280)
Fixes #11279

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-22 08:34:09 +02:00
Sami Salonen
b2d89d8c7f
[modbus] DEVELOPERS.md: fix jamod dependency in demo app (#11278)
As discussed in #8551. See comment from fwolter at Sep 23 2020.:
https://github.com/openhab/openhab-addons/issues/8551#issuecomment-697237105

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-09-21 22:01:43 +02:00
Sami Salonen
ff75646015
[modbus] Fix link to modbus developer documentation (#11277)
Resolves #8382

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-09-21 21:58:54 +02:00
Oleg Vivtash
5ae1567ba8
[mikrotik] Mikrotik RouterOS Binding - Initial contribution (#10014)
* [mikrotik] Initial contribution
Build fix
Linter concerns fixed
Post-review updates
Apply suggestions from code review

Co-authored-by: Matthew Skinner <matt@pcmus.com>
[mikrotik] Byte channels UOM update
[mikrotik] UOM updates; minor improvements
[mikrotik] ThingTypes update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Version bump, bugfix (thanks @radokristof)

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Raw uptime channel removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Traces removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Readme update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] More Null checks

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] thing-types update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Units update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Readme signal update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Rate channels unit fix

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Work on codestyle report and some compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] No more compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

* [mikrotik] Minus null check

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-09-21 19:40:57 +02:00
Matthew Skinner
fd646a59bd
[ipcamera] Move to using port 8080 servlet not Netty. (#11160)
* Move to using 8080 servlet not Netty.


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

* Add some mjpeg features to servlet.


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

* Fix autofps bug


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

* Reached feature parity.


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

* Cleanup serverPort from cameras.


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

* bug fixes.


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

* Refactor groups.


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

* Bug fixes to groups


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

* Update readme


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

* Cleanup


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

* clean up 2.


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

* bug fixes.


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

* Improve snapshot fetching for autofps.


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

* Make functions synchronized.


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

* Fixes.

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

* Abstract servlets


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

* Fix NPE warnings


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

* Remove ability to go child or parent folders.


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

* autofps improvement


Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-09-21 19:39:46 +02:00
Wouter Born
20f8a56560
[systeminfo] Upgrade OSHI dependency for latest fixes/improvements (#11274)
Upgrades OSHI from 4.5.2 to 5.8.2.

For all OSHI fixes and improvements, see:

https://github.com/oshi/oshi/blob/master/CHANGELOG.md#580-2021-07-18-581-2021-08-22-582-2021-09-05

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-20 14:49:32 +02:00
Oliver Raible
02fffccdad
[openweathermap]: Fix NPE on OneCall-API (#125740) and reduce min refreshInterval to support paid plans (#11255)
* fix NullPointerException at OneCall-API
* reduce min refreshInterval from 10 to 1 min to support paid plans

Signed-off-by: ehora <oliver.raible@yapoware.com>
2021-09-20 07:48:19 +02:00
Stefan Giehl
8e94d8d8b9
[LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273)
* [Luxtronik Heatpump] Adds additional setting for heating limit temperature

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-09-19 22:32:00 +02:00
Matthew Skinner
27a341311e
[telegram] [influxdb] Update okhttp3 lib (#11130)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-09-19 22:08:13 +02:00
ofirster
66956d736f
[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)
Signed-off-by: Ofir Strull <ofir@veev.com>
2021-09-19 22:06:35 +02:00
antroids
e1e9f90da1
[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable annotations (#11120)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
2021-09-19 22:04:14 +02:00
Marcel
2fb86d7138
[miio] Automatic create experimental support for (unsupported) miot devices (#11149)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-19 22:01:22 +02:00
Thomas
b0cbefdf7a
[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)
Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
2021-09-19 21:59:19 +02:00
Jonathan S
8a7f15e232
Added possiblity to send WOL Requests to configured Hostname, also removed unnecessary unit from Timeout Annotation in WakeOnLanPacketSenderTest (#11199)
Signed-off-by: Jonathan Saxen <jonathan@saxen.info>
2021-09-19 21:55:39 +02:00
DirkSander
cfdabc4060
[melcloud] Fix thing type id in documentation 2021-09-19 12:06:27 +02:00
DirkSander
b154034816
[melcloud] Fix thing type id in documentation 2021-09-19 12:05:17 +02:00
Wouter Born
344011c2ad
[lifx] Support HEV clean cycle (#11262)
* Implement HEV packets
* Add colorhevlight thing type with a hevcycle channel
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-19 11:45:06 +02:00
Kai Kreuzer
0a7a9ae281
Rename feature.xml in order to exclude it from feature aggregation (#11266)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-19 11:40:55 +02:00
Maarten Blokker
ebd268a42e
[surepetcare] Check for null before updating pet location channels (#11235)
fixes #11234

Signed-off-by: Maarten Blokker <maarten.blokker@outlook.com>
2021-09-19 11:40:16 +02:00
jlaur
0c021ec795
[miele] Fix multicast and multi-protocol support (ZigBee/Wi-Fi) (#11244)
* Fix multicast and multi-protocol support (ZigBee/Wi-Fi)
* Fix channel description referring to hood but also used for oven and other appliances.
* Fix auto-discovery finding already configured things through files.

Fixes #11242

Fixes #11243

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-18 22:59:18 +02:00
Michael Murton
51cb1aabd5
[telegram] Add event channels and Answer overload (#9251)
* Add event channels and Answer overload

Signed-off-by: Michael Murton <6764025+CrazyIvan359@users.noreply.github.com>
2021-09-18 15:08:00 +02:00
maniac103
88975dcd13
[homematic] Remove double press events and improve long press events for button trigger (#11186)
HM devices provide not only 'long press' events, but also 'long
press continued' (sent in configured long press interval) and 'long
press released' events. So far, those events were swallowed in the
button datapoint handler.
Improve the situation by forwarding those events to the button trigger
channel, making them usable in e.g. rules that react on button long
presses.

A double press timeout of 2 seconds is too long and disturbs single
press processing. Additionally, for double press processing to be
useful, the first press would need to be swallowed until double press
timeout elapses, which is not what happened here: the first PRESS was
sent out as SINGLE_PRESS event, making it impossible to meaningfully
distinguish the 'single press' and 'double press' events within rules.

If needed, double press handling can be implemented equally well within
a rule.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-09-18 14:32:40 +02:00
Ondrej Pecta
cbe537a43b
[somfytahoma] Fixed rssi channels creation & properties updating (#11254)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-09-18 13:56:36 +02:00
jlaur
805d56dc08
[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)
* Add Hub configuration option hardRefreshBatteryLevel for refreshing battery status more frequently.
* Explicitly update battery channels to Undefined when data is missing or invalid.

Fixes #11259

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-18 13:55:04 +02:00
mlobstein
84ba4fc333
Improve discovery service (#11258)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-09-18 13:51:30 +02:00
Pawel Pieczul
3fc7c6559c
Support for SHA-256 (#11240)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-09-17 08:40:11 +02:00
Wouter Born
30198e273a
[metrics] Add Java Management Extensions (JMX) metrics exporter (#11249)
* Add Java Management Extensions (JMX) metrics exporter
* Use groups in metrics add-on configuration
* Improve null annotations
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-16 09:11:12 +02:00
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