* 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#11242Fixes#11243
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
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>
* 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>
* 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>
* [icalendar] Fixes#11084: Different method for retrieving events
Replaced retrieval of events for CommandTags by another, already implemented method, fixing wrong behaviour in case of moved or removed events. Also updated dependencies to get this binding resolvable again.
Signed-Off-By: Michael Wodniok <michi@noorganization.org>
* change MyQ binding to use now required oAuth for authentication
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Clean up error handling
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Cleanup checkstyle errors
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* missing newline
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Remove unused classes
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Add token listener
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* add a redirect limit...just in case
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Don't resue the oAuth service if we have been disosed or its closed. Reduce logging verbosity.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Force login if we get a 401 response
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* [linky] Removed from the distribution until it is fixed
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Apply spotless
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Fixes#11170 by introducing an intelligent thread.sleep (getting the duration of the sound, if possible, then wait the appropriate time for letting the sound play). By the way, the method to get the sound duration is not as easy as I thought.
Also fix a minor issue with the last volume not propertly saved.
And fix some minor warnings by using final local variable.
Signed-off-by: Gwendal ROULLEAU <gwendal.roulleau@gmail.com>
* [powermax] Introduce some new channels for better status reporting
* New panel channels:
- Ringing indicator (the siren is currently sounding)
- Date/time the last message was received from the panel
- List of all active alarms and alerts (similar to panel's
Memory list, but items get removed from the list as conditions
resolve)
* New zone channels:
- Alarmed indicator (zone is in alarm, or has an alarm in memory)
- Tamper alarm indicator (same but for a tamper condition)
- Inactive indicator
- Tamper indicator (zone is actively tampered right now)
- Last status message received for this zone, and when
* Use descriptive names for zones in log messages. If you create a
Thing for a zone, it will use that Thing's label in all reporting
for that zone. If there's no Thing then it will attempt to use the
zone label from the panel (e.g. "Basement").
* Clear all channels during startup to keep from displaying stale
values loaded from persistence
* Also includes some minor SAT fixes (checkstyle, spotbugs)
Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
* Incorporate review feedback from lolodomo
Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
* [nuki] Opener support and discovery (#10671)
* Added Opener support
* New Smartlock channels
* Discovery support
* Secured communication using hashed token
* Improved callback handling
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Fixed code style problems
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Id of bridge is unique for openhab instance
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Added compatibility with smart lock created by previous binding version
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Secure token configuration + threading improvements
Added configuration option to enable or disable using hashed token
for bridge API authentication.
Turning bridge offline when device request fails.
All HTTP calls made async so that openhab thread is not blocked.
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Only discover bridges which return some response
Only bridges which return 200 or 403 response are discovered.
Nuki API might return bridges which no longer exists or are on different
network and are not reachable. We do not want to put these in inbox, only those
who respond do HTTP calls.
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Changed ownership of nuki binding
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Code review changes
* Fixed @Nullable annotations
* Fixed too many logger messages
* Rewritten configuration to use configuration class
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Code review changes
* NukiId moved back to configuration and switched to configuration classes in all devices
* Doorbell ringing channel switched to trigger channel
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Code review changes
* Channel description reformatted into table
* Fixed bug where repeated bridge discovery was overwriting existing bridge properties
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Fixed ringactionTimestamp property name
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Fixed search of changed thing in HTTP callback
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Improvements to uuid generation
* Bridge id is generated only from bridgeId property, making it stable across openhab installations
* Using InstanceUUID as unique callback identifier instead of bridge id
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Improved duplicate thing discovery
* Implemented duplicate thing detection using openHAB ThingRegistry
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* Code review changes
* Fixed all nullable warnings
* Fixed README formatting
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
* [twitter][WIP] Initial contribution
using the 1.x binding as a template, I created a new Twitter Binding.
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com> (github: computergeek1507)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* trying to fix twitter4j dependency stuff
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* add to bundle POM
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* trying to fix build
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* Fixed dependency issues, Got Actions working
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* updating readme
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* fix class name
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* Fixes based on review
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* Cleanup based on review and mvn checks
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* grammar fix
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* remove Apache dependencies
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* added Null Checks based on review
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* change null check around
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
* Add new batteryVoltage channel.
Fixes#11154
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix documentation for lowBattery.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Organized channels into two groups: Shade and Battery.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Revert breaking change.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Change Humidity channel from Number to Number:Dimensionless
* Fix documentation for temperature channels.
Fixes#9755
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Use system default channel type for battery level.
* Add channel categories where applicable
* Add missing channel descriptions (and fix two existing)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
New channel "status-distance" that shows the distance of the robot from
its charging station while it is searching for the remote starting point.
Signed-off-by: Stefan Triller <github@stefantriller.de>
* MQTT.Homeassistant Climate support
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant synthetic config test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant refactoring
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant discovery test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant thing handler test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant switch test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant Climate test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant author header added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant copyright header added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant test fixed
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant test fixed
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant test infrastructure updated. Added tests with mqtt publishing and commands posting.
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant fixed Climate#send_if_off handling
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant do not filter the power command
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant climate unit test added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* Update bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/DiscoverComponents.java
Redundant annotation removed
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* MQTT.Homeassistant Redundant @Nullable annotations removed
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant Unit tests added for all components
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant Unit tests stability fix
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant @NonNullByDefault removed from Device, config.dto package created
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant Climate author added
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant Device.sw_version renamed
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
* MQTT.Homeassistant tests wait timeout increased to 10s
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
Co-authored-by: antroids <antroids@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Currently openHAB and the CCU are using different values for the same state of a rollershutter.
Added information about this under Troubleshooting and listed some examples.
Signed-off-by: Michael Bredehorn <michael@bredehorn.nrw>
* Fix urls are null until binding restarts.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change to using port config.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* automate the ffmpeg output folder to follow the UID.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* spotless fixes.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* change to using the userdata folder.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* change to better field description.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add advanced.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add link to docs.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve example path in readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update bundles/org.openhab.binding.ipcamera/README.md
Cut and paste bandit strikes again. thanks.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Change to using ipcamera as folder loc.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improve Ffmpeg motion and refactor to remove compiler warnings.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [hydrawise] Migrated to new GraphQL based API
Fixes#7261
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Addressed PR comments.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Address PR review comments.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Initial contribution of AmpliPi binding
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* change http client from cxf jax-rs to Jetty
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Remove Jackson dependency
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Add support for input handling
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Clean up, improvements and documentation
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Remove unused password from configuration class
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Remove example properties file
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* revert change in .gitignore
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Update README
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Address review feedback
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Handle ExecutionException as network error
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* [js-transform] Introduced support for additional parameters
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* Added junit tests and updated readme
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* Typo fixes
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* Typo fix
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* Fixed junit test
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* [orbitbhyve] initial contribution
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
* [orbitbhyve] improvements based on code review
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
* [orbitbhyve] next bunch of fixes related to code review
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
* Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Add white shortcut for sat threshold
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix compiler warnings.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* [homeconnect] Predefined temp / spin speeds options for unsupported washer programs
Fix#10701
Also save in programs cache the unuspported program
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Use constants OPTION_WASHER_TEMPERATURE and OPTION_WASHER_SPIN_SPEED
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment : using constants
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [miio] Minor improvement documentation & message
* [miio] minor cleanup from sat
* miio] fix another minor datetimeformat SAT issue
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Currently, when a message is received the command will be determined only from the hard-coded set of ON/OFF commands, which means if I configure
a thing and attach it to a switch there is no guarantee that it will respond as expected to receive commands. This PR changes the message factory
to require either bytes (from the RFXcom device) or all the details required to make a transmissable message, including the confguration of the
associated Thing. At the moment, this is only used by lighting4 and raw types, but I expect it will be useful for others in the future.
The hard-coded ON/OFF commands in lighting4 are based on experimentation with different devices, and are not at all consistent. This PR deprecates the
use of those so that in a future release, Lighting4 devices will only work when configured with the correct command ids up front. This will resolve
inconsistent behaviour where devices that have been discovered may work correctly, work only for ON or OFF but not both, have ON and OFF the wrong
way around, turn ON one physical device and OFF another, or any combination of those possibilities.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* [volvooncall] Extend battery channels
Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading.
Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
* [fmiweather] Fix UNDEF observations in corner case situations.
In addition, tests added for static utility functions in
AbstractWeatherHandler.
Resolves#11024.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
The set of available HM-MOD-EM-8 channels varies depending on the
function a given channel is configured to use, which is why for those
devices we can't determine a static ThingType, but instead must populate
the thing channels on initialization. The existing code already handled
that case, but missed registering channel types for the dynamically
generated channels, which is why those channels were not shown in main
UI.
Signed-off-by: Danny Baumann <dannybaumann@web.de>
* [mielecloud] Less strict e-mail validation
Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
* Some more e-mail validation test cases
Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
Co-authored-by: Björn Lange <bjoern.lange@tu-dortmund.de>
* Adding localization and a bit of code cleansing.
Signed-off-by: clinique <gael@lhopital.org>
* Review corrections
Signed-off-by: clinique <gael@lhopital.org>
* Bulk updated to UOM.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* ipObserver creation
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Bulk updated to UOM.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* channel fixup for UOM.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* improve UOM.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* updates
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Battery ch fixed.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix time channels.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* readme update and remove %unit% from rain channels.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* readme fixup.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* edit global files.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix merge conflicts.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fix up build issues.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* remove reboot channel.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* readme fixup.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Rename channels to put kind first.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* update to build on latest main.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add support for outBatt1
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Added auto discovery.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* add bundle to POM.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* newline added.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix bug in discovery.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Added tags
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* update to 3.2.0-SNAPSHOT
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Clean up channels
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update binding description.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix jsoup suggestions.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update bundles/org.openhab.binding.ipobserver/src/main/java/org/openhab/binding/ipobserver/internal/IpObserverDiscoveryService.java
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* Removed nullable.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improvements
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix compiler warnings
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Change to datetime
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* change to use system channels.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Move to Number:Intensity for solar
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Add support for setting TARGET_POSITION of Window Covering accessories from groups with a baseItem type
Closes#10812
Signed-off-by: Colin Keehan <github@colin.xyz>
* Cleanup of binding configuration classes
* Added context to CaddxMessage
* Logging enhancements
* Added support for ignoring Zone Status Transitions
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
* [ihc] Improved command handling when controller is not ready
When connection from binding to IHC controller is open, but controller
is in programming state, things state is offline with special status to
indicate that binding can't send or receive any resource updates at the
moment. Things status check during command sending will prevent
unnecessary resource updates which will eventually fail and binding then
tries to restart the connection.
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
* 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>