Commit Graph

14 Commits

Author SHA1 Message Date
Gaël L'hopital
c7ce929aa2
[Freeboxos] npe when updating inactive Player (#15813)
* Correcting npe
* Added status update

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-11-04 10:28:46 +01:00
lsiepel
7313415ae0
Set explicit timeout for http request (#15505)
* Bondhome
* chatgpt
* electroluxair
* energidataservice
* freeboxos
* gardena
* generacmobilelink
* hdpowerview
* icalendar
* juicenet
* kostalinverter
* liquidcheck
* mcd
* meater
* miele
* mercedesme
* mybmw
* myq
* ojelectronics
* plex
* radiothermostat
* renault
* semsportal
* sensibo
* tapocontrol
* tellstick
* verisure
* vizio

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 22:30:41 +02:00
Gaël L'hopital
bef7744c56
[freeboxos] Add websocket connection refresh mechanism (#15543)
* Adding the possibility to disable websocket listening.
This is set up in order to ease debugging of the "Erreur Interne" issue.

* Enhancing websocket work with recurrent deconnection, simplification of listeners handling
* refactored function name
* Fixed the name of the channel where the refresh command is sent.
* Solving SAT issues
* Corrected doc error
* Added properties
* Removed gson 2.10 now that it is included into core.

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 10:47:08 +02:00
Jacob Laursen
840277d3b9
Remove Gson 2.10 dependency (#15682)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-02 08:51:50 +02:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Holger Friedrich
cf10b3e9c7
Java 17 features (A-G) (#15516)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Gaël L'hopital
e792a92a38
[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts (#15299)
* Take care of randomized mac addresses by using mDNS name for wifi hosts.

Signed-off-by: clinique <gael@lhopital.org>
2023-08-01 12:16:59 +02:00
Gaël L'hopital
4eaba31f57
Correcting false assumption (#15307)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-27 08:14:27 +02:00
Kai Kreuzer
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
Wouter Born
0c3934f3c8
Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
Gaël L'hopital
9814047e21
Added capability to enable / disable background discovery service as well as tune its frenquency (#15222)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 21:27:34 +02:00
lolodomo
5c32f80c3b
[freeboxos] Align audio sink to freebox binding (#15207)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 11:52:06 +02:00
Gaël L'hopital
751c8a74c4
[Freeboxos] New binding alternative to Freebox binding (#12342)
* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Adding i18n

Signed-off-by: clinique <gael@lhopital.org>

* Decreasing websocket logging level

Signed-off-by: clinique <gael@lhopital.org>

* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing SAT report

Signed-off-by: clinique <gael@lhopital.org>

* I think that mvn spotless:apply has a problem with records - trying once again

Signed-off-by: clinique <gael@lhopital.org>

* Avoid requesting detailed information for a shutdown repeater.

Signed-off-by: clinique <gael@lhopital.org>

* Switched fan speed to RPM unit

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Divergence between eclipse and mvn spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

* YASAT

Signed-off-by: clinique <gael@lhopital.org>

* Corrections following fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Pleasing SAT

Signed-off-by: clinique <gael@lhopital.org>

* Second fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Porting modifications introduced in PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Removing redundant null checks.

Signed-off-by: clinique <gael@lhopital.org>

* Rebased.

Signed-off-by: clinique <gael@lhopital.org>

* Trying to remove the last sleep.

Signed-off-by: clinique <gael@lhopital.org>

* Reporting modifications of PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Reverting to working and cleaner granting process

Signed-off-by: clinique <gael@lhopital.org>

* Removing last Thread:Sleep

Signed-off-by: clinique <gael@lhopital.org>

* spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

---------

Signed-off-by: clinique <gael@lhopital.org>
Co-authored-by: ben.12 <benmor_12@yahoo.fr>
2023-07-05 20:13:29 +02:00