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>
* [homeconnect] 9 channels added for washer appliance
Corresponding to 9 program options not fully supported by the API.
Fix#10704
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: formatting in XML thing file
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: add these new channels (except i-DOS) to washerdryer appliance
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: method isLinkedChannelsForUnsupportedFeatures renamed
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Change state options for rinse plus channel
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Update the new channels when the active program is updated
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: update documentation
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: typo in channel description
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [nest] Add support for Smart Device Management (SDM) API
* Reworks WWN implementation so that the thing types have a wwn_ prefix and the classes have a WWN prefix and reside in a 'wwn' package
* Adds an SDM implementation which is also based on: https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess
* Adds unit tests for (de)serialization of the SDM and Pub/Sub API requests and responses
* Updates the binding documentation for the changes and additions
Fixes#8664
Also-by: Brian Higginbotham <brianhigginbothamtx@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>
* Fix and improve documentation
Signed-off-by: Wouter Born <github@maindrain.net>
* Always use UTF8 when decoding SDM events
Signed-off-by: Wouter Born <github@maindrain.net>
New firmware type reported from the community that's not in the SDK. Also,
we don't actually _use_ the firmware type or device type for anything, so
lets not crash if we don't match the bytes - lets just flag it unknown.
https://community.openhab.org/t/rfxcom-binding-unsupported-value/123615/12
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
Based on the RFXtrx SDK, new blind types. They mostly seem to match existing logic,
so this shouldn't break existing things.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
* [homeconnect] Improve logging of SSE connection and add backoff interval in case of connection error
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [homeconnect] Fix SSE authorization header problem
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [homeconnect] Fix synchronized monitor
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
* [miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15)
add support Mi Smart Standing Fan Pro EU/Global (dmaker.fan.p15)
Improve p8 & p9 fans
close#10843
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] improve timeunit
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* fixes#10738, #10799
Signed-off-by: Markus Michels <markus7017@gmail.com>
* - Feature #10090 New device#supplyVoltage channel for Shelly 2.5, 1PM
and 1L
- Change #10039 Info on "not reachable / timeout" should be warning,
not info
- Fix #10799 Missing Channel Definition for Vibration Events
- Fix #10738 Shelly UNI - ADC Voltage units of measure missing
- Fix #10111 Creating Equipment from Shelly Bulb Duo causes wrong
min/max
- README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* #10737 Shelly EM - add powerFactor channel support
Signed-off-by: Markus Michels <markus7017@gmail.com>
* README updated
Signed-off-by: Markus Michels <markus7017@gmail.com>
* channel powerFactor (EM+EM3) is now of type Number:Dimensionless
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Fix for #10864: Do not trigger same alarm within 5 minutes
Signed-off-by: Markus Michels <markus7017@gmail.com>
* better logic for alarm filter
Signed-off-by: Markus Michels <markus7017@gmail.com>
* Fix exception in aggregation function when daily forecast is empty
Also catch any Exception to prevent thread from crashing
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
* Refactor to improve robustness of calculations
Improve tests to cover different forecast scenarios
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
* 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>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Based on both the SDK and experimentation, this commit correctly identifies the
firmware and hardware version. A warning has been added for people with really
old firmware that may be different, but we didn't handle those different cases
well anyway.
Also includes updated firmware types and device types and support for pretty-
printing of the device and firmware type.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This is a new feature in the Pro firmwares that provides the real raw RF
pulse lengths as shorts. Good for being able to parrot switches that aren't
otherwise supported, once we add the tx support as well.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>