The Thing definition in () in l193 references the *name* that was assigned in l192, correct? So they should match.
Or do I misunderstand the mapping here ?
Signed-off-by: Markus Storm <markus.storm@gmx.net>
* Added new channel:
* secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
* rockerswitchaction-toggle-switch
* rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring
Also-by: Dietmar Franzen <dfranzen@fb3.fra-uas.de>
Signed-off-by: Daniel Weber <uni@fruggy.de>
There was a harmless race condition between a message being written
and the PIM being initalized to message mode by the binding. This adds
a latch to ensure writes happen after initalization.
Signed-off-by: Marcus Better <marcus@better.se>
* Add raw channels for state, program and phase.
* Provide program/phase texts when missing from XGW 3000 and for multicast.
* Consistent handling of missing program/phase text across all appliance types.
* Fix tumble dryer example configuration.
* Changed tumble dryer Finished phase text for consistency.
Fixes#11335
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
The XStream.setupDefaultSecurity method is deprecated since XStream 1.4.18.
It no longer does anything, because this is the default in newer XStream versions.
Signed-off-by: Wouter Born <github@maindrain.net>
* Fixes an issue now that the binding is not polling the snapshot anymore where the jpg could return an old image from cache.
* Fixes an issue that could be caused if you spammed the refresh key whilst watching ipcamera.mjpeg
* Improvements in stopping the servlet and stopping any open streams if the pause button is pressed on a camera thing.
* Reduces memory, thread and open file descriptor resource use.
* Fixes empty passwords create bad log output for logged ffmpeg commands.
* Fix for INSTAR cameras that created a WARN about bad user/pass when setting up the alarm server.
Closes#11301
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Switch properties files encoding from ISO-8859-1 to UTF-8
Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.
Related to openhab/openhab-core#2298
Signed-off-by: Wouter Born <github@maindrain.net>
* [upb] Fix retry logic
The retry logic was broken so it never retried. This fixes it and adds
unit tests for the serial communication and retry behavior.
Signed-off-by: Marcus Better <marcus@better.se>
* Remove excessive log
Signed-off-by: Marcus Better <marcus@better.se>
* [pulseaudio] Fix sink-input configuration and other small improvements (#11272)
The binding requires a parameter to activate the parsing of sink-input entries on the pulseaudio server. This patch :
- document this behaviour
- fix the parsing of these parameters if a configuration file is used (the old method of casting launched a class cast exception)
Other small improvements :
- Force a refresh/new parsing when the configuration changes
- Fix scheduled disconnection : if a sound is played during the grace period, the scheduled disconnection is postponed, not added to the last
- add a possibility to never disconnect the audio sink (in order to have a lower latency when playing sound)
Closes#11272
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Small fixes after proofreading
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Fix: Start UPNP listener to catch power off button, thing id in log
messages
Signed-off-by: Markus Michels <markus7017@gmail.com>
* comment removed
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Improvements for temperature channels
Fixes#11317
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added jlaur as miele binding maintainer
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix spinning speed for washing machines
Fixes#11317
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added time as category for DateTime-related channels
Fixes#11317
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Elapsed/remaining time channels are no longer marked as advanced.
Fixes#11317
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fixed type for temperature item examples.
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Document all states (cross-appliance).
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Improved error handling for getTemperatureState
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Split current/target temperature into two channel types for label reuse
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix possible NullPointerException
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Distinguish between oven program temperatures
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Mark oven program temperature 1 and 2 as advanced.
Fixes#11317
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* [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>
* 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>
* [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>
* [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>
* [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>
* 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#11167Fixes#11188
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* 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>
* 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>
* Implement HEV packets
* Add colorhevlight thing type with a hevcycle channel
* Update documentation
Signed-off-by: Wouter Born <github@maindrain.net>
* 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>