* Fix: current channel would not get added.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix: online and offline now detect correctly.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improve discovery.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Bug fixes.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Misc Improvements and log cleanup.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Make current sensor channel dynamically get removed if not supported.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fix compiler warning.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* readme updates.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Shift refresh()
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add RSSI and water flow meter count channels.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change to flowSensorCount
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix bug
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix NPE on parsing jsReplies.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add new programs channel.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix wrong api use.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change to using max time if the time is null.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add device withRepresentationProperty
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* update readme
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix rain sensor not working in 219 firmware.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Spotless fixes.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fix gson double up error.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add more channels
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* refresh completed before bridge goes online.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Simplify.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Allow non default password to not stop discovery.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add ignoresRain channel
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Simplify commands in station handler.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add new rainDelay channel.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Make constants consistent.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add categories.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Changes requested by FlorianSW
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Stop catching and throwing new exp.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Create a state class.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update bundles/org.openhab.binding.opensprinkler/src/main/java/org/openhab/binding/opensprinkler/internal/discovery/OpenSprinklerDiscoveryService.java
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
* Fix for EOF exception that stops polling with bad wifi.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change signal strength over to 0-4 range
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Handle toUnit null returns.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Support discovery on subnets that are not /24
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* update readme for recent changes to signalStrength channel.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix code anal issue and readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove info logging.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* remove traces of old dependancy.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Changes for fwolter
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* support RSSI and rssi
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update after new command sent.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve delayedRefresh
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove supressWarnings
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
* [openwebnet] changed ALL_DEVICES_REFRESH_INTERVAL to 60s
to avoid lights/shutters status updates flooding
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] added UPnP discovery for MyHOME_Screen3,5.
Updated catalogue links in README
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [miio] change deviceID to Xiaomi used string
Change the deviceId from the current hexadecimal to the string used by
Xiaomi.
This is needed as we have some devices that have deviceIds that are
non-numeric, hence breaking the current logic.
Note: separately removing the upnp discovery as this has become
irrelevant with cloud discovery and devices supporting the udp regular
discovery.
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [homematic] Add HM-MOD-EM-8 properties
If a HM-MOD-EM-8 channel is configured to 'sensor' mode, it advertises a
STATE datapoint, which we should both display as non-advanced and give a
description.
Signed-off-by: Danny Baumann <dannybaumann@web.de>
If a player goes offline (it e.g. lost power or network connection),
mark it as such in the thing status.
Signed-off-by: Danny Baumann <dannybaumann@web.de>
This enables raw message transmission by configuring a raw thing with pulses to
send for either ON, OFF, OPEN or CLOSED commands.
To enable extended config, this includes a refactor for the RFXComHandler to
support different Configuration objects depending on the thing type, and moves
the parsing, validation, and message matching logic to the Configuration objects
where the logic is more appropriate.
To enable testing of the RFXComHandler, the RFXComMessageFactory was abstracted
out and injected as a dependency.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* Added service references to DynamicStateDescriptionProvider to support publishing ChannelDescriptionChangedEvent
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* - bus_thermostat renamed to bus_thermo_zone
- bus_temp_sensor renamed to bus_themo_sensor
- linked OWN4j 0.5.3-SNAPSHOT (camelCase for enums)
Signed-off-by: Conte Andrea <andrea@conte.com>
* updated ReadMe according to things renaming
Signed-off-by: Conte Andrea <andrea@conte.com>
* Updated readme and thermo thing labels. Renamed thing descriptors to BusThermoZone and BusThermoSensor
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* using own4j release 0.5.3
Signed-off-by: Conte Andrea <andrea@conte.com>
* removed json tags in README. Added KG4691 to tested thermostats
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
Co-authored-by: Massimo Valla <mvcode00@gmail.com>
For the bindings homeconnect, lgwebos, netatmo, remoteopenhab, rotel,
somfytahoma, sonos and sonyprojector
Depends on openhab/openhab-core#1505
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [ADD] First version which was tested with my local setup.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <sven.carstens@aoe.com>
* [ADD] Refactoring, add calculated value for direct self consumption and prepare for more.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [ADD] Add chanel description to README and make some channels advanced.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Remove wrong colon in channel types.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Put colon at the right place in channel types.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Fix spelling of PVPlant in constants and things.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Separate channelName from energy manager tagName.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Reduce loglevels and fix findings from code-analysis.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove unnecessary Nullable and NotNull annotations.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Change wrong ItemType for power items in README
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Change modeConverter to Switch
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Remove stateDevice from items as it is represented by the device status.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove unnecessary logging.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Allow child things to be configured by hand with a guid.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Allow child things to be configured by hand with a guid.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and move things config to separate config.xml
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Improve README and remove all trace/debug logging.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
* [MOD] Use real channel timestamp as the refresh trigger.
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
* Add Unit handling functionality to SNMP Reads
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Use core library for Unit parsing
Signed-off-by: James Melville <jamesmelville@gmail.com>
* [ihc] Support for TLSv1.2
So far IHC controller have supported only TLSv1. As TLSv1 is already
deprecated and upcoming IHC controller FW version will introduce support
for TLSv1.2.
This change introduce TLSv1.2 support for the binding. TLS version is
selectable to be backward compatible for older controller versions.
Communication error handling is also improved e.g. because of wrong
password or if Java environment doesn't support required TLS version.
When fatal communication error occurs, binding will not hammer
controller with retries as it need user actions.
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [ihc] Introduced auto mode and other improvements
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [ihc] introduced default constant
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>