* Fixed a rare NPE introduced while replacing commons-lang
* Provide additional null pointer checks
It is possible that the meta data returned for some device does not
contain a default or maximum value.
Fixes#10945Fixes#10961
Signed-off-by: Martin Herbst <develop@mherbst.de>
* fixed typo in example
* Updated the instructions on how to find buttonPress values
openHAB 3.X put the REST API behind authorization and the old URL no longer works in the browser due to an authentication error. These new instructions allow for a trivial way to find the commands.
Signed-off-by: Jerry Gallo <2wyck3d@gmail.com>
* Improve matching the command responses to the sending channel
* Use newer method to get device list using `device_list_page`
* Adding the ability to send custom requests to cloud
* Adding the ability to send custom commands with additional elements in
the json
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* 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>