Commit Graph

19 Commits

Author SHA1 Message Date
lolodomo
b468582e13
[homeconnect] New how-to entry in doc about OAuth files (#11076)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-01 12:18:41 +02:00
lolodomo
3d0c31bd50
[homeconnect] Predefined temp / spin speeds options for unsupported washer programs (#10953)
* [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>
2021-07-25 11:49:19 +02:00
lolodomo
64a418829f
[homeconnect] Catch exception when appropriate (#10929)
* [homeconnect] Catch exception when appropriate

Fix #10904

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-11 22:58:59 +02:00
bruestel
c0a2a4b104
[homeconnect] Show response code in request detail modal and JS code cleanup (#10695) (#10914)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-07-06 19:49:56 +02:00
Kai Kreuzer
bebab9ce29 applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 17:35:01 +00:00
lolodomo
ac52f9bbe4
Added support for publishing ChannelDescriptionChangedEvents (#10884)
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>
2021-06-21 22:28:38 +02:00
lolodomo
3d33ee0ab8
[homeconnect] 9 channels added for washer appliance (#10809)
* [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>
2021-06-20 20:03:05 +02:00
bruestel
ca1de9dc4d
[homeconnect] Fix invalid authorization header during Server-Sent Events (SSE) client creation (#10848)
* [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>
2021-06-18 11:25:13 +02:00
lolodomo
33b7fd6e98
[homeconnect] Undo PR 10754 (#10792)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 20:08:51 +02:00
lolodomo
d36c7804d0
[homeconnect] Add missing channel update handler configuration (#10785)
* [homeconnect] Add missing channel update handler configuration

Related to dryer, washer and washer/dryer appliances

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* 2 new methods to factorize duplicated code

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Apply spotless

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:33:30 +02:00
lolodomo
17eb0d5d78
[homeconnect] Delay update of state options when not accessible (#10784)
* [homeconnect] Delay update of state options when not accessible

Fix #10705

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: parseBoolean

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:30:43 +02:00
lolodomo
f99f4b6361
[homeconnect] Retrieve list of programs when an appliance becomes available (#10773)
Cache the list of programs for an appliance

Fix #10771

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-30 09:37:10 +02:00
lolodomo
a736a2cafd
[homeconnect] Don't reset washer temp / spin speed when exiting from active program (#10745)
Use the provided planned time for a washing program to set the channel "remaining_program_time_state" when no program is active

Fix #10744
Fix #10703

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:02:18 +02:00
lolodomo
ac7b5eae4d
[homeconnect] Build state options with a unique item for unsupported programs (#10754)
Apply to spin speed, temperature and drying taget channels

Fix #10701

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:01:50 +02:00
lolodomo
fe11c115ea
[homeconnect] Factorize handling of power command (#10747)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:00:59 +02:00
lolodomo
4b5d64340f
[homeconnect] Let the binding update item state when handling a command (#10749)
To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored

Fix #10700

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-23 19:48:15 +02:00
lolodomo
c68d920387
[homeconnect] Returns an empty list of options for an unsupported program (#10694)
* [homeconnect] Returns an empty list of options for an unsupported program

Fix #10689

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: List.of

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-23 19:06:52 +02:00
bruestel
a1a990989e
[homeconnect] Initial contribution (#9187)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2021-05-13 14:56:03 +02:00